Where did I go wrong converting arctan(y/x) to polar coordinates?

  • Thread starter Thread starter Juggler123
  • Start date Start date
  • Tags Tags
    Error Polar
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
13 replies · 2K views
Juggler123
Messages
80
Reaction score
0
Evaluate the integral by changing to polar coordinates

[tex]\int\int arctan(y/x)[/tex]

Given that

0 [tex]\leq[/tex] x [tex]\leq[/tex] 1 and 0 [tex]\leq[/tex] y [tex]\leq[/tex] x

Now I've changed the integral to

[tex]\int\int \theta r dr d\theta[/tex]

Such that 0 [tex]\leq[/tex] [tex]\theta[/tex] [tex]\leq[/tex] [tex]\frac{\pi}{2}[/tex] and 0 [tex]\leq[/tex] r [tex]\leq[/tex] [tex]\sqrt{2}[/tex]

And evaluating this I get [tex]\frac{\pi^{2}}{8}[/tex]

I don't think this is correct though, I have found out that the answer is [tex]\frac{\pi}{8}[/tex] - 0.25ln(2)

Can someone show me where I'm going wrong please, thanks!

Sorry for the poor Latex-ing I've never used it before.
 
Physics news on Phys.org
Hi Juggler123! :smile:

(have an integral: ∫ and a pi: π and a theta: θ and a ≤ :wink:)

Sorry, but your limits are toooootally wrong. :redface:

0 ≤ x ≤ 1 and 0 ≤ y ≤ x is a 45º triangle with base 1.

So your limits are 0 ≤ θ ≤ 45º and 0 ≤ r ≤ … (depends on θ :wink:) ? :smile:
 
Would it be correct to say that the upper limit for r is 1/cos[tex]\theta[/tex] ?
 
Hi Juggler123! :smile:

(what happened to that θ i gave you? :confused:)
Juggler123 said:
Would it be correct to say that the upper limit for r is 1/cos[tex]\theta[/tex] ?

Noooo. :redface:
 
How can I go about finding the upper limit then? I used the fact that the maximum x=1=max.y then said x=rcos(theta) and rearranged, where have I gone wrong??
 
Sorry I'm still confused, why does knowing that on the right boundary x is always equal to 1?
 
oops!

Juggler123 said:
How can I go about finding the upper limit then? I used the fact that the maximum x=1=max.y then said x=rcos(theta) and rearranged, where have I gone wrong??

oh no, I had my diagram the wrong way up :redface: …

you were right, it is 0 ≤ r ≤ 1/cosθ.

Sorry. :redface:

ok, now integrate ∫∫ θr drdθ between those limits. :smile:​
 
Juggler123 said:
Sorry I'm still confused, why does knowing that on the right boundary x is always equal to 1?
Because, on that boundary x = 1 ==> rcos(θ) = 1, so r = 1/cos(θ).

It looks like you already understand this, based on another reply you gave.
 
Now I've stumbled across another problem!

How would I integrate x/(2cos(x)^2) w.r.t x
 
Juggler123 said:
Now I've stumbled across another problem!

How would I integrate x/(2cos(x)^2) w.r.t x
This is actually pretty simple.
[tex]\int \frac{x}{2cos^2x} dx~=~1/2\int x sec^2 x dx[/tex]
Edit: added missing x factor in right integral.
Hint: There is a trig function whose derivative wrt x is sec^2(x).
 
Last edited:
Isn't x/2cos(x)^2 equal to 0.5xsec(x)^2?? Not 0.5sec(x)^2
 
Right you are. The integral should be
[tex]\int \frac{x}{2cos^2x} dx~=~1/2\int x sec^2 x dx[/tex]
This looks like a natural for integration by parts, with u = x and dv = sec^2(x)dx.