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

Click For Summary

Discussion Overview

The discussion revolves around solving the differential equation of the form y(x)''=f(y(x)). Participants explore various methods for rewriting and solving this equation, including the use of the chain rule and integration techniques. The conversation includes specific examples and considerations for different forms of f(y).

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant asks how to express the second derivative y'' in terms of y, suggesting a method involving the first derivative.
  • Another participant suggests multiplying both sides of the equation by y' or using the chain rule to manipulate the equation.
  • A participant expresses confusion about the chain rule and requests examples to clarify its application in the context of specific functions.
  • One participant introduces the concept of "quadrature" and provides a method for transforming the second-order differential equation into a separable first-order equation.
  • Another participant questions whether a variable substitution was incorrectly applied in a previous explanation.
  • A participant outlines a method involving integration to reduce the second-order differential equation to a simpler ordinary differential equation (ODE).
  • One participant inquires about solving a specific case of the general equation, y''(x)=a*sin(y(x)), suggesting that numerical methods may be necessary.
  • A later reply mentions the existence of a closed form for the solution of the same equation using the Jacobi am function.

Areas of Agreement / Disagreement

Participants express various methods and approaches to solving the differential equation, but there is no consensus on a single method or solution. Some participants propose numerical methods while others suggest analytical techniques, indicating multiple competing views.

Contextual Notes

The discussion includes references to specific functions and methods that may depend on the properties of f(y). Some participants note that the integrals involved may be complex or difficult to evaluate depending on the form of f(y).

Holali
Messages
9
Reaction score
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
Hi Holali! :smile:

Multiply both sides by y' :wink:

(or use the chain rule … y'' = dy'/dx = y' dy'/dy)
 
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 ?
 
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
\frac{d^2y}{dx^2}= \frac{d}{dx}\left(\frac{dy}{dx}\right)= \frac{du}{dx}
We can then say , using the chain rule,
\frac{du}{dx}= \frac{du}{dy}\frac{dy}{dx}= u\frac{du}{dy}= f(y)
which is a separable equation:
u du= f(y)dy
The left side is, of course, (1/2)u^2, the reason for the name "quadrature". we have
(1/2)u^2= \int f(x)dx
so
\frac{dy}{dx}= u= \sqrt{2\int f(x)dx}
y= \int^x \sqrt{2\int^u f(t)dt} du

Of course, if f(y) was not a "nice" function to begin with, those integrals may be difficult to do!
 
""
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?
 
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}
 
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.
 
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)
 
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).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K