Main content

## Multivariable calculus

### Course: Multivariable calculus > Unit 4

Lesson 2: Line integrals for scalar functions (articles)# Arc length of function graphs, introduction

The length of a curve, called its "arc length", can be found using a certain integral.

## Background

## What is arc length?

We usually measure length with a straight line, but curves have length too. A familiar example is the circumference of a circle, which has length 2, pi, r for radius r. In general, the length of a curve is called the

**arc length**. But how do you find the arc length of an arbitrary curve? Let's find out.## What we're building to

- You can find the arc length of a curve with an integral that looks something like this:The bounds of this integral depend on how you define the curve.
- If the curve is the graph of a function y, equals, f, left parenthesis, x, right parenthesis, replace the d, y term in the integral with f, prime, left parenthesis, x, right parenthesis, d, x, then factor out the d, x.

## Warmup: Approximating arc length

Let's look at the parabola defined by the following equation:

Consider the portion of the curve between x, equals, minus, 2 and x, equals, 2.

Key question: What is the arc length of this curve?

Just so the question is clear, imagine the curve was a piece of string. You pull this string straight and measure it with a ruler.

If you had to guess, you could start by approximating this curve with some lines. Here's how that might look:

- A line from left parenthesis, minus, 2, comma, 4, right parenthesis to left parenthesis, minus, 1, comma, 1, right parenthesis
- A line from left parenthesis, minus, 1, comma, 1, right parenthesis to left parenthesis, 0, comma, 0, right parenthesis
- A line from left parenthesis, 0, comma, 0, right parenthesis to left parenthesis, 1, comma, 1, right parenthesis
- A line from left parenthesis, 1, comma, 1, right parenthesis to left parenthesis, 2, comma, 4, right parenthesis

It would be tedious, but you could calculate the length of each line segment using the Pythagorean theorem, then add them up.

**Concept check**: What is the length of the line from left parenthesis, minus, 2, comma, 4, right parenthesis to left parenthesis, minus, 1, comma, 1, right parenthesis?

For an even more accurate estimate, you could approximate the curve with many tiny lines.

Computing all their lengths and adding them up would be painfully mind-numbing, but let's break down what it would actually look like. Zoom in on one of the little lines.

First look at the change in the x value from the start of the line to its end. Let's call that delta, x. Similarly, let's say the change in the y-value is delta, y. Then, using the Pythagorean theorem, we can write the length of the line as

Our approximation for the length of the curve will then be the sum of the lengths of all these little lines. When expressing an idea like this with symbols, it's common for writers to be a little loose with the notation and write something like this:

## Bringing in integrals

Hmm, let's see... we are approximating a curve with many tiny steps, then adding up a very large number of very small things. With tinier steps and a larger sum, we will get a better approximation. Sound familiar?

Problems like this one are exactly what

**integrals**were made for.Most people first learn about integration in the context of computing the area under a curve. You imagine approximating that area with a bunch of thin rectangles. The width of each one is thought of as "d, x", some tiny change in the x-value. The height of a rectangle at a given x-value is f, left parenthesis, x, right parenthesis. Therefore, the area of each rectangle is

The full area under the curve is then expressed with an integral:

This integral is a powerful machine, like a \Sigma on steroids. It does not merely sum over the values f, left parenthesis, x, right parenthesis, d, x for a particular tiny value of d, x; it considers the limiting value of such a sum as the tiny width d, x tends toward 0. In other words, as the approximation using rectangles comes closer and closer to the true area under the curve.

But this powerful machine can be used in many contexts unrelated to the area under a curve. Anytime you get that sensation of wanting to add a very large number of very small things, the integral swoops in to simultaneously make things less tedious and more accurate.

For example, we get that sensation when approximating arc length with the vague sum:

So we turn it into an integral:

One thing this notation does not communicate well is that d, y, the change in height across one of our little approximation lines, is dependent on d, x, the horizontal component of that line. Specifically, since the curve is defined by the relation y, equals, x, squared, we can take the derivative of each side to see how d, y depends on d, x,

When we put this into our integral, it unfolds to look a bit more familiar.

I've been purposefully lazy about placing bounds on this integral, but now that everything

