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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to convert the 2D Gaussian function in to polar coordinates?

$$\frac{1}{2\pi\sigma^2}\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}\exp\big(-({(x-\mu_x)^2+(y-\mu_y)^2})/{2\sigma^2}\big) \,\mathrm{d}x\,\mathrm{d}y $$

share|cite|improve this question
You would want your pole to be at $(\mu_x, \mu_y)$, so $x = \mu_x + r \cos \theta$ and similarly for $y$. – Sammy Black Jun 8 '11 at 5:16
up vote 1 down vote accepted

Hint: There are many symmetries at work here. What if $\mu _x = \mu _y = 0$?

share|cite|improve this answer
No it is not the case $$\mu _x != \mu _y $$ – shaikh Jun 8 '11 at 6:44
@shaikh: you missed the point - you can let them both be 0 without any problem to at least discover what to do. This is completely y symmetric around $\mu_y$ and completely x symmetric around $\mu_x$. I will also mention that you are probably familiar with the fact that $\int e^{- (x - \mu_x)^2} dx = \int e^{- x^2}$. – mixedmath Jun 8 '11 at 6:51
but $$ \mu _x, \mu _y $$ are important in my case – shaikh Jun 8 '11 at 7:01
@shaikh: that's fine - then you should probably move the x and y polar coordinates by their respective mu... – mixedmath Jun 8 '11 at 7:03

Your Answer


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.