Differential equation y(x)''=f(y(x))

In summary, the author is asking how to solve a differential equation. They state that they know how to solve the first derivative, but are not sure how to solve the second derivative. They go on to say that if the equation is y(x)'=y, then it can be solved using the chain rule. If the equation is y(x)'=y, then it can also be solved using the integrals. Lastly, the author provides a solution for a general equation using the Jacobi am function.
  • #1
Holali
9
0
Hi,
simple quetion, as you can see in the title.
How can I solve differential equation y(x)''=f(y(x))
I know I can write first derivative like dy/dx. But how can I write second derivative in such form?
If it would be y(x)'=y, then it can be written dy/dx=y
=> (1/y)dy=(1)dx
=> I can integrate ln(y)+C=x
=> its clear from now on

I need some similar solution for situation when I have second derivative on the left side and some function consisting just y(x) (not x itself) on the right.
Thanks for helping
 
Physics news on Phys.org
  • #2
Hi Holali! :smile:

Multiply both sides by y' :wink:

(or use the chain rule … y'' = dy'/dx = y' dy'/dy)
 
  • #3
Hmm, chain rule.I found it at wikipedia,but can't understand it.
I understand equation y''=dy'/dx, but not y''=y' dy'/dy.
Could you show me some easy example, like y''=2y^2, or y''=y^2 -y ?
 
  • #4
What tiny-time is referring to is often called "quadrature"- you'll see why in a moment. The crucial point is that "x", the independent variable does not appear explicitely in the equation y''= f(7).

If you let u= y', you can write
[tex]\frac{d^2y}{dx^2}= \frac{d}{dx}\left(\frac{dy}{dx}\right)= \frac{du}{dx}[/tex]
We can then say , using the chain rule,
[tex]\frac{du}{dx}= \frac{du}{dy}\frac{dy}{dx}= u\frac{du}{dy}= f(y)[/tex]
which is a separable equation:
[tex]u du= f(y)dy[/tex]
The left side is, of course, [itex](1/2)u^2[/itex], the reason for the name "quadrature". we have
[tex](1/2)u^2= \int f(x)dx[/tex]
so
[tex]\frac{dy}{dx}= u= \sqrt{2\int f(x)dx}[/tex]
[tex]y= \int^x \sqrt{2\int^u f(t)dt} du[/tex]

Of course, if f(y) was not a "nice" function to begin with, those integrals may be difficult to do!
 
  • #5
""
udu=f(y)dy

The left side is, of course, (1/2)u2, the reason for the name "quadrature". we have

(1/2)u2=∫f(x)dx

""
DIdn't you change y for x in this part?
 
  • #6
Simple manipulation of left hand side of the equation will solve this

d(dy/dx)/dx= dy'/dy * dy/dx
Moving the 1/dy factor to the right hand side, we get

y' dy' = f(y) dy

Integrating this will give us

(1/2)y'^2=F(y) (F'(y)=f(y))

Rearranging, we get

dy/dx=[2F(y)]^1/2

And of course, the second order diff eq. is reduced to a simple ODE. Using the method of separation of variables, we obtain

x=integral{dy/[2F(y)]^1/2}
 
  • #7
For the same general equation, how can i solve

y''(x)=a*sin(y(x)) ; a is a constant
I think it would be a numerical method.
 
  • #8
welcome to pf!

hi etpatati1! welcome to pf! :smile:
etpatati1 said:
For the same general equation, how can i solve

y''(x)=a*sin(y(x)) ; a is a constant

Multiply both sides by y' :wink:

(or use the chain rule … y'' = dy'/dx = y' dy'/dy)
 
  • #9
etpatati1 said:
For the same general equation, how can i solve
y''(x)=a*sin(y(x)) ; a is a constant
I think it would be a numerical method.

Thanks to the Jacobi am function, a closed form exists to express y(x).
 

FAQ: Differential equation y(x)''=f(y(x))

What is a differential equation?

A differential equation is a mathematical equation that relates one or more functions to their derivatives. It is commonly used in physics, engineering, and other fields to describe the relationship between a quantity and its rate of change.

2. What is the meaning of y(x)'' = f(y(x))?

This notation represents a second-order differential equation, where the function y(x) is being differentiated twice with respect to x. The equation states that the second derivative of y(x) is equal to some function f(y(x)).

3. How is a differential equation solved?

Solving a differential equation involves finding a function that satisfies the equation. This can be done analytically using techniques such as separation of variables or using numerical methods to approximate a solution.

4. What is the difference between an ordinary and a partial differential equation?

An ordinary differential equation relates a function to its derivatives with respect to a single variable, while a partial differential equation relates a function to its derivatives with respect to multiple variables. Ordinary differential equations are generally easier to solve than partial differential equations.

5. How are differential equations used in real-world applications?

Differential equations are used to model and analyze various phenomena in the natural and physical sciences, as well as in engineering and economics. They can be used to predict the behavior of systems over time and are essential in fields such as fluid dynamics, electromagnetism, and population dynamics.

Back
Top