Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

What is the polar form for a superellipse with semidiameters $a$ and $b$, centered at a point $(r_0, θ_0)$, with the $a$ semidiameter at an angle $\varphi$ relative to the polar axis?

share|improve this question

1 Answer 1

For a regular ellipse oriented with the major axis along $x$, Wikipedia gives $r=\frac{ab}{\sqrt{(b\cos \theta)^2+(a \sin \theta)^2}}$. To rotate this by $\theta_0$, just subtract from $\theta$ giving $r=\frac{ab}{\sqrt{(b\cos (\theta-\theta_0))^2+(a \sin (\theta-\theta_0))^2}}$. To make it a superellipse, just change the exponent to $n$ giving $r=\frac{ab}{\sqrt[n]{|b\cos (\theta-\theta_0)|^n+|a \sin (\theta-\theta_0)|^n}}$. Translations are hard in polar coordinates, so I would give up and go to Cartesian.

share|improve this answer
1  
Insert absolute value signs where needed... :) –  J. M. Oct 26 '11 at 17:09
    
@J.M.: Good point. Inserted –  Ross Millikan Oct 26 '11 at 17:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.