Energy of simple harmonic oscillator

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
clemente
Messages
2
Reaction score
0

Homework Statement



A particle moves along x-axis subject to a force toward the origin proportional to -kx. Find kinetic (K) and potential (P) energy as functions of time t, and show that total energy is contant.

Homework Equations



K = (1/2)m*v^2
P = (1/2)k*x^2
E = K+P

x = Asin(wt + [tex]\tau[/tex])

v = dx/dt = wA(cos(wt + [tex]\tau[/tex])

The Attempt at a Solution



K = (1/2)m*v^2 = (1/2)m*w^2A^2(cos^2(wt + [tex]\tau[/tex])

P = (1/2)k*x^2 = (1/2)k*A^2(sin^2(wt + [tex]\tau[/tex]))

But when I add these to get the total energy, the terms with t do not cancel, and so the total energy is not constant. I can only imagine then that I've done something wrong in the above, very basic steps. Any suggestions would be appreciated. Thanks.
 
Physics news on Phys.org
Another equation that comes in handy is w^2 = k/m. Rearranging this you get k = m*w^2 which can be substituted into the first equation, to get K = (1/2)m*v^2 = (1/2)k*A^2(cos^2(wt + [tex]\tau[/tex] )).

When adding K+P, the (1/2)k*A^2 (which is present in both terms) can now be taken as a common factor and using the trigonometric identity cos^2(x) + sin^2(x) = 1 shows the energy is constant.
 
Of course, that seems so obvious now! Thank you very much!