#How to convert cartesian domain and ranges into polar

293 messages · Page 1 of 1 (latest)

lucid boltBOT
strange belfry
#

How do I convert domains and ranges into complex domains? What about domains with infinite restrictions?

strange belfry
#

Hi!

vivid mantle
wide widget
strange belfry
manic canyonBOT
#

cool looking building

vivid mantle
wide widget
strange belfry
#

Uh

wide widget
#

?

wide widget
#

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?

strange belfry
#

Yep.

wide widget
#

What you would want to do is use the « Cartesian » equation of the circle.

#

$x^2 + y^2 = R^2$

manic canyonBOT
#

AstroGuy

wide widget
#

You know that equation

#

?

strange belfry
#

Yep

wide widget
#

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)$

manic canyonBOT
#

AstroGuy

wide widget
#

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}$

manic canyonBOT
#

AstroGuy

wide widget
#

By using Cartesian coordinates, every point has coordinates:

$M=(x, \pm \sqrt{R^2 - x^2})$

manic canyonBOT
#

AstroGuy

wide widget
#

But now transferring to polar you get:

$M=(Rcos(\theta), Rsin(\theta))$

manic canyonBOT
#

AstroGuy

wide widget
#

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

strange belfry
#

Nah

wide widget
#

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

wide widget
#

Here

#

If R=1

#

You have this

#

,w plot -sqrt(1-x^2) from x=-1 to x=1

wide widget
#

That’s the bottom part of the circle

#

You see I used Cartesian

strange belfry
#

Yep

wide widget
#

Only in terms of x

#

But we know
x=Rcos(theta)

And

y=Rsin(theta)

#

You can transfer to polar coordinates (theta)

strange belfry
#

Okay

wide widget
#

,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

strange belfry
#

Okay

normal frost
wide widget
#

Not used to plot parametric with wolfram

normal frost
#

xD

wide widget
strange belfry
wide widget
#

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

strange belfry
#

Yeah

wide widget
#

x=1 => theta=2kpi

#

You just substitute

strange belfry
#

Okay, how can this apply to unrestricted domain?

wide widget
#

Once you know the relation between x and theta then you know everything

strange belfry
#

Ah okay

wide widget
#

Imagine

x=2 * theta

#

