Professional Documents
Culture Documents
Nonlinear Pendulum A Simple Generalization 1007.4026 - 2
Nonlinear Pendulum A Simple Generalization 1007.4026 - 2
Nonlinear Pendulum A Simple Generalization 1007.4026 - 2
J. P. Juchem Neto∗
arXiv:1007.4026v1 [physics.class-ph] 22 Jul 2010
Abstract
In this work we solve the nonlinear second order differential equa-
tion of the simple pendulum with a general initial angular displacement
(θ(0) = θ0 ) and velocity (θ̇(0) = φ0 ), obtaining a closed-form solution
in terms of the Jacobi elliptic function sn(u, k), and of the the incom-
plete elliptical integral of the first kind F (ϕ, k). Such a problem can
be used to introduce concepts like elliptical integrals and functions to
advanced undergraduate students, to motivate the use of Computer
Algebra Systems to analyze the solutions obtained, and may serve as
an exercise to show how to carry out a simple generalization, taking
as a starting point the paper of Beléndez et al [8], where they have
considered the standard case θ̇(0) = 0.
Keywords: Simple Pendulum, Large-scale Period, Elliptic Integrals.
1 Introduction
An usual way to present the simple pendulum model in a first course of
general physics is to consider a small angular displacement, and in this way
to linearize the corresponding second order differential equation [2]. This first
approximation lead us to conclude that, for small amplitudes, the period of
oscillation is independent from the amplitude:
s
l
T ≈ 2π (1)
g
In order to present a more realistic expression for the period in the case of
larger angles, it was proposed another approximated formula, derived from
the complete elliptic integral of first kind [3, 4]:
s
l
T ≈ 2π (2)
g cos θ0
E-mail: jp.juchem@yahoo.com.br.
1
where θ0 is the initial angular displacement and the amplitude of oscillation,
supposing the the pendulum starts at rest.
In fact, series approximations are common in classical mechanics text-
books [5], and another approximations were recently proposed [6, 7].
It is well known that the exact formula for the large-angle period of a
simple pendulum, involving the elliptic integral of the first kind K(·)1 is
given by [1]: s
l 2 θ0
T =4 K sin . (3)
g 2
Beléndez et al [8], in a very didactic note, have derived this formula from
the integral expression of θ(t).
In this brief work we will essentially solve the same problem treated
by Beléndez et al [8], but considering a non-zero initial angular velocity.
We present a closed-form expression for the angular displacement θ(t), in
terms of the Jacobi elliptic function sn(u, k), and of the incomplete elliptical
integral of the first kind F (ϕ, k). We also made some energy considerations,
and derive an expression for the period of oscillation T (θ0 , φ0 ), involving
K(·). We believed that such an exercise can be fruitfully used in order to
introduce such concepts as elliptical integrals and functions, to encourage
the use of Computer Algebra Systems (Mapler , Mathematicar , etc.), and
to show how a simple generalization can be carried out.
2 The Model
The dynamics of an ideal simple pendulum is given by the following initial
value problem:
2
θ̈ + ω0 sin θ = 0
θ(0) = θ0 (4)
θ̇(0) = φ0
q
where ω02 = gl is its natural angular frequency, θ0 ∈ [0, 2π] is the initial
angular displacement, and φ0 ∈ ℜ is the initial angular velocity.
Following [8], we start to solve this second order differential equation,
multiplying it by dθ
dt :
dθ d2 θ dθ 2
+ ω0 sin θ = 0
dt dt2 dt
and noting that it can be rewritten as:
" #
d 1 dθ 2
− ω02 cos θ = 0
dt 2 dt
1
K(·) is implemented in most computer algebra systems available in the market.
2
Then, integrating this equation on the time interval [0, t], t > 0, we obtain:
" #t
1 dθ 2 2
⇒ − ω0 cos θ = 0
2 dt
0
1 dθ 2 1 dθ
2
⇒ − = ω02 (cos θ(t) − cos θ0 )
2 dt 2 dt t=0
2
dθ
⇒ = 2ω02 (cos θ(t) − cos θ0 ) + φ20
dt
Now, the objective is to write this equation in order that, when we integrate
it, we will obtain an elliptic integral. To do this, we define the new variables:
θ(t)
y(t) = sin
2
(5)
2 θ0
k = sin
2
and rewrite the equation as:
2
y2 φ2
dy 2
= ω0 k 1 − (1 − y 2 ) + (1 − y 2 ) (6)
dt k 4
where we have used that
dy dy dθ 1 θ dθ
= = cos
dt dθ dt 2 2 dt
and that
2 θ 2 θ
cos = 1 − sin
2 2
Defining
τ = ω0 t
y
z=√
k
follows that:
dz dz dy dt 1 dy
= = √
dτ dy dt dτ ω0 k dt
dy
Substituting dton (6) yields:
2
dz φ2
= 1 − z 2 (1 − kz 2 ) + 02 (1 − kz 2 )
dτ 4ω0 k (7)
2
= (1 − kz )(γ02 2
−z )
φ20
where γ02 = 1 + 4ω02 k
, k ∈ (0, 1), and the transformed initial conditions are:
z(0) = 1
3
dz φ0 θ0
= cot
dτ τ =0 2ω0 2
Taking the square root on both sides of (7), and after some algebra, we have
that
dz
dτ = ± p
(1 − kz 2 )(γ02 − z 2 )
Integrating on the interval [0, τ ] we obtain:
Z z
1 dz
τ = ±√ q
k 1 1
− z 2 (γ 2 − z 2 )
k 0
Now, we can write these two integrals in terms of the inverse Jacobi elliptic
function and of the incomplete elliptical integral of the first kind (Formula
219.00, pp. 58, [9]):
−1 z 2 1 2
± τ = sn , γ k − F arcsin , γ0 k (8)
γ0 0 γ0
−1 z 2 1 2
⇔ sn , γ k = F arcsin , γ0 k ± τ
γ0 0 γ0
Applying the Jacobi elliptic function sn(·, ·) on both sides of this equation
z 1 2 2
= sn F arcsin , γ0 k ± τ, γ0 k
γ0 γ0
and coming back to the original variables
√
θ 1 2 2
sin = γ0 k sn F arcsin , γ0 k ± τ, γ0 k
2 γ0
we finally obtain the solution for the angular displacement as a function of
time:
√
1 2 2
θ(t) = 2 arcsin γ0 k sn F arcsin , γ0 k ± ω0 t, γ0 k (9)
γ0
where
φ2
r
θ0 g
γ02 = 1 + 02 , k = sin2 , and ω02 = . (10)
4ω0 k 2 l
Observe that expression (9) represents two possible solutions: there are a
plus and a minus signal in front of ω0 t. Then, we will choose the ”positive
4
branch” if the initial angular velocity is positive (φ0 > 0), and the ”negative
branch” if the initial angular velocity is non-positive (φ0 ≤ 0).
In particular, φ0 = 0 ⇒ γ02 = 1, and (9) reduces to:
h√ π i
θ(t) = 2 arcsin k sn F , k − ω0 t, k
2
From Formula 110.06 (pp. 9, [9]), the following equality holds:
π
F , k = K(k)
2
where K(·) is the complete elliptical integral of the first kind. In this way
we recover the solution obtained by [8] for the case of a null initial angular
velocity: h√ i
θ(t) = 2 arcsin k sn (K(k) − ω0 t, k) (11)
In Figure 1 we plot the solution (9 − 11) for θ0 = π/2, using the software
Mathematicar , and in Figure 2 the corresponding angular velocity φ(t) =
θ̇(t). The parameters used were: θ0 = π2 rd, l = 1 m, and g = 9.8 m/s2 (these
same values for l and g will be used in Figures 3 and 4 below).
Then, the sum of these two quantities is constant over time, and equals the
mechanical energy, E, of the system:
1
E = mgl(1 − cos(θ(t))) + ml2 φ2 (t)
2
In particular, we know the initial angular displacement (θ0 ) and velocity
(φ0 ). Consequently, the mechanical energy is given by:
1
E = mgl(1 − cos(θ0 )) + ml2 φ20
2
5
and the following expression must be true for all time:
1 1
gl(1 − cos(θ(t))) + l2 φ2 (t) = gl(1 − cos(θ0 )) + l2 φ20 .
2 2
Dividing this equation by l2 and multiplying by 2, we can rewrite it as
2ω02 (1 − cos(θ(t))) + φ2 (t) = 2ω02 (1 − cos(θ0 )) + φ20 (t) (12)
From (12), the angular velocity of the pendulum for the some displace-
ment θ(t) is given by:
q
φ(t) = ± 2ω02 (cos(θ(t)) − cos(θ0 )) + φ20 (13)
6
4 Concluding Remarks
In this exercise we have derived a closed-form solution for the angular dis-
placement of a simple pendulum in terms of the Jacobi elliptic function
sn(u, k), and of the incomplete elliptical integral of the first kind F (ϕ, k):
√
1
θ(t) = 2 arcsin γ0 k sn F arcsin , γ02 k ± ω0 t, γ02 k
γ0
where
φ2
r
θ0 g
γ02 = 1 + 20 , k = sin2 , and ω02 = .
4ω0 k 2 l
and θ0 , φ0 are the initial angular displacement and velocity, respectively.
In addition,
p we have shown that, for an initial angular velocity satisfying
|φ0 | < ω0 2(1 + cos(θ0 )), the pendulum will oscillate with a period equals:
!!
2 2 arccos cos(θ0 ) − 12 φ20
T (θ0 , φ0 ) = T0 K sin
π 2
References
[1] Drazin, P. G., Nonlinear Systems, Cambridge Texts in Applied Math-
ematics, Cambridge University Press, UK, 1992.
[2] Halliday, D.; Resnick, R.; Walker, J., Fundamentals of Physics, 8th
edition, Wiley, 2007.
[3] Kidd, R. B.; Fogg, S. L., A Simple Formula for the Large-Angle Pen-
dulum Period, The Physics Teacher, Vol. 40, p. 81-83, February 2002.
[4] Millet, L. E., The Large-Angle Pendulum Period, The Physics Teacher,
Vol. 41, p. 162-163, March 2003.
[6] Beléndez, A.; Hernández, A.; Márquez, A.; Beléndez, T.; Neipp, C.;,
Application of the homotopy perturbation method to the nonlinear
pendulum, European Journal of Physics, Volume 27, Number 3, pp.
539-551, May 2006.
7
[7] Beléndez, A.; Hernández, A.; Beléndez, T.; Neipp, C.; Márquez, A., Ap-
plication of the homotopy perturbation method to the nonlinear pen-
dulum, European Journal of Physics, Volume 28, Number 1, pp. 93-103,
January 2007.
[8] Beléndez, A.; Pascual, C.; Méndez, D. I.; Beléndez, T.; Neipp, C., Exact
solution for the nonlinear pendulum, Revista Brasileira de Ensino de
Fı́sica, v. 29, n. 4, p. 645-648, Brazil, 2007.
[9] Byrd, P.F.; Friedman, M. D., Handbook of Elliptic Integrals for En-
gineers and Scientists, Second Edition, Revised, Springer-Verlag, New
York, 1971.
8
ΘHtL
2 ΦH0L=-4
1
ΦH0L = 0
t
1 2 3 4 ΦH0L = 4
-1
-2
ΦHtL
6
ΦH0L=-4
4
2 ΦH0L = 0
t
1 2 3 4 ΦH0L = 4
-2
-4
-6
9
ÈΦÈ
ΘΟ
-3 -2 -1 1 2 3
ΘH0L
2.0
1.5
1.0
0.5
0.0
3.5
3.0
T
2.5
2.0
3
2
1
ΦH0L
0
Figure 4: T (θ0 , φ0 )
10