Why Do Line and Surface Integrals Yield the Same Result for a Triangle Path?

In summary, in this conversation, the participants discuss a problem involving an electric field and ask for help in solving it. They break down the problem into three parts and discuss how to evaluate the integrals for each part. They also mention the need to take the curl of E and integrate it over the area of the triangle in order to solve part b. Finally, they determine the constants a and b that result in a curl and divergence of zero for the electric field, and discuss the relationship between Gauss and Stokes theorems. One participant also has a question about why the results in part b are the same as in part a.
  • #1
galipop
51
0
Hi All,

I have the following electric field E = c(2bxy, x^2+ay^2) where a,b and c are constants


1. I need to find the line integral [tex]\oint E \cdot dl[/tex] where the close integration path is defined by the triangle (0,0) (1,0) (1,1)

2. compute the surface integral [tex]\int\nabla \times E \cdot dA[/tex] where the surface is defined by the area of the triangle.

3. determine the constants a and b such that [tex]\nabla \times E=0[/tex] and [tex]\nabla \cdot E=0[/tex]. Compute the potential in this case.

can anyone get me started. thanks!
 
Physics news on Phys.org
  • #2
Do you have any thoughts at all on the problem?
 
  • #3
Part A)

I guess this needs to be split up into 3 integrals. [tex]\int partialx.dx[/tex] + [tex]\int partialx.dy[/tex] + [tex]\int partialx.dx+partial.dy[/tex]

i guess the limits are 0->1 , 0->1 and 0->1 for each integral. Is this right?

Part B) and C) I'm not sure at all what is being asked.
 
  • #4
For your first integral just evaluate
[tex]\int E_x dx + \int E_y dy[/tex]
around the closed path paying close attention to the signs of both dx and dy and the values of x and y!
 
  • #5
Oh, for part (2) you'll need to work out the curl vector whose only vector component will be perpendicular to the x-y plane which also happens to be in the same direction as the normal to the surface. Then just evaluate the integral
[tex]\int f(x, y) dx dy[/tex]
where f(x, y) will be the function you get from taking the curl.
 
  • #6
I think I understand part a now. Taking mulitple paths to the same point result in the same line integral?

As for the calculation I get:

=c * ([tex]\int 2by dx + \int 2ay dy[/tex])

both have limits 0 to 1.

How does that look?
 
  • #7
Good start but not quite!

Let's break it down into parts.

On the line segment from (0, 0) to (1, 0) dy is 0 so you'll only have an integral over x. However, y is also 0 on that line segment so [itex]E_x = 0[/itex] so this portion contributes nothing!

On the line segment from (1, 0) to (1, 1) dx is 0 so you'll only have an integral over y. Also, x = 1 on this line segment so [itex]E_y = c(1+a y^2)[/itex] which you can easily integrate from 0 to 1.

The last segment from (1, 1) back to the origin (0, 0) is a little more tricky. First note that dx = dy but since [itex]dl = \sqrt {dx^2+dy^2}[/itex] you will use, e.g. [itex]\sqrt {2} dx[/itex] in your integration. Also, your integrand will be [itex]c \left( 2 b x^2 + x^2 + a x^2\right)[/itex] since x = y along this segment and your limits of integration will go from [itex]\sqrt 2[/itex] to 0.
 
  • #8
man that math looks hard, i hope i don't have to take it. what math is that?
 
  • #9
It's for Galipop's Electricity and Magnetism course - he's basically trying to show that the electrical force is a conservative one.
 
  • #10
Hi again...

I found an example on the net somewhere showing a similar example for a circle. After looking and that and these notes I think I sort of understand now.

Ok so evaluating the integrals:

(0,0) -> (0,1) = 0
(0,1) -> (1,1) = c ( 1 + (a/3) )
(1,1) -> (0,0) = c * sqrt(2)^3 / 3 ( a + b + 1)

so do I just add up all of the component results now?
 
  • #11
