# Connexions

You are here: Home » Content » SHM equation

### Recently Viewed

This feature requires Javascript to be enabled.

# SHM equation

Module by: Sunil Kumar Singh. E-mail the author

Force is the cause of simple harmonic motion. However, it plays a very different role than that in translational or rotational motion. First thing that we should be aware that oscillating systems like block-spring arrangement or a pendulum are examples of systems in stable equilibrium. When we apply external force, it tends to destabilize or disturb the state of equilibrium by imparting acceleration to the object in accordance with Newton’s second law.

Secondly, role of destabilizing external force is one time act. The oscillation does not require destabilizing external force subsequently. It, however, does not mean that SHM is a non-accelerated motion. As a matter of fact, oscillating system generates a restoring mechanism or restoring force that takes over the role of external force once disturbed. The name “restoring” signifies that force on the oscillating object attempts to restore equilibrium (central position in the figure) – undoubtedly without success in SHM.

SHM is an accelerated motion in which object keeps changing its velocity all the time. The analysis of SHM involves consideration of “restoring force” – not the external force that initially starts the motion. Further, we need to understand that initial external force and hence restoring force are relatively small than the force required to cause translation or rotation. For example, if we displace pendulum bob by a large angle and release the same for oscillation, then the force on the system may not fulfill the requirement of SHM and as such the resulting motion may not be a SHM.

We conclude the discussion by enumerating requirements of SHM as :

• The object is in stable equilibrium before start of the motion.
• External destabilizing force is applied only once.
• The object accelerates and executes SHM under the action of restoring force.
• The magnitude of restoring force or displacement is relatively small.
• There is no dissipation of energy during motion (ideal reference assumption).

## Force equation

Here, we set out to figure out nature of restoring force that maintains SHM. For understanding purpose we consider the block-spring system and analyze “to and fro” motion of the block. Let the origin of reference coincides with the position of the block for the neutral length of spring. The block is moved right by a small displacement “x” and released to oscillate about neutral position or center of oscillation. The restoring spring force is given by (“k” is spring constant) :

F = - k x F = - k x

In the case of pendulum, we describe motion in terms of torque as it involves angular motion. Here, torque is (we shall study this relation later):

τ = - m g l θ τ = - m g l θ

In either case, we see that “cause” (whether force or torque) is proportional to negative of displacement – linear or angular as the case be. Alternatively, we can also state the nature of restoring force in terms of acceleration,

Linear acceleration, a = - k m x a = - k m x ------ for linear SHM of block-spring system

Angular acceleration, α = - m g l I θ α = - m g l I θ ------ for rotational SHM of pendulum

where “m” and “I” are mass and moment of inertia of the oscillating objects in two systems.

In order to understand the nature of cause, we focus on the block-spring system. When the block is to the right of origin, “x” is positive and restoring spring force is negative. This means that restoring force (resulting from elongation of the spring) is directed left towards the neutral position (center of oscillation). This force accelerates the block towards the center. As a result, the block picks up velocity till it reaches the center.

The plot, here, depicts nature of force about the center of oscillation bounded between maximum displacements on either side.

As the block moves past the center, “x” is negative and force is positive. This means that restoring force (resulting from compression of the spring) is directed right towards the center. The acceleration is positive, but opposite to direction of velocity. As such restoring force decelerates the block.

In the nutshell, after the block is released at one extreme, it moves, first, with acceleration up to the center and then moves beyond center towards left with deceleration till velocity becomes zero at the opposite extreme. It is clear that block has maximum velocity at the center and least at the extreme positions (zero).

From the discussion, the characterizing aspects of the restoring force responsible for SHM are :

• The restoring force is always directed towards the center of oscillation.
• The restoring force changes direction across the center.
• The restoring force first accelerates the object till it reaches the center and then decelerates the object till it reaches the other extreme.
• The process of “acceleration” and “deceleration” keeps alternating in each half of the motion.

## Differential form of SHM equation

We observed that acceleration of the object in SHM is proportional to negative of displacement. Here, we shall formulate the general equation for SHM in linear motion with the understanding that same can be extended to SHM along curved path. In that case, we only need to replace linear quantities with corresponding angular quantities.

a = - ω 2 x a = - ω 2 x

where “ ω 2 ω 2 ” is a constant. The constant “ω” turns out to be angular frequency of SHM. This equation is the basic equation for SHM. For block-spring system, it can be seen that :

ω = k m ω = k m

where “k” is the spring constant and “m” is the mass of the oscillating block. We can, now, write acceleration as differential,

2 x t 2 = - ω 2 x 2 x t 2 = - ω 2 x

2 x t 2 + ω 2 x = 0 2 x t 2 + ω 2 x = 0

This is the SHM equation in differential form for linear oscillation. A corresponding equation of motion in the context of angular SHM is :

2 θ t 2 + ω 2 θ = 0 2 θ t 2 + ω 2 θ = 0