*inside*the integral is in terms of x, with no d, y's mucking it up, it makes sense to define the bounds of integration in terms of the x value, which in this case is from minus, 2 to 2.This looks like something we can compute. Well, actually, in this case, it turns out to be quite a tricky integral, but in this day and age, we can just plug integrals into a computer if we need to. The point is that the idea of approximating our curve's length with little lines, which was at first vaguely written with loose notation, has now turned into a concrete, computable integral.

For now, rather than getting bogged down with the details of this integral (there's plenty of that coming in the next article), I want to highlight some points from this example.

## Takeaways

- The central expression to remember is square root of, d, x, squared, plus, d, y, squared, end square root, which represents a tiny unit of arc length in terms of x and y.
- The arc length integral you set up starts its life looking like this:
- Before computing the integral, we had to write the differential d, y in terms of the differential d, x. To do this, we took the derivative of the function defining the curve.
- In general, an integral can only be computed with respect to a single differential, and finding relations between differentials can be done using the derivative.
- Maybe the most important lesson to take away from this is that integrals can be used to do things
*other*than finding the area under a curve.

## Practice

To solidify your understanding, you can practice more arc length problems in the next article.

## Want to join the conversation?

- Why can we take out (dx)^2 from the square root as simply dx, isn't that supposed to be plus or minus dx?(4 votes)
- Since dx is a tiny change in x direction how do you imagine it being negative?(8 votes)

- has anyone tried to create a way to get the most accurate answer.(3 votes)
- I'm sorry, I don't quite understand your question... do you mean "is there a more precice way of approximating the arclengh of a graph then the method used above"? If that is the question, combining infinetly small units infenantly many times is so far our best and most accurate way of doing that. We don't explore /more precice/ options because it is pretty exact and it will just become negligable, as the equation for a derivative prooves to us (review your early calculus if this sounds wierd).(9 votes)

- At my school we do it a different way, on the graphing calculator we we take the number and divide by 360 and multiply by 2π. it would look like this #/360 times 2π. IS this another way to do0 it or am I confused with a different type of problem(2 votes)
- Yes, the arc length you're talking about is changing a circles degree measurement into a measure. This is because the circumference of a circle is C = pi * d

We also know that a circle has 2pi radians in it (convertible as 2pi = 360 degrees, thus 1 degree = 2pi / 360 radians) This is where you're getting that, you taking the degree, i.e. 45 degrees, and multiplying it by 2pi / 360 to get the radian measure which would be pi/4 radians in this case.

This is only for the unit circle however. Imagine we had a much larger circle, with diameter 30. Then the circumference is 30pi units. This logically means an arc with angle measure 180 degrees would have a length of 15pi units (it is half of the circle). Using our above formula won't simply work: 180 * 2pi / 360 = pi. But our circumference should be 15pi, not just pi.

The unit circle is based on a circle with radius of 1, therefore it's diameter it's full circumference is 2pi (it has a diameter of 2, i.e. C = d * pi = 2 * pi). In our case we changed this value to C = 30 pi. This also means we changed the definition for our radians, since 1 degree is now actually equal in length to: Degree = 1/360 * 30pi radians). This conversion would give the accurrate answers: 180 degrees * 30 pi / 360 = 15 pi.

This arc length problem involves non circular arcs, it is talking about "curve length", i.e. not a straight line (though equally aplicable if you wished).

It does not extend because these arcs don't have circular properties. Imagine the center of a square, then trying to take it's "arc length" as you would a circle, it doesn't work, because a square is a bit different in it's construction and it's properties are different.(6 votes)

- After you calculate the integral for arc length - such as: the integral of ((1 + (-2x)^2))^(1/2) dx from 0 to 3 and get an answer for the length of the curve: y = 9 - x^2 from 0 to 3 which equals approximately 9.7 - what is the unit you would associate with that answer? I drew it to scale in inches and the answer approximately equaled the length of my piece of yarn in inches? Is that always the case?

Thank You for your help.

Teresa Thorwart

AP Calculus BC teacher(2 votes)- I know my reply is a while after you posted the question; there aren't many people doing this level of math on here! Hopefully I can still be helpful?

So, basically, the units you get for your answer are the units you were originally doing the problem in. From zero to three what? To three inches? Three meters? The units of the answer should be the same as the units of the boundary conditions. It's surprisingly simple!

Have a nice day!(2 votes)

- How did the (dx)^2 = 1? I don't get that part..(2 votes)
- It's not like that: he is just factoring out the (dx)^2 to take it out of the square root(2 votes)