206.8.4.35 integral complete the square

In summary, given:I_{35}=\int\frac{1}{\sqrt{x^2+2x+65}} \, dx$\text{complete the square}$x^2+2x+65 \implies x^2+2x+64+1\implies \left[x+1\right]^2+8^2$\text{u substitution }$x+1= 8 \tan\left({u}\right)du=8\sec{u}u=\arctan{\left(\frac{x+1}{8}\right)}$
  • #1
karush
Gold Member
MHB
3,269
5
$\tiny{206.8.4.35} \\
\text{given }$
$$\displaystyle
I_{35}=\int \frac{1}{\sqrt{x^2+2x+65}} \, dx = $$
$\text{complete the square} \\
x^2+2x+65 \implies x^2+2x+64+1
\implies \left[x+1\right]^2+8^2 \\$
$\text{u substitution } \\
\displaystyle x+1= 8 \tan\left({u}\right)
\therefore du=8\sec{u} \, du \\
u=\arctan{\left(\frac{x+1}{8}\right)}$
$$I_{35}=\int\frac{2\sec^2{u}}{8\sec{u}}\, du
= \frac{1}{4}u+C$$
$\text{back substitution } \\
I_{35}=\frac{1}{4} \arctan{\left(\frac{x+1}{8}\right)} + C$

mistake somewhere!
 
Last edited:
Physics news on Phys.org
  • #2
After your substitution, you should get:

\(\displaystyle I_{35}=\int \sec(u)\,du\)
 
  • #3
$\tiny{206.8.4.35} \\
\text{given }$
$$\displaystyle
I_{35}=\int \frac{1}{\sqrt{x^2+2x+65}} \, dx = $$
$\text{complete the square}$
$$ \\
x^2+2x+65 \implies x^2+2x+64+1
\implies \left[x+1\right]^2+8^2 \\$$
$\text{u substitution }$
$$
\displaystyle x+1= 8 \tan\left({u}\right)
\therefore du=8\sec^2{u} \, du \\
u=\arctan{\left(\frac{x+1}{8}\right)}$$
$$I_{35}=\int\frac{8\sec^2{u}}{8\sec{u}}\, du
\implies \int \sec{u} \, du =- \ln\left({\cos{u}}\right)-\ln\left({\sin\left({u}\right)-1}\right)+C$$
$\text{how do you back substitute into this } $
$$I_{35}=$$
 
Last edited:
  • #4
Your integration is incorrect...I would suggest using this:

\(\displaystyle I_{35}=\int \sec(u)\,du=\ln\left|\sec(u)+\tan(u)\right|+C\)

And then you can use the fact that if:

\(\displaystyle \tan(\theta)=\frac{a}{b}\)

then:

\(\displaystyle \sec(u)=\frac{\sqrt{a^2+b^2}}{b}\)
 
  • #5
$$u= \arctan\left(\frac{x+1}{8}\right)$$
Then
$$\tan\left({u}\right)=\frac{x+1}{8}=\frac{a}{b}$$
$$\displaystyle \sec(u)=\frac{\sqrt{a^2+b^2}}{b}=
\frac{\sqrt{(x+1)^2+8^2}}{8}$$
So then
$$I_{35}=\ln{\left[\frac{\sqrt{(x+1)^2+8^2}}{8}
+\frac{x+1}{8}\right]}+C$$
Hopefully. ...bar simplification
 
Last edited:
  • #6
karush said:
Ok but my TI returned
$$\int\sec{u} \, du
= \ln\left[{\frac{{-\cos\left({u}\right)}}
{\sin\left({u}\right)-1}}\right]+C$$
which may be the same thing

\(\displaystyle \frac{-\cos(u)}{\sin(u)-1}=\frac{\cos(u)}{1-\sin(u)}=\frac{\cos(u)}{1-\sin(u)}\cdot\frac{1+\sin(u)}{1+\sin(u)}=\frac{1+\sin(u)}{\cos(u)}=\sec(u)+\tan(u)\)

What you posted before though was not equivalent:

\(\displaystyle \ln\left|\frac{\cos(u)}{1-\sin(u)}\right|\ne-\ln\left|\cos(u)\right|-\ln\left|\sin(u)-1\right|\)
 
  • #7
I updated post 5 hope its correct
 
  • #8
karush said:
I updated post 5 hope its correct

Looks good, except use absolute value instead of brackets (since the log argument could be negative otherwise). Then combine terms, and then use a property of logs and the fact that a constant added/subtracted to/from an arbitrary constant is still an arbitrary constant. :D
 

Related to 206.8.4.35 integral complete the square

1. What is the purpose of completing the square in an integral?

Completing the square in an integral is a technique used to simplify the integration of polynomials with a quadratic term. It allows us to rewrite the polynomial in a form that is easier to integrate.

2. How do you complete the square in an integral?

To complete the square in an integral, you need to follow these steps:

  • 1. Identify the quadratic term in the polynomial.
  • 2. Take half of the coefficient of the linear term and square it.
  • 3. Add and subtract this value inside the integral.
  • 4. Rewrite the quadratic term as a perfect square and factor it out.
  • 5. Simplify the remaining terms and integrate.

3. Why is it important to complete the square in an integral?

Completing the square in an integral can make the integration process easier and more manageable. It can also help us solve integrals that would otherwise be challenging or impossible to solve.

4. Can you complete the square in an integral for any polynomial?

No, completing the square in an integral is only applicable to polynomials with a quadratic term. If the polynomial does not have a quadratic term, this technique cannot be used.

5. Are there any drawbacks to completing the square in an integral?

One potential drawback is that completing the square can add extra steps to the integration process. It may also involve more complex algebraic manipulation, which can be time-consuming and prone to errors. Additionally, this technique may not always yield the most efficient solution, so it is important to consider other integration methods as well.

Similar threads

  • Calculus
Replies
6
Views
1K
  • Calculus
Replies
2
Views
569
Replies
2
Views
989
Replies
1
Views
977
Replies
2
Views
1K
Replies
6
Views
3K
  • Calculus
Replies
2
Views
1K
Replies
16
Views
1K
  • Calculus
Replies
1
Views
1K
Back
Top