Integration of a Circle in Polar Coordinates

18 replies · 9K views · last reply
dluu
Messages
15
Reaction score
0

Homework Statement


Hi, I'm trying to find the area of a circle in polar coordinates.I'm doing it this way because I have to put this into an excel sheet to have a matrix of areas of multiple circles.
Here is an example of the problem.
Diagram in polar coordinates: a circle of radius a centred at a distance r0 from the origin, with the angle gamma measured from the horizontal axis, and two lines labelled beta and alpha through the origin, with the overlapping region shaded green.

a= radius of small circle
(gamma, r0) = polar coordinate system where phi is the angle and r0 is the distance to the center of the circle
gamma = phi (sorry for the confusion) just another constant
They are all constants except for theta.

Using the equation provided by wikimedia
Equation for a polar curve: r = r0 cos(theta - phi) + sqrt(a^2 - r0^2 sin^2(theta - phi)).

and the equation
Handwritten formula for the area in polar coordinates: A = integral from alpha to beta of (1/2) r^2 dtheta.


Homework Equations


Integrating this would give a constant C, but this value does not matter, does it?
Also, are my trig identities correct?

The Attempt at a Solution


Handwritten-style typed derivation: area integral A = (1/2) times the integral from a to b of r0^2 cos^2(theta - gamma) plus 2 r0 cos(theta - gamma) times the square root of (a^2 - r0^2 sin(theta - gamma)) plus (a^2 - r0^2 sin^2(theta - gamma)) d theta, split into four parts with the results shown.

from interval a to b

*found a mistake in my work: should be sin^2 not sin
 
Last edited:
I asked a math professor at my university about this and we tried to do this converting a circle from cartesian to polar coordinates. The equation of the circle would result in a +- equation in front of the square root through quadratic formula.
He used the equation:
Area integral in polar coordinates: A equals the integral from alpha to beta of one half times (r_o squared minus r_i squared) with respect to theta.

and told me to use the positive answer for r0 and the negative for ri. I thought this applies to two different curves but in this case the circle should be one curve.

Am I doing this right?

If I am wrong, what equation do I use if the limits of integration only has one curve (side of the circle)
 
Last edited:
dluu said:

Homework Statement


Hi, I'm trying to find the area of a circle in polar coordinates.I'm doing it this way because I have to put this into an excel sheet to have an array of areas with multiple circles.
Here is an example of the problem.
Hand-drawn diagram of a Cartesian x-y axis cross with a circle in the upper right quadrant, a shaded yellow sector inside it, and two lines from the origin labelled B and a.


Using the equation provided by wikimedia
Equation: r = r_0 cos(θ - φ) + sqrt(a^2 - r_0^2 sin^2(θ - φ))

and the equation
Polar area formula: A = integral from alpha to beta of (1/2) r^2 d theta.

I'm sorry, but we aren't mind readers here. What are ##a,r_0, \theta, \phi##? And is the ##r## in the first equation supposed to be the same ##r## in the second equation?
 
LCKurtz said:
I'm sorry, but we aren't mind readers here. What are ##a,r_0, \theta, \phi##? And is the ##r## in the first equation supposed to be the same ##r## in the second equation?

Sorry I'll upload a better picture with a description

Yes the r's are the same. I changed phi to gamma. Not sure why I did.
 
Last edited:
dluu said:

Homework Statement


Hi, I'm trying to find the area of a circle in polar coordinates.I'm doing it this way because I have to put this into an excel sheet to have an array of areas with multiple circles.
Here is an example of the problem.
[ IMG]http://i.imgur.com/4rtWQ.png[/PLAIN]

Using the equation provided by wikimedia
d52097e7e82669349c8da7c64617c8f5.png

and the equation
Polar area integral: A = integral from alpha to beta of (1/2) r^2 dtheta.


Homework Equations


Integrating this would give a constant C, but this value does not matter, does it?
Also, are my trig identities correct?

The Attempt at a Solution

Last question first:

If you're asking,
"Do I need to include the Integration constant from the anti-derivative when evaluating a definite integral?"
​
The answer is, No.


Now that you've updated your figure:

For a circle of radius, a, centered at (r0, φ ) in polar coordinates, the equation in polar coordinates, (r, θ), is like the one you found on wikipedia:
[itex]\displaystyle <br /> r=r_0\cos(\theta-\varphi)\pm\sqrt{a^2-r_0^2\sin^2(\theta-\varphi)\,}[/itex]​

Added in Edit:

If a ≤ r0, then the limits of integration for θ should be [itex]\displaystyle \varphi\pm\sin^{-1}\left(\frac{a}{r_0}\right)\ .[/itex]
 
Last edited:
SammyS said:
For a circle of radius, a, centered at (r0, φ ) in polar coordinates, the equation in polar coordinates, (r, θ), is like the one you found on wikipedia:
[itex]\displaystyle <br /> r=r_0\cos(\theta-\varphi)\pm\sqrt{a^2-r_0^2\sin^2(\theta-\varphi)\,}[/itex]​


Yes they're the same.
 
dluu said:
Yes they're the same.

No they aren't. Your original post left off the ##\pm## sign. You can use your professor's suggestion for ##r_{outer}^2-r_{inner}^2## using the plus or minus sign accordingly (I think).
 
LCKurtz said:
No they aren't. Your original post left off the ##\pm## sign. You can use your professor's suggestion for ##r_{outer}^2-r_{inner}^2## using the plus or minus sign accordingly (I think).

On wikipedia it says: "the solution with a minus sign in front of the square root giving the same curve"
http://en.wikipedia.org/wiki/Polar_coordinate_system

If they're the same curve then I wouldn't need to use ##r_{outer}^2-r_{inner}^2## would I?

