Second order ODE: finding solution.

Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order ordinary differential equation (ODE) of the form d²u/dx² + (1/2)L = 0, where L is a function of x. Participants are exploring the implications of L being a variable function rather than a constant.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • One participant attempts to find solutions y1 and y2 and presents a method involving trigonometric functions. Others question the validity of this approach, noting that treating L as a constant leads to incorrect derivatives. There is discussion about the need to apply the chain rule due to L's dependence on x.

Discussion Status

Participants are actively engaging with the problem, pointing out the necessity of correctly applying differentiation rules when L is a function of x. There is recognition that the solutions proposed may only be valid under certain conditions, specifically when L is constant.

Contextual Notes

There is an emphasis on the importance of understanding the nature of L in the equation, as its variability significantly affects the solution process. The discussion highlights the potential complexity of finding solutions when L is not constant.

knockout_artist
Messages
70
Reaction score
2

Homework Statement



d2u/d2x + 1/2Lu = 0 where L is function of x

Homework Equations



I am try to find solutions y1 and y2 of this equation.

The Attempt at a Solution



y = [cos √(L/2) x] + [sin √(L/2) x]
y' = - [√(L/2) sin √(L/2) x] + [ √(L/2) cos √(L/2) x]
y'' = -[(L/2) cos √(L/2) x] - [(L/2) sin √(L/2) x ]so now we have
y = [cos √(L/2) x] + [sin √(L/2) x]
and if we multiply it with (1/2 L ) we get negative y'' which will satisfy original equation.

so solutions are
y1 = cos √(L/2) x
y2 = sin √(L/2) x

is that correct ?
 
Physics news on Phys.org
knockout_artist said:
is that correct ?

No, not if L is a function of x. When you took the derivatives of your function y, you treated L as a constant, not as a function of x. If L is a function of x, there will be additional terms in the derivatives due to the chain rule. The solution will depend on the functional form of the function L(x).
 
knockout_artist said:

Homework Statement



d2u/d2x + 1/2Lu = 0 where L is function of x

Homework Equations



I am try to find solutions y1 and y2 of this equation.

The Attempt at a Solution



y = [cos √(L/2) x] + [sin √(L/2) x]
y' = - [√(L/2) sin √(L/2) x] + [ √(L/2) cos √(L/2) x]
y'' = -[(L/2) cos √(L/2) x] - [(L/2) sin √(L/2) x ]so now we have
y = [cos √(L/2) x] + [sin √(L/2) x]
and if we multiply it with (1/2 L ) we get negative y'' which will satisfy original equation.

so solutions are
y1 = cos √(L/2) x
y2 = sin √(L/2) x

is that correct ?
Correct if ##L > 0## is constant, but wrong if ##L## is a function of ##x##, as you stated in the original question. For a general ##L = L(x) > 0## there may be no known formula for the solution, in which case you would need to solve the DE numerically.
 
Your solutions are correct only if L is a constant. IF L is not a constant then you have to apply the chain and product rule in order to calculate correctly the derivatives.
For example for the first derivative it would be ##y'(x)=-(\frac{L'(x)x}{2\sqrt{2L(x)}}+\sqrt{\frac{L(x)}{2}})sin(\sqrt{\frac{L(x)}{2}}x)+(\frac{L'(x)x}{2\sqrt{2L(x)}}+\sqrt{\frac{L(x)}{2}})cos(\sqrt{\frac{L(x)}{2}}x)##.
 
Last edited:

Similar threads

Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K