7.2
CiteScore
3.7
Impact Factor
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT
Case Study
Correspondence
Corrigendum
Editorial
Full Length Article
Invited review
Letter to the Editor
Original Article
Retraction notice
REVIEW
Review Article
SHORT COMMUNICATION
Short review
7.2
CiteScore
3.7
Impact Factor
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT
Case Study
Correspondence
Corrigendum
Editorial
Full Length Article
Invited review
Letter to the Editor
Original Article
Retraction notice
REVIEW
Review Article
SHORT COMMUNICATION
Short review
View/Download PDF

Analytic solution to the pendulum equation for a given initial conditions

Universidad Nacional de Colombia, Department of Mathematics and Statistics, FIZMAKO Research Group, Colombia
Disclaimer:
This article was originally published by Elsevier and was migrated to Scientific Scholar after the change of Publisher.

Peer review under responsibility of King Saud University.

Abstract

In this paper we give the analytical solution for the undamped pendulum equation for a given arbitrary initial conditions. This solution is expressed in terms of the Jacobian elliptic functions. Approximated trigonometric solution is also provided. Three practical formulas for the period of oscillations are given. The results are illustrated with examples.

Keywords

Undamped pendulum
Duffing equation
Period of oscillations
Jacobian elliptic functions
1

1 Introduction

The pendulum is a massless rod of lengthlwith a point mass (bob) m at  its end (Fig. 1).

Pendulum.
Fig. 1
Pendulum.

When the bob performs an angular deflection ϕ from the equilibrium downward position, the force of gravity mg provides a restoring torque -mglsinϕ . The rotational form of Newton’s second law of motion states that this torque is equal to the product of the moment of inertia   ml2 times the angular acceleration d2ϕdt2 (Gitterman, 2010),

(1)
d2ϕdt2+glsinϕ=0

For small angles, sinϕϕ Eq. (1) reduces to the equation of a harmonic oscillator. Other approximations are

(2)
sinϕϕ-40243ϕ3forϕ<7π18=70°.
(3)
sinϕϕ-40243ϕ3+1131ϕ5forϕ2π3=120°

These approximations are compared graphically in Fig. 2.

Polynomial approximations to sine function.
Fig. 2
Polynomial approximations to sine function.

2

2 Analytic Solution to the Pendulum Equation

Our aim is to obtain the solution to the initial value problem

(4)
d2ϕdt2+ω2sinϕ=0subjectedtoϕ(0)=ϕ0andϕ(0)=ϕ̇0,whereω=gl>0.

To this end, we make the transformation

(5)
ϕ(t)=2arctan(u(t)), where u=u(t) is the solution to the Duffing equation (Duffing, 1918)
(6)
u(t)+pu(t)+qu3(t)=0,u(0)=u0andu(0)=u̇0.
so that
(7)
u(t)2+pu(t)2+q2u(t)4=u̇02+pu02+q2u04.

Inserting the ansatz (6) into the equation d2ϕdt2+ω2sinϕ=0  and taking into account (7) gives

(8)
-p+q-ω2u(t)3+2pu02+p+qu04+2u̇02-ω2u(t)=0.

Equating to zero the coefficients of u(t) and u(t)3 we obtain the system to obtain the system

(9)
2pu̇02+p+qu̇04+2u02-ω2=0,-p+q-ω2=0

Solving this system gives

(10)
p=-u̇04-1ω2+2u02u̇02+12,q=2u̇02+1ω2-u02u̇02+12

The values of the constants u0 and u̇0 are found from the initial conditions

(11)
ϕ(0)=ϕ0andϕ(0)=ϕ̇0

The general solution to the Duffing equation (Kovacic and Brennan, 2011; Salas and Castillo, 2014) u(t)+pu(t)+qu3(t)=0 may be expressed in terms of the twelve Jacobian elliptic functions as shown below: u(t)=c1cdqc12+2p2t+c2,-qc12qc12+2pu(t)=c1cnqc12+pt+c2,qc122qc12+pu(t)=c1dc-qc122t+c2,-qc12-2pqc12u(t)=c1dnqc122t+c2,2qc12+pqc12u(t)=c1nc-qc12-pt+c2,qc12+2p2qc12+pu(t)=c1nd-qc12-2p2t+c2,2qc12+pqc12+2pu(t)=c1scqc12-2p2t+c2,2p-qc122p-qc12u(t)=c1sdqc12+q2c14+p2t+c2,qc12+p-q2c14+p22pu(t)=c1snqc12+2p2t+c2,-qc12qc12+2p

