Completing A Square and Trig Sub

  • Context: MHB 
  • Thread starter Thread starter Nick Cutaia
  • Start date Start date
  • Tags Tags
    Square Trig
Click For Summary

Discussion Overview

The discussion revolves around the integration of the expression $\int \sqrt{x^2 + 4x + 5} \,dx$, focusing on techniques such as completing the square and trigonometric substitutions. Participants explore various substitution methods and integration techniques, including hyperbolic functions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant completes the square for the integral, transforming it into $\int\sqrt{(x+2)^2 + 1} \,dx$ and suggests a trigonometric substitution.
  • Another participant proposes a hyperbolic sine substitution as an alternative to the trigonometric approach.
  • A participant expresses confusion about how to apply the hyperbolic sine substitution, indicating a preference for the tangent substitution.
  • Integration by parts is suggested as a method to integrate $\sec^3\theta$, but the hyperbolic sine substitution is noted as potentially more effective.
  • Further elaboration on the hyperbolic sine substitution is provided, including the resulting integral $\int\cosh^2\theta\,\mathrm d\theta$ and the use of integration by parts.
  • Another participant reiterates the hyperbolic substitution and clarifies that it can be applied similarly to the tangent substitution, emphasizing the relationship between hyperbolic functions.

Areas of Agreement / Disagreement

Participants present multiple approaches to the integration problem, including trigonometric and hyperbolic substitutions. There is no consensus on which method is superior, and some participants express uncertainty about the application of the hyperbolic sine substitution.

Contextual Notes

Some participants express confusion regarding the integration of $\sec^3\theta$ and the application of hyperbolic substitutions, indicating a need for clarity on these techniques. The discussion includes various assumptions about the appropriateness of different substitution methods.

Nick Cutaia
Messages
2
Reaction score
0
I have a problem with the integration of $\int \sqrt{x^2 +4x +5} \,dx$

I first started by completing the square ${x}^{2} +4x + 5 = {x}^{2} +4x +4 - 4 +5 $

After I completed the square the integral became $\int\sqrt{{x}^{2} +4x +4 - 4 +5}\, dx = \int\sqrt{{x+2}^{2}+1} \,dx$

Then I did a trig sub: $\tan\theta = x + 2 \qquad x = \tan\theta - 2 \qquad dx = \sec^2\theta \,d\theta$

Substituting we get: $\int\sqrt{\tan^2\theta+1} \,dx = \sec^3\theta \,d\theta$

And this is where I have been getting stuck. I have forgotten how to integrate $\sec^3\theta$
 
Last edited by a moderator:
Physics news on Phys.org
Hi Nick Cutaia! Welcome to MHB! (Wave)

Well, I don't remember a $\sec^3$ either...
Instead I suggest a $\sinh$ substitution.
 
I assumed an a*tan\theta would be the substitution for a \sqrt{x2 + a2} integral.

I'm not following how I would use a sinh substitution.
 
Hi Nick Cutaia,

To integrate $\sec^3x$, the trick is to use integration by parts, letting $u=\sec x$ and $dv=\sec^2x$, however, ILS's suggestion of a $\sinh x$ subustitution is most likely better.
 
The sinh substitution definitely leads to a "cleaner" re-substitution of variables.

After the sub you have

$$\int\cosh^2\theta\,\mathrm d\theta$$

Now use integration by parts with $$dv=\cosh\theta\,\mathrm d\theta$$ and $$u=\cosh\theta$$, and the identity $$\sinh^2\theta=\cosh^2\theta-1$$.

Note that $$\dfrac{\mathrm d\cosh\theta}{\mathrm d\theta}=\sinh\theta$$ and $$\dfrac{\mathrm d\sinh\theta}{\mathrm d\theta}=\cosh\theta$$.
 
greg1313 said:
The sinh substitution definitely leads to a "cleaner" re-substitution of variables.

After the sub you have

$$\int\cosh^2\theta\,\mathrm d\theta$$

Now use integration by parts with $$dv=\cosh\theta\,\mathrm d\theta$$ and $$u=\cosh\theta$$, and the identity $$\sinh^2\theta=\cosh^2\theta-1$$.

Note that $$\dfrac{\mathrm d\cosh\theta}{\mathrm d\theta}=\sinh\theta$$ and $$\dfrac{\mathrm d\sinh\theta}{\mathrm d\theta}=\cosh\theta$$.

Or even easier, make use of the double angle identities: $\displaystyle \begin{align*} \cosh{(2x)} \equiv 2\cosh^2{(x)} - 1 \end{align*}$ and $\displaystyle \begin{align*} \sinh{(2x)} \equiv 2\sinh{(x)}\cosh{(x)} \end{align*}$ :)
 
Nick Cutaia said:
I assumed an a*tan\theta would be the substitution for a \sqrt{x2 + a2} integral.

I'm not following how I would use a sinh substitution.

The way to substitute it is the same: $x+2=\sinh\theta$.
It works because we have $\cosh^2\theta-\sinh^2\theta=1$.

Similarly we should use the $\sin$ substitution when we have $\sqrt{1-x^2}$.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K