#How to convert cartesian domain and ranges into polar
293 messages · Page 1 of 1 (latest)
How do I convert domains and ranges into complex domains? What about domains with infinite restrictions?
Hello!
Hi!
What do you mean by infinite restrictions?
You are talking about going from Cartesian to polar?
Stuff like $(-\infty ,x]$
Yes
cool looking building
That's no restriction. That's an interval involving infinity.
Oh
Ohh well we do parameterization for that. You know what it means
Uh
?
Okay so let me take an example.
Take a x, y Cartesian plane
Draw a circle of center O (centered at the origin)
You want to locate every point (x, y) on that circle
For now you’re following?
Yep.
What you would want to do is use the « Cartesian » equation of the circle.
$x^2 + y^2 = R^2$
AstroGuy
Yep
but it looks very messy so instead you transfer your Cartesian coordinates (x,y) to polar coordinates
You do it as follows:
$x=Rcos(\theta)$
$y=Rsin(\theta)$
AstroGuy
R represents the radius of the circle
And theta the angle at which the point on your circle is at from the positive x-axis
From the Cartesian equation:
$y=\pm \sqrt{R^2 -x^2}$
AstroGuy
By using Cartesian coordinates, every point has coordinates:
$M=(x, \pm \sqrt{R^2 - x^2})$
AstroGuy
But now transferring to polar you get:
$M=(Rcos(\theta), Rsin(\theta))$
AstroGuy
The new variable here is theta
Not x
x can go from -R to R that’s the domain if you stay on the circle
If x=R then:
R=Rcos(theta)
cos(theta)=1
theta=0, 2pi, 4pi
I think I lost you
Nah
The circle you see on the xy plane is a function y=+-sqrt(R^2-x^2)
If you stay in Cartesian
,w plot sqrt(1-x^2) from x=-1 to x=1
Yep
Only in terms of x
But we know
x=Rcos(theta)
And
y=Rsin(theta)
You can transfer to polar coordinates (theta)
Okay
,w plot sqrt(1-cos(theta)^2) from theta=0 to theta=pi
Okay wolfram Nevermind
So basically:
in Cartesian:
M=(x, +-sqrt(R^2 - x^2)
In polar:
M=(Rcos(theta), Rsin(theta))
You go from x to theta
Different variable
Okay
,w polar plot r = \sqrt( 1-cos(theta)^2) from theta = 0 to pi
Okay yeah that ahah
Not used to plot parametric with wolfram
xD
I know it may have been confusing the way I explained
It's all good, I think I got the gist of it
But your question was about domain
Remember that
x=Rcos(theta)
If x=R then:
R=Rcos(theta)
1=cos(theta)
theta=2kpi with k an integer
That’s how you get the corresponding domain
If you know the domain of x then you know the domain of theta
Yeah
Okay, how can this apply to unrestricted domain?
What do you mean unrestricted domain
Once you know the relation between x and theta then you know everything
Ah okay
Ywah
Replace x by 0
You get 0= 2 * theta
then theta=0
So the lower bound of the domain for theta is also 0
then replace x by +infinity
+infinity = 2 * theta
theta= + infinity / 2 = +infinity
So theta belongs to [0, +infinity[
Same domain
Okay
In that case x and theta have the same domain
Okay, cool
It’s just about knowing: when x= something what is theta equal to?
Yup
Alright, nice
Yeah, I'm asking this because I'm stumped on an integral
Uhuh
If one of the bounds of a definite integral is x, do I just substitute in 2\theta?
Yes
Yeah, makes sense
Okay, so put x and y into terms of one cartesian vsriable, and just convert to polar is the gist of this, right?
you mean you have x and y. And you wonder if you should convert them to polar?
I'm wondering if the process of converting a domain/range into polar is just putting both cartesian coordinates into terms of one variable, snd then converting to polar.
Well if you put them both into terms of one variable then you already transferred your coordinates to another coordinate system
In this case polar system
your new variable becomes theta
Oh, I mean converting x into terms of y or y into terms of x
No, u good
For some integrals, yes it is better to express y(x)
Then convert x into polar
$\int_0^{R} ydx$
AstroGuy
That will give you area between the curve y and the x axis
From x=0 to x=R
Now it’s time to write y(x)
$\int_0^{R} \sqrt{R^2-x^2}dx$
AstroGuy
You understand for now?
Yeah
Im still in Cartesian so I don’t touch to the bounds yet
Now it’s time to switch to polar using the parameterization:
x=Rcos(theta)
$dx=-Rsin(\theta)d\theta$
You understand this part?
AstroGuy
Okay, so how do we make that conversion of the differential?
Yes, I'm aware, but why not just do $R\sin(d\theta?)$
cool looking building
Because that’s not what dx is equal to
Look:
$x=Rcos(\theta)$
AstroGuy
Then:
$\frac{dx}{d\theta}=-Rsin(\theta)$
AstroGuy
Yeah I agree
Then:
$dx=-Rsin(\theta)d\theta$
AstroGuy
Ohhh
You see?
Yeah, I see now
You can start from the derivative
Then multiply by d(theta) to get dx
Now the bounds
$\int_0^{R} \sqrt{R^2-x^2}dx$
AstroGuy
x=0 to x=R you agree?
Yep
Okay
If x=R then:
R=Rcos(theta)
1=cos(theta)
theta=0
Yeah
Okay so now we have everything
You plug everything
It becomes:
$\int_\frac{\pi}{2}^{0} \sqrt{R^2 - R^2cos(\theta)^2}(-Rsin(\theta))d\theta$
Oh wait
AstroGuy
Do you agree with that
Yeah
You sure?
100%
Okay okay
We can rearrange this integral
It becomes:
$-R^2 \int_\frac{\pi}{2}^{0} \sqrt{1- cos(\theta)^2}sin(\theta))d\theta$
AstroGuy
Thay makes sense
But there is an identity that says:
sqrt(1-cos^2)=sin(theta)
So we get:
$-R^2\int_\frac{\pi}{2}^{0} sin(\theta)^2d\theta$
AstroGuy
Yep
1-cos²theta
$sin(\theta)^2 = \frac{1 -cos(2\theta)}{2}$
AstroGuy
This one
Oh
Plug that in your integral
$-R^2 \int_\frac{\pi}{2}^{0} \frac{1 -cos(2\theta)}{2}d\theta$
AstroGuy
Alr
Yeah
And the negative sign of R^2
You can switch the bounds
$\frac{R^2}{2} \int_ 0^{\frac{\pi}{2}} (1 -cos(2\theta))d\theta$
AstroGuy
Here
Wiat what do you do with the negative sign on -R²?
$-\int_{a}^{b} dx = \int_{b}^{a} dx$
AstroGuy
Yeah that’s what I did
You went from this:
$-R^2 \int_\frac{\pi}{2}^{0} \frac{1 -cos(2\theta)}{2}d\theta$
AstroGuy
To this:
$\frac{R^2}{2} \int_ 0^{\frac{\pi}{2}} (1 -cos(2\theta))d\theta$
AstroGuy
Okay, so I have no idea what to do with the $1-\cos(2\theta)$
cool looking building
Now you integrate
u substitution?
Ohh okay
So integral of (1-cos(2x)) is..
1\theta - 1/2\sin(2\theta)
Yes
So get me that integral value now
$\frac{R^2}{2} [\theta - \frac{1}{2}sin(2\theta)]_{0}^{\frac{\pi}{2}}$
You agree with that ?
Now one last step
You can do it
AstroGuy
Yeah I was working it out
$\frac{R^2\pi}{4}$?
cool looking building
Yes!
Exactly!
because we computed the integral of sqrt(R^2-x^2) from x=0 to x=R
,w plot sqrt(R^2 - x^2) from x=0 to x=R
That’s what we did
That’s a quarter of a circle
So piR^2/4
To get half a circle you would go from x=-R to x=R
,w plot sqrt(R^2 - x^2) from x=-R to x=R
But since we chose x=0 to x=R we get a quarter of a circle area
Now if you go from theta=0 to theta=2pi
You get pi * R^2
A full circle
Yeah
$\frac{R^2}{2} [\theta - \frac{1}{2}sin(2\theta)]_{0}^{2\pi}$
AstroGuy
Just change the bounds of this
And you get what you want
This gives piR^2
Because the bounds are 0 and 2pi
Did you understand everything so far?
Yes
It's alr
Anything else I could help you with?
Nah, ty bro
Take care
And have a good day/afternoon/night
You too bro
.close