What if my limits of integration was between these points? Which equations would I use?
Diagram of a circle in the first quadrant of x-y axes, with two rays from the origin, one labelled P and one labelled O, and the region between the rays inside the circle shaded green.
 
Last edited:
Yes. It's just like when you have a circle ##x^2+y^2=4## and you solve for the upper and lower curves ##y = \pm\sqrt{4-x^2}## for the separate equations of the upper and lower curve if you were going to find its area with a dydx integral. It's all the same circle, but different parts. Your r is apparently double valued function of ##\theta## just like a circle in xy is a double valued function of x. I say "apparently" because I have not myself derived that equation.
 
LCKurtz said:
Yes. It's just like when you have a circle ##x^2+y^2=4## and you solve for the upper and lower curves ##y = \pm\sqrt{4-x^2}## for the separate equations of the upper and lower curve if you were going to find its area with a dydx integral. It's all the same circle, but different parts. Your r is apparently double valued function of ##\theta## just like a circle in xy is a double valued function of x. I say "apparently" because I have not myself derived that equation.

Okay I'll try that way. So the picture of my previous post, would I use the -sqrt since its the lower curve?
 
dluu said:
Okay I'll try that way. So the picture of my previous post, would I use the -sqrt since its the lower curve?
As that math prof. said,

Using the plus sign of ±√, gives part (at least a little more than half) of the circle, which he called ro, for rOUTER . The minus sign of ±√, gives part of the circle he called ri for rINNER .

Find the area from the origin to rOUTER. Subtract from that the area from the origin to rINNER

Below is rOUTER .

Plot of a circular arc in blue on axes from 0 to 5.5, spanning roughly x 1.5 to 3.5 and y 3.7 to 5.3; x-axis labelled with t from π/3 − sin⁻¹(1/5) to π/3 + sin⁻¹(1/5).


Below is rINNER .

Plot of a circular arc in blue on axes from 0 to about 4.5, with the t range written as t from pi/3 minus arcsin(1/5) to pi/3 plus arcsin(1/5).


(From WolframAlpha)
 
Attachments
  • Plot of a partial circular arc in blue on axes ranging from 0.5 to 3.0 horizontally and 1 to 4 vertically, with the parameter range t from pi/3 - arcsin(1/5) to pi/3 + arcsin(1/5) noted below the axis.
    WA_r_inner.gif
    2.9 KB · Views: 994
  • Plot of a circular arc in blue on axes from 0 to 5, spanning roughly x 1.5 to 3.5 and y 3.7 to 5.3; x-axis caption reads t from π/3 − sin⁻¹(1/5) to π/3 + sin⁻¹(1/5).
    WA_r_outer.gif
    3.2 KB · Views: 1,033
Okay I understand now. This is the general equation I should be using throughout excel.

After working this out, I came to this equation. How do I integrate this?

Handwritten-style equation: A = 2r0 times the integral over theta of cos(theta - gamma) times the square root of (a^2 - r0^2 sin^2(theta - gamma)) d theta.
 
Handwritten-style derivation of an area integral in polar coordinates, A = 2r0 times the integral of cos(θ − γ) times the square root of a² − r0² sin²(θ − γ) dθ, rewritten step by step with substitution u = (r0/a) sin(θ − γ), du = (r0/a) cos(θ − γ) dθ, ending at A = (2/a²) times the integral of the square root of 1 − u² du.

Is this correct? Not sure where to go after this.

*ignore 2nd to last line*
 
dluu said:
SwPVm.png

Is this correct? Not sure where to go after this.

*ignore 2nd to last line*
It seems crazy, but the next thing to do is a trig substitution.

Let u = sin(t) ...
 
Thanks, I see how this works.

One more question. Are my trig identities correct where:
u = sin(theta-phi)
du = cos(theta-phi)
 
dluu said:
Thanks, I see how this works.

One more question. Are my trig identities correct where:
u = sin(theta-phi)
du = cos(theta-phi)
They're not really identities, and they're almost correct.

du = cos(theta-phi) d(theta)
 
SammyS said:
It seems crazy, but the next thing to do is a trig substitution.

Let u = sin(t) ...

I tried to do this and checked my math with Wolfram Alpha. I'm confused on one of the steps

Stacked step-by-step substitution back into the antiderivative, rewriting w = 2p, p = sin^-1(s), s = sin(u), and u = 1 - x, ending with a factored form of the answer.

*for some reason I input x-1 but it kept putting 1-x*

My question is how does this work?
sin(2p) ----> s√(1-s^2 )
 
Last edited:
So I checked my work on Wolfram and I think this is correct. But when I try to plug in values, they don't work.

I'm not sure what I'm doing wrong.

Here is my work

Handwritten derivation of an area integral in polar coordinates, reducing step by step from A = 2r0 integral of cos(theta - gamma) times a square root, through substitutions u and s = sin(u), to A = 2r0 squared integral of cos squared(p) dp, then A = 2r0 squared integral of (1/2 cos(2p) + 1/2) dp.

Handwritten-style typed derivation of an area A in polar coordinates, substituting p = sin^-1(s), s = (r0/a) sin(u) and u = theta - gamma, ending with A = 2r0^2(1/2 sin^-1((r0/a) sin(theta - gamma)) + (r0/2a) sin(theta - gamma) sqrt(1 - (r0^2/a^2) sin^2(theta - gamma))).
 
dluu said:
I tried to do this and checked my math with Wolfram Alpha. I'm confused on one of the steps
...

My question is how does this work?
sin(2p) ----> s√(1-s^2 )
If you're asking in regards to sin(2sin-1(s)), then the double angle formula for sine.

cos(sin-1(s))=√(1-s2) .