Steply

Length of y = x from x = 0 to x = 2

Step by step, with the reason for every step · Arc length · Calculus 2

Step by step

The question

Question: find the length of the curve y = x from x = 0 to x = 2.

y = x

1 The idea

Draw the curve.

This is the piece we want to measure.

Zoom in on a tiny piece.

It is almost straight: a slanted side ds, over dx and up dy.

Pythagoras on the tiny triangle: ds² = dx² + dy².

ds2 = dx2 + dy2

Take dx² out of the root: ds is the root of 1 plus dy over dx, squared, times dx.

dy over dx is the slope, f′(x).

ds = √1 + (dydx)2 dx

Add up all the tiny pieces from 0 to 2: the length is this integral.

L = ∫ from 0 to 2 of √1 + (f′(x))2 dx

2 Find f′(x)

The power rule on each term: f′(x) = 1.

f′(x) = 1

3 Under the root

Square the slope: 1.

(f′(x))2 = (1)2 = 1

Add 1: 2.

A straight line has the same slope all along.

1 + (f′(x))2 = 1 + 1 = 2

Careful!

The slope must be squared first: it is the root of 1 plus f′ squared.

Careful: not √1 + f′(x) ✗

4 Integrate

L = ∫ from 0 to 2 of √2 dx

Simplify the root.

L = ∫ from 0 to 2 of √2 dx
√2 = √2

A number's integral is the number times the width, 2 − 0.

= √2 × (2 − 0)

So the length is 2√2, about 2.828 units.

L = 2√2 ≈ 2.828

5 Check

Let's check: a straight line's length is the distance between its ends.

It goes 2 across and 2 up.

Pythagoras gives 2.828.

The same.

Right!

distance: √2² + 2² = √8 ≈ 2.828

Let's look back.

First: the idea.

Then: find f′(x).

Then: under the root.

Then: integrate.

Last: check.

Answer
L = 2√2 ≈ 2.828

Your turn

Try this one yourself, then check:

Find the length of the curve y = x
Show the answer
L = 3√2

More from Arc length

The whole lesson: Arc length →