How To Integrate 1/[sqrt (x^2 + 3x + 2)] dx?

In summary, you integrate ##\frac{1}{\sqrt{x^2 + 3x + 2}} dx## by using trigonometric substitution and then factoring to get a difference of squares.
  • #1
askor
169
9
How do you integrate ##\frac{1}{\sqrt{x^2 + 3x + 2}} dx##?

I had tried using ##u = x^2 + 3x + 2## and trigonometry substitution but failed.

Please give me some clues and hints.

Thank you

mentor note: moved from a non-homework to here hence no template.
 
Physics news on Phys.org
  • #2
Complete the square.
 
  • Like
Likes jedishrfu
  • #3
This is my attempt for the completing the square:

##x^2 + 3x + 2 = 0##
##x^2 + 3x = -2##
##x^2 + 3x + 2.25 = -2 + 2.25##
##x^2 + 3x + 2.25 = 0.25##
##(x + 1.5)^2 = 0.25##
##x + 1.5 = \sqrt{0.25}##
##x + 1.5 = ± 0.5##
##x_{1,2} = (± 0.5) - 1.5##
##x_1 = 0.5 - 1.5 = -1##
##x_2 = -0.5 - 1.5 = -2##

Is this correct?

What is the next step?
 
  • #4
I think you've solved a quadratic equation there. You were only supposed to complete the square:
$$x^2 + 3x + 2 = (x+a)^2 - b^2$$
You need to find ##a## and ##b##.
 
  • #5
I can't find the "completing the square" in my algebra book. Please tell me what page of below attached algebra book about completing the square?

https://www.sendspace.com/file/o2yqxe

The only completing the square I found in the above book is what I wrote in post #3.
 
  • #6
It's what i put in post #4. Google if you want.

Getting rid of the linear term might be a better description.
 
  • #7
Try ##y=x+1.5## so you have ##\frac{dy}{\sqrt{y^2-0.25}}##. Trig substitution may work.
 
  • #8
factor the [itex] x^2 + 3x +2[/itex] into [itex] (x+2)(x+1)[/itex] and expand into partial fractions then use trig substitution.
 
  • #9
Dr Transport said:
factor the [itex] x^2 + 3x +2[/itex] into [itex] (x+2)(x+1)[/itex] and expand into partial fractions then use trig substitution.
I think the square root makes it so that partial fractions will not work, but trigonometric substitution after completing the square is straightforward. Edit: The trigonometric substitution is somewhat complicated. See also post 11.
 
Last edited:
  • #10
Related ##\int\frac{dx}{\sqrt{x^2-1}}=ln(x+\sqrt{x^2-1})##. I don't see any obvious simple method.
 
  • Like
Likes Charles Link
  • #11
mathman said:
Related ##\int\frac{dx}{\sqrt{x^2-1}}=ln(x+\sqrt{x^2-1})##. I don't see any obvious simple method.
The trigonometric substitution ## x=\sec{\theta} ## will work. I used the word straightforward in post 9, but upon working through it in detail, I see it involves computing ## \int \sec{\theta} \, d \theta ## which involves a "trick", so it is somewhat complicated.
 
  • #12
mathman said:
Related ##\int\frac{dx}{\sqrt{x^2-1}}=ln(x+\sqrt{x^2-1})##. I don't see any obvious simple method.
##x = \cosh u##

##\cosh^{-1}x = \ln(x + \sqrt{x^2 - 1})##
 
  • Like
Likes Charles Link
  • #14
askor said:
I can't find the "completing the square" in my algebra book. Please tell me what page of below attached algebra book about completing the square?
I looked at the link you posted, but I would have needed to download the book, and then search through it, which I don't care to do.

In your book, find the chapter or section that presents the Quadratic Formula. In that section of somewhere before it, they should talk about "Completing the Square." If your book lays out a derivation of the Quadratic Formula, it's done using the technique of completing the square.
 
  • Haha
Likes chwala
  • #15
Mark44 said:
I looked at the link you posted, but I would have needed to download the book, and then search through it, which I don't care to do.

In your book, find the chapter or section that presents the Quadratic Formula. In that section of somewhere before it, they should talk about "Completing the Square." If your book lays out a derivation of the Quadratic Formula, it's done using the technique of completing the square.
It's all over the Internet. Here, for example:

https://en.wikipedia.org/wiki/Completing_the_square
 
  • Informative
  • Like
Likes Grasshopper and Klystron
  • #16
askor said:
I can't find the "completing the square" in my algebra book. Please tell me what page of below attached algebra book about completing the square?

https://www.sendspace.com/file/o2yqxe

The only completing the square I found in the above book is what I wrote in post #3.
Hi! Disclaimer: I’m a student.

To complete the square, take the quantity x + half of the second term and square it. Then add the appropriate constant that keeps the polynomial the same.

For example:

##x^2 + bx + c = (x + \frac{b}{2} )^2 + c - \frac{b^2}{4}##
 
  • Like
