R^2 -> R^2 transformation of unit circle into square.

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 6K views
glog
Messages
17
Reaction score
0
I have a unit circle:
x^2+y^2 <= 1

And I'm asked to convert it to a square with verticies (0,0),(0,1),(1,0),(1,1).

Now obviously I have to do this in polar coordinates, so I've rewritten the equation as:

x = cos t
y = sin t

I'm sort of drawing a blank after setting up these equations. How can I convert this curve into straight lines. Any suggestions?
 
Physics news on Phys.org
Those aren't really polar coordinates, they're parametric. Converting your unit circle equation into a polar equation would yield, [tex]r=\pm\sqrt{\frac{1}{2cos^2(\theta)}[/tex], to make this into a square, you'll have to convert this polar equation to a parametric equation.
 
Oops, I just noticed I did something wrong, I'll try to fix it.
 
Okay, I think I found my problem...
What you need to do is to convert the parametric equation you have into a polar parametric equation. The answer I got was:
[tex]r=\pm\sqrt{cos^4(T)+sin^2(T)}[/tex]
[tex]\theta=tan^{-1}(tan(T)[/tex]

This simplifies to four x-y parametric equations with constraints:

[tex]-1\leq T \leq1 for X_1,X_2,Y_3,Y_4[/tex]

[tex]T=0 for Y_1,Y_2,X_3,X_4[/tex]

[tex]X_1=tan^{-1}(tan(T))[/tex]
[tex]Y_1=\sqrt{cos^4(T)+sin^2(T)}[/tex]

[tex]X_2=tan^{-1}(tan(T))[/tex]
[tex]Y_2=-\sqrt{cos^4(T)+sin^2(T)}[/tex]

[tex]X_3=\sqrt{cos^4(T)+sin^2(T)}[/tex]
[tex]Y_3=tan^{-1}(tan(T))[/tex]

[tex]X_4=-\sqrt{cos^4(T)+sin^2(T)}[/tex]
[tex]Y_4=tan^{-1}(tan(T))[/tex]
 
Last edited: