Help evaluating a surface integral in polar coordinates

In summary: Cartesian coordinates, and are getting zero results because you are using the wrong coordinate system. Convert to polar coordinates and integrate.
  • #1
bitrex
193
0

Homework Statement



I have to evaluate the surface integral of the following function over the top hemisphere of a sphere.

Homework Equations


[tex]\sigma (x,y,z) = \frac{\sigma_0 (x^2+y^2)}{r^2}[/tex]

[tex]z = \sqrt{r^2-x^2-y^2}[/tex]

[tex]\iint G[x,y, f(x,y)] \sqrt{1+ \frac{\partial f}{\partial x}+ \frac{\partial f}{\partial y}}dx dy[/tex]

The Attempt at a Solution



[tex]\frac{\partial f}{\partial x} = \frac{-x}{z}[/tex]
[tex]\frac{\partial f}{\partial y} = \frac{-y}{z}[/tex]

so

[tex] \sqrt{1 + \frac{x^2}{z^2} + \frac{y^2}{z^2}} = \frac{r}{z} [/tex]

since [tex]x^2+y^2+z^2 = r^2[/tex]

So multiplying I get

[tex] \frac{\sigma_0(x^2+y^2)r}{r^2(r^2-x^2-y^2)^{\frac{1}{2}}}[/tex]

The problem is when I try to convert this into polar coordinates to do the double integral by substituting [tex]x = r cos \theta, y = r sin \theta[/tex] the stuff in the lower parenthesis becomes zero which is obviously a problem. Where am I going wrong here? Thanks for any help.
 
Last edited:
Physics news on Phys.org
  • #2
Why are you converting from spherical coordinates to Cartesian coordinates and then back into spherical coordinates? Everything you are given is in spherical coordinates so do the whole problem that way.

Of course, you need to know that the differential of surface area, on a sphere, is [itex]R^2 sin(\phi)drd\theta d\phi[/itex] where R is the (constant) radius of the sphere, [itex]\theta[/itex] is the "longitude" and [itex]\phi[/itex] is the "co-latitude".

(The "stuff in the lower parentheses" does NOT become 0. By your second equation, it is [itex]z^2= r^2- x^2-y^2[/itex].)
 
  • #3
I'm sorry if I wasn't clear in my post - the information given for the problem was just the first two equations in section 2 above. They seem to be in Cartesian coordinates, so I'm not sure where I converted from polar to Cartesian and back again? :confused: I understand that the term in the denominator equals z^2, but when I try to convert x and y to [tex]r cos \theta[/tex] and [tex]r sin \theta[/tex] I get [tex](r^2-r^2cos^2\theta - r^2sin^2\theta)^{\frac{1}{2}} = (r^2 - r^2(cos^2\theta + sin^2\theta)^{\frac{1}{2}} = 0^{\frac{1}{2}}.[/tex] I'm afraid I'm not much further enlightened. :frown:

Edit: I think I may have found my problem: The first two equations are actually:

[tex]
\sigma (x,y,z) = \frac{\sigma_0 (x^2+y^2)}{R^2}
[/tex]

[tex]
z = \sqrt{R^2-x^2-y^2}
[/tex]

where R is a _constant_. This is a _different_ R than the r in r cos(x) and r sin(y) that I substitute I believe?
 
Last edited:
  • #4
Are you specifically asked to use plane polar coordinates, or are you allowed to use spherical polar coords?

If you are permitted to do so, I would use the latter as it makes thing mush simpler. In spherical polars,

[itex]x=r\sin\theta\cos\phi[/itex]
[itex]y=r\sin\theta\sin\phi[/itex]
[itex]z=r\cos\theta[/itex]
 
  • #5
I have to do this in polar coordinates, unfortunately. At this point I'm not even sure I've set the problem up correctly - if the function to be integrated over the surface is what it is how do I get it in the form of the first part of [tex]
\iint G[x,y, f(x,y)] \sqrt{1+ \frac{\partial f}{\partial x}+ \frac{\partial f}{\partial y}}dx dy
[/tex]? How do I deal with the R^2 and get the function in the form G(x,y,f(x,y))? I'm really lost now. :confused:
 
  • #6