x belongs to [0, +infinity[

#

For now you follow?

strange belfry
#

Ywah

wide widget
#

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

strange belfry
#

Okay

wide widget
#

In that case x and theta have the same domain

strange belfry
#

Okay, cool

wide widget
#

It’s just about knowing: when x= something what is theta equal to?

strange belfry
#

Yeah, that makes sense

#

About range, do we apply the same logic to y?

wide widget
#

Yup

strange belfry
#

Alright, nice

wide widget
#

And it is very very useful for integrals

#

You know about integrals

#

?

strange belfry
#

Yeah, I'm asking this because I'm stumped on an integral

wide widget
#

Ohhh

#

Okay then you must be wondering what bounds to put on the integrals

strange belfry
#

Uhuh

wide widget
#

You do as I did

#

If x=3 then theta=…

#

If x=1 then theta =…

#

You switch

strange belfry
#

If one of the bounds of a definite integral is x, do I just substitute in 2\theta?

wide widget
#

Yes

strange belfry
#

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?

wide widget
#

you mean you have x and y. And you wonder if you should convert them to polar?

strange belfry
wide widget
#

In this case polar system

#

your new variable becomes theta

strange belfry
#

Oh, I mean converting x into terms of y or y into terms of x

wide widget
#

Ohhhh

#

Sorry

strange belfry
#

No, u good

wide widget
#

For some integrals, yes it is better to express y(x)

#

Then convert x into polar

#

$\int_0^{R} ydx$

manic canyonBOT
#

AstroGuy

wide widget
#

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$

manic canyonBOT
#

AstroGuy

wide widget
#

You understand for now?

strange belfry
#

Yeah

wide widget
#

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?

manic canyonBOT
#

AstroGuy

strange belfry
#

Okay, so how do we make that conversion of the differential?

wide widget
#

You express dx in terms of dtheta

#

Then you plug in the integral

strange belfry
#

Yes, I'm aware, but why not just do $R\sin(d\theta?)$

manic canyonBOT
#

cool looking building

wide widget
#

Look:

#

$x=Rcos(\theta)$

manic canyonBOT
#

AstroGuy

wide widget
#

Then:

$\frac{dx}{d\theta}=-Rsin(\theta)$

manic canyonBOT
#

AstroGuy

wide widget
#

Derivative of x with respect to theta

#

You agree with this?

strange belfry
wide widget
#

Then:

$dx=-Rsin(\theta)d\theta$

manic canyonBOT
#

AstroGuy

strange belfry
#

Ohhh

wide widget
#

You see?

strange belfry
#

Yeah, I see now

wide widget
#

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$

manic canyonBOT
#

AstroGuy

wide widget
#

x=0 to x=R you agree?

strange belfry
#

Yep

wide widget
#

So use x=Rcos(theta)

#

If x=0:

0=Rcos(theta)

#

Then theta=pi/2

#

You agree?

strange belfry
#

Okay

wide widget
#

If x=R then:

R=Rcos(theta)
1=cos(theta)
theta=0

strange belfry
#

Yeah

wide widget
#

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

manic canyonBOT
#

AstroGuy

wide widget
#

Do you agree with that

strange belfry
#

Yeah

wide widget
#

You sure?

strange belfry
#

100%

wide widget
#

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$

manic canyonBOT
#

AstroGuy

strange belfry
#

Thay makes sense

wide widget
#

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$

manic canyonBOT
#

AstroGuy

wide widget
#

Much simpler

#

More beautiful

strange belfry
#

Yep

wide widget
#

And what is the identity for sin^2

#

You might know it

strange belfry
#

1-cos²theta

wide widget
#

$sin(\theta)^2 = \frac{1 -cos(2\theta)}{2}$

manic canyonBOT
#

AstroGuy

wide widget
#

This one

strange belfry
#

Oh

wide widget
#

Plug that in your integral

#

$-R^2 \int_\frac{\pi}{2}^{0} \frac{1 -cos(2\theta)}{2}d\theta$

manic canyonBOT
#

AstroGuy

wide widget
#

There

#

You can solve that now

#

I count on you

#

It’s like a puzzle

strange belfry
#

Alr

wide widget
#

You can get the 1/2 out

#

Because it’s a constant

strange belfry
#

Yeah

wide widget
#

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$

manic canyonBOT
#

AstroGuy

wide widget
#

Here

strange belfry
#

Wiat what do you do with the negative sign on -R²?

wide widget
strange belfry
#

Wait, switching the bounds negates the integral, right?

#

Yeah

manic canyonBOT
#

AstroGuy

wide widget
#

You went from this:

$-R^2 \int_\frac{\pi}{2}^{0} \frac{1 -cos(2\theta)}{2}d\theta$

manic canyonBOT
#

AstroGuy

wide widget
#

To this:

$\frac{R^2}{2} \int_ 0^{\frac{\pi}{2}} (1 -cos(2\theta))d\theta$

manic canyonBOT
#

AstroGuy

strange belfry
#

Okay, so I have no idea what to do with the $1-\cos(2\theta)$

manic canyonBOT
#

cool looking building

wide widget
#

Now you integrate

strange belfry
#

u substitution?

wide widget
#

No

#

Just integrate it

#

You know how to do it..?

strange belfry
#

Nope 😭💔

#

I'm 15, I only know small fragments of calculus

wide widget
#

It’s okayyy

#

Integral of cos(2x) is (1/2)sin(2x)

strange belfry
#

Ohh okay

wide widget
#

So integral of (1-cos(2x)) is..

strange belfry
#

1\theta - 1/2\sin(2\theta)

wide widget
#

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

manic canyonBOT
#

AstroGuy

strange belfry
#

Yeah I was working it out

wide widget
#

Okay okay my bad

#

And tell me the final value once you’re done

strange belfry
#

$\frac{R^2\pi}{4}$?

manic canyonBOT
#

cool looking building

wide widget
#

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

wide widget
#

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

wide widget
#

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

strange belfry
#

Yeah

wide widget
#

$\frac{R^2}{2} [\theta - \frac{1}{2}sin(2\theta)]_{0}^{2\pi}$

manic canyonBOT
#

AstroGuy

wide widget
#

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?

strange belfry
#

Yes

wide widget
#

Yayyyyy

#

Happy happy happy

wide widget
#

I know..

strange belfry
#

It's alr

wide widget
#

Anything else I could help you with?

strange belfry
#

Nah, ty bro

wide widget
#

Alright I’ll close this channel

#

Take care

strange belfry
#

Take care

wide widget
#

And have a good day/afternoon/night

strange belfry
#

You too bro

wide widget
#

.close