Understanding Curvilinear Coordinates and Vector Calculations in Stokes' Theorem

In summary, the conversation discusses using Stokes' theorem to verify a vector field defined in cylindrical coordinates. The dot product is used to evaluate the integral, but it must be done carefully as the unit basis vectors are different in curvilinear coordinate systems and can vary at different points in space. The final result obtained matches what is expected, but there may be different methods of calculation.
  • #1
Nylex
552
2
A vector field is defined by [tex]\vec{A}(\vec{r})} = \rho^2 \hat{\phi} + \rho \sin \phi \hat{z}[/tex]

Verify Stokes' theorem by explicit calcluation where S is the circle of radius a in the z = 0 plane.

You may like to employ the ideas that [tex]\vec{dS} = \rho d\phi dz \hat{\rho} + dz d\rho \hat{\phi} + \rho d\rho d\phi \hat{z}[/tex] and [tex]\vec{dl} = d\rho \hat{\rho} + \rho d\phi \hat{\phi} + dz \hat{z}[/tex]

Stokes' theorem: [tex]\int_{S} \vec{dS} \cdot (\nabla \times \vec{A}) = \int_{C} \vec{dl} \cdot \vec{A}[/tex]

I found [tex]\nabla \times \vec{A} = \cos \phi \hat{\rho} - \sin \phi \hat{\phi} + 3\rho^2 \hat{z}[/tex]

So, [tex]\vec{dS} \cdot (\nabla \times \vec{A}) = \cos \phi \rho d\phi dz - \sin \phi dz d\rho + 3\rho^2 d\rho d\phi[/tex]

Now, I said dz = 0 because the circle is in the z = 0 plane, so z = constant and dz = 0. Is that right?

[tex]\int_{S} \vec{dS} \cdot (\nabla \times \vec{A}) = \int_0^{2\pi} d\phi \int_0^a 3\rho^2 d\rho = 2\pi a^3[/tex]

