# An integration problem using trigonometric substitution

#### mech-eng

Problem Statement
I cannot deal with this integration. $\int\sqrt{1+y^2}$
Relevant Equations
$\int\sqrt{1+y^2}$
$tan\theta=3y$
This is the integral I try to take. $\int\sqrt{1+9y^2}$ and $9y^2=tan^2\theta$ so the integral becomes $\int\sqrt{1+tan^2\theta}=\sqrt {sec^2\theta}$. Now I willl calculate dy.

$tan\theta=3y$ and $y=\frac {tan\theta}3$ and $dy=\frac{1+tan^2\theta}3$

Here is where I can only reach. I can't go any further.

Thanks.

Related Calculus and Beyond Homework News on Phys.org

#### vela

Staff Emeritus
Homework Helper
This is the integral I try to take. $\int\sqrt{1+9y^2}$ and $9y^2=tan^2\theta$ so the integral becomes $\int\sqrt{1+tan^2\theta}=\sqrt {sec^2\theta}$. Now I willl calculate dy.

$tan\theta=3y$ and $y=\frac {tan\theta}3$ and $dy=\frac{1+tan^2\theta}3$
You need a factor of $d\theta$ on the last part.

Here is where I can only reach. I can't go any further.
Why not? What's stopping you?

#### tnich

Homework Helper
It seems to me that your integral should include a $dy$. You can easily state $dy$ in terms of $sec\theta$. You are almost there already.
Have you thought about the limits of integration?

#### Orodruin

Staff Emeritus
Homework Helper
Gold Member
2018 Award
Maybe it is only me, but I would use a hyperbolic substitution rather than a trigonometric one ...

#### ehild

Homework Helper
I would try integration by parts
$\int(\sqrt{1+y^2}) (1)dy$

#### mech-eng

$tan\theta=3y$; so $\frac{1+tan^2d\theta}3=dy$ which is also equal to $\frac {sec^2\theta}3d\theta=dy$

Now I obtained $d\theta$ and I will write the integral transformation.

$\int{ \sqrt{1+tan^2\theta} \frac {1+tan^2\theta}3d\theta }$

$\int\sqrt{sec^2\theta}\frac{sec^2\theta}3 d\theta$

But here I am confused by this integral. I write everything. I cannot do next step.

Last edited:

#### Ray Vickson

Homework Helper
Dearly Missed
$tan\theta=3y$; so $\frac{1+tan^2d\theta}3=dy$ which is also equal to $\frac {sec^2\theta}3d\theta=dy$

Now I obtained $d\theta$ and I will write the integral transformation.

$\int{ \sqrt{1+tan^2\theta} \frac {1+tan^2\theta}3d\theta }$

$\int\sqrt{sec^2\theta}\frac{sec^2\theta}3 d\theta$

But here I am confused by this integral. I write everything. I cannot do next step.
Well, if a trigonometric substitution gets you nowhere, why not take the advice of Ordruin in #4 and use a hyperbolic substitution instead?

#### ehild

Homework Helper
$\int\sqrt{sec^2\theta}\frac{sec^2\theta}3 d\theta$

But here I am confused by this integral. I write everything. I cannot do next step.
Is not it
$\int\frac{|sec^3(\theta)|}{3} d\theta$

#### mech-eng

Is not it
$\int\frac{|sec^3(\theta)|}{3} d\theta$
Yes, that is exactly right. But I can't see the next step. And integrating an absolute value is a little confusing to me.

#### ehild

Homework Helper
Yes, that is exactly right. But I can't see the next step. And integrating an absolute value is a little confusing to me.
Just ignore the absolute value sign for the time being.
There is a method to integrate rational functions of sin(x), cos(x), tan(x), by expressing them in terms of tan(x/2), and then using the substitution u=tan(x/2), so x=2 arctan(u),
dx = 2/(1+u2)du.
You will get a rational function to integrate.
$\cos(x)=\frac{1-u^2}{1+u^2}$
$\sin(x)=\frac{2u}{1+u^2}$
(check!)
Now you have the integral
$\int {\frac{1}{\cos^3\theta}d\theta}$
which becomes $\int{(\frac{1+u^2}{1-u^2})^3\frac{2}{1+u^2}du}$.
You are able to integrate it by decomposing into partial fractions.
This method is a bit complicated, so I suggest to use @Orodruin's hyperbolic substitution, or integrating by parts.

#### tnich

Homework Helper
You can also integrate $\sec^3\theta$ by parts. This breaks it down into functions that you probably already know how to integrate.

#### Orodruin

Staff Emeritus
Homework Helper
Gold Member
2018 Award
@mech-eng You have reacted to the latest posts, does that mean that you have solved your issues? If so it is informative to tell us about it and if not we need to know where you are still stuck. I still suggest that the easiest route is a hyperbolic substitution.

#### mech-eng

I will turn back. I still look at some concepts and complete my integration knowledge. Sorry for such delays. For exampl I don't know how to take integral of $\sec^3\theta$ by parts.

#### Mark44

