On this page
You straighten a picture, and a week later it hangs at an angle again. Doors slam, lorries pass, and every jolt shakes the wall a little. If the frame hangs from one nail by a cord tied to its two top corners, a piece of Class 11 mechanics decides whether those jolts bring it back to level or push it further off. The answer depends on the frame's width, its height and the cord's length. Wide, short frames need a surprisingly long cord.
What shape does the nail trace on the frame?
Take a frame of width a and height b, hung by a cord of length l tied to its top corners. Assume the nail is smooth, so the cord can slide over it freely.
Look at things from the frame's point of view. Wherever the nail sits, the two pieces of cord from the corners to the nail add up to l. Points whose distances from two fixed points add up to a constant lie on an ellipse with those two points as foci. It is the same string-and-pins construction behind Kepler's first law and the foci of an orbit.
So, seen from the frame, the nail always lies on an ellipse with:
foci at the two top corners,
semi-major axis l/2, along the top edge,
semi-minor axis √(l² − a²)/2, at right angles to it.
When the frame hangs level, the nail sits at the top of the minor axis, √(l² − a²)/2 above the top edge. Tilt the frame and the cord slides: the nail moves along the ellipse, and the frame shifts until its centre of mass is again straight below the nail. With equal tension on both sides of a smooth nail, the nail's push bisects the angle between the two pieces, which is exactly the normal to the ellipse.
Why is a hanging frame like a rocking toy turned upside down?
A rocking toy rests on a curved base. It returns upright if its centre of mass lies below the centre of curvature of the base, the rule behind the rocking period of a Thanjavur doll.
The frame is the same problem flipped over. Its curve is the ellipse, fixed to the frame, and it presses up against a point (the nail) instead of down onto a floor. The rule carries over: the level position is stable if the centre of mass G is further below the nail than the centre of curvature C of the ellipse at its top point. If G sits between the nail and C, a small tilt lowers G, and gravity pushes the frame further round.
How long must the cord be to hang a frame level?
At the end of the minor axis, an ellipse with semi-axes p (major) and q (minor) has radius of curvature p²/q. With p = l/2 and q = √(l² − a²)/2:
ρ = l² / (2√(l² − a²))
For a uniform frame, G is at mid-height, b/2 below the top edge. So G is (√(l² − a²) + b)/2 below the nail. The level position is stable when this is larger than ρ:
(√(l² − a²) + b)/2 > l² / (2√(l² − a²))
Multiply both sides by 2√(l² − a²):
(l² − a²) + b√(l² − a²) > l², which simplifies to b√(l² − a²) > a².
Since the nail's height above the top edge is h = √(l² − a²)/2, the rule says h > a²/(2b). The width enters squared and the height only once, so wide, short frames are the hard case. A thin rod (b = 0) can never hang level this way. It slides round until it hangs end-down.
Worked example: a 60 cm wide, 40 cm tall frame
Write down a = 60 cm and b = 40 cm. Then a²/(2b) = 3600/80 = 45 cm. The nail must be more than 45 cm above the frame's top edge.
Turn this into a cord length. You need √(l² − a²) > 90 cm, so l² > 3600 + 8100 = 11 700 cm², and l > 108.2 cm.
Check a 1.2 m cord. √(14 400 − 3600) = 103.9 cm, so the nail is 52.0 cm above the top edge. The radius of curvature is ρ = 14 400/(2 × 103.9) = 69.3 cm. G is 52.0 + 20 = 72.0 cm below the nail, which is 2.7 cm below C. The level position is stable. Tilting the frame by 3° raises G by about 0.04 mm.
Check a 1.0 m cord. √(10 000 − 3600) = 80 cm, so the nail is 40 cm above the top edge. Now ρ = 10 000/160 = 62.5 cm, while G is only 40 + 20 = 60 cm below the nail, 2.5 cm above C. The level position is unstable. Tilting by 3° lowers G by about 0.03 mm, and the frame keeps turning until it settles at about 22°.
The same rule for other frames:
40 cm wide, 60 cm tall: cord longer than 48.1 cm (nail 13.3 cm above the top edge).
30 cm square: cord longer than 42.4 cm (nail 15 cm up).
90 cm wide, 30 cm tall panorama: cord longer than 2.85 m (nail 1.35 m up). That is why wide frames are hung from two nails.
So a shorter cord makes a symmetric frame tip to one side. This is different from a pendulum string that catches on a nail, where the nail only shortens the swinging length.
Why do real pictures creep instead of flipping at once?
Real nails are not smooth, and the energy at stake is tiny: with the 1.0 m cord above, tipping all the way to 22° lowers G by only about 0.9 mm. For a 2 kg frame that is mgh ≈ 2 × 9.81 × 0.0009 ≈ 0.02 J. Static friction at the nail easily holds the frame wherever you set it.
Vibration changes things. Each jolt lets the cord slip a tiny amount. If the level position is unstable, each slip goes the downhill way, and the tilt grows over days. If it is stable, the slips bring the frame back. The model explains the slow creep of some pictures; it does not say every picture on one nail hangs crooked.
A cord fixed partway down the sides, not at the top corners, brings the centre of mass closer to the attachment line. That acts like a smaller b and makes tipping more likely.
Problem idea: St Petersburg Physics Olympiad 2008, grade 10, problem 2. The numbers and the general treatment here are our own.
To practise stability problems like this, try the Fermi Problem Library, a step-by-step solver that explains the reasoning. For a full plan, Fermi Test Prep offers personalised preparation for JEE Main & Advanced with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery.
Quick checklist
The nail traces an ellipse on the frame, with the cord's ends as foci.
Level is stable if G is below the ellipse's centre of curvature at the top.
For a uniform frame: b√(l² − a²) > a², or nail height above the top edge > a²/(2b).
Wide, short frames need long cords; a bare rod never hangs level.



