Simple Surface Integral of a Cylinder: Homework Statement and Solution Attempt

cpfoxhunt
Messages
15
Reaction score
0

Homework Statement



This is annoying me because I am so clearly being a muppet somewhere. I need to integrate the vector field (x,-y,z).(vector)ds over the surface of a cyliner x^2 + y^2 < 4 (or equal to) and z is between 0 and 1.

The Attempt at a Solution



I have to do it both with and without divergence. With divergence, div(a) = 1, integral over a nice volume, gives me 4Pi, as O a, (integrating 2*r drd(theta)dz, with the specified limits.)

Trying to do it as a surface integral is driving me nuts. I end up integrating r^2(sin^2(x) - cos^(x) between the limits x = 0 and x = pi. as this integrates to sin(x)cos(x), this makes the entire integral zero.

So where am I going wrong?
 
Physics news on Phys.org
I don't think you included the contributions from the flat ends of the cylinder, did you?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top