The length of a curve · Mathematics Class 11–12 | StemPy Lab
Course 12.3·Lesson 3 of 3
The length of a curve
A curve is nearly straight over a tiny piece. The piece has length ds=dx2+dy2=1+(dy/dx)2dx
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
write the length of a curve as an integral and check it on a straight line;
find the exact length when 1+[f′(x)]2 is a perfect square;
estimate a length by adding the lengths of many tiny straight pieces.
Where this sits. This is an enrichment lesson. The Indian syllabus (NCERT Class 12 and JEE Main) does not include the length of a curve. AP Calculus BC does. Other syllabuses differ, so check your own syllabus before you spend time on the exact examples. The idea, adding thin pieces, is the same as in the area and volume lessons.
Adding tiny straight pieces
How long is a hanging cable, or a winding path? A ruler does not bend, but a very short piece of a smooth curve is almost straight. Over a tiny step, the curve moves dx along and dy up. By the theorem of Pythagoras, the length of the piece is
ds=dx2+dy2.
Take dx out of the root: ds=1+(dxdy)2dx. Add the pieces from x=a to x=b:
L=∫ab1+[f′(x)]2dx.
Two small pictures side by side. On the left, the curve y = cosh x from x = 0 to x = 1 in blue, with four straight orange pieces joining five points of the curve. On the right, one tiny right-angled triangle with a green horizontal side dx, a red vertical side dy and a blue slanting side ds, the length of one tiny piece of the curve.
A check with a straight line
Take the line y=43x from x=0 to x=8. Its slope is 43, so 1+169=45 and L=45×8=10. A right triangle with legs 8 and 6 has hypotenuse 10, so the formula agrees with Pythagoras.
Why the exact answers are rare
The square root makes most integrals hard. A parabola, for example, gives a length with a logarithm in it. The exact examples that appear in books are chosen so that 1+[f′(x)]2 is a perfect square. Here are two.
First example. Let y=32x3/2. Then f′(x)=x1/2 and 1+[f′(x)]2=1+x. From x=0 to x=3,
L=∫031+xdx=32[(1+x)3/2]03=32(8−1)=314.
Second example. Let y=coshx. Then f′(x)=sinhx and 1+sinh2x=cosh2x. So 1+[f′(x)]2=coshx, and from x=0 to x=1,
L=∫01coshxdx=sinh1≈1.1752.
The graph of cosh is the shape of a hanging chain, called a catenary. A chain hangs as y=acoshax, where a depends on the tension and the weight.
Many tiny pieces on the computer
When no neat answer exists, add up the pieces by computer. Choose n+1 points on the curve, join them with straight lines, and add the lengths. As n grows, the sum gets closer to the true length.
A worked example
Find the length of y=6x3+2x1 from x=1 to x=2.
Differentiate.f′(x)=2x2−2x21.
Look for a square.1+[f′(x)]2=1+4x4−21+4x41=(2x2+2x21)2.