Solve differential equation with variation of parameters

AI Thread Summary
The discussion focuses on solving the differential equation y'' - y = 2/(1+e^x) using the method of variation of parameters. It identifies ex and e-x as independent solutions to the associated homogeneous equation y'' - y = 0. The proposed solution takes the form y(x) = u(x)ex + v(x)e-x, where u(x) and v(x) are functions to be determined. By assuming u'(x)ex + v'(x)e-x = 0, the derivatives are simplified, leading to a system of linear equations for u' and v'. The final step involves integrating these solutions to find u and v, allowing the construction of the particular solution.
plucker_08
Messages
54
Reaction score
0
solve using method of variation of parameters

y''-y = 2/(1+e^x)

y'' ==> second order
 
Physics news on Phys.org
And your question is?

It should be easy to see that ex and e-x are two independent solutions to y"- y= 0.

The "variation of parameters" is to look for a solution of the form
y(x)= u(x)ex+ v(x)e-x
In fact, there are an infinite number of u(x), v(x) that would work.

Differentiating, y'= u'(x)ex+ u(x)ex+ v'(x)e-x- v(x)e-x.

ASSUME that u'(x)ex+ v'(x)e-x= 0.
(Since there are an infinite number of u(x), v(x) that would work above, this is just "narrowing the search".)

With that assumption y'= u(x)ex- v(x)e-x.

Differentiating again, y"= u'(x)ex+ u(x)ex- v'(x)e-x+ ve-x.

Plug that into the original equation and, because ex and e-x satisfy the original homogeneous equation, the "u(x)" and "v(x)" terms cancel leaving just u'ex- v'e-x= 2/(1+ex). Treat that, along with
u'ex+ v'e-x= 0 (above) as two linear equations for u', v'.
Integrate those solutions to find u and v and plug into y(x)= u(x)ex+ v'(x)e-x.
 
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Back
Top