The values of the constants c1 and c2 are obtained from the initial conditions

(12)
u(0)=u0andu(0)=u̇0

Let

(13)
u(t)=c1cnqc12+pt+c2,m,wherem=qc122qc12+p.

We will make use if the addition formula

(14)
u(t)=c1cn(qc12+pt,m)cn(c2,m)-sn(qc12+pt,m)dn(qc12+p,m)sn(c2,m)dn(c2,m)1-csn2(qc12+pt,m)

Let

(15)
a=c1cn(c2)andb=sn(c2)dn(c2)

Since

(16)
sn2(c2)+cn2(c2)=1anddn2(c2)=1-msn2(c2),
(17)
a4q+2a2p+c122b2p-2p+c142b2q-q=0.

We have

(18)
u(t)=acn(qc12+pt,m)-bsn(qc12+pt,m)dn(qc12+p,m)1-csn2(qc12+pt,m)

Define the residual R(t)

(19)
R(t)=d2ϕdt2+ω2sinϕ,whereϕ(t)=2arctan(u(t))

To determine the constants a,b and c we solve the system

(20)
ϕ(0)=ϕ0,ϕ(0)=ϕ̇0andR(0)=0 which reads
(21)
2tan-1(a)=ϕ0,2bw=a2+1ϕ̇0,w2a2+1c+a2+2b2+1=a2+1ω2.

Solving system (21) and taking into account (17) we obtain, after some algebraic simplifications, the following expression for the solution to the pendulum Eq. (4):

(22)
ϕ(t)=2tan-1tanϕ02cn(iωt|m)-i2ωϕ̇0sec2ϕ02dn(iωt|m)sn(iωt|m)1+ϕ̇022ω2cosϕ0+1-1sn(iωt|m)2,m=142(1+cosϕ0)-ϕ̇02ω2

This solution may also be expressed in the forms

(23)
ϕ(t)=2tan-1tanϕ02cn(ωt|m)+ϕ̇02ωsec2ϕ02dn(ωt|m)sn(ωt|m)1-ϕ̇024ω2sec2ϕ02sn(ωt|m)2,m=142(1-cosϕ0)+ϕ̇02ω2. and
(24)
ϕ(t)=2tan-12ωωsinϕ0nc(ωt|m)+ϕ̇0dc(ωt|m)sc(ωt|m)2ω21+cosϕ0+2ω21+cosϕ0-ϕ̇02sc(ωt|m)2,m=142(1-cosϕ0)+ϕ̇02ω2.

The period of oscillations is given by

(25)
T=K(m)ω=1ωK142(1-cosϕ0)+ϕ̇02ω2

This number may be approximated by means of the formulas

(26)
T=π2lg5m-169m-16form13 and also
(27)
T=π2lg409m2-3984m+48641025m2-5200m+4864form34.
(28)
T=π2lg540191m3-10617024m2+32584960m-246538241708091m3-16837184m2+38748416m-24653824form<1
Example 1

Fig. 3.

Example 2

Fig. 4.

The dashed curve is that of the numerical solution.
Fig. 3
The dashed curve is that of the numerical solution.
The dashed curve is that of the numerical solution.
Fig. 4
The dashed curve is that of the numerical solution.

3

3 Trigonometric approximations

In this section we provide some approximations that solve in a reasonable way the pendulum equation in terms of trigonometric functions. From (3), we see that the equation of the pendulum d2ϕdt2+glsinϕ=0 may be approximated by means of the equation

(29)
d2ϕdt2+glϕ(t)-40243ϕ3(t)+1131ϕ5(t)=0forϕ2π3=120°.

Let us consider the case when ϕ(0)=ϕ0andϕ(0)=0

