Integrals for Area and Line Length of Closed Loops with Unknown Shape

In summary: Unfortunately, I have to use Lagrange multipliers. That's the point of the exercise.What would be the problem with using polar coordinates?And the professor said it would be easier to use polar coordinates.The professor might be right, but I think I will still need to use Lagrange multipliers.In summary, the student is trying to set up two integrals and is having difficulty with one of them. The student is seeking help from an expert in order to figure out what the problem is. The problem is that the first integral looks more like a volume than an area and the second looks more like an area of a cross section at constant r than a length. The student needs
  • #1
Bill Foster
338
0

Homework Statement



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.


The Attempt at a Solution



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

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

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

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

Thanks.
 
Physics news on Phys.org
  • #2
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.
 
  • #3
Dick said:
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 [tex]f(r,\theta)=1[/tex], then the integration works out to [tex]\pi r^2[/tex] - 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?
 
  • #4
And the second one, if [tex]f(r,\theta)=1[/tex], works out to [tex]2\pi r[/tex], which is the circumference, as I expected.
 
  • #5
What exactly is [itex]f(r, \theta)[/itex]? You say it is the "equation of the line" but that can't be true. It is not an equation!
 
Last edited by a moderator:
  • #6
That's what I'm trying to figure out and why I'm here asking for help.
 
  • #7
Bill Foster said:
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?
 
  • #8
Find the maximum area A enclosed by a line of Length L using Lagrange multipliers.
 
  • #9
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?
 
  • #10
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.
 
  • #11
Bill Foster said:
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).
 
Last edited:
  • #12
There's no time dependency in this problem.
 
  • #13
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 [tex]f=A=\int_{area} (something) da[/tex]
 
  • #14
Bill Foster said:
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.
 
  • #15
Dick said:
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).
 
  • #16
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.
 
  • #17
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 [tex]r=g(\theta)[/tex], then my area integral is [tex]A=\int \frac{1}{2} g^2(\theta) d\theta[/tex], and all the way around would, of course, be [tex]A=\oint \frac{1}{2} g^2(\theta) d\theta[/tex].

The length of the line (all the way around) would be [tex]L=\oint \sqrt{g^2(\theta)+g'^2(\theta)} d\theta[/tex]
 
  • #18
So now setting the the Lagrange Method:

[tex]\Lambda=\frac{1}{2}\oint g^2(\theta)d\theta + \lambda(\oint \sqrt{g^2(\theta)+g'^2(\theta)} d\theta)-L)[/tex]
 
  • #19
Now what? Is it:

[tex]\frac{\partial\Lambda}{\partial g}=0[/tex]
[tex]\frac{\partial\Lambda}{\partial \lambda}=0[/tex]

OR

[tex]\frac{\partial\Lambda}{\partial \theta}=0[/tex]
[tex]\frac{\partial\Lambda}{\partial \lambda}=0[/tex]

?
 
  • #20
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?
 

1. What is the difference between an area integral and a line integral?

An area integral calculates the area enclosed by a curve in the xy-plane, while a line integral calculates the work done or flux through a curve in a vector field.

2. How do you calculate an area integral?

To calculate an area integral, you first need to parameterize the curve in the xy-plane. Then, integrate the function representing the curve over the specified region using the parameterization.

3. What is the formula for a line integral?

The formula for a line integral is abF(x,y) ds, where F(x,y) is the vector field and ds is the differential arc length along the curve.

4. How do you determine the direction of a line integral?

The direction of a line integral is determined by the orientation of the curve in the vector field. This can be determined by the direction of the tangent vector at each point on the curve.

5. What are some real-world applications of line integrals?

Line integrals have many applications in physics and engineering, such as calculating the work done by a force along a path, finding the mass of an object with varying density, and calculating the electric flux through a region.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
680
  • Calculus and Beyond Homework Help
Replies
9
Views
156
  • Calculus and Beyond Homework Help
Replies
3
Views
259
  • Calculus and Beyond Homework Help
Replies
3
Views
555
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
956
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
874
Back
Top