Now, [tex]\vec{dl} \cdot \vec{A} = \rho^3 d\phi[/tex] (since there's no [itex]\hat{\rho}[/itex] component and again dz = 0)

[tex]\int_C \vec{dl} \cdot \vec{A} = \int_0^{2\pi} \rho^3 d\phi = [\rho^3 \phi]_{0}^{2\pi} = 2\pi \rho^3 = 2\pi a^3[/tex]

This is what's supposed to happen, but I'm not sure if I've actually done the calculations right or got them right by luck. If someone could tell me where (if anywhere) I've gone wrong, thanks.
 
Physics news on Phys.org
  • #2
Nylex said:
[tex]\vec{dS} = \rho d\phi dz \hat{\rho} + dz d\rho \hat{\phi} + \rho d\rho d\phi \hat{z}[/tex] and [tex]\vec{dl} = d\rho \hat{\rho} + \rho d\phi \hat{\phi} + dz \hat{z}[/tex]

I found [tex]\nabla \times \vec{A} = \cos \phi \hat{\rho} - \sin \phi \hat{\phi} + 3\rho^2 \hat{z}[/tex]

So, [tex]\vec{dS} \cdot (\nabla \times \vec{A}) = \cos \phi \rho d\phi dz - \sin \phi dz d\rho + 3\rho^2 d\rho d\phi[/tex]

Be careful here! You may only evaluate a dot product by means of multiplying like components if you use cartesian coordinates.
To illustrate this, consider the vectors:
[tex]\vec A = \hat x, \qquad \vec B=-\hat x[/tex]
, but in cilinder coordinates both vectors are written:
[tex]\vec A = \hat r,\qquad \vec B = \hat r[/tex]
The problem is that [itex]\hat r[/itex] depends on the particular point in question.

In your case, since the normal to the disk points in the z-direction, you have:

[tex]d\vec S = \hat{z}[/tex]
and

[tex](\nabla \times \vec A)\cdot d\vec S = 3\rho^2[/tex]

You first wrote down the general expression, then used properties of your surface. Not how I'd do it, but I guess that works too.
 
Last edited:
  • #3
Thanks Galileo. We were never told about not being able to do the dot product if you're not using Cartesian co-ordinates. Grr :mad:.
 
  • #4
You can use the dot product, but you have to do it a different way.
 
  • #5
Galileo said:
Be careful here! You may only evaluate a dot product by means of multiplying like components if you use cartesian coordinates.
To illustrate this, consider the vectors:
[tex]\vec A = \hat x, \qquad \vec B=-\hat x[/tex]
, but in cilinder coordinates both vectors are written:
[tex]\vec A = \hat r,\qquad \vec B = \hat r[/tex]
The problem is that [itex]\hat r[/itex] depends on the particular point in question.

In your case, since the normal to the disk points in the z-direction, you have:

[tex]d\vec S = \hat{z}[/tex]
and

[tex](\nabla \times \vec A)\cdot d\vec S = 3\rho^2[/tex]

You first wrote down the general expression, then used properties of your surface. Not how I'd do it, but I guess that works too.

I don't think your statement that the dot product can only be done by multiplying like components if you use Cartesian coordinates is correct. Your vectors [tex]\vec A[/tex] and [tex]\vec B[/tex] are position vectors to two different points in space, and you are correct that the unit vectors having the same label are not the same vectors at different points in space. But in this context you are forming the dot product of two vector functions of position that are expressed in terms of a unique orthonormal basis at each point in space. The dot product of two vectors at each point is therefore the sum of the products of corresponding components. If the product somehow involved vectors at different points in space, then there would be a problem, but that is not the case. It is the uniqueness of the unit vectors at each point in space that permits the representation of the [tex]\nabla[/tex] operator in cylindrical and spherical coordinates, as well as Cartesian coordinates, is it not?
 
  • #6
I agree with OlderDan. Consider that regardless of whether you use cartesian or cylindrical coordinates, the vector gives a specific location in 3D space. Therefore, the name of the unit basis vectors is irrelevant when considering the dot product. The way each coordinate system relates to each other is based on our visual representation of them, but so long as each unit vector is orthogonal to the others, the dot product should be carried out in the same way.
 
  • #7
Jelfish said:
I agree with OlderDan. Consider that regardless of whether you use cartesian or cylindrical coordinates, the vector gives a specific location in 3D space. Therefore, the name of the unit basis vectors is irrelevant when considering the dot product. The way each coordinate system relates to each other is based on our visual representation of them, but so long as each unit vector is orthogonal to the others, the dot product should be carried out in the same way.

Jelfish,

I agree with OlderDan too, but I think I disagree with you!

The vector does not "give a specific location in 3D space". Each specific location in 3D space gives a vector. But that's not the same thing.

The unit basis vectors in curvilinear coordinate systems are different in more than just name from those in cartesian coordinates. They're fundamentally different, because they're different at every point in space. OlderDan's point (if I understood correctly) was that in this case, the dot product of dl and A is formed from two vecors which by their definition are at the same point, so each has the same orthogonal basis set at that point. Thus the sum of the products of matching components is the dot product.
 
  • #8
All this is confusing me.
 
  • #9
Aw'right, small correction. You cannot perform the vector operations in spherical/cilindrical coordinates associated with different points. The general idea of the statement still holds though. Don't just naively add components in A+B or multiply like components in AB in cilindrical/spherical coordinates like in cartesian coordinates.

If you take [itex]\vec A = \hat x[/itex] and [itex]\vec B = -\hat x[/itex] at the points (1,0,0) and (-1,0,0) respectively, then in cilinder coordinates:
[itex]\vec A = \hat r[/itex] and [itex]\vec B =\hat r[/itex].
But [itex]\vec A + \vec B =0[/itex] and [itex]\vec A \cdot \vec B = -1[/itex].

If the vectors are evaluated at the same point however, all is well (which, I think, was what Olderdan meant).
 
  • #10
In my exam today, there was a similar question but it was on the divergence theorem. When I had to work out [itex]\vec{dS} \cdot \vec{A}[/itex], I just did the dot product as I would in Cartesian and the answer still came out right :confused:.
 
  • #11
Galileo said:
If the vectors are evaluated at the same point however, all is well (which, I think, was what Olderdan meant).

Yes. This is what I meant. The unit vectors in curvilinear coordinates are indeed functions of position, as you have stated. But for each coordinate system, at anyone point in space there is a unique orthonormal basis. As long as two or more vector functions of position are expressed in the same orthonormal basis, all the familiar vector operations can be performed at every point. The orthonormaility of the basis vectors at each point results in the same cancellation of cross terms in the dot product, and gives rise to the same surviving vector terms in a cross product as you have for the cartesian basis.

The exception to this is the point at the origin, or the central axis, where the curvilinear basis is ambiguous. I think the exception you have noted falls into this category. Your vectors are vectors to two points in space from the origin, expressed in terms of unit vectors defined at the termination points of the vectors because there is no unique set at the origin that can be used to represent them both. You can't perform the vector operations until you represent both vectors in the same basis. In most problems where curvilinear coordinates are preferred, the origin is not a factor in the calculations because of symmetry.
 

1. What is vector calculus?

Vector calculus is a branch of mathematics that focuses on the study of vectors, which are quantities that have both magnitude and direction. It involves the use of vector operations such as addition, subtraction, and multiplication, as well as concepts like derivatives and integrals to solve problems in fields such as physics, engineering, and economics.

2. What are some common applications of vector calculus?

Vector calculus has many applications in fields such as physics, engineering, and computer graphics. Some common examples include finding the velocity and acceleration of moving objects, calculating electric and magnetic fields, and determining the flow of fluids.

3. What is a vector field?

A vector field is a function that assigns a vector to each point in space. It can be visualized as a collection of vectors, with each vector having a direction and magnitude at a specific point. Vector calculus is often used to analyze and manipulate vector fields.

4. How is vector calculus related to other branches of mathematics?

Vector calculus is closely related to other branches of mathematics such as linear algebra, multivariable calculus, and differential equations. It builds upon concepts from these fields to study vector quantities and their operations in more detail.

5. What are some key concepts in vector calculus?

Some key concepts in vector calculus include vector fields, gradient, divergence, and curl. The gradient measures the rate of change of a scalar field, while the divergence and curl measure the flow and rotation of a vector field, respectively. These concepts are important in understanding the behavior of vector functions and their applications.

Similar threads

  • Introductory Physics Homework Help
Replies
17
Views
373
  • Introductory Physics Homework Help
Replies
3
Views
327
  • Introductory Physics Homework Help
Replies
21
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
996
Replies
1
Views
541
  • Introductory Physics Homework Help
Replies
2
Views
175
  • Introductory Physics Homework Help
Replies
3
Views
190
  • Introductory Physics Homework Help
Replies
5
Views
906
  • Introductory Physics Homework Help
Replies
14
Views
2K
Back
Top