Likes PeroK
  • #17
Hey what do you do after completing the square? Factoring this is actually really easy. Even doing a partial fraction is cake, under the radical. But I can’t see how that helps. Unless... I’m hoping completing the square leaves it in a useful form. Hmm...

I think you can get a difference of squares under the radical, since ##\frac{1}{4}## is a perfect square.

Maybe trig substitution then? Once you get it in the form of ##\frac{1}{\sqrt{a^2 - b^2}}##

But in this particular case I think a is actually a(x), so I think you’d have to do sub and then a trig sub, maybe.

This is a toughy.Edit - actually scratch that, cause I think only the form ##\frac{1}{\sqrt{1- x^2}}## would be useful for that.

Feel free to delete if this adds nothing. Fun problem.
 
  • #18
See posts 10, 11, and 12. The substitution of post 12 is perhaps the easiest.
 
  • #19
Thanks Charles. The only reason I didn’t utilize that was because it felt like it came from an integral table. But the sec substitution is probably one I should know, so disregard this haha.
 
  • #20
Grasshopper said:
Thanks Charles. The only reason I didn’t utilize that was because it felt like it came from an integral table. But the sec substitution is probably one I should know, so disregard this haha.
Yes, and to then do the complete calculation, you wind up integrating ## \int \sec{\theta} \, d \theta ##. That one involves a trick of multiplying numerator and denominator by ## \sec{\theta}+\tan{\theta} ## to get ## \int \frac{ d (\sec{\theta}+\tan{\theta})}{\sec{\theta}+\tan{\theta}}=\ln|\sec{\theta}+\tan{\theta} | ##. It's basically a trick, and without seeing it, you wouldn't be expected to be able to solve the integral ## \int \sec{\theta} \, d \theta ##.
 
  • Like
Likes Grasshopper
  • #21
I finally found how to completing the square of ##x^2 + 3x + 2##, and here is the result:

##(x + 1.5)^2 - (\sqrt{0.25})^2##

Am I correct?

If it correct, then

##\int \frac{1}{\sqrt{x^2 + 3x + 2}} dx##
## = \int \frac{1}{\sqrt{(x + 1.5)^2 - (\sqrt{0.25})^2}} dx##

Let ##u = x + 1.5##, then ##du = dx##

## = \int \frac{du}{\sqrt{u^2 - (\sqrt{0.25})^2}}##

What next?
 
Last edited:
  • Like
Likes Charles Link
  • #22
You might try computing ## \sqrt{0.25} ##. The result is simple.
 
  • #23
Charles Link said:
You might try computing ## \sqrt{0.25} ##. The result is simple.

##\sqrt{0.25} = 0.5##

so

## = \int \frac{du}{\sqrt{u^2 - (\sqrt{0.25})^2}}##
## = \int \frac{du}{\sqrt{u^2 - (0.5)^2}}##

What next?
 
  • #24
See posts 10,11, and 12. You also need the substitution ## u=x+1.5 ##
 
  • #25
askor said:
What next?
The simplest next step is essentially given by @PeroK in post 12: ## v=.5 \cosh{u} ##, but you need to show more effort here. PF rules are that the Homework Helper cannot supply the solution, and that is nearly happening here. See if you can solve it from here.
 
  • #26
Charles Link said:
Yes, and to then do the complete calculation, you wind up integrating ## \int \sec{\theta} \, d \theta ##. That one involves a trick of multiplying numerator and denominator by ## \sec{\theta}+\tan{\theta} ## to get ## \int \frac{ d (\sec{\theta}+\tan{\theta})}{\sec{\theta}+\tan{\theta}}=\ln|\sec{\theta}+\tan{\theta} | ##. It's basically a trick, and without seeing it, you wouldn't be expected to be able to solve the integral ## \int \sec{\theta} \, d \theta ##.
There's a less tricky way to integrate that.
$$\int \sec \theta\,d\theta = \int \frac 1{\cos \theta}\,d\theta = \int \frac {\cos\theta}{\cos^2 \theta}\,d\theta = \int \frac {\cos\theta}{1-\sin^2 \theta}\,d\theta$$ then use ##u=\sin\theta##.
 
  • Like
Likes docnet, SammyS and Charles Link
  • #27
Charles Link said:
The simplest next step is essentially given by @PeroK in post 12: ## v=.5 \cosh{u} ##, but you need to show more effort here. PF rules are that the Homework Helper cannot supply the solution, and that is nearly happening here. See if you can solve it from here.

Why use hyperbolic cos instead of standard/regular cos?
 
  • #28
vela said:
There's a less tricky way to integrate that.
$$\int \sec \theta\,d\theta = \int \frac 1{\cos \theta}\,d\theta = \int \frac {\cos\theta}{\cos^2 \theta}\,d\theta = \int \frac {\cos\theta}{1-\sin^2 \theta}\,d\theta$$ then use ##u=\sin\theta##.

You said use ##u = \sin \theta##, then the form will be changing like this:

