Register to reply

Integral for calculating length of the curve

by nawidgc
Tags: curve, integral, length
Share this thread:
nawidgc
#1
Sep26-12, 06:23 PM
P: 17
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.
Phys.Org News Partner Science news on Phys.org
Final pieces to the circadian clock puzzle found
A spray-on light show on four wheels: Darkside Scientific
How an ancient vertebrate uses familiar tools to build a strange-looking head
nawidgc
#2
Sep26-12, 06:29 PM
P: 17
Quote Quote by nawidgc View Post
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}
lugita15
#3
Sep29-12, 11:34 AM
P: 1,583
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.

nawidgc
#4
Sep30-12, 04:16 PM
P: 17
Integral for calculating length of the curve

Quote Quote by lugita15 View Post
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θ

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

I tried http://www.wolframalpha.com/input/?i...9+d%28theta%29 but the page times out. Do I need a pro version? Can this be done in Maxima?


Register to reply

Related Discussions
Calculating the length of a tangent curve Calculus 6
The equation for length of a curve: what are the integral ends? Calculus & Beyond Homework 3
Using integral to find length of curve Calculus & Beyond Homework 1
Find length of curve. Integral of sec? Calculus & Beyond Homework 2
Length of the curve integral, can't solve the integral Calculus & Beyond Homework 2