(30)
ϕ(t)=ϕ0cos(kt)1+λsin2(kt)

Define the residual R(t) as

(31)
R(t)=d2ϕdt2+ω2(ϕ(t)-40243ϕ3(t)+1131ϕ5(t)),ω=gl.

Direct calculations show that R(0)=0 . In order to find the values of the constants k and λ we solve the system

(32)
R(0)=0,R(0)=0.

This system reads

(33)
31833k2λ+31833k2-31833ω2-243ω2ϕ04+5240ω2ϕ02=0.95499k2λ+10611k2-10611ω2-405ω2ϕ04+5240ω2ϕ02=0.

A solution is

(34)
k=19gl81262ϕ04-10ϕ02+81,λ=1+26220ϕ02-243243ϕ04-7860ϕ02+63666 so that an approximated trigonometric solution is given by
(35)
ϕ(t)=ϕ0cos19gl81262ϕ04-10ϕ02+81t1+1+26220ϕ02-243243ϕ04-7860ϕ02+63666sin219gl81262ϕ04-10ϕ02+81tforϕ(t)2π3=120°
Example 3

Compare the exact and approximated trigonometric solution for the pendulum equation

(36)
d2ϕdt2+sinϕ=0subjectedtoϕ(0)=π2andϕ(0)=0.

Figs. 5 and 6.

The dashed curve is that of the trigonometric solution.
Fig. 5
The dashed curve is that of the trigonometric solution.
The dashed curve is that of the trigonometric solution.
Fig. 6
The dashed curve is that of the trigonometric solution.

If we are interested in a trigonometric solution to the pendulum equation for a given initial conditions, we may approximate the exact solution by means of trigonometric functions. Let us consider solution given by Eq. (24). The trigonometric approximation is good when the modulus mis a small number. This approximation reads.

Other approximations may be found in Belendez et al. (2012) and Belendez et al. (2016).

Example 4

Fig. 7

The dashed curve is that of the trigonometric solution.
Fig. 7
The dashed curve is that of the trigonometric solution.

4

4 Conclusions

We have derived the exact solution to the undamped pendulum equation for arbitrary given initial conditions. We conclude that the pendulum equation is closely related to both cubic and cubic-quintic Duffing oscillator equations. Two kinds of trigonometric approximate solutions were provided. We may say that trigonometric approximations are good when the modulus of the Jacobian elliptic functions is a small number say, a number in absolute value less that 0.2 .The techniques used are applicable for solving the Duffing and the cubic-quintic Duffing equations (Belendez et al., 2012; Belendez et al., 2016) by means of trigonometric ansatze. We think that some of the formulas in this work are new in the literature. Other approaches to nonlinear pendulum may be found in Gitterman (2010), Johannessen (2014) and Salas and Castillo (2014)

References

  1. , , , , , , , . Analytical approximate solutions for the cubic-quintic Duffing oscillator in terms of elementary functions. J. Appl. Math., Q3 2012 Article ID 286290,16 pages, ISSN 1110-757X. The special issue Advances in Nonlinear Vibration
    [Google Scholar]
  2. , , , , , , . Exact solution for the unforced Duffing oscillator with cubic and quintic nonlinearities. Nonlinear Dyn. (NODY). 2016;86:1687-1700.
    [Google Scholar]
  3. , . Erzwungene schwingungen bei veränderlicher eigenfrequenz und ihre technische bedeutung, Series: Sammlung Vieweg, No 41/42. Braunschweig: Vieweg & Sohn; .
  4. , . The Caothic Pendulum. World Scientific Publishing Co., Pte. Ltd.; .
  5. , . An analytical solution to the equation of motion for the damped nonlinear pendulum. Eur. J. Phys.. 2014;35:035014
    [Google Scholar]
  6. , , . The Duffing Equation: Nonlinear Oscillators and their Behaviour (1st ed.). John Wiley & Sons Ltd; .
  7. , , . Exact solution to duffing equation and the pendulum equation. Appl. Math. Sci.. 2014;8:8781-8789.
    [Google Scholar]
Show Sections