Real quick question on 2nd order differential equation

AI Thread Summary
To solve the second-order differential equation d^2θ/dt^2 + (g/L)θ = g, start by addressing the associated homogeneous equation, d^2θ/dt^2 + (g/L)θ = 0, which has a characteristic equation yielding imaginary roots. The general solution for the homogeneous part is Ccos(√(g/L)t) + Dsin(√(g/L)t). For the non-homogeneous part, assume a constant solution, leading to A = L. The complete solution combines both parts: y(t) = Ccos(√(g/L)t) + Dsin(√(g/L)t) + L, with initial conditions determining the constants C and D. This approach effectively resolves the problem, linking it to concepts from pendulum motion.
rcw110131
Messages
12
Reaction score
0

Homework Statement



How do I go about solving d^2\theta/dt^2+ (g/L) \theta= g? It's been 2.5 years since I had diff eq.

Homework Equations



^

The Attempt at a Solution



I don't know. I've spent the past 2 hours going through old books and searching online and still can't figure it out :frown:
 
Last edited:
Physics news on Phys.org
Heres a quick and decent review of homogeneous and nonhomogenous second order diffyq's

http://www.haverford.edu/physics-astro/MathAppendices/Differential_Eqs.pdf
 
Last edited by a moderator:
also since this looks a lot like a pendulum problem, curious as to the problem that gave rise to it, ie the pendulum would be the homogeneous soln where right side eqn=0.
 
denverdoc said:
also since this looks a lot like a pendulum problem, curious as to the problem that gave rise to it, ie the pendulum would be the homogeneous soln where right side eqn=0.

It's the problem a few posts below about a father pushing a child on a swing. If you have any other help I'd greatly appreciate it.
 
i see, i'd just repost your query there. I'd help but got to earn a living today
 
rcw110131 said:

Homework Statement



How do I go about solving d^2\theta/dt^2+ (g/L) \theta= g? It's been 2.5 years since I had diff eq.

Homework Equations



^

The Attempt at a Solution



I don't know. I've spent the past 2 hours going through old books and searching online and still can't figure it out :frown:
This is more math than physics but here is how: first ignore the "g" on the right hand side to get the "associated homogeneous equation" d^2\theta/dt^2+ (g/L)\theta= 0. It's "characteristic equation" is r^2+ (g/L)= 0 which has imaginary roots: r= \pm \sqrt{g/L} and so the homogeneous equation has general solution Ccos(\sqrt{g/L}t)+ Dsin(\sqrt{g/L}t).

Now, since the righthand side of the orginal equation was a constant, g, we "look for" a constant solution, y= A, to the entire equations. y'= 0 so the equation becomes 0+ (g/L)A= g and so A= L. The general solution to the entire equation is y(t)= C cos(\sqrt{g/L}t)+ D sin(\sqrt{g/L}t)+ L.
 
Thank you so much, I can't even tell you how much I appreciate your help! I finally got it; using the initial conditions, C ends up as 1-L, and then taking the derivative and using the initial conditions again, D has to equal zero, leaving only the cosine term and the L. Thanks again!
 
Back
Top