Possible application of Stoke's Theorem

CAF123
Gold Member
Messages
2,918
Reaction score
87

Homework Statement


A circle C is cut on the surface of the hemisphere x^2 + y^2 + z^2 = 1, z ≥ 0 by the cylinder x^2 + y^2 = y. Evaluate \int_{C} -y^2\,dx + y^2\,dy + z^2\,dz, where the direction round C is such that the point (0,0,1) is directed into the first octant.

The Attempt at a Solution


So completing the square gives a cylinder of centre (0,1/2) and radius 1/2. Using Stoke's thm, I identified the vector field F to be -y^2 i + y^2j + z^2 k and took the curl of it to give 2y \,k I believe everything is right up to here.

I am confused about what the surface is here that is bounded by C. I realize that to compute d\vec{S} = \frac{\vec{r_u} ×\vec{r_v}}{|\vec{r_u} × \vec{r_v}|} dS, I have to find a suitable parametrisation of some surface. I found where the cylinder and sphere intersected : y + z^2 = 1 => z = \sqrt{1-y}\,\,\text{since}\,\,z≥0 .So then my parametrisation would be r(x,y) = xi + yj + \sqrt{1-y}k, from which I could then compute two tangent vectors and a normal.

I am not sure if my parametrisation is correct. Can anyone offer any advice?
Many thanks
 
Physics news on Phys.org
The part of the hemisphere that is bounded by the circle.
 
So this is the required S? The part of the hemisphere bounded by the circle is the part of the hemisphere in the region where y≥0 and x \in\,[-1,1] So my parametrisation is correct? Why don't we care about the other half of the hemisphere in the region y≤0?
 
Stock's theorem allows to take any surface with the boundary C with the suitable orientation.
 
I am just stuck on the parametrisation. I think what I have done is the parametrisation of the cylinder. What I said now was that r(x,y) = xi + yj + \sqrt{1-x^2-y^2}k and my parameter domain being the circle formed by the intersection of the cylinder with the sphere.

I have found a unit normal from the above r(x,y), but now I need to find the limits of integration. Can you help here?
 
CAF123 said:

Homework Statement


A circle C is cut on the surface of the hemisphere x^2 + y^2 + z^2 = 1, z ≥ 0 by the cylinder x^2 + y^2 = y. Evaluate \int_{C} -y^2\,dx + y^2\,dy + z^2\,dz, where the direction round C is such that the point (0,0,1) is directed into the first octant.
What does that mean? (0,0,1) is a vector pointing in the z direction or else it is a point which doesn't point anywhere.

The Attempt at a Solution


So completing the square gives a cylinder of centre (0,1/2) and radius 1/2. Using Stoke's thm, I identified the vector field F to be -y^2 i + y^2j + z^2 k and took the curl of it to give 2y \,k I believe everything is right up to here.

I am confused about what the surface is here that is bounded by C. I realize that to compute d\vec{S} = \frac{\vec{r_u} ×\vec{r_v}}{|\vec{r_u} × \vec{r_v}|} dS, I have to find a suitable parametrisation of some surface. I found where the cylinder and sphere intersected : y + z^2 = 1 => z = \sqrt{1-y}\,\,\text{since}\,\,z≥0 .So then my parametrisation would be r(x,y) = xi + yj + \sqrt{1-y}k, from which I could then compute two tangent vectors and a normal.

I am not sure if my parametrisation is correct. Can anyone offer any advice?
Many thanks


Is there any reason you have to use Stoke's theorem? My suggestion would be to work the line integral directly. The first step would be to write ##x^2+y^2 = y## in polar (cylindrical) coordinates, which is very easy. Then write your curve parameterized by ##\theta##. Then just plug and chug.
 
Hi LCKurtz,
Yes, I was initially confused by the meaning of the question, but I took it to mean the traversal of C would be anticlockwise so that as you approach the point (0,0,1) you head into the first octant.

You mention parametrizing a curve in terms of θ. What curve is this?
This is actually a set question, so given that we have just done Stoke's thm, I think we may have to use it. However, I will do it both ways to confirm my answers.

If doing it by Stoke's Thm, I had the previous parametrization as in my previous post. I then found the (unit) normal, but I am struggling with the parameter domain. I think it is the circle cut from the sphere when the cylinder intersects, but I am not sure about the limits here. Any advice?
Thanks.
 
CAF123 said:
Hi LCKurtz,
Yes, I was initially confused by the meaning of the question, but I took it to mean the traversal of C would be anticlockwise so that as you approach the point (0,0,1) you head into the first octant.

You mention parametrizing a curve in terms of θ. What curve is this?
This is actually a set question, so given that we have just done Stoke's thm, I think we may have to use it. However, I will do it both ways to confirm my answers.

