PDA

View Full Version : Area and line integrals


Bill Foster
Sep2-08, 08:27 PM
1. The problem statement, all variables and given/known data

I'm trying to set up a couple integrals.

Suppose you have a closed loop and you want to find its area. You don't know what the shape of the loop is. All you know is that the length of the loop is L.


3. The attempt at a solution

These are my integrals. I just need to know if they are set up correctly:

A=\int_{0}^{2\pi}\int_{0}^{r}f(r,\theta)r dr d\theta
L=\int_{0}^{2\pi}f(r,\theta)r d\theta

Where A is the area enclosed in the loop, and L is the length of the loop. And f(r,\theta) is the equation of the line.

Is that correct? (It's been such a log time since I've done this.)

Thanks.

Dick
Sep2-08, 10:19 PM
I think if it's been a long time you might want to look this stuff up before you post. The first one looks more like a volume than an area, the second looks more like an area of a cross section at constant r than a length. The first one is not even grammatical. You never want to have the same variable in the limits of the integral as the integration variable. The integration variable is a dummy.

Bill Foster
Sep2-08, 11:54 PM
I think if it's been a long time you might want to look this stuff up before you post.

I did. My calculus book didn't have exactly what I was looking for, so I had to "figure it out."

The first one looks more like a volume than an area,

How so? It's in two dimensions, like area. And if f(r,\theta)=1, then the integration works out to \pi r^2 - the area of a circle, which is what I expect.


the second looks more like an area of a cross section at constant r than a length. The first one is not even grammatical. You never want to have the same variable in the limits of the integral as the integration variable. The integration variable is a dummy.

Then how would you do it?

Bill Foster
Sep2-08, 11:56 PM
And the second one, if f(r,\theta)=1, works out to 2\pi r, which is the circumference, as I expected.

HallsofIvy
Sep3-08, 03:50 AM
What exactly is f(r, \theta)? You say it is the "equation of the line" but that can't be true. It is not an equation!

Bill Foster
Sep3-08, 07:12 AM
That's what I'm trying to figure out and why I'm here asking for help.

Dick
Sep3-08, 08:16 AM
That's what I'm trying to figure out and why I'm here asking for help.

Maybe you could give us the exact question you are trying to solve?

Bill Foster
Sep3-08, 11:22 AM
Find the maximum area A enclosed by a line of Length L using Lagrange multipliers.

HallsofIvy
Sep3-08, 11:36 AM
Sigh. A "line of length l" does not enclose an area. I might think you were talking about finding the closed path of given length that encloses maximum area but that requires the calculus of variations, not Lagrange multipliers. What does the problem really say?

Bill Foster
Sep3-08, 01:50 PM
Here you go - quoted directly:

Let f be an area enclosed by a continuous line of length L. Find the extrema of f. This is a famous problem in geometry known as the isoperimetric problem.

I guess I better go back and tell the professor that his problem is flawed, since A "line of length l" does not enclose an area.

Dick
Sep3-08, 02:42 PM
Here you go - quoted directly:



I guess I better go back and tell the professor that his problem is flawed, since A "line of length l" does not enclose an area.

Hmmm. I didn't know that you could prove the isoperimetric inequality that way, but it looks like you might. Take the curve to be of the parametric form f(t)=(x(t),y(t)). The length is the integral of sqrt(x'(t)^2+y'(t)^2) and the area is the integral of (1/2)*(x(t)*y'(t)-x'(t)*y(t)) for a closed curve (up to a sign).

Bill Foster
Sep3-08, 05:09 PM
There's no time dependency in this problem.

Bill Foster
Sep3-08, 05:15 PM
Looking a little closer, it appears as f=A, because:

Let f be an area enclosed by a continuous line of length L. Find the extrema of f. This is a famous problem in geometry known as the isoperimetric problem.

So that means my integral is going to have to be something like f=A=\int_{area} (something) da

Dick
Sep3-08, 05:16 PM
There's no time dependency in this problem.

t isn't time. It's a parameter that describes the curve. As in the unit circle is described by x(t)=cos(t) and y(t)=sin(t) where t is in [0,2pi]. I think you are intended to use Euler-Lagrange, not Lagrange multipliers (though the two are related). Review the Euler-Lagrange equations. You do need calculus of variations.

Bill Foster
Sep3-08, 05:24 PM
t isn't time. It's a parameter that describes the curve. As in the unit circle is described by x(t)=cos(t) and y(t)=sin(t) where t is in [0,2pi]. I think you are intended to use Euler-Lagrange, not Lagrange multipliers (though the two are related). Review the Euler-Lagrange equations. You do need calculus of variations.

Unfortunately, I have to use Lagrange multipliers. That's the point of the exercise.

And the professor said it would be easier to use polar coordinates. We also can't assume that the line is a circle at the beginning. The line encloses an arbitrary shaped area. And the solution is supposed to show that it's a circle. If I start off with the equation of a circle, then I haven't shown anything (professor's words).

Dick
Sep3-08, 05:53 PM
The circle was just an example. Write a polar curve as r=f(theta) (so the t in the problem is theta). Then the area is the integral of (1/2)*f(theta)^2*dtheta and the length is the integral of sqrt(f(theta)^2+f'(theta)^2)*dtheta. Sure, you want to put a Lagrange multiplier on the arc length, since it's your constraint. I still would review Euler-Lagrange. I don't see how the polar coordinates are making it easier, but maybe I'm missing something.

Bill Foster
Sep3-08, 06:13 PM
Looks like I was looking in the wrong place in my calculus book. I found the following equations for area and length.

If the equation of my line is r=g(\theta), then my area integral is A=\int \frac{1}{2} g^2(\theta) d\theta, and all the way around would, of course, be A=\oint \frac{1}{2} g^2(\theta) d\theta.

The length of the line (all the way around) would be L=\oint \sqrt{g^2(\theta)+g'^2(\theta)} d\theta

Bill Foster
Sep3-08, 06:21 PM
So now setting the the Lagrange Method:

\Lambda=\frac{1}{2}\oint g^2(\theta)d\theta + \lambda(\oint \sqrt{g^2(\theta)+g'^2(\theta)} d\theta)-L)

Bill Foster
Sep3-08, 06:26 PM
Now what? Is it:

\frac{\partial\Lambda}{\partial g}=0
\frac{\partial\Lambda}{\partial \lambda}=0

OR

\frac{\partial\Lambda}{\partial \theta}=0
\frac{\partial\Lambda}{\partial \lambda}=0

?

Dick
Sep3-08, 10:13 PM
Now it's Euler-Lagrange. And it's the first set of equations if you interpret the partial derivative as a variation. You should be able to produce a differential equation for g that it's fairly easy to show g=constant satisfies for a choice of lambda. But there are other solutions. They are circles whose center is not at (0,0), but it's not clear to me how to prove that easily in polar coordinates. Can you?