Integral for calculating length of the curve

  • Context: Graduate 
  • Thread starter Thread starter nawidgc
  • Start date Start date
  • Tags Tags
    Curve Integral Length
Click For Summary

Discussion Overview

The discussion revolves around calculating the length of a curve defined by a parametric equation using an integral approach. Participants explore the application of the arc length formula in polar coordinates and seek an explicit expression for the integral over varying limits.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a parametric equation for a curve and seeks to calculate its length between specified limits using the arc length formula.
  • Another participant notes that the integral cannot be expressed in terms of elementary functions and suggests the use of special functions, specifically the incomplete elliptical integral of the second kind.
  • There is a correction regarding the derivative of r with respect to θ, where one participant updates their earlier claim about the expression for dr/dθ.
  • Some participants mention using software tools like MATLAB and Mathematica for evaluating the integral, while questioning the feasibility of using WolframAlpha and Maxima for this purpose.

Areas of Agreement / Disagreement

Participants generally agree that the integral cannot be expressed in elementary terms and that special functions are required. However, there is no consensus on the specific methods or tools for evaluating the integral, and some uncertainty remains regarding the correct expression for dr/dθ.

Contextual Notes

Limitations include the dependence on special functions for evaluation, the need for corrections in derivative expressions, and unresolved issues regarding the computational tools mentioned.

nawidgc
Messages
24
Reaction score
0
I have a curve defined by following parametric equation:

\begin{equation}
\gamma(\theta) = 1 + 0.5 \times \cos (N \theta) (\cos(\theta),\sin(\theta)), 0 \leq \theta \leq 2 \pi \
\end{equation}

I need to calculate the length of the curve between say θ = 0 to θ = 1.0
Formula for calculating the arc length of a curve in polar form is well known (see http://mathworld.wolfram.com/ArcLength.html Eq. 17 therein). Using this formula

\begin{equation}
s = \int\limits_{\theta = 0}^{\theta = 1.0} \sqrt{r^2 +\left(\frac{dr}{d\theta}\right)^2}
\end{equation}

where for N = 10, r is given as

\begin{equation}
r = 1 + 0.5 \times \cos(10 \theta)
\end{equation}

and

\begin{equation}
\frac{dr}{d\theta} = -0.5 \times \sin(10\theta)
\end{equation}

The problem is I can't evaluate the integral in Eq. 17 from the Mathworks link for the above equation explicitly. Obviously one can use Matlab ( with trapz command ) to evaluate the integral for given limits but I want an explicit expression for the indefinite integral in terms of generic θ1 and θ2 ( I have hundreds of such integrals to evaluate and difference between θ1 and θ2 is not constant) How do I evaluate the integral? Is there a substitution possible?

Many thanks for help.
 
Physics news on Phys.org
nawidgc said:
I have a curve defined by following parametric equation:

\begin{equation}
\gamma(\theta) = 1 + 0.5 \times \cos (N \theta) (\cos(\theta),\sin(\theta)), 0 \leq \theta \leq 2 \pi \
\end{equation}

I need to calculate the length of the curve between say θ = 0 to θ = 1.0
Formula for calculating the arc length of a curve in polar form is well known (see http://mathworld.wolfram.com/ArcLength.html Eq. 17 therein). Using this formula

\begin{equation}
s = \int\limits_{\theta = 0}^{\theta = 1.0} \sqrt{r^2 +\left(\frac{dr}{d\theta}\right)^2}
\end{equation}

where for N = 10, r is given as

\begin{equation}
r = 1 + 0.5 \times \cos(10 \theta)
\end{equation}

and

\begin{equation}
\frac{dr}{d\theta} = -0.5 \times \sin(10\theta)
\end{equation}

The problem is I can't evaluate the integral in Eq. 17 from the Mathworks link for the above equation explicitly. Obviously one can use Matlab ( with trapz command ) to evaluate the integral for given limits but I want an explicit expression for the indefinite integral in terms of generic θ1 and θ2 ( I have hundreds of such integrals to evaluate and difference between θ1 and θ2 is not constant) How do I evaluate the integral? Is there a substitution possible?

Many thanks for help.

I missed dθ in Eq. (2) in my post above. The second equation should read

\begin{equation}
s = \int\limits_{\theta = 0}^{\theta = 1.0} \sqrt{r^2 +\left(\frac{dr}{d\theta}\right)^2} d\theta
\end{equation}
 
The desired integral can't be expressed in terms of elementary functions; you need special functions, specifically the incomplete elliptical integral of the second kind. See this WolframAlpha link and this Mathworld page. In order to evaluate this special function, you can do this in MATLAB or this in Mathematica.
 
lugita15 said:
The desired integral can't be expressed in terms of elementary functions; you need special functions, specifically the incomplete elliptical integral of the second kind. See this WolframAlpha link and this Mathworld page. In order to evaluate this special function, you can do this in MATLAB or this in Mathematica.

There was an error in dr/dθ:redface:

\begin{equation}
\frac{dr}{d\theta} = -5*\sin(10\theta)
\end{equation}

I tried http://www.wolframalpha.com/input/?i=integrate+sqrt%28%281%2B.5*cos%28N*theta%29%29^2%2B%28-N%2F2*sin%28N*theta%29%29^2%29+d%28theta%29 but the page times out. Do I need a pro version? Can this be done in Maxima?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K