##\int \frac{\cos \theta}{1 - u^2} d\theta##

What should I do with the ##\cos \theta##?
 
  • #29
askor said:
Why use hyperbolic cos instead of standard/regular cos?
Because you can. Try it both ways and see why you might choose one over the other.

askor said:
What should I do with the ##\cos \theta##?
Ask again after you finish rewriting everything in terms of ##u##.
 
  • #30
vela said:
Ask again after you finish rewriting everything in terms of ##u##.

I see.

If ##u = \sin \theta## then ##du = \cos \theta \, d \theta##

Then the form will be like this:

##\int \frac{du}{1 - u^2}##

What should I do next?

My brain is fatigue.
 
  • Haha
Likes chwala
  • #31
Take a break and try again later with fresh eyes.
 
  • Haha
Likes docnet
  • #32
vela said:
There's a less tricky way to integrate that.
$$\int \sec \theta\,d\theta = \int \frac 1{\cos \theta}\,d\theta = \int \frac {\cos\theta}{\cos^2 \theta}\,d\theta = \int \frac {\cos\theta}{1-\sin^2 \theta}\,d\theta$$ then use ##u=\sin\theta##.
Using ##\cosh## is about a hundred million time better. If you'll excuse the hyperbole!
 
  • Like
Likes Vanadium 50
  • #33
PeroK said:
Using ##\cosh## is about a hundred million time better. If you'll excuse the hyperbole!

How do you use ##\cosh##? Please show me an example.
 
  • #34
askor said:
How do you use ##\cosh##? Please show me an example.
Have the hyperbolic trig functions been presented to you, yet? If not, an example probably won't make much sense.
 
  • #35
PeroK said:
If you'll excuse the hyperbole!

I saw what you did there.
 
<H2>1. What is the process for integrating 1/[sqrt (x^2 + 3x + 2)] dx?</H2><p>The process for integrating this expression involves using a combination of substitution and integration by parts. First, substitute u = x^2 + 3x + 2 to simplify the expression to 1/sqrt(u). Then, use the substitution rule for integration to find the antiderivative. Finally, use integration by parts to solve for the integral.</p><H2>2. Can this integral be solved using basic integration rules?</H2><p>No, this integral cannot be solved using basic integration rules. It requires more advanced techniques such as substitution and integration by parts.</p><H2>3. What is the final answer to the integral of 1/[sqrt (x^2 + 3x + 2)] dx?</H2><p>The final answer will depend on the limits of integration. Without specific limits, the answer will be an indefinite integral in terms of u, the substituted variable. However, with specific limits, the answer can be evaluated to a numerical value.</p><H2>4. Are there any special cases or exceptions when integrating this expression?</H2><p>Yes, there are some special cases and exceptions when integrating this expression. For example, if the limits of integration include the point x = -1, the integral will be undefined due to the denominator becoming 0. Additionally, if the limits of integration are outside the domain of the original expression, the integral will also be undefined.</p><H2>5. What is the importance of integrating this expression in scientific research?</H2><p>This integral may arise in various scientific fields, such as physics and engineering, when solving problems involving motion, energy, or force. It is important for scientists to understand how to integrate this expression in order to accurately model and analyze physical phenomena.</p>

1. What is the process for integrating 1/[sqrt (x^2 + 3x + 2)] dx?

The process for integrating this expression involves using a combination of substitution and integration by parts. First, substitute u = x^2 + 3x + 2 to simplify the expression to 1/sqrt(u). Then, use the substitution rule for integration to find the antiderivative. Finally, use integration by parts to solve for the integral.

2. Can this integral be solved using basic integration rules?

No, this integral cannot be solved using basic integration rules. It requires more advanced techniques such as substitution and integration by parts.

3. What is the final answer to the integral of 1/[sqrt (x^2 + 3x + 2)] dx?

The final answer will depend on the limits of integration. Without specific limits, the answer will be an indefinite integral in terms of u, the substituted variable. However, with specific limits, the answer can be evaluated to a numerical value.

4. Are there any special cases or exceptions when integrating this expression?

Yes, there are some special cases and exceptions when integrating this expression. For example, if the limits of integration include the point x = -1, the integral will be undefined due to the denominator becoming 0. Additionally, if the limits of integration are outside the domain of the original expression, the integral will also be undefined.

5. What is the importance of integrating this expression in scientific research?

This integral may arise in various scientific fields, such as physics and engineering, when solving problems involving motion, energy, or force. It is important for scientists to understand how to integrate this expression in order to accurately model and analyze physical phenomena.

Similar threads

  • Calculus and Beyond Homework Help
2
Replies
54
Views
7K
  • Calculus and Beyond Homework Help
Replies
5
Views
955
  • Calculus and Beyond Homework Help
Replies
3
Views
237
  • Calculus and Beyond Homework Help
Replies
7
Views
606
  • Calculus and Beyond Homework Help
Replies
2
Views
244
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
705
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
613
Back
Top