Why would you want the function to be in the form G(x,y.f(x,y)) if you are going to do the integration in polar coordinates?
 
Last edited:
  • #7
My idea was to do the partial differentiations required of the surface function in Cartesian coordinates, multiply by the function G, simplify, and then convert to polar coordinates by substituting for x and y - basically because at this point that's about the only thing I have some idea of how to do. :biggrin:
 
  • #8
Okay, well what is the definition of 'G' that you have in your text/notes?
 
  • #9
Well, I assumed that I could take the function I was trying to integrate over the surface, [tex]\sigma (x,y,z) = \frac{\sigma_0 (x^2+y^2)}{r^2}[/tex], use that for G, then compute the partial derivatives of the function of the surface under the square root, multiply the mess together and substitute [tex]r cos\theta[/tex] and [tex]r sin \theta[/tex] and then perform the integration, as I did in my first post. This method doesn't seem to be working out correctly, so I'm assuming now that I'm making a mistake in setting up the equation, but I don't know what that mistake is. Do I have to modify the function I'm using for G somehow, since G has its z coordinate specified as a function of f(x,y) where f(x,y) is the surface function?
 
Last edited:
  • #10
Does anyone have any further advice?
 
  • #11
I misread this before, thinking "spherical coordinates" (which are easy!) rather than "polar coordinates"

In cylindrical coordinates, the equation of a sphere is [itex]r^2+ z^2= R^2[/itex] and the top hemisphere is given by [itex]z= \sqrt{R^2- r^2}[/itex]. You write any point on the hemisphere with the parametric equations [itex]x= r cos(\theta)[/itex], [itex]y= r sin(\theta)[/itex], [itex]z= \sqrt{R^2- r^2}[/itex], with parameters r and [itex]\theta[/itex]. That can be written as the vector equation, [itex]\vec{p(r,\theta)}= r cos(\theta)\vec{i}+ r sin(\theta)\vec{j}+ (R^2- r^2)^{1/2}\vec{k}[/itex].

