Curve for a line integral - direction confusion

  • #1
laser
104
17
Homework Statement
description
Relevant Equations
description
Screenshot_3.png


When I take ##x = 2\cos(t)## and ##y = 2\sin(t)##, the integral becomes ##\int_{t=\frac{\pi}{2}}^0 4(2\cos(t))^2 \cdot 2 dt = -8\pi##. The final answer is ##8\pi##. Why is my method wrong?

I played around with desmos and the parameterisation seems correct: https://www.desmos.com/calculator/fgid1zbbir (starting at ##\frac{\pi}{2}## and ending at ##0##.

Question/Answer source: https://tutorial.math.lamar.edu/Solutions/CalcIII/LineIntegralsPtI/Prob9.aspx
 
  • Like
Likes docnet
Physics news on Phys.org
  • #2
You are integrating counter-clockwise. Not clockwise as specified
 
  • #3
Orodruin said:
You are integrating counter-clockwise. Not clockwise as specified
But if ##t## starts at ##\frac{\pi}{2}## and ends at ##0## it is clockwise, no?
 
  • #4
laser said:
But if ##t## starts at ##\frac{\pi}{2}## and ends at ##0## it is clockwise, no?
It's counter-clockwise.

##(2\sin(0),2\cos(0))=(0,2)## and ##(2\sin(\frac{\pi}{2}),2\cos(\frac{\pi}{2}))=(2,0).##
 
  • #5
laser said:
But if ##t## starts at ##\frac{\pi}{2}## and ends at ##0## it is clockwise, no?
Yes you are right. I read a bit fast. However, the integral is wrt ds, not ##d\theta##
 
  • Like
Likes docnet
  • #6
docnet said:
It's counter-clockwise.

##(2\sin(0),2\cos(0))=(0,2)## and ##(2\sin(\frac{\pi}{2}),2\cos(\frac{\pi}{2}))=(2,0).##
Those are not my ##x## and ##y##! I chose ##x=2\cos(x)##, NOT ##x=2\sin(x)##!!
 
  • Like
Likes docnet
  • #7
Orodruin said:
Yes you are right. I read a bit fast. However, the integral is wrt ds, not ##d\theta##
##ds## is always positive though - I don't know why my answer is incorrect. i.e. ##ds=2dt## and my limits for ##t## are as shown.
 
  • #8
laser said:
##ds## is always positive though - I don't know why my answer is incorrect. i.e. ##ds=2dt## and my limits for ##t## are as shown.
Because if you integrate from pi/2 to 0, dt is negative
 
  • Like
Likes docnet
  • #9
laser said:
Those are not my ##x## and ##y##! I chose ##x=2\cos(x)##, NOT ##x=2\sin(x)##!!
oh sorry, I'm very tired. I'm going to make myself log off right now.
 
  • #10
laser said:
##ds## is always positive though - I don't know why my answer is incorrect. i.e. ##ds=2dt## and my limits for ##t## are as shown.

But if you take [itex](x,y) = (2\cos t, 2 \sin t)[/itex] then the curve starts with [itex]s = 0[/itex] at [itex]t = \frac \pi 2[/itex] and ends with [itex]s = 2(\pi/2) = \pi[/itex] when [itex]t = 0[/itex]. The parametrization in terms of arclength is then not [itex]s = 2t[/itex] but [itex]s = \pi - 2t[/itex] so that [itex]ds/dt = -2[/itex]. Hence [tex]\begin{split}
\int_0^{\pi} f(x(s),y(s))\,ds &= \int_{\pi/2}^0 f(x(s(t)),y(s(t))) \frac{ds}{dt}\,dt \\
&= - \int_0^{\pi/2} f(x(s(t)),y(s(t))) (-2)\,dt \\
&= 2\int_0^{\pi/2} f(x(s(t)),y(s(t)))\,dt.\end{split}[/tex]
 
  • Like
Likes laser

Similar threads

Replies
1
Views
1K
Replies
2
Views
1K
Replies
12
Views
2K
Replies
9
Views
663
Replies
1
Views
952
Back
Top