Mentor
I will turn back. I still look at some concepts and complete my integration knowledge. Sorry for such delays. For exampl I don't know how to take integral of $\sec^3\theta$ by parts.
Your textbook might have this integral, either in a table of integrals or as an example of using integration by parts.

#### Ray Vickson

Homework Helper
Dearly Missed
I will turn back. I still look at some concepts and complete my integration knowledge. Sorry for such delays. For exampl I don't know how to take integral of $\sec^3\theta$ by parts.
What I fail to understand is why, oh why, you refuse to look at the simplest solution, but insist, stubbornly, to stick to just about the hardest way so solve the problem! If your aim is to develop skills at integration, the absolutely best way is to learn to be flexible: if one way is too hard or is taking too long, try something else.

Several of us have suggested you look at hyberbolic substitution instead of a trigonometric one. I can even offer a hint: the identity $\cosh^2 u - \sinh^2 u = 1$ allows us to write $1+y^2 = \cosh^2 u$ when we take $y = \sinh u.$

#### mech-eng

There is a worked example in Calculus with Analytical Geometry by Howard Anton, 3rd edition. It introduces "reduction formulas" as this form.

$\int sec^nx~~dx=\frac {sec^{n-2}tanx}{n-1} + \frac{n-2}{n-1} \int sec^{n-2}xdx$

And in a previous section, the author gives it as an exercise to derive the reduction formula.

And I can't also figure out why my latex code does not work.

Using the formula: $\frac13 \int sec^3 \theta=\frac13 \frac{sec\theta tan\theta}{n-1}+ \frac{n-2}{n-1} \int{sec \theta dx}$

Last edited:

#### tnich

Homework Helper
There is a worked example in Calculus with Analytical Geometry by Howard Anton, 3rd edition. It introduces "reduction formulas" as this form.

$\int sec^nx~~dx=\frac {sec^{n-2}tanx}{n-1} + \frac{n-2}{n-1} \int sec^{n-2}xdx$

And in a previous section, the author gives it as an exercise to derive the reduction formula.

And I can't also figure out why my latex code does not work.

Using the formula: $\frac13 \int sec^3 \theta=\frac13 \frac{sec\theta tan\theta}{n-1}+ \frac{n-2}{n-1} \int{sec \theta dx}$
That is getting you closer to an answer, though as others point out, it may be easier to use hyperbolic functions. If you continue this route, you are missing a factor of $\frac 1 3$ on the last term.

#### mech-eng

I will arrive at a result but now the problem is that after $tan\theta=3y$ substitution, how can I express $sec\theta$ in terms of y?

Thank you.

#### Orodruin

Staff Emeritus
Homework Helper
Gold Member
2018 Award
I will arrive at a result but now the problem is that after $tan\theta=3y$ substitution, how can I express $sec\theta$ in terms of y?

Thank you.
Trigonometric identities. How is sec related to tan?

#### mech-eng

Trigonometric identities. How is sec related to tan?
Since sec=$\frac 1{cos}~~and~~tan=\frac {sin}{cos}$ then $tan={sinsec}$ but I don't know how to use this for $y=3tan \theta$

#### Orodruin

Staff Emeritus
Homework Helper
Gold Member
2018 Award
No, you need a trigonometric identity involving just tan and sec. Hint: You have already used it in this thread.

#### mech-eng

No, you need a trigonometric identity involving just tan and sec. Hint: You have already used it in this thread.
This is might be the identiy required: $\sec^2\theta=1+tan^2\theta$ but I can't use it to manipulate $sec\theta tan\theta$. I need more guidance.

#### Orodruin

Staff Emeritus
Homework Helper
Gold Member
2018 Award
but I can't use it to manipulate $sec\theta tan\theta$
Why not? It is perfectly possible. You know what $\sec\theta$ is in terms of $\tan\theta$ and you know what $\tan\theta$ is in terms of $y$, so where is the problem?

#### vela

Staff Emeritus
Homework Helper
This is might be the identiy required: $\sec^2\theta=1+tan^2\theta$ but I can't use it to manipulate $sec\theta tan\theta$. I need more guidance.
Sometimes if you can't see how to proceed, it's worth it just to try something and see where it leads. It seems like you didn't even give it a shot here.

Anyway, here's an easy way to figure out what $\sec \theta$ is in terms of $y$. The substitution was $\tan \theta = 3y = \frac{y}{1/3}$, which corresponds to the right triangle below.

It's straightforward to write $\sec\theta$ as a ratio of two sides of the triangle.

#### HappyS5

I am a bit confused. Why are people substituting $3y = tan(\theta)$

I would substitute $y=tan(\theta)$, and the deivative is $\frac{dy}{dx} = tan^2(\theta) + 1 = sec^2(\theta)$. The final setup $dy = sec^2(\theta) d \theta$.

$\int \sqrt(1 + y^2) dy = \int \sqrt(1 + tan^2(\theta)) \cdot sec^2(\theta) d\theta = \int sec^3(\theta) d\theta$

Now, I would use a reduction formula or integration by parts to solve the problem futher. The reduction formula can be derived by the integration by parts method.

"An integration problem using trigonometric substitution"

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving