A-level Physics (Advancing Physics)/Simple Harmonic Motion/Mathematical Derivation

From testwiki
Jump to navigation Jump to search

The following second-order differential equation describes simple harmonic motion:

d2xdt2=kxm

d2xdt2+kxm=0

Since we have a second derivative, we cannot separate the variables, so let:

x=ezt

Therefore:

dxdt=zezt

d2xdt2=z2ezt

By substitution:

z2ezt+keztm=0

ezt(z2+km)=0

ezt is asymptotic at 0, so ezt cannot equal 0, and we can therefore get away with dividing by ezt:

z2+km=0

z2=km

z=±km=±ikm

Therefore:

x=Peitkm+Qeitkm,

where P and Q are constants of integration. At this point, it is useful to clean things up a bit by letting:

ω2=km

x=Peiωt+Qeiωt

It has been proven elsewhere (de Moivre's Theorem) that, when n is a constant:

eniθ=cosnθ+isinnθ and eniθ=cosnθisinnθ

Therefore:

x=P(cosωt+isinωt)+Q(cosωtisinωt)

x=(P+Q)cosωt+(PQ)isinωt

Let: R=P+Q

S=PQ

So, the general solution of the differential equation is:

x=Rcosωt+Sisinωt

This describes what the simple harmonic oscillator will do given any possible situation. However, we don't want an equation which will cover anything and everything. We want to give our oscillator a starting position - let's say, at a position where x = A at t = 0:

A=Rcos(ω×0)+Sisin(ω×0)

A=Rcos0+Sisin0

Therefore, R = A and S = 0.

So, the specific solution is:

x=Acosωt

Template:BookCat