Help!!! Trigonometric Substitution! Integral (x/sqrt(x^2 - 4x + 8)
\[\int\limits \frac{ x }{ \sqrt{x^{2}-4x+8} }dx\]
I know that, \[x=2\tan \theta + 2\]
\[dx=2\sec^2 \theta d \theta \]
I'm curious how you're approaching this. I would start by completing the square in the denominator. Makes it easier to see the substitution. \[\Large \int\limits \frac{x}{\sqrt{(x-2)^2+4}}dx\]
Yeah! I did that, too!
ok cool :)
Hmm yah your sub looks good so far. Just having trouble plugging everything in or what? :o
Yeah, that's my problem!
Let's get this last little piece of information:\[\Large x=2\tan \theta+2 \qquad\to\qquad (x-2)=2\tan \theta\] I only placed the brackets there so it's easier to see where we're going to place it in the integral.
\[\large \int\limits\limits \frac{x}{\sqrt{(x-2)^2+4}}dx \qquad\to\qquad \int\limits\limits \frac{2\tan \theta+2}{\sqrt{(2\tan \theta)^2+4}}(2\sec^2\theta\;d \theta)\]
Understand how those are plugging in? :o We had 3 pieces of information we had to use to make that substitution.
Yeah, so far, so good! :-)
\[\Large \int\limits \frac{2\tan \theta+2}{\sqrt{4\tan^2\theta+4}}(2\sec^2\theta \;d \theta)\]Hmm looks like we'll have some nice cancellations from here.
Okay, you cancel out \[4\tan^2 \theta \]
with \[2\sec^2 \theta\]
Right?
Sorry for the delay :( OpenStudy crashing again.. grr \[\large \int\limits\limits \frac{2\tan \theta+2}{\sqrt{4(\tan^2\theta+1)}}(2\sec^2\theta \;d \theta) \quad=\quad \int\limits\limits \frac{2\tan \theta+2}{\sqrt{4(\sec^2\theta)}}(2\sec^2\theta \;d \theta)\]\[\large =\int\limits \frac{2\tan \theta+2}{2\sec \theta}(2\sec^2\theta\;d \theta)\]
So it looks like it will only cancel out with one of the secants up top right? Because we had to take the square root in the bottom, losing a power.
Yes! I think so, too!
Mmm ok that simplified down a bit for us!\[\Large \int\limits (2 \tan \theta+2)(\sec \theta\; d \theta)\]
Don't we have to do the right triangle?
At some point, yes we'll need to do that. Whether now or later, it doesn't matter.
I think this is the relationship we'll want to draw, yes?\[\Large \tan \theta= \frac{x-2}{2}\]
|dw:1379275583046:dw|Understand how to label this triangle? :)
I do! But for this problem in specific, I'm not sure how I will label it
\[\Large x=2\tan \theta+2 \qquad\to\qquad \tan \theta=\frac{x-2}{2}=\frac{opposite}{adjacent}\]
Go it! So the will the hypotenuse be \[\sqrt{x^2-4x+8}\]
?
ya looks good.
Okay, now, how do you get to the final answer?
We don't want to use the triangle just yet though! :O Our integral is written in terms of trig functions (which will make the integration step much easier for us). After we integrate, we can undo our substitutions by using the triangle.
\[\Large \int\limits\limits (2 \tan \theta+2)(\sec \theta\; d \theta) \quad=\quad 2\int\limits \sec \theta \tan \theta+ \sec \theta \;d \theta\]
Remember how to integrate those two terms or no? :D
I would be great if we can go over them again! I just want to make sure that I fully understand the concept!
It would*
There's not much to the first term, just something to remember.\[\Large (\sec \theta)' \quad=\quad \sec \theta \tan \theta\] Does that look familiar? :o
Yes, it does!
Again for this other term, it's one that you'll simply want to memorize:\[\Large \int\limits \sec \theta\; d \theta \qquad=\qquad \ln\left|\sec \theta+\tan \theta\right|\]We can go through the steps if you want, but there's not a lot of intuition in solving it.
Okay, got it!
When do you we use the right triangle in order to arrive to the final answer?
The answer is supposed to be \[2\ln(\sqrt{x^2-4x+8}+x-2)+ \sqrt{x^2-4x+8}\] \]
So we integrated getting:\[\large 2\int\limits \sec \theta \tan \theta + \sec \theta\; d \theta \qquad=\qquad 2\left[\sec \theta+\ln\left(\sec \theta+\tan \theta\right)\right]+C\]
Now we can finally use our triangle.
We already have tangent, right? \(\Large \dfrac{x-2}{2}\) We'll also need to figure out secant from the triangle we set up.
Still confused on that integration step? :3
No, I got it!
Proceed
based on our triangle we drew, it looks like:\[\large \sec \theta\quad=\quad \frac{\sqrt{x^2-4x+8}}{2}\]Hmm the square root bar is tweaking out on me -_- should be above the entire numerator there.
Okay!
So we just need to use those relationships to undo our substitutions now:\[\Large 2\color{#CC0033}{\sec \theta}+2\ln\left(\color{#CC0033}{\sec \theta}+\color{#3366CF}{\tan \theta}\right)+C\]
\[\Large 2\color{#CC0033}{\frac{\sqrt{x^2-4x+8}}{2}}+2\ln\left(\color{#CC0033}{\frac{\sqrt{x^2-4x+8}}{2}}+\color{#3366CF}{\tan \theta}\right)+C\]
Understand how to replace the tangent also?
I do! So, the 2's cancel out, and the final answer is \[2\ln (\sqrt{x^2-4x+8}+x-2)+\sqrt{x^2-4x+8}\]
Rigth?
yah the 2's cancel out in that term. Where did the 2 inside the log go? :o hmm
We should have:\[\large 2\ln\left(\frac{\sqrt{x^2-4x+8}+x-2}{2}\right)+\sqrt{x^2-4x+8}+C\]
To match the answer in the book or whatever, we would need to apply another step. We need to use a rule of logarithms.\[\large \log\left(\frac{a}{b}\right) \quad=\quad \log(a)-\log(b)\]
Oh, okay! But the answer we got is correct, right?
\[2\ln\left(\sqrt{x^2-4x+8}+x-2\right)\color{orangered}{-2\ln(2)}+\sqrt{x^2-4x+8}+\color{orangered}{C}\] From here 2ln(2) is just a constant so we can absorb it into the C.
Yah our answer was correct :) No need to go any further unless you want to.
Makes it a little tricky when the books oversimplify these things lol
Oh wow! Really, THANK YOU SO MUCH for all the time you spend! I sincerely appreciate it! You were really clear and had patient! I now understand! THANK YOU! :-)
yay team \c:/ np!
Join our real-time social learning platform and learn together with your friends!