2075 2

PHY118 ยท 2075 ยท 10 marks

Set up differential equation for an oscillation of a spring using Hooke's and Newton's second law. Find the general solution of this equation and hence the expressions for period, velocity and acceleration of oscillation.

Set up differential equation for an oscillation of a spring using Hooke's and Newton's second law. Find the general solution of this equation and hence the expressions for period, velocity and acceleration of oscillation.[10]

PhysicsChapter 1: Rotational Dynamics and Oscillatory MotionOscillation of spring

Quick answer

Consider a spring of negligible mass with one end fixed. A particle of mass m is attached to the free end. When the mass is displaced by a distance x (or l) from its equilibrium (natural) position, a restoring force acts on it.

Differential Equation for Spring Oscillation, General Solution, Period, Velocity, and Acceleration


1. Setting Up the Differential Equation

Physical Setup

Applying Hooke's Law

From Hooke's Law, the restoring force developed in the spring is proportional to the displacement:

$$F = -kx$$

where:

  • $k$ = spring constant (force per unit extension, in N/m)
  • $x$ = displacement from equilibrium
  • The negative sign indicates the restoring force acts opposite to the direction of displacement

Applying Newton's Second Law

From Newton's Second Law of Motion:

$$F = ma = m\frac{d^2x}{dt^2}$$

Combining Both Laws

Equating the two expressions:

$$m\frac{d^2x}{dt^2} = -kx$$

$$\boxed{\frac{d^2x}{dt^2} + \frac{k}{m}x = 0}$$

This is the differential equation of Simple Harmonic Motion (SHM) for a spring-mass system.

Let $\omega^2 = \dfrac{k}{m}$, then:

$$\frac{d^2x}{dt^2} + \omega^2 x = 0$$

where $\omega$ is the angular frequency (rad/s).


2. General Solution of the Differential Equation

The equation:

$$\frac{d^2x}{dt^2} + \omega^2 x = 0$$

is a second-order linear homogeneous ODE with constant coefficients.

Auxiliary (Characteristic) Equation

Assume a solution of the form $x = e^{\lambda t}$. Substituting:

$$\lambda^2 + \omega^2 = 0$$

$$\lambda^2 = -\omega^2 \implies \lambda = \pm i\omega$$

General Solution (complex roots)

Since the roots are purely imaginary ($\pm i\omega$), the general solution is:

$$\boxed{x(t) = A\sin(\omega t) + B\cos(\omega t)}$$

or equivalently written as:

$$x(t) = r\sin(\omega t + \phi)$$

where:

  • $A$, $B$ (or $r$, $\phi$) are constants determined by initial conditions
  • $r = \sqrt{A^2 + B^2}$ is the amplitude
  • $\phi$ is the initial phase angle

Note: Using circular motion analogy with a particle moving on a circle of radius $r$, the displacement is written as $y = r\sin(\omega t)$, which is the special case when $\phi = 0$ (particle starts from equilibrium).


3. Expression for Period

The angular frequency is:

$$\omega = \sqrt{\frac{k}{m}}$$

The time period $T$ is the time for one complete oscillation. Since $\omega = \dfrac{2\pi}{T}$:

$$\frac{2\pi}{T} = \sqrt{\frac{k}{m}}$$

$$\boxed{T = 2\pi\sqrt{\frac{m}{k}}}$$

The frequency of oscillation is:

$$f = \frac{1}{T} = \frac{1}{2\pi}\sqrt{\frac{k}{m}}$$


4. Expression for Velocity

Starting from the displacement equation:

$$x = r\sin(\omega t)$$

Taking the time derivative:

$$v = \frac{dx}{dt} = r\omega\cos(\omega t)$$

Using the identity $\cos(\omega t) = \sqrt{1 - \sin^2(\omega t)}$ and $\sin(\omega t) = \dfrac{x}{r}$:

$$v = r\omega\sqrt{1 - \frac{x^2}{r^2}}$$

$$\boxed{v = \omega\sqrt{r^2 - x^2}}$$

Key observations:

PositionVelocity
At equilibrium ($x = 0$)$v_{max} = \omega r$ (maximum)
At extreme end ($x = r$)$v = 0$ (minimum)

5. Expression for Acceleration

Taking the time derivative of velocity:

$$a = \frac{dv}{dt} = \frac{d}{dt}(r\omega\cos(\omega t)) = -r\omega^2\sin(\omega t)$$

Since $x = r\sin(\omega t)$:

$$\boxed{a = -\omega^2 x}$$

Key observations:

PositionAcceleration
At equilibrium ($x = 0$)$a = 0$ (minimum)
At extreme end ($x = \pm r$)$a_{max} = \mp\omega^2 r$ (maximum, directed toward equilibrium)

The negative sign confirms that acceleration is always directed opposite to displacement, which is the defining characteristic of SHM.


Summary Table

QuantityExpression
Differential Equation$\dfrac{d^2x}{dt^2} + \omega^2 x = 0$
General Solution$x = r\sin(\omega t + \phi)$
Angular Frequency$\omega = \sqrt{k/m}$
Period$T = 2\pi\sqrt{m/k}$
Velocity$v = \omega\sqrt{r^2 - x^2}$
Acceleration$a = -\omega^2 x$

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.