Lecture Notes Week 2b
Lecture Notes Week 2b
Outline
In this lecture you will
! It is easy to check explicitly that this is a solution of eqn. (1). A and B are integration constants. We require boundary conditions or initial value condition t find them.
! The solution can be written alternatively in the following forms:
x(t) = C ⅇⅈ ω t + D ⅇ-ⅈ ω t
x(t) = F cos(ω t + ϕ) (3)
x(t) = G sin(ω t + ψ)
! Here A, D etc. represent integration constants. As a homework, verify that all of the above equations satisfy eqn. (1).
! These solutions represent sinusoidal oscillatory motion. We can plot these solutions and verify
Module 4 - Review of Oscillations.nb 3
π π
Plot2 Sin[2 t] + Cos[2 t], 2 Cos2 t + , 2 Sin2 t + , {t, - 2 π, 2 π}, PlotLegends → "Expressions", Frame → True,
4 2
FrameLabel → {"t", "x"}
2 sin(2 t) + cos(2 t)
0
x
π
2 cos2 t +
4
π
2 sin2 t +
-1 2
-2
-6 -4 -2 0 2 4 6
t
! It is easy to see from the plots of the graphs that ω is the angular frequency which has units of radians per second. ω measures periodicity of oscillatory motion.
! Inverse of ω gives the time period
2π
T= (4)
ω
! Frequency ν, also defined as number of cycles per unit time is related to ω and T as
ν = 1/T
ω (5)
ν=
2π
! Phase, Frequency, Time period and Amplitude: The solution in the form A cos(ω t + ϕ) is particularly instructive. A represents the amplitude, ω is frequency and ϕ is phase
shift. Lets explore the effects of these constants using Manipulate:
ManipulatePlot[A Cos[ω t + ϕ], {t, - 2 π, 2 π}, Frame → True, PlotRange → {- 5, 5}, PlotLabel → Row[{"A =", A, "; ω =", ω, "; ϕ =", ϕ}]],
π π
{{A, 2}, 0.1, 5, 0.1}, {{ω, 1}, 0.1, 5, 0.1}, ϕ, , - π, π,
4 16
5π
A =4.2; ω =4.2; ϕ =-
8
-2
-4
-6 -4 -2 0 2 4 6
! Aside: For labelling the above plot I have use Row function to create a row of mixed expressions such as Text, Numbers and Fractions. This comes in quite handy if you want
to put in important information on your plot where you require both text and arbitrary mathematical expressions.
Module 4 - Review of Oscillations.nb 5
π
Row"A=", 1, "; ω=", 2, "; ϕ=",
4
π
A=1; ω=2; ϕ=
4
6 Module 4 - Review of Oscillations.nb
! Consider the spring and mass system shown in the figure above, where each of the spring has spring constant k and natural length a0 . z is the displacement from the equilibrium
position shown in the middle figure. We obtain the equation of motion of the system
..
m z = -k(a + z - a0 ) + k(a - z - a0 )
..
m z = -2 k z
(7)
.. 2k
z=- z
m
! This is an equation of a simple harmonic oscillator with
2k
ω2 =
m (8)
ω= 2 k/m .
Module 4 - Review of Oscillations.nb 7
1 1
V ( z) = k(a + z - a0 )2 + k(a - z - a0 )2 (9)
2 2
! You can verify easily that equation of motion given in eqn. (7) is equivalent to
.. -ⅆ
mz= V ( z) (10)
ⅆz
.. -g
θ= θ
ℓ
(12)
.. g
⇒ θ+ θ=0
ℓ
! Lets consider the LC circuit as shown in the figure above. Let us take capacitor to be full charged when switch S is closed. At this time current starts flowing through the circuit
and capacitor starts to discharge. As the current increases the potential across the inductor starts to build up. At all times the potential across the capacitor and the inductor is
equal and opposite.
! We will use this to find the dynamical equation of the system for this system.
! Potential across the inductor is given by: L ⅆ I / ⅆ t
! Potential across the capacitor is given by: Q / C
! Using the fact that total potential in the LC circuit is zero (Kirchhoffs law) we have
ⅆI Q
L + =0 (14)
ⅆt C
! Using I = ⅆ Q / ⅆ t, we get
ⅆ2 Q Q
L + =0
ⅆ t2 C
(15)
.. 1
⇒Q+ Q=0
LC
! This has the form of SHO where Q is the dynamical variable and frequency is given by
1
ω= (16)
LC
Module 4 - Review of Oscillations.nb 11
Q2 1
V (Q) = + L I2 = 0 (17)
2C 2
! Taking the derivative of the above equation also gives us eqn. (13). Verify this as homework.
12 Module 4 - Review of Oscillations.nb
Solution
Solution: Equation of motion is given by
.. 1
Q+ Q=0 (18)
LC
where ω = 1 L C . We need to determine A and ϕ, two integration constants. For this we will use the following initial conditions that hold at t = 0:
Q(0) = Q0 ⇒ Q0 = A cos ϕ
5 (20)
Q(0) = 0 ⇒ 0 = -A ω sin ϕ
ϕ=0
(21)
A = Q0
Q(t) = Q0 cos ω t
π (22)
I (t) = Q0 ω sin ω t = Q0 ω cos ω t -
2
There is a phase difference between the charge and the current. We say that the current is lagging the charge by a phase of π / 2.
We can suitably non-dimensionalize the current and charge and plot it with respect to ω t which is a dimensionless measure of time. Its evident from the plot that current as a
function of time has the same shape as the charge, except that it lags by π/2.
Module 4 - Review of Oscillations.nb 13
PlotCos[t], Sin[t], {t, - 4 π, 4 π}, Frame → True, PlotLegends → {"Q(t)/Q0 ", "I(t)/(Q0 ω)"}, FrameLabel → {"ω t", ""}
Q(t)/Q0
I(t)/(Q0 ω)
ωt
Homework: As a homework exercise calculate and plot the energy contained in the capacitor and the inductor as a function of time. What is the average energy contained in the
capacitor and inductor per cycle?
14 Module 4 - Review of Oscillations.nb
Anharmonic Oscillator
! Let us consider the pendulum again, but this time we will assume that our angle is small but not small enough to make a linear approximation: sin θ ≃ θ. This can happen even
when you are making small angle deviations but you are making very precise measurements such that the linear approximation for sin θ does not hold. In such a case you will
Taylor expand sin θ to next order. This gives
.. g
θ=- sin θ
ℓ
(23)
.. -g θ3
⇒θ= θ-
ℓ 6
! This is an example of an anharmonic oscillator. Appearance of linear term in dynamical variable with negative sign in the force is signature of restoring force, thus oscillatory
motion. Appearance of a non-linear term in the force is signature of anharmonicity in the oscillator. This essentially means that the motion will be oscillatory but it would not be
sinusoidal in nature.
! In general, analytical solutions of anharmonic oscillator are very few and difficult to find. We will need to solve them numerically.
! We can also detect the anharmonicity in the potential. Expanding the potential to the next order we have
! Appearance of powers higher than two in the series expansion of the potential is sign of anharmonicity. Truncation of the expansion depends upon the accuracy of the
theoretical results that we require and experimental accuracy of the experiment.