Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
8 views

Lecture Notes Week 2b

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Lecture Notes Week 2b

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Physics through Computational Thinking

Periodic Motion and Dynamics


Auditya Sharma and Ambar Jain
Dept. of Physics, IISER Bhopal

Outline
In this lecture you will

1. review oscillatory motion


2 Module 4 - Review of Oscillations.nb

Simple Harmonic Oscillator


! A simple harmonic oscillator is a dynamical system that obeys the following equation of motion:
..
x + ω2 x = 0 (1)

! Solution of this equation is given by

x(t) = A cos(ω t) + B sin(ω t) (2)

! 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

π π
Plot2 Sin[2 t] + Cos[2 t], 2 Cos2 t + , 2 Sin2 t + , {t, - 2 π, 2 π}, PlotLegends → "Expressions", Frame → True,
4 2
FrameLabel → {"t", "x"}

2 sin(2 t) + cos(2 t)
0
x

π
2 cos2 t + 
4
π
2 sin2 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


T= (4)
ω
! Frequency ν, also defined as number of cycles per unit time is related to ω and T as

ν = 1/T
ω (5)
ν=

! 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:

x(t) = A cos(ω t + ϕ) (6)


4 Module 4 - Review of Oscillations.nb

ManipulatePlot[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


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

Examples of Simple Harmonic Oscillators


Example -1: Longitudinal Oscillations in a Spring and Mass system

! 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

! The potential for this system is given by

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

! Working with potentials is often easier to obtain equations of motion.


8 Module 4 - Review of Oscillations.nb

Example -2: Pendulum

! For a simple pendulum, the equation of motion is given by


..
m ℓ2 θ = -m g ℓ sin θ
.. g (11)
⇒ θ = - sin θ

! For small angular displacement θ, sin θ can be approximated as θ, therefore the equation of motion simplifies to

.. -g
θ= θ

(12)
.. g
⇒ θ+ θ=0

! Which has the form of SHO with ω2 = g / ℓ or ω = g / ℓ .


! We can also examine this potential from the perspective of its potential. Potential energy is given by
Module 4 - Review of Oscillations.nb 9

V (θ) = m g ℓ(1 - cos θ)


mgℓ 2 (13)
⇒ V (θ) ≃ θ
2
! Since for the small angle approximation, potential has the quadratic form, we expect simple harmonic motion for small deviation from the mean position.
10 Module 4 - Review of Oscillations.nb

Example -3: LC Circuits

! 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

! It is well-known that LC circuits oscillate with resonance frequency 1/L C .


! We can also obtain the potential of this circuit

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

Boundary Value Problem: LC Circuits


For the LC circuit if the capacitor has charge Q0 at the time t = 0, when the switch S is turned on, find the charge across the capacitor as a function of time and the current in the
circuit as a function of time. Show that the charge and the current are have a phase separation of π/2, that is they are out of phase. Plot the charge and the current on the same plot to
demonstrate the phase shift.

Solution
Solution: Equation of motion is given by

.. 1
Q+ Q=0 (18)
LC

The most general solution is given by

Q(t) = A cos(ω t + ϕ) (19)

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 ϕ

Solving the two equations for a non-trivial solution, we get

ϕ=0
(21)
A = Q0

Thus our solution for charge and current are

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

PlotCos[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

V (θ) = m g ℓ(1 - cos θ)


θ2 θ4 (24)
⇒ V (θ) ≃ m g ℓ -
2 24
Module 4 - Review of Oscillations.nb 15

! 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.

You might also like