If doing it by Stoke's Thm, I had the previous parametrization as in my previous post. I then found the (unit) normal, but I am struggling with the parameter domain. I think it is the circle cut from the sphere when the cylinder intersects, but I am not sure about the limits here. Any advice?
Thanks.

Did you express the circle (cylinder) in cylindrical (polar) coordinates? That will give your ##r,\theta## limits once you see how the circle plots. You need to do that. Then whether you do the line or surface integral, use ##\theta## for the parameter for the line integral and ##r,\theta## if you do a surface integral. Then the limits will be just like polar coordinates.
 
LCKurtz said:
Did you express the circle (cylinder) in cylindrical (polar) coordinates? That will give your ##r,\theta## limits once you see how the circle plots. You need to do that. Then whether you do the line or surface integral, use ##\theta## for the parameter for the line integral and ##r,\theta## if you do a surface integral. Then the limits will be just like polar coordinates.
So, x^2 + y^2 = y => r^2 = r\sin\theta => r = \sin\theta . I think that we would have r \in\,[0, \sin\theta] and \theta \in\,[0,2\pi] right?
These are my limits. Then taking the curve in question, letting x = r\cos\theta and y = \frac{1}{2} + r\sin\theta, allows me to compute dx, dy. Is z = \sqrt{1-y} = \sqrt{(1-(1/2 + r\sin\theta)}here? That's for the line integral.
 
  • #10
CAF123 said:
So, x^2 + y^2 = y => r^2 = r\sin\theta => r = \sin\theta . I think that we would have r \in\,[0, \sin\theta] and \theta \in\,[0,2\pi] right?
No for ##\theta##. Plot it to get the correct ##\theta## limits.
These are my limits. Then taking the curve in question, letting x = r\cos\theta and y = \frac{1}{2} + r\sin\theta, allows me to compute dx, dy. Is z = \sqrt{1-y} = \sqrt{(1-(1/2 + r\sin\theta)}here? That's for the line integral.

It's easier but I have to run. Maybe more this evening.
 
  • #11
LCKurtz said:
No for ##\theta##. Plot it to get the correct ##\theta## limits.It's easier but I have to run. Maybe more this evening.
Ah, sorry, made a careless mistake and confused the axes. It should be \theta \in\,[0,\pi]. There is an easier way? In terms of what?
Thanks
 
  • #12
CAF123 said:
So, x^2 + y^2 = y => r^2 = r\sin\theta => r = \sin\theta . I think that we would have r \in\,[0, \sin\theta] and \theta \in\,[0,2\pi] right?
These are my limits. Then taking the curve in question, letting x = r\cos\theta and y = \frac{1}{2} + r\sin\theta, allows me to compute dx, dy. Is z = \sqrt{1-y} = \sqrt{(1-(1/2 + r\sin\theta)}here? That's for the line integral.

CAF123 said:
Ah, sorry, made a careless mistake and confused the axes. It should be \theta \in\,[0,\pi]. There is an easier way? In terms of what?
Thanks

OK. So ##r=\sin\theta## on the surface of the cylinder and therefore on the curve of intersection between the cylinder and the sphere. Now you know a point (x,y,z) in cylindrical coordinates is ##\vec R=(r\cos\theta,r\sin\theta,z)##. And ##z## must be on the sphere so ##z=\sqrt{1-(x^2+y^2)}=\sqrt{1-r^2}##. So ##\vec R =(r\cos\theta,r\sin\theta,\sqrt{1-r^2})##. Now you can let ##r,\theta## vary over the interior of the circle if you want to parameterize that portion of the sphere, or if you just want the boundary curve of intersection use that ##r=\sin\theta## to parameterize that curve as a function of just ##\theta##.

[Edit]:Made a correction
 
Last edited:
  • #13
How did you get \sqrt{1-(x^2 + y^2)} = 1-r? I only see a simplification to \sqrt{1 - r^2}.

So assuming z = \sqrt{1 - r^2}, i have \int_{0}^{\pi} -\sin^4\theta (-\frac{1}{2}\cos^2\theta) + \sin^4\theta (\sin 2\theta) + \cos^2\theta (-\sin\theta)\, d\theta, for the line integral.
(One question: Why do we choose to parametrize the curve in terms of θ? is it because r stays constant on the given C?)

For Stokes' thm appraoch, I should be able to get a normal vector from the parametrization \vec{r}(r, \theta) = < r\cos \theta, r\sin \theta, \sqrt{1-r^2}>, dot this with the curl of the given vector field and then do a double integral \int_{0}^{\pi} \int_{0}^{\sin\theta} ... dr\,d\theta.
 
Last edited:
  • #14
So in evaluating the integral above (the line integral) I get pi/32 + 2/3. By evaluating : \int_{0}^{\pi} \int_{0}^{\sin\theta} 2(r\sin\theta)r^2\,dr\,d\theta i get 8/15. 2(r\sin\theta)r^2 I got by dotting curl(F)with a normal vector found by taking r_r \times r_\theta of the parametrization r(r,θ) = rcosθi + rsinθj + √(1-r^2)k.
I don't know where I went wrong.
 
  • #15
CAF123 said:
How did you get \sqrt{1-(x^2 + y^2)} = 1-r? I only see a simplification to \sqrt{1 - r^2}.

Yes, of course. Typing in a hurry :blushing: I will edit it if I'm not too late.

So assuming z = \sqrt{1 - r^2}, i have \int_{0}^{\pi} -\sin^4\theta (-\frac{1}{2}\cos^2\theta) + \sin^4\theta (\sin 2\theta) + \cos^2\theta (-\sin\theta)\, d\theta, for the line integral.
(One question: Why do we choose to parametrize the curve in terms of θ? is it because r stays constant on the given C?)

##r## isn't constant on the curve, it is a function of ##\theta##: ##r = \sin \theta##. Much easier to get everything in terms of ##\theta## rather than ##r##.
For Stokes' thm appraoch, I should be able to get a normal vector from the parametrization \vec{r}(r, \theta) = < r\cos \theta, r\sin \theta, \sqrt{1-r^2}>, dot this with the curl of the given vector field and then do a double integral \int_{0}^{\pi} \int_{0}^{\sin\theta} ... dr\,d\theta.

I will look at it a bit later today.
 
  • #16
CAF123 said:
So in evaluating the integral above (the line integral) I get pi/32 + 2/3. By evaluating : \int_{0}^{\pi} \int_{0}^{\sin\theta} 2(r\sin\theta)r^2\,dr\,d\theta i get 8/15. 2(r\sin\theta)r^2 I got by dotting curl(F)with a normal vector found by taking r_r \times r_\theta of the parametrization r(r,θ) = rcosθi + rsinθj + √(1-r^2)k.
I don't know where I went wrong.

Me neither without seeing the steps. But you are close. The integrand for the surface integral should be ##2r^2\sin\theta## after simplification. You are off by a factor of ##r##.
 
  • #17
Why r^2 and not r^3?

EDIT: nevermind - I realize why. Thanks. Is my line integral correct?
 
  • #18
CAF123 said:
Why r^2 and not r^3?

EDIT: nevermind - I realize why. Thanks. Is my line integral correct?

I don't know. But you can check it by seeing if you get the same answer as the surface integral.
 
  • #19
LCKurtz said:
I don't know. But you can check it by seeing if you get the same answer as the surface integral.

I get pi/4 for the surface integral. This is not what i get for the line integral. Using x = (\sin \theta) \cos\theta, y = (\sin \theta)\sin \theta , z = \sqrt{1 - sin^2 \theta} = \cos \theta and then subsequently finding the derivatives dx, dy, dz and subbing into the form in the question, i get the line integral expression in my last couple of posts. I may have made an error in the integration, but I can't see any yet. Is my method right?
 
  • #20
CAF123 said:
I get pi/4 for the surface integral. This is not what i get for the line integral. Using x = (\sin \theta) \cos\theta, y = (\sin \theta)\sin \theta , z = \sqrt{1 - sin^2 \theta} = \cos \theta and then subsequently finding the derivatives dx, dy, dz and subbing into the form in the question, i get the line integral expression in my last couple of posts. I may have made an error in the integration, but I can't see any yet. Is my method right?

Again, I haven't checked all your substitutions. But one problem I see is on your statement$$
z = \sqrt{1 - sin^2 \theta} = \cos \theta$$That last equality isn't correct if ##\pi/2 < \theta<\pi## because ##\cos\theta## is negative there. The correct identity is$$
\sqrt{1 - sin^2 \theta} = |\cos \theta|$$and you need to take care of that when you integrate. And yes, ##\frac \pi 4## is the correct answer.
 
  • #21
LCKurtz said:
Again, I haven't checked all your substitutions. But one problem I see is on your statement$$
z = \sqrt{1 - sin^2 \theta} = \cos \theta$$That last equality isn't correct if ##\pi/2 < \theta<\pi## because ##\cos\theta## is negative there. The correct identity is$$
\sqrt{1 - sin^2 \theta} = |\cos \theta|$$and you need to take care of that when you integrate. And yes, ##\frac \pi 4## is the correct answer.

Ok, i see thanks.
So i split this up: \int_{0}^{\pi} |\cos \theta | dz = \int_{0}^{\pi/2} \cos \theta (-\sin \theta)\,d\theta + \int_{\pi/2}^{\pi} -\cos \theta (\sin \theta)\,d\theta which when evaluated gives 0.
EDIT: forgot to square z. i'll try again. - it is still zero. Ok thanks for all your help - i'll try and finish this tomorrow.
 
Last edited:
Back
Top