The derivatives, [itex]\vec{p}_r= cos(\theta)\vec{i}+ sin(\theta)\vec{j}- r(R^2- r^2)^{-1/2}\vec{k}[/itex] and [itex]\vec{p_}\theta= -r sin(\theta)\vec{i}+ r cos(\theta)\vec{j}[/itex] are in the tangent plane and their cross product,
[tex]\left|\begin{array}{ccc}\vec{i} & \vec{j} & \vec{k} \\ cos(\theta) & sin(\theta) & r(R^2- r^2)^{-1/2} \\ -r sin(\theta) & r cos(\theta) & 0 \end{array}\right|= r^2cos(\theta)(R^2- r^2)^{-1/2}\vec{i}+ r^2 sin(\theta)(R^2- r^2)^{-1/2}\vec{j}+ r\vec{k}[/itex], the "fundamental vector product" for the surface, is normal to the surface and its length,
[tex]\sqrt{r^4 cos^2(\theta)(R^2- r^2)^{-1}+ r^4 sin^2(\theta)(R^2- r^2)^{-1}+ r^2}= \sqr{\frac{r^4}{R^2- r^2}+ r^2}}[/tex]
[tex]= \sqrt{\frac{r^4+ r^2R^2- r^4}{R^2- r^2}= \sqrt{\frac{r^2R^2}{R^2- r^2}}= \frac{Rr}{\sqrt{R^2- r^2}}[/tex]
gives the "differential of surface area.
The differential is
[tex]\frac{Rr dr d\theta}{\sqrt{R^2- r^2}}[/tex]
 
  • #12
Thank you, Halls! I think my problem earlier was that I was engaging in a bit of "cargo cult mathematics," that is I wasn't really understanding what the purpose of multiplying the scalar function to be integrated by the square root of the squares of some partial derivatives, etc.
By looking at it from the standpoint of parametrized equations, I can better understand what's going on. By taking the derivative of the parameters we're finding the tangent vectors to the surface for a value of theta and r, and then by taking the magnitude of the cross product we're finding the area of a parallelogram bounded by those tangent vectors. Multiply that by the scalar function and taking the areas of those parallelograms down to infinitesimal size by integrating with respect to r and theta and we can find say the mass of a spherical shell if the scalar function describes its density at a certain point. I'll take another stab at this problem this evening now that I have a better idea of "why things are."
 
  • #13
Still, if I try to set up the problem with the differential in the above coordinates, with the function to be integrated over the surface being [tex] \sigma (x,y,z) = \frac{\sigma_0 (x^2+y^2)}{R^2}[/tex], the integral I get is [tex]\iint \frac{\sigma r^3}{R \sqrt{R^2 - r^2}} dr d\theta[/tex] which seems like a messy integral and I don't see how it's going to evaluate to the correct answer, which is just [tex]\frac{4 \pi R^2\sigma}{3}[/tex]. Maybe I'd better learn how to do integrals in those spherical coordinates!
 
Last edited:
  • #14
If I set things up in spherical coordinates, I believe I get [tex]\iiint \sigma_0(r^2 cos^2\theta - R^2) sin\phi dr d\theta\ d\phi[/tex] which still looks pretty frightening to me at this point, but maybe more approachable. Does that look correct?
 
  • #15
bitrex said:
Still, if I try to set up the problem with the differential in the above coordinates, with the function to be integrated over the surface being [tex] \sigma (x,y,z) = \frac{\sigma_0 (x^2+y^2)}{R^2}[/tex], the integral I get is [tex]\iint \frac{\sigma r^3}{R \sqrt{R^2 - r^2}} dr d\theta[/tex] which seems like a messy integral and I don't see how it's going to evaluate to the correct answer, which is just [tex]\frac{4 \pi R^2\sigma}{3}[/tex].

You mean [tex]\iint \frac{\sigma_0 r^3}{R \sqrt{R^2 - r^2}} dr d\theta[/tex] right?

Start by pulling out the constants, then integrate over [itex]\theta[/itex] (what are your integration limits?) and then use a trig substitution (I recommend using [itex]r=R\sin\phi[/itex]) to do the [itex]r[/itex] integration...what do you get?

Maybe I'd better learn how to do integrals in those spherical coordinates!

Try it first in plane/cylindrical polars.
 
  • #16
Ok, I can smell blood on this problem, so let's do it.

We've got [tex]\iint \frac{\sigma_0 r^3}{R \sqrt{R^2 - r^2}} dr d\theta[/tex]. Limits of integration for the top half of the sphere are [tex]\theta[/tex] from 0 to 2pi, r from 0 to 1.

Pulling out the constants and integrating with respect to theta, I get [tex]\frac{2\pi \sigma_0}{R}[/tex]. Put that aside. I'm left with [tex]\frac{r^3}{\sqrt{R^2-r^2}}[/tex]. Substituting [tex]r=R\sin\phi[/tex] I get [tex] \int \frac{R^3 sin^3 \phi}{\sqrt{R^2 cos^2\phi}} Rcos\phi = R^3\int sin^3\phi d \phi[/tex]. Turning that into [tex]R^3\int(1-cos^2\phi)sin\phi[/tex] and making the substitution [tex]u = cos\phi[/tex] I get [tex]R^3(-sin\phi + \frac{sin^3\phi}{3})[/tex]. We've changed the variable from r to phi, so the limits of integration for the top half of the sphere I believe should be between 0 and pi/2. Evaluating the above and multiplying by the constants I set aside at the beginning I get [tex]R^3(-\frac{2}{3}) * \frac{2\pi \sigma_0}{R} = -\frac{4 \pi \sigma_0 R^2}{3}[/tex]. That's pretty close to what I want, but there's that negative sign. Maybe I should have reversed the limits of integration with respect to phi earlier?
 
Last edited:
  • #17
bitrex said:
Ok, I can smell blood on this problem, so let's do it.

We've got [tex]\iint \frac{\sigma_0 r^3}{R \sqrt{R^2 - r^2}} dr d\theta[/tex]. Limits of integration for the top half of the sphere are [tex]\theta[/tex] from 0 to 2pi, r from 0 to 1.

You mean r goes from 0 to R right?

Turning that into [tex]R^3\int(1-cos^2\phi)sin\phi[/tex] and making the substitution [tex]u = cos\phi[/tex] I get [tex]R^3(-sin\phi + \frac{sin^3\phi}{3})[/tex].

Errmm...

[tex]\int (1-\cos^2\phi)\sin\phi d\phi=\int (1-u^2)(-du)=-u+\frac{u^3}{3}=-\cos\phi+\frac{\cos^3\phi}{3}[/tex]
 
  • #18
You mean r goes from 0 to R right?

Absolutely! :wink:

Errmm...

[tex]\int (1-\cos^2\phi)\sin\phi d\phi=\int (1-u^2)(-du)=-u+\frac{u^3}{3}=-\cos\phi+\frac{\cos^3\phi}{3}[/tex]

Yeah, that was dumb. Unfortunately my whole solution falls apart now, as the cosine of pi/2 is 0.

Edit: Oh, wait wait, I think I've got it. Let's see here...

No, don't have it. I thought maybe my limits of integration were incorrect for phi, so I double checked by working out the new limits of integration from [tex]sin^{-1}\frac{r}{R}[/tex]. It's still from 0 to pi/2.
 
Last edited:
  • #19
Sure, [itex]\cos\frac{\pi}{2}=0[/itex], but [itex]\cos0=[/itex]____?
 
  • #20
Oh, heh. I should really try to do these earlier in the day. So we've got [tex] -cos\phi + \frac{cos^3\phi}{3} [/tex]evaluated between 0 and pi/2, which gives us [tex]0 + \frac{2}{3}[/tex], and multiplying that by the earlier stuff we do indeed get [tex]R^3(\frac{2}{3}) * \frac{2\pi \sigma_0}{R} = \frac{4 \pi \sigma_0 R^2}{3}[/tex]. I really need to try to avoid making careless mistakes like using the wrong substitution for u in the integral earlier - would have saved a lot of time! I've successfully completed my first surface integral - thanks so much for persevering through this problem with me!
 

1. What is a surface integral in polar coordinates?

A surface integral in polar coordinates is a mathematical method for finding the area of a surface on a 3-dimensional graph. It involves integrating a function over a surface in polar coordinates, which are defined by a radius and an angle.

2. How is a surface integral in polar coordinates different from a regular integral?

A surface integral in polar coordinates is different from a regular integral in that it involves integrating over a surface instead of a single dimension. It also uses polar coordinates instead of Cartesian coordinates, which makes the calculations more suitable for circular or rotational shapes.

3. What are the steps for evaluating a surface integral in polar coordinates?

The steps for evaluating a surface integral in polar coordinates are as follows:

  1. Identify the polar coordinates and the boundaries of the surface.
  2. Write the given function in polar form.
  3. Calculate the surface area element dS in terms of the polar coordinates.
  4. Set up the double integral using the limits of integration and the surface area element.
  5. Evaluate the double integral using appropriate integration techniques.

4. What are some applications of surface integrals in polar coordinates?

Surface integrals in polar coordinates have various applications in physics and engineering, such as calculating the mass or volume of a solid object, finding the center of mass of a system, and determining the flow of a vector field through a surface.

5. Are there any common mistakes to avoid when evaluating a surface integral in polar coordinates?

Yes, some common mistakes to avoid when evaluating a surface integral in polar coordinates include forgetting to convert the function into polar form, using the wrong limits of integration, and not properly calculating the surface area element. It is also important to pay attention to the orientation of the surface and the direction of the normal vector when setting up the integral.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
876
  • Calculus and Beyond Homework Help
Replies
4
Views
690
  • Calculus and Beyond Homework Help
Replies
3
Views
559
  • Calculus and Beyond Homework Help
Replies
3
Views
273
  • Calculus and Beyond Homework Help
Replies
5
Views
763
  • Calculus and Beyond Homework Help
Replies
6
Views
548
Replies
4
Views
646
  • Calculus and Beyond Homework Help
Replies
6
Views
758
  • Calculus and Beyond Homework Help
Replies
1
Views
156
Back
Top