A spring-mass system is the standard model of simple harmonic
motion: a block of mass m on a light spring of force constant k oscillates with T=2πm/k, whether
the spring is horizontal, vertical or on an incline. This page covers SHM in a spring-mass system from Hooke's law to
the five-step method for any time period, springs with pulleys, collisions, two-block systems, series and parallel
springs and the energy method. Spring-mass questions appear almost every year in JEE Main and NEET.
On this page1Hooke's law2Horizontal & vertical3Five-step method4Pulleys5Sudden changes6Two blocks7Combinations8Energy method
Key Formulas - Quick Reference
★ Must learnSpring-mass period: T=2πkm, f=2π1mk (independent of A and g)
★ Must learnVertical spring: extension at rest x0=kmg, so T=2πgx0
A constant force (F0, mgsinθ) shifts the mean position by F0/k but does not change T
★ Must learnSeries: keq1=k11+k21, T2=T12+T22; parallel: keq=k1+k2, T21=T121+T221
Cut spring: kℓ = constant; n equal pieces each have constant nk
Two blocks on one spring: T=2πμ/k, reduced mass μ=m1+m2m1m2
Pulley with spring: if the spring stretches βx when the block moves x, keff=β2k
Fixed pulley of inertia I, radius R: T=2πkm+I/R2
After a sudden change: find the new mean position, then A2=x2+ω2v2
Energy method: E=21meffv2+21keffx2⇒T=2πmeff/keff
1. Spring Force and Hooke's Law
A light (massless) spring stretched or compressed by x from its natural length pulls or pushes back with a force
proportional to x:
★ Must learnHooke's law for a spring:
F=−kx
k is the force
constant (spring constant), in N m−1: the force needed per metre of extension. A stiffer spring has a
larger k. The minus sign shows that the force always acts back towards the natural length. The energy stored is
U=21kx2.
Figure 1: Whether the spring is stretched or compressed, its force F=−kx points back to the natural-length position x=0. On a smooth floor that position is the mean position.
Compare with the condition for SHM, F=−kx: a block attached to an ideal spring on a smooth surface is an
exact SHM, and the spring constant is directly the SHM constant.
2. Horizontal Spring-Block System
Block of mass m, spring constant k, smooth floor. At the natural length the net force is zero: this is the
mean position.
Displace the block by x: ma=−kx, so a=−mkx.
Compare with a=−ω2x:
ω=mk,T=2πkm
T depends only on m and k: not on the amplitude, and not on g. The same spring-block has the same period
on the Moon.
T∝m: four times the mass doubles the period. T∝1/k: a four times stiffer spring
halves it.
T2=k4π2m is a straight line through the origin. Plotting T2 against m in the laboratory
gives k from the slope.
Figure 2: T∝m (left) curves, but T2=k4π2m (right) is a straight line through the origin. Slope of the T2-m line gives k=4π2/slope.
3. Vertical Spring-Block System
When the block hangs from a vertical spring, gravity stretches the spring before any oscillation starts. The block
rests where the spring force balances the weight:
kx0=mg⇒x0=kmg
This stretched position, not the natural length, is the mean position. Pull the block a further x down.
The spring force is k(x+x0) upwards and the weight mg downwards:
Fnet=mg−k(x+x0)=−kx
Figure 3: A hanging block oscillates about the stretched position x0=mg/k, not about the natural length. Measured from there, the net force is −kx, so T=2πm/k.
The net force is again −kx, so T=2πm/k, exactly as for the horizontal spring. Gravity only moves the
mean position down by x0.
Exam Trick
Period from the static
stretch alone. Since m/k=x0/g,
T=2πgx0
If a question tells you how far the spring
stretches when the block hangs at rest, you do not need m or k separately. A 9.8cm stretch always
means T=2π0.01≈0.63s.
3.1 A constant force never changes the period
If a constant force acts on the block (a steady pull F0 on a horizontal spring, or the component
mgsinθ on a smooth incline), it only shifts the mean position by F0/k (or mgsinθ/k). Measured from
the new mean position the net force is still −kx, so T=2πm/k in every case.
Figure 4: A constant force (F0 on the left, mgsinθ on the right) only shifts the mean position. The period stays T=2πm/k.
Horizontal spring
Mean position at the natural length. T=2πm/k; the energy 21kA2 is all spring energy.
Vertical spring
Mean position x0=mg/k below the natural length. Same T=2πm/k; measure x and A from the new mean position.
Key idea
Gravity and any other constant force move the mean position; only m and k set the period.
4. The Five-Step Method for Any Time Period
Almost every SHM problem, linear or angular, is solved with the same routine:
Find the mean position (stable equilibrium): the net force (or torque) is zero and the potential energy is
minimum.
Write the mean-position relation, for example kx0=mg.
Displace the body by a small x (or angle θ) from the mean position.
Write the net force (or torque) in the displaced position.
Reduce it to F=−KSHMx (or τ=−Kθ) using step 2 or small-angle/binomial
approximations. Then T=2πm/KSHM (or 2πI/K).
Why it works: the mean-position relation cancels every constant force, so
only the part of the force that changes with x survives. That part is the restoring force.
Figure 5: The five-step routine as a chart. Step 2 cancels every constant force (gravity, a steady push), so only −KSHMx survives. With a massive pulley the energy route gives meff=m+I/R2 in one line.
5. Springs with Pulleys
With a light string and pulley, the block and the spring need not move by the same amount. Find how far the spring
stretches when the block moves x; that ratio fixes the effective spring constant.
Figure 6: The same spring gives different periods because the pulley changes how far the spring stretches for a block displacement x: equal in (i), x/2 in (ii), 2x in (iii).
Arrangement
Spring stretch for block displacement x
KSHM
Period
(i) String over a fixed pulley, spring to the floor
x
k
2πm/k
(ii) Pulley hangs from the spring, string tied to the floor
x/2
k/4
2π4m/k
(iii) Block on a movable pulley, string from spring to ceiling
2x
4k
2πm/4k
Exam Trick
The β2 rule. If the spring stretches βx when the
block moves x, the spring's energy is 21k(βx)2=21(β2k)x2, so
KSHM=β2k. Case (ii): β=21 gives k/4. Case (iii): β=2 gives 4k.
No force analysis needed.
Key idea
With pulleys, ask one question: how far does the spring stretch when the block moves x? The answer βx gives K=β2k.
6. Sudden Changes: Collisions, Added or Removed Mass
When a mass lands on, sticks to, or is removed from an oscillating system, the spring constant stays the same but
the mean position and the state of motion change. Use this routine:
Find the new mean position: for a vertical spring it shifts by Δmg/k.
Find the displacement x from the new mean position and the velocity v just after the change
(momentum is conserved in a short collision).
New ω=k/mnew; amplitude from
A2=x2+ω2v2
Energy of oscillation
=21kA2.
Figure 7: Momentum gives v/2; the spring is unstretched, so all of 41mv2 becomes 21kA2: A=vm/2k. For m=1kg, v=2m s−1, k=200N m−1: A=10cm, T=2π2m/k=0.63s.Figure 8: After the mass lands, it oscillates about the new mean position mg/k below the natural length. At first contact it is already x=mg/k from that mean position and moving at 2gh, so A2=(mg/k)2+2ghm/k.
Inelastic collisions lose energy. Use momentum conservation for the
collision itself, and energy conservation only for the motion after it.
6.1 Blocks that must stay in contact
A block resting on another, or standing on the floor, can lose contact when the spring force reverses. The
largest safe amplitude is the distance from the mean position to the point where contact would be lost.
Figure 9: Contact conditions set the largest safe amplitude. Left: stretch ≤mg/k above N.L. plus 2mg/k compression at M.P. gives 3mg/k. Right: the pair must not rise above N.L., 2mg/k above M.P.
6.2 Stacked blocks held by friction
If a block m sits on a block M attached to the spring, the upper block's acceleration ω2x is supplied
only by static friction. Friction needed is largest at the extremes, so slipping starts there first.
Figure 10: Static friction on m (towards the mean position) supplies mω2x. It is largest at the extremes, so the pair moves together only while A≤μ(M+m)g/k.
Quick Recall: tap to checkA block on a horizontal spring is hit by an identical block that sticks. Does the period change?
Yes: the mass doubles, so T becomes 2 times. k is unchanged.
Which law do you use during a short sticking collision, and which after it?
Momentum conservation during it; energy conservation (SHM) after it.
Where does a stacked upper block start to slip first?
At the extremes, where ω2x and so the friction needed is largest.
7. Two-Block Systems and Reduced Mass
Two blocks m1 and m2 joined by a spring on a smooth floor oscillate about their own equilibrium positions,
in opposite directions. No external horizontal force acts, so the centre of mass stays at rest:
m1x1=m2x2, where x1 and x2 are the displacements from the equilibrium positions.
Spring deformation =x1+x2. Force on m1: −k(x1+x2)=m1a1.
Figure 11: With no external force the centre of mass stays still, so m1x1=m2x2. The pair behaves like one reduced mass μ=m1+m2m1m2 on the same spring.
Both blocks have the same period; the amplitudes divide inversely as the masses, m1A1=m2A2. If one mass is
very large, μ becomes the smaller mass, which is the familiar wall-and-block case.
8. Combination of Springs
8.1 Series combination
Springs joined end to end carry the same tension, and their extensions add: x=x1+x2 with
F=k1x1=k2x2. Then keqF=k1F+k2F:
keq1=k11+k21
In series the extension of each spring is inversely proportional to its constant: the softer spring stretches more.
For identical springs the extensions are equal.
8.2 Parallel combination
Springs side by side have the same extension, and their forces add: F=−(k1+k2)x:
keq=k1+k2
Figure 12: Series springs share the force; parallel springs share the stretch. A block between two walls is a parallel case: moving it stretches one spring and compresses the other.
Property
Series
Parallel
Same for both springs
Force (tension)
Extension
keq
k1+k2k1k2 (less than either)
k1+k2 (more than either)
Period with the same m
T2=T12+T22
T21=T121+T221
n identical springs
k/n
nk
8.3 Cutting a spring
A spring of length ℓ is like pieces joined in series; each short piece stretches less for the same force, so
it is stiffer. For one spring kℓ = constant: k1ℓ1=k2ℓ2=kℓ.
Figure 13: For one spring, kℓ = constant. Here ℓ1=0.56ℓ gives k1=1.79k and ℓ2=0.44ℓ gives k2=2.27k. Cutting into n equal pieces gives nk each; a ratio p:q gives p(p+q)k and q(p+q)k.
Exam Trick
Period combos without k. If the same mass has periods
T1 and T2 on two springs, then in series T=T12+T22 and in parallel
T=T12+T22T1T2. For 3s and 4s: series 5s, parallel
2.4s (Solved Example 15).
Quick Recall: tap to checkA spring is cut into two equal halves. What is the constant of each half?
2k (for one spring, kℓ is constant).
Two identical springs are joined in series. What is keq?
k/2.
A block sits between two springs fixed to opposite walls. Series or parallel?
Parallel: keq=k1+k2, because both springs push the block back.
9. Energy Method for the Time Period
When several bodies move together (a block and a rotating pulley, a rolling cylinder on a spring), writing forces is
slow. Use energy instead: in SHM the total mechanical energy is constant, so dtdE=0.
Find the mean position and the mean-position relation (for example mg=kx0).
Let the body be displaced by x from the mean position with speed v.
Write the total energy E in the displaced position (kinetic energy of every moving part, spring energy,
gravitational energy).
Set dtdE=0, put dtdx=v, dtdv=dt2d2x and use the mean-position
relation. The result has the form meffdt2d2x+keffx=0.
Read off T=2πmeff/keff.
Read meff and keff straight from
E. Write E in the form 21meffv2+21keffx2 + constant (the
constant and linear terms cancel through the mean-position relation). A pulley of inertia I turning at v/R adds
21(I/R2)v2, so meff=m+I/R2.
JEE Advanced
Spring with
mass. If the spring's own mass ms is not negligible, its kinetic energy is 21⋅3msv2
(each element moves in proportion to its distance from the fixed end). So
T=2πkm+ms/3
The
energy method gives this in one line.
Quick Recall: tap to checkA pulley of moment of inertia I and radius R turns with the string. What is meff?
m+I/R2.
A spring of mass ms holds a block m. What mass goes into T?
m+ms/3.
Does gravity appear in keff for a vertical spring?
No: mg is cancelled by the mean-position relation kx0=mg.
Figure 14: Spring-mass SHM on one screen. Only m and k (or their effective values) ever set the period.
10. Solved Examples
Solved Example 1
A mass m is attached to the free end of a massless spring of constant k whose other end is fixed to a rigid support. Find the time period if the mass is displaced slightly by x downward.
Solution:
Step 1: the hanging position is the mean position. Step 2: kx0=mg. Step 3: displace by x. Step 4:
Fnet=mg−k(x+x0). Step 5: with kx0=mg, Fnet=−kx.
Answer: T=2πm/k, the same as for a horizontal spring.
Solved Example 2
The string, spring and pulley are light. A string over a fixed pulley has a spring (constant k, lower end fixed to the floor) on one side and a block of mass m on the other. Find the time period.
Solution:
At equilibrium, extension x0 with kx0=mg. Displace the block down by x: the spring stretches by the same
x, so F=k(x+x0)−mg=kx towards the mean position.
Answer: T=2πm/k (Figure 6, case i).
Solved Example 3
A system has a massless pulley, a spring of constant k and a block of mass m. Find the period of small vertical oscillations if (a) the pulley hangs from the spring and the string, tied to the floor on one side, carries the block on the other; (b) the block hangs from a movable pulley whose string runs from the spring (fixed above) to the ceiling.
Solution:
(a) At equilibrium T0=mg and the spring holds both strands: kx0=2T0=2mg. If the block moves down
x, the pulley moves down x/2 and the spring force rises by kx/2, so the string tension rises by kx/4:
Fnet=mg−2k(x0+2x)=−4kx
KSHM=k/4, so
T=2π4m/k.
(b) Two strands hold the pulley: 2T0=mg and T0=kx0, so kx0=mg/2. If the block (and pulley) moves
down x, the spring stretches 2x: Fnet=mg−2k(x0+2x)=−4kx. So T=2πm/4k.
Solved Example 4
A block of mass m moving with speed v on a smooth floor collides with an identical block attached to a spring (constant k, other end fixed to a wall) and sticks to it. Find the amplitude of the resulting SHM.
Solution:
The collision is very short, so momentum is conserved: common velocity =v/2. Kinetic energy just after
=21(2m)(2v)2=41mv2. The spring is unstretched at that moment, so this is
the whole energy of oscillation: 21kA2=41mv2.
Answer: A=v2km.
Solved Example 5
Blocks m1 and m2 hang together at rest from a spring of constant k. Block m1 is suddenly removed. Find the time period and amplitude of the resulting motion of m2.
Solution:
Initial extension: k(m1+m2)g. The new mean position for m2 alone is km2g below the
natural length. At the moment of removal m2 is at rest, so that point is an extreme.
Answer: A=km1g, T=2πm2/k.
Solved Example 6
A block m2 hangs at rest from a spring of constant k. A mass m1 moving vertically downwards with speed u collides with m2 and sticks to it. Find the energy of oscillation.
Solution:
Momentum: m1u=(m1+m2)v, so v=m1+m2m1u. The new mean position is km1g below the
old one, so just after the collision x=km1g and ω2=m1+m2k.
From v2=ω2(A2−x2): kA2=(m1+m2)v2+kx2=m1+m2m12u2+km12g2.
Answer:
E=21kA2=21[m1+m2m12u2+km12g2]
Solved Example 7
A body of mass m falls from a height h onto the pan of a spring balance (pan and spring massless, constant k), sticks to it and oscillates vertically. Find the amplitude and the energy of oscillation.
Solution:
It reaches the pan at the natural length with v=2gh. The mean position is mg/k lower, so at that
moment x=mg/k, and ω=k/m (Figure 8).
A2=x2+ω2v2=(kmg)2+k2ghm, so
A=kmg1+mg2kh
Energy of oscillation=21kA2=mgh+2k(mg)2.
Solved Example 8
A body of mass 2m is fixed on top of a vertical spring whose lower end is attached to a body of mass m resting on the ground. The mass 2m performs vertical SHM. Find the maximum amplitude so that m does not lift off the ground.
Solution:
At the mean position the spring is compressed by x0=k2mg. The lower block lifts when the spring pulls
it up with a force of at least mg, that is when the spring is stretched by x′=kmg. The upper block
is then x0+x′ above its mean position.
Answer: Amax=k2mg+kmg=k3mg (Figure 9, left).
Solved Example 9
A block of mass m rests on another block of the same mass attached to a vertical spring of constant k. Find the maximum amplitude for which the blocks stay in contact.
Solution:
Mean position: compression x0=k2mg. Above the natural length the spring pulls the lower block down, so
it decelerates faster than g while the upper block can decelerate only at g: they separate. Contact is kept as
long as the pair does not rise above the natural length.
Answer: Amax=x0=k2mg (Figure 9, right).
Solved Example 10
Two blocks m1 and m2 are joined by a spring of natural length ℓ and constant k on a smooth horizontal surface. The spring is compressed by x0 and released. Show that the blocks perform SHM and find (a) the time period, (b) the amplitude of each block, (c) the length of the spring as a function of time.
Solution:
(a) As derived in Section 7, ω2=m1m2k(m1+m2), so T=2πkμ with
μ=m1+m2m1m2.
(b)m1A1=m2A2, and at release both blocks are at their extremes, so A1+A2=x0. Hence
A1=m1+m2m2x0 and A2=m1+m2m1x0.
(c) Take the equilibrium position of m1 as origin: x1=A1cosωt and x2=ℓ−A2cosωt. Length
=x2−x1=ℓ−(A1+A2)cosωt=ℓ−x0cosωt.
Solved Example 11
Find the time period of a mass m and the equivalent spring constant in each case: (a) springs k1 and k2 joined end to end, and this pair placed side by side with a third spring k3, all attached to m; (b) m placed between springs k1 and k2 fixed to opposite walls.
Solution:
(a)k1 and k2 in series: k1+k2k1k2. In parallel with k3:
(b) Displace m by x: one spring is stretched by x and the other compressed by x; both push it back. So
keq=k1+k2 and T=2πk1+k2m.
Solved Example 12
The friction coefficient between two blocks is μ and the floor is smooth. Block m rests on block M, which is attached to a spring of constant k. (a) Find the time period for small oscillations. (b) Find the friction force when the displacement is x. (c) Find the maximum amplitude for which the upper block does not slip.
Solution:
(a) For small amplitude the blocks move together: ω=M+mk,
T=2πkM+m.
(b) Acceleration a=−ω2x=−M+mkx. Friction supplies the upper block's force:
∣f∣=M+mmk∣x∣.
(c) Friction needed is largest at the extremes, M+mmkA, and cannot exceed μmg:
Amax=kμ(M+m)g (Figure 10).
Solved Example 13
A pulley of radius R and moment of inertia I hangs from the ceiling. A string over it holds a block m on one side and is tied to a spring of constant k (fixed to the floor) on the other. The string does not slip. Find the period of vertical oscillation.
Solution:
Mean position: mg=kx0. Displace the block by x with speed v; the pulley turns at ωp=v/R. Taking the
gravitational potential energy as zero at the mean position:
E=21mv2+21IR2v2+21k(x+x0)2−mgx
dtdE=0: (m+R2I)dt2d2x+kx+(kx0−mg)=0, and the bracket is zero.
Answer: T=2πkm+I/R2.
Solved Example 14
A block hung from a spring stretches it by 9.8cm. Find the period of its vertical oscillations. Take g=9.8m s−2.
Solution:
T=2πgx0=2π9.80.098=2π(0.1).
Answer: T≈0.63s.
Solved Example 15
A block has period 3s on spring A and 4s on spring B. Find its period when the springs are joined (a) in series, (b) in parallel.
Solution:
k∝1/T2. (a) Series: T2=T12+T22=9+16, so T=5s.
(b) Parallel: T21=91+161=14425, so T=2.4s.
Answer: 5s in series, 2.4s in parallel.
Solved Example 16
A mass m on a spring of constant k has period T. The spring is cut into two equal halves, the halves are joined in parallel and the same mass is attached. The new period is (A) 2T (B) T (C) T/2 (D) T/2
Solution:
Each half has constant 2k; in parallel, keq=4k. T′=2πm/4k=T/2.
Answer: (C).
Solved Example 17
A block on a vertical spring has period T. It is moved to a spring twice as stiff, and the whole set-up is placed in a lift accelerating upwards at g/2. The new period is (A) T/2 (B) T/3 (C) T (D) 2T
Solution:
The lift only changes the effective g, which shifts the mean position (x0=mgeff/k) but not the period.
Only m and k matter: T′=2π2km=2T≈0.71T.
Answer: (A). Option (B) wrongly treats the spring like a pendulum with geff=3g/2.
Practice Questions
A 2kg block oscillates on a spring of constant 200N m−1. Find the period.Answer: 2π0.01≈0.63s.
A spring is cut into three equal parts and a mass m is hung from one part. How does the period compare with the full spring?Answer: k→3k, so T→T/3.
Springs k and 2k are joined in series and carry a mass m. Find the period.Answer: keq=2k/3, so T=2π3m/2k.
A 1kg block stretches a spring by 4cm. Find the frequency of vertical oscillation (g=10m s−2).Answer: f=2π1g/x0=2π250≈2.5Hz.
Blocks of 2kg and 3kg are joined by a spring of constant 600N m−1 on a smooth floor. Find the period.Answer: μ=1.2kg; T=2π1.2/600≈0.28s.
In Solved Example 12, take M=3kg, m=1kg, k=100N m−1, μ=0.4, g=10m s−2. Find the maximum amplitude without slipping.Answer: A=μ(M+m)g/k=0.16m.
A 10g bullet moving at 400m s−1 embeds in a 0.99kg block at rest on a spring of constant 100N m−1 on a smooth floor. Find the amplitude.Answer: v=4m s−1, ω=10s−1, A=0.4m.
Common Mistakes to Avoid
Watch out
Measuring displacement from the natural length in a vertical spring. SHM is about the stretched mean position x0=mg/k.
Thinking gravity changes the period of a spring-block. It only shifts the mean position; T=2πm/k even on the Moon.
Adding spring constants in series. In series the reciprocals add, so keq is smaller than either spring.
Halving k when a spring is cut in half. Each half is stiffer: 2k.
After a collision or added mass, using the old mean position to find the amplitude. Find the new mean position first.
Using energy conservation across an inelastic collision. Use momentum for the collision, energy only afterwards.
Assuming the block and spring always move by the same amount when a pulley is involved. Check the string constraint (x/2 or 2x).
Using m1+m2 instead of the reduced mass μ for two blocks joined by a spring.
Frequently Asked Questions
What is the time period of a spring-mass system?
The time period of a spring-mass system is T=2πm/k, where m is the mass and k the spring constant. It does not depend on the amplitude or on gravity, so a horizontal, vertical or inclined spring with the same mass and spring has the same period.
Does gravity affect the time period of a vertical spring?
No. Gravity stretches the spring to a new mean position where the spring force balances the weight, but measured from that position the restoring force is still minus k x. The period stays two pi root m by k. Only the mean position moves down by m g over k.
What happens to the time period when a spring is cut in half?
Each half has twice the spring constant, because kℓ is constant for a given spring. With the same mass the period becomes T/2. If the two halves are then joined in parallel, the constant becomes 4k and the period halves.
How do you find the equivalent spring constant in series and parallel?
In series the springs carry the same force, so the reciprocals add: one over k equivalent equals one over k1 plus one over k2. In parallel they have the same extension, so the constants add: k equivalent equals k1 plus k2. A block between two walls is a parallel case.
What is reduced mass in a two-block spring system?
When two free blocks are joined by a spring, both oscillate with the same period T=2πμ/k, where the reduced mass is μ=m1m2/(m1+m2). The centre of mass stays at rest, and the amplitudes divide inversely as the masses.
Does the time period of a spring-mass system depend on amplitude?
No. For an ideal spring obeying Hooke's law the period depends only on mass and spring constant. A larger amplitude means larger speeds, so the block covers the longer path in the same time. The energy, one half k A squared, does grow with amplitude.
Which spring-mass SHM questions are common in JEE Main and JEE Advanced?
JEE favours springs with pulleys, collisions followed by SHM, blocks that must not lift or separate, friction between stacked blocks, two-block systems with reduced mass, and energy-method problems with rotating pulleys. The beta squared rule and the new-mean-position routine solve most of them quickly.
What spring-mass questions come in NEET?
NEET asks direct questions: the period two pi root m by k, the effect of doubling mass or spring constant, series and parallel springs, cutting a spring into pieces, and the period from the static stretch of a vertical spring. Remember T squared adds in series and one over T squared adds in parallel.
Previous year questions on SHM in Spring-Mass System
10 questions from past papers, each with a step-by-step solution.