Simple integral in cylindrical coordinates

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
Vagrant
Messages
195
Reaction score
1

Homework Statement


As a part of bigger HW problem, I need to calculate the integral:
[itex]\oint[/itex][[itex]\hat{r}[/itex]+[itex]\hat{z}[/itex]]d[itex]\phi[/itex]

Homework Equations





The Attempt at a Solution



In cylindrical coordinates:
=[[itex]\hat{r}[/itex]+[itex]\hat{z}[/itex]] [itex]\oint[/itex]d[itex]\phi[/itex]
=2∏[[itex]\hat{r}[/itex]+[itex]\hat{z}[/itex]]

On the other hand if I convert it to Cartesian coordinates:
[itex]\oint[/itex][cos[itex]\phi[/itex][itex]\hat{x}[/itex]+sin[itex]\phi[/itex][itex]\hat{y}[/itex]+ [itex]\hat{z}[/itex]]d[itex]\phi[/itex]
=2∏[itex]\hat{z}[/itex]

So, what is it that I am doing wrong in the case with cylindrical coordinates? I'm sure I'm missing something very basic.
Thanks.
 
Physics news on Phys.org
Vagrant said:

Homework Statement


As a part of bigger HW problem, I need to calculate the integral:
[itex]\oint[/itex][[itex]\hat{r}[/itex]+[itex]\hat{z}[/itex]]d[itex]\phi[/itex]

Homework Equations





The Attempt at a Solution



In cylindrical coordinates:
=[[itex]\hat{r}[/itex]+[itex]\hat{z}[/itex]] [itex]\oint[/itex]d[itex]\phi[/itex]
=2∏[[itex]\hat{r}[/itex]+[itex]\hat{z}[/itex]]

On the other hand if I convert it to Cartesian coordinates:
[itex]\oint[/itex][cos[itex]\phi[/itex][itex]\hat{x}[/itex]+sin[itex]\phi[/itex][itex]\hat{y}[/itex]+ [itex]\hat{z}[/itex]]d[itex]\phi[/itex]
=2∏[itex]\hat{z}[/itex]

So, what is it that I am doing wrong in the case with cylindrical coordinates? I'm sure I'm missing something very basic.
Thanks.
[itex]\hat{r}[/itex] is a function of [itex]\phi\ .[/itex]
 
Sorry, but could you please explain this a bit?
I can visualize that [itex]\hat{r}[/itex] is a function of [itex]\phi[/itex](unit circle on x-y plane centered at origin) for cartesian coordinates, but I'm drawing a blank when it comes to cylindrical coordinates.