On the first leg, from (0,0) to (1,0), we can take x= t, y= 0 as parametric equation. Then dx= dt and dy= 0. E.dl= c(2b(t)(0), t^2+a0^2) .(dt, 0)= 0. Integrating from t= 0 to t= 1 gives 0 just as you say.

On the second leg, from (1,0) to (1,1), we can take x= 1, y= t so that dx= 1, dy= dt.
Now E.dl= c(2b(1)(t),1^2+at^2).(0,dt)= c(1+ at^2)dt. Integrating that from 0 to 1,
we get c(1+a/3), again just what you have.

On the third leg, from (1,1) to (0,0), we can take x= t, y= t with t decreasing from 1 to 0. Now dx= dt, dy= dt and E.dl= c(2b(t)(t),t^2+at^2).(dt,dt)= 2bct^2dt+ (1+a)t^2dt= (2b+1+a)t^2 dt. Integrating from 1 down to 0, this gives -(2b+1+a)/3.
I suspect you put in the [itex]\sqrt{2}[/itex] to "normalize" t- make the length 1. But if you do that, [itex]\sqrt{2}[/itex] should appear both in E and dl and will "cancel".

Yes, once you have integrated on each leg, add them to find the full path integral.

To finish the problem take the curl of E and integrate it over the area of the triangle.
 
Last edited by a moderator:
  • #12
Why do you need to take the curl of E and integrate it over the area?
 
  • #13
galipop said:
Why do you need to take the curl of E and integrate it over the area?

Because that's what you asked for in your second question?
 
  • #14
oh. I thought HallsOfIvy was still talking about the 1st part :)
 
  • #15
Curl of E is:

c<0,0,2x-2bx>
normal to the area is <0,0,1>

how do I integrate this over the area of the triangle?

Thanks...
 
  • #16
[tex]\int\int{2(1-b)x dA}[/tex] over the triangle of course.

Since the hypotenuse of this triangle is the line y= x, that will be
[tex]2(1-b)\int_{x=0}^{1}\int_{y=0}^{x}xdydx[/tex].
 
  • #17
ah...i was integrating from 0->1 and 0->1...that's why I wasn't getting the expected answer.

So now I've done both parts, the results are the same. This is due to the relationship between Gauss and Stokes theroems correct?


Now for part 3...

Determine the constants a and b such that [tex]\nabla \times E = 0[/tex] and
[tex]\nabla \cdot E = 0[/tex]. Compute the potential in this case.

The curl = 0+0+cx(2-b) = 0
and the divergence = 2cy(b+a) = 0

to solve for a and b can I say that x=y as we are dealing with a triangle?
 
  • #18
Okay

I managed to Answer all questions,

But I still have one question I need answered



Why does one obtain the same result in (b) as in (a)?
 

FAQ: Why Do Line and Surface Integrals Yield the Same Result for a Triangle Path?

What is a line integral over a triangle?

A line integral over a triangle is a type of integral that calculates the total value of a function along a given path within a triangular region in the xy-plane.

How is a line integral over a triangle different from a regular line integral?

A line integral over a triangle is different from a regular line integral because the path of integration is limited to a triangular region, rather than a straight line.

What is the formula for calculating a line integral over a triangle?

The formula for a line integral over a triangle is ∫C f(x,y) ds = ∫ab f(x(t),y(t)) √(x'(t)2 + y'(t)2) dt, where C is the boundary of the triangle, f(x,y) is the function being integrated, and a and b are the limits of integration along the triangular path.

What is the significance of a line integral over a triangle in science?

A line integral over a triangle has many applications in science, particularly in physics and engineering. It is often used to calculate work done by a force or to determine the flow of a vector field within a triangular region.

Are there any special properties or theorems associated with line integrals over triangles?

Yes, there are several theorems associated with line integrals over triangles, including Green's theorem and Stokes' theorem. These theorems relate line integrals to surface integrals and help to simplify complex calculations.

Back
Top