where "θ" is the angular displacement.

## Solution of SHM differential equation

In order to solve the differential equation, we consider position of the oscillating object at an initial displacement x 0 x 0 at t =0. We need to emphasize that “ x 0 x 0 ” is initial position – not the extreme position, which is equal to amplitude “A”. Let

t = 0, x = x 0, v = v 0 t = 0, x = x 0, v = v 0

We shall solve this equation in two parts. We shall first solve equation of motion for the velocity as acceleration can be written as differentiation of velocity w.r.t to time. Once, we have the expression for velocity, we can solve velocity equation to obtain a relation for displacement as its derivative w.r.t time is equal to velocity.

### Velocity

We write SHM equation as differential of velocity :

a = v t = = - ω 2 x a = v t = = - ω 2 x

v x X x t = - ω 2 x v x X x t = - ω 2 x

v v x = - ω 2 x v v x = - ω 2 x

Arranging terms with same variable on either side, we have :

v v = - ω 2 x x v v = - ω 2 x x

Integrating on either side between interval, while keeping constant out of the integral sign :

v 0 v v v = - ω 2 x 0 x x x v 0 v v v = - ω 2 x 0 x x x

[ v 2 2 ] v 0 v = - ω 2 [ x 2 2 ] x 0 x [ v 2 2 ] v 0 v = - ω 2 [ x 2 2 ] x 0 x

v 2 v 0 2 = - ω 2 x 2 x 0 2 v 2 v 0 2 = - ω 2 x 2 x 0 2

v = { v 0 2 + ω 2 x 0 2 ω 2 x 2 } v = { v 0 2 + ω 2 x 0 2 ω 2 x 2 }

v = ω { v 0 2 ω 2 + x 0 2 x 2 } v = ω { v 0 2 ω 2 + x 0 2 x 2 }

We put v 0 2 ω 2 + x 0 2 = A 2 v 0 2 ω 2 + x 0 2 = A 2 . We shall see that “A” turns out to be the amplitude of SHM.

v = ω A 2 x 2 v = ω A 2 x 2

This is the equation of velocity. When x = A or -A,

v = ω A 2 A 2 = 0 v = ω A 2 A 2 = 0

when x = 0,

v max = ω A 2 0 2 = ω A v max = ω A 2 0 2 = ω A

### Displacement

We write velocity as differential of displacement :

v = x t = ω A 2 x 2 v = x t = ω A 2 x 2

Arranging terms with same variable on either side, we have :

x A 2 x 2 = ω t x A 2 x 2 = ω t

Integrating on either side between interval, while keeping constant out of the integral sign :

x 0 x x A 2 x 2 = ω 0 t t x 0 x x A 2 x 2 = ω 0 t t

[ sin 1 x A ] x 0 x = ω t [ sin 1 x A ] x 0 x = ω t

sin 1 x A sin 1 x 0 A = ω t sin 1 x A sin 1 x 0 A = ω t

Let sin 1 x 0 A = φ sin 1 x 0 A = φ . We shall see that “φ” turns out to be the phase constant of SHM.

sin 1 x A = ω t + φ sin 1 x A = ω t + φ

x = A sin ω t + φ x = A sin ω t + φ

This is one of solutions of the differential equation. We can check this by differentiating this equation twice with respect to time to yield equation of motion :

x t = A ω cos ω t + φ x t = A ω cos ω t + φ

2 x t 2 = A ω 2 sin ω t + φ = ω 2 x 2 x t 2 = A ω 2 sin ω t + φ = ω 2 x

2 x t 2 + ω 2 x = 0 2 x t 2 + ω 2 x = 0

Similarly, it is found that equation of displacement in cosine form, x = A cos ω t + φ x = A cos ω t + φ , also satisfies the equation of motion. As such, we can use either of two forms to represent displacement in SHM. Further, we can write general solution of the equation as :

x = A sin ω t + B cos ω t x = A sin ω t + B cos ω t

This equation can be reduced to single sine or cosine function with appropriate substitution.

## Example

Problem 1: Find the time taken by a particle executing SHM in going from mean position to half the amplitude. The time period of oscillation is 2 s.

Solution : Employing expression for displacement, we have :

x = A sin ω t x = A sin ω t

We have deliberately used sine function to represent displacement as we are required to determine time for displacement from mean position to a certain point. We could ofcourse stick with cosine function, but then we would need to add a phase constant “π/2” or “-π/2”. The two approach yields the same expression of displacement as above.

Now, according to question,

A 2 = A sin ω t A 2 = A sin ω t

sin ω t = 1 2 = sin π 6 sin ω t = 1 2 = sin π 6

ω t = π 6 ω t = π 6

t = π 6 ω = π T 6 X 2 π = T 12 = 2 12 = 1 6 s t = π 6 ω = π T 6 X 2 π = T 12 = 2 12 = 1 6 s

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks