Energy vs Displacement and vs Time Graphs in SHM

Physics · Oscillations · NEET

In SHM, plot energy two ways. Against displacement x: PE = (1/2)k x^2 is an upward parabola, KE = (1/2)k (A^2 - x^2) is a downward parabola, and total energy E = (1/2)k A^2 is a flat straight line. Against time t: PE and KE are both non-negative curves (like sin^2 and cos^2) that swing between 0 and max, while total energy stays a flat line. Memory hook: "PE smiles up, KE frowns down, Total stays flat" - and both PE and KE curves repeat twice as fast as the motion (period T/2).
Energy in SHM: vs Displacement (left) and vs Time (right)x-A+A0Total EPEKEtTotal EPEKEhumps repeat every T/2
Left: against displacement, PE (red) is an upward parabola and KE (blue) a downward parabola, meeting at x = +/- A/root2; total energy (green dashed) is flat. Right: against time, PE and KE are non-negative humps of period T/2 that always add to the same flat total energy.

Your doubts, answered

Why is the total energy graph a flat straight line?

Total energy E = KE + PE. Using x = A sin(wt), PE = (1/2)k A^2 sin^2(wt) and KE = (1/2)k A^2 cos^2(wt). Adding them, sin^2 + cos^2 = 1, so E = (1/2)k A^2. This has no x or t in it, so both the E-vs-x graph and the E-vs-t graph are horizontal straight lines at height (1/2)k A^2. Energy just shifts between PE and KE; the total never changes.

Why does KE go down as PE goes up on the displacement graph?

At any position x, KE = E - PE = (1/2)k A^2 - (1/2)k x^2 = (1/2)k (A^2 - x^2). So when x grows, PE = (1/2)k x^2 grows (upward parabola) and KE shrinks (downward parabola). They are mirror images across the flat total-energy line. At the mean position (x = 0) KE is maximum and PE is zero; at the extremes (x = +A or -A) PE is maximum and KE is zero.

Are these graphs parabolas or sine curves?

It depends on the x-axis. Against displacement x, both PE and KE are parabolas because they contain x^2. Against time t, they are sin^2 and cos^2 shaped curves (never straight, never going below zero). Students lose marks by drawing a parabola when the question says 'vs time' or a sine wave when it says 'vs displacement'. Always read the axis first.

Why is the period of the energy graphs T/2 and not T?

KE contains cos^2(wt) and PE contains sin^2(wt). Using cos^2(wt) = (1 + cos 2wt)/2, the cosine inside now has angular frequency 2w. Angular frequency 2w means frequency 2n and period T/2. So the energy curves complete two full humps for every one full oscillation of the particle. This is why a body of frequency n has energy varying at frequency 2n.

Where on the displacement graph do PE and KE become equal?

Set PE = KE: (1/2)k x^2 = (1/2)k (A^2 - x^2). This gives 2x^2 = A^2, so x = A/root2 (about 0.707 A). At that point each energy is half the total, i.e. (1/4)k A^2. On the graph the two parabolas cross exactly at x = A/root2 on both sides of the mean position.

Why is every energy graph drawn only above the x-axis?

KE = (1/2)m v^2 uses speed squared, so it can never be negative. PE = (1/2)k x^2 uses x squared and is taken as zero at the mean position, so it is also never negative. Total energy is a fixed positive value. A correct SHM energy graph never dips below the horizontal axis; any option showing a negative dip is wrong.

⚠️ The NEET trap
Reading 'energy vs time' but drawing a parabola, or reading 'energy vs displacement' but drawing a sine-shaped curve.
vs displacement = parabolas (x^2 terms); vs time = non-negative sin^2 / cos^2 humps with period T/2. Total energy is a flat line in BOTH.
🧠 First look at the x-axis label. Position gives parabolas, time gives humps. Total energy is always flat.

Real NEET questions

NEET 2021

A body executes simple harmonic motion with frequency n. The frequency of variation of its potential energy is

A · 3n
B · 4n
C · n
D · 2n
Solution: With x = A sin(wt), PE = (1/2)k x^2 = (1/2)k A^2 sin^2(wt). Using sin^2(wt) = (1 - cos 2wt)/2, PE = (1/4)k A^2 (1 - cos 2wt). The PE varies as cos 2wt, i.e. at angular frequency 2w, so its frequency is 2n. This is why the energy-time graph completes two humps per oscillation (period T/2).
NEET 2026

For a simple pendulum having time period T, the variation of kinetic energy (K.E.) with time (t) is represented by (choose the correct KE-vs-time graph).

A · A negative-dipping sinusoid
B · A straight horizontal line
C · A non-negative cos^2 curve of period T/2
D · A parabola opening upward
Solution: With x = A sin(wt + phi), velocity v = A w cos(wt + phi), so KE = (1/2)m v^2 = (1/2)m A^2 w^2 cos^2(wt + phi). KE is always greater than or equal to zero, so any curve dipping below the axis is wrong. Since cos^2(wt+phi) = (1 + cos 2(wt+phi))/2 oscillates at angular frequency 2w, the KE completes two cycles per pendulum period, i.e. its period is T/2. The correct graph is the non-negative cos^2-type curve of period T/2.
NEET 2026

The sum of the kinetic energy and potential energy of a simple pendulum bob is 0.02 J. The speed of the bob at its equilibrium position is approximately (mass of the bob = 20 g)

A · 0.2 m/s
B · 1.41 m/s
C · 14.1 m/s
D · 2.0 m/s
Solution: Total mechanical energy E = KE + PE = 0.02 J and it stays constant (flat total-energy line). At the equilibrium (mean) position PE = 0, so all energy is kinetic: (1/2)m v^2 = E. Then v = root(2E/m) = root(2 x 0.02 / 0.020) = root(0.04/0.020) = root2 = about 1.41 m/s.

Solved Oscillations NEET PYQs

Try the real previous-year questions from this chapter — each with the answer and a full solution.

See all 22 Oscillations NEET PYQs ›
Next concept: Time Period of a Simple PendulumKeep learning — 2 minFeeling ready? Solve the Oscillations NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

What is the shape of the PE vs displacement graph in SHM?

An upward-opening parabola given by PE = (1/2)k x^2, with its lowest point (zero) at the mean position x = 0 and maximum value (1/2)k A^2 at the extremes x = +A and -A.

What is the shape of the KE vs displacement graph in SHM?

A downward-opening parabola given by KE = (1/2)k (A^2 - x^2). It is maximum (1/2)k A^2 at x = 0 and drops to zero at x = +A and -A. It is the mirror image of the PE parabola.

Why do KE and PE vary at double the frequency of the SHM?

Because KE and PE depend on cos^2 and sin^2 of (wt), and squaring a sinusoid doubles its frequency. So if the body oscillates at frequency n, both energies vary at frequency 2n with period T/2.

At what displacement are KE and PE equal in SHM?

At x = A/root2 (about 0.707 A). At that position each equals half the total energy, (1/4)k A^2.

Does the total energy graph depend on position or time?

No. Total energy E = (1/2)k A^2 = (1/2)m w^2 A^2 is constant. It is a flat horizontal line on both the energy-vs-displacement graph and the energy-vs-time graph, as long as amplitude stays the same.