# Variational Formulation in Polar Coordinates

**URL:** <https://community.freefem.org/t/variational-formulation-in-polar-coordinates/395>\
**Category:** General Discussion\
**Created:** [May 7, 2020, 4:24am UTC](https://community.freefem.org/t/variational-formulation-in-polar-coordinates/395 "2020-05-07T04:24:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kevinmo08](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/kevinmo08/32/217_2.png) [@kevinmo08](https://community.freefem.org/u/kevinmo08)\
**Post date:** [May 8, 2020, 4:59am UTC](https://community.freefem.org/t/variational-formulation-in-polar-coordinates/395/2 "2020-05-08T04:59:56Z")

</div>

I’m realizing now that the solution in the example does have the jacobian in it, but for some reason my correct equation below is still not working. Are there other issues with polar coordinates I am not aware of?

```auto
0 = int2d(Th)(x^2*(a*dx(u)*dx(v) + dy(u)*dy(v) )) // bilinear form 
	+ int2d(Th)( (x^2*cos(y)*dx(u)*v + x*cos(y)*v*u) // linear form

+ any boundary conditions.

```

---

_[View the full topic](https://community.freefem.org/t/variational-formulation-in-polar-coordinates/395)._
