Integral - Length of cardioid arc question

Click For Summary
SUMMARY

The discussion focuses on calculating the length of the cardioid defined by the polar equation r(θ) = 1 + cos(θ) using the integral formula ∫_{0}^{2π} √(r² + (dr/dθ)²) dθ. The user initially miscalculated the integral, leading to a result of zero, while Mathematica correctly computes it as 4√2. The oversight was identified as neglecting the absolute value of sin(θ) when taking the square root, which is crucial for accurately evaluating the integral over the specified range.

PREREQUISITES
  • Understanding of polar coordinates and cardioid equations
  • Knowledge of integral calculus, specifically definite integrals
  • Familiarity with trigonometric identities and properties
  • Experience using computational tools like Mathematica for integral evaluation
NEXT STEPS
  • Study the properties of polar curves and their arc lengths
  • Learn about the application of absolute values in integrals involving trigonometric functions
  • Explore advanced techniques for evaluating definite integrals, including symmetry arguments
  • Investigate the use of Mathematica for solving complex integrals and verifying results
USEFUL FOR

Students and educators in mathematics, particularly those focusing on calculus and polar coordinates, as well as anyone interested in computational methods for integral evaluation.

karkas
Messages
131
Reaction score
1

Homework Statement


Hey all, I'm trying to calculate the length of the cardioid r(θ)=1+cosθ (polar coordinates) and I figured I'd try to do it in one integral from 0 to 2Pi.

Homework Equations


So the integral is \int_{0}^{2\pi} \sqrt{r^2 + (\frac{dr}{d\theta})^2}d\theta

The Attempt at a Solution


and it becomes \int_{0}^{2\pi} \sqrt{1+cos\theta} d\theta which becomes I've found
\int_{0}^{2\pi} \sqrt{1+cos\theta} d\theta = \int_{0}^{2\pi} \frac{sin\theta}{\sqrt{1-cos\theta}} d\theta = 2\sqrt{1-cos\theta} |_{0}^{2\pi}

but that gives me 0 , although I run it through mathematica and it gives me 4sqrt{2}. Why?
 
Last edited:
Physics news on Phys.org
\int_0^{2\pi} \sqrt{r^2 + (\frac{dr}{d\theta})^2}d\theta = \int_0^{2\pi} \sqrt{(1+cos\theta)^2 + sin^2\theta} d\theta = \int_0^{2\pi} \sqrt{2+2cos\theta}d\theta

Edit: Although this oversight is not enough to fix the problem. The integral is clearly always positive thus it can't be zero. You can note that the integral between 0 and 2pi is symmetric around pi and thus integrate 2\int_0^{\pi} \sqrt{2+2cos\theta}d\theta. Something generally goes wrong when you try to do these integrals of trig functions between k and k+2pi, although I'm not sure exactly why that is; maybe somebody else more knowledgeable can help explain why.
 
Last edited:
Poopsilon said:
\int_0^{2\pi} \sqrt{r^2 + (\frac{dr}{d\theta})^2}d\theta = \int_0^{2\pi} \sqrt{(1+cos\theta)^2 + sin^2\theta} d\theta = \int_0^{2\pi} \sqrt{2+2cos\theta}d\theta

Edit: Although this oversight is not enough to fix the problem. The integral is clearly always positive thus it can't be zero. You can note that the integral between 0 and 2pi is symmetric around pi and thus integrate 2\int_0^{\pi} \sqrt{2+2cos\theta}d\theta. Something generally goes wrong when you try to do these integrals of trig functions between k and k+2pi, although I'm not sure exactly why that is; maybe somebody else more knowledgeable can help explain why.


Thanks for answering,
yep I left the sqrt2 factor out because the real problem is the \int_{0}^{2\pi} \sqrt{1+cos\theta} d\theta. I know, and by taking limits as 0 and pi/2 I can find a non-zero answer, but does mathematica do the same thing or am I missing something?
 
karkas said:
Thanks for answering,
yep I left the sqrt2 factor out because the real problem is the \int_{0}^{2\pi} \sqrt{1+cos\theta} d\theta. I know, and by taking limits as 0 and pi/2 I can find a non-zero answer, but does mathematica do the same thing or am I missing something?

<br /> \int_{0}^{2\pi} \sqrt{1+cos\theta} d\theta = \int_{0}^{2\pi} \frac{|sin\theta|}{\sqrt{1-cos\theta}} d\theta

You took a square root of sin^2\theta and left out the absolute value. That's what's going wrong.
 
Ah I tend to ignore these restrictions because I've been heavily working with indefinite integrals. So I break the integral into two others depending on where sin(theta) is positive or not and add them?
 
karkas said:
Ah I tend to ignore these restrictions because I've been heavily working with indefinite integrals. So I break the integral into two others depending on where sin(theta) is positive or not and add them?

Sure.
 
Dick said:
Sure.

Ok thanks, rock on!
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K