Line integral of a vector field over a square curve

Click For Summary

Homework Help Overview

The discussion revolves around evaluating the line integral of a vector field over a square curve in the xy-plane. The vector field is given as \(\vec{v} = (y, 0, 0)\), and participants are exploring both direct integration and Stokes' theorem as methods for evaluation.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss splitting the square into segments for direct integration and question how to handle the limits of integration. There are attempts to clarify the relationship between the vector field and the differential elements. Some participants express confusion about the limits leading to a zero integral, while others explore the implications of using Stokes' theorem.

Discussion Status

The discussion is active, with participants sharing their attempts and questioning each other's reasoning. Some guidance has been offered regarding the integration process, and there is an ongoing exploration of the implications of Stokes' theorem, particularly concerning the sign of the result.

Contextual Notes

Participants are navigating the constraints of the problem, including the specific setup of the square curve and the definitions of the vector field and differential elements. There is an acknowledgment of potential confusion regarding the limits of integration and the application of Stokes' theorem.

marineric
Messages
10
Reaction score
0

Homework Statement



Please evaluate the line integral \oint dr\cdot\vec{v}, where \vec{v} = (y, 0, 0) along the curve C that is a square in the xy-plane of side length a center at \vec{r} = 0

a) by direct integration

b) by Stokes' theorem

Homework Equations



Stokes' theorem: \oint V \cdot dr = ∫∫ (∇ x V)\cdotn d\sigma

The Attempt at a Solution



I know I have to split up the sides of the square. I get confused when \vec{r} is involved. I know the limits are at a/2.. not sure where to go after that.
 
Physics news on Phys.org
For the direct integration, just write it out. What is d\vec{r} \cdot \vec{v}? Since you're integrating over a square, you can just write the integral as a sum of four one-dimensional integrals wrt. x and y.
 
Ok well I'll try the top line of the square and you can tell me what I'm doing wrong.

From left to right:
\oint d\vec{r}\cdot\vec{v} from -a/2 to a/2

\vec{v} = (y,0,0)

\vec{r} = (x, a/2, 0)

d\vec{r} = (1, 0, 0)

d\vec{r}\cdot\vec{v} = y

but aren't the y limits a/2 to a/2, making the integral zero?
 
wait hold on \vec{r} = (d\vec{x}, 0, 0) ??

then it would be the integral from -a/2 to a/2 of y*dx where y = a/2?

but that's (a/2*x) from -a/2 to a/2 ... which equals zero?
 
marineric said:
but that's (a/2*x) from -a/2 to a/2 ... which equals zero?

Are you sure it equals zero? :)
 
oh, right, minus sign.. so it equals a^2/2 for the top line, and i just do it similarly for all the other sides? do i have to do it in the same order (clockwise)?
 
You got it
 
for the stokes' theorem part, would it just be the ∇\times\vec{v} times the area of the square, which is a^2?
 
marineric said:
for the stokes' theorem part, would it just be the ∇\times\vec{v} times the area of the square, which is a^2?

Yep, although it's not immediately clear what's the correct sign.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
6
Views
2K