Solveeit Logo

Question

Question: Evaluate the following integral \[\int{\left( x-3 \right)\sqrt{{{x}^{2}}+3x-18}dx}\]...

Evaluate the following integral
(x3)x2+3x18dx\int{\left( x-3 \right)\sqrt{{{x}^{2}}+3x-18}dx}

Explanation

Solution

Whenever we have to evaluate integration that involves terms under square root, we always try to assume terms under square root a new variable, say tt . Now, at this step we will try to make the whole integral in terms of tt . For that we try to have the differentiation of x2+3x18{{x}^{2}}+3x-18 outside the square root so that we can easily convert the integral with respect to tt.

Complete step by step answer:
Consider the given integral,
(x3)x2+3x18dx\int{\left( x-3 \right)\sqrt{{{x}^{2}}+3x-18}dx}
The given integrand seems complicated, we cannot directly integrate it. We have to simplify it, so that we can integrate it.
The integrand involves a big term under square root, so to simplify it, first we will assume the big term a new variable, say tt ,
Let, x2+3x18=t{{x}^{2}}+3x-18=t
Now, differentiating with respect to x''x'' on both the sides, we get,
(2x+3)dx=dt\left( 2x+3 \right)dx=dt
Now, we have to we’ll try to make 2x+32x+3 outside the integration so that, we can easily convert the integral in terms of tt ,
Since, we have to twice of xx , so we will first multiply and the integral the integral by 2 and get,
12(2x6)x2+3x18dx\dfrac{1}{2}\int{\left( 2x-6 \right)\sqrt{{{x}^{2}}+3x-18}dx}
Now, we also need +3+3 after 2x2x , so we will subtract and add 33 to 2x62x-6 , and get,
12(2x+39)x2+3x18dx\dfrac{1}{2}\int{\left( 2x+3-9 \right)\sqrt{{{x}^{2}}+3x-18}dx}
Now, we will separate the terms,
12(2x+3)x2+3x18dx92x2+3x18dx\dfrac{1}{2}\int{\left( 2x+3 \right)\sqrt{{{x}^{2}}+3x-18}}dx-\dfrac{9}{2}\int{\sqrt{{{x}^{2}}+3x-18}dx}
Now, convert the first integral in terms of tt and leave the second integral as it is, and get,
12tdt92x2+3x18dx\dfrac{1}{2}\int{\sqrt{t}dt}-\dfrac{9}{2}\int{\sqrt{{{x}^{2}}+3x-18}dx}
Integrate the first integral and write the second integral as(using the completing the square method),
13t3292(x+32)2(92)2dx\dfrac{1}{3}{{t}^{\dfrac{3}{2}}}-\dfrac{9}{2}\int{\sqrt{{{\left( x+\dfrac{3}{2} \right)}^{2}}-{{\left( \dfrac{9}{2} \right)}^{2}}}dx}
Now, put the value of t in the first term and get,
13(x2+3x18)3292(x+32)2(92)2dx\dfrac{1}{3}{{\left( {{x}^{2}}+3x-18 \right)}^{\dfrac{3}{2}}}-\dfrac{9}{2}\int{\sqrt{{{\left( x+\dfrac{3}{2} \right)}^{2}}-{{\left( \dfrac{9}{2} \right)}^{2}}}dx}
We know the formula of integration that,
x2a2dx=x2x2a2a22lnx+x2a2+C\int{\sqrt{{{x}^{2}}-{{a}^{2}}}dx}=\dfrac{x}{2}\sqrt{{{x}^{2}}-{{a}^{2}}}-\dfrac{{{a}^{2}}}{2}\ln \left| x+\sqrt{{{x}^{2}}-{{a}^{2}}} \right|+C
Applying this formula in the last step, we get

& \dfrac{1}{3}{{\left( {{x}^{2}}+3x-18 \right)}^{\dfrac{3}{2}}}-\dfrac{9}{2}\left[ \dfrac{\left( x+\dfrac{3}{2} \right)}{2}\sqrt{{{\left( x+\dfrac{3}{2} \right)}^{2}}-{{\left( \dfrac{9}{2} \right)}^{2}}}-\dfrac{{{\left( \dfrac{9}{2} \right)}^{2}}}{2}\ln \left| \left( x+\dfrac{3}{2} \right)+\sqrt{{{\left( x+\dfrac{3}{2} \right)}^{2}}-{{\left( \dfrac{9}{2} \right)}^{2}}} \right| \right]+C \\\ & =\dfrac{1}{3}{{\left( {{x}^{2}}+3x-18 \right)}^{\dfrac{3}{2}}}-\dfrac{9}{8}\left[ \left( 2x+3 \right)\sqrt{{{x}^{2}}+3x-18}-\dfrac{81}{2}\ln \left| \left( x+\dfrac{3}{2} \right)+\sqrt{{{x}^{2}}+3x-18} \right| \right]+C \\\ \end{aligned}$$ **Hence, $$\int{\left( x-3 \right)\sqrt{{{x}^{2}}+3x-18}dx}=\dfrac{1}{3}{{\left( {{x}^{2}}+3x-18 \right)}^{\dfrac{3}{2}}}-\dfrac{9}{8}\left[ \left( 2x+3 \right)\sqrt{{{x}^{2}}+3x-18}-\dfrac{81}{2}\ln \left| \left( x+\dfrac{3}{2} \right)+\sqrt{{{x}^{2}}+3x-18} \right| \right]+C$$** **Note:** Note that whenever we see an integral with a big term under fractional powers, we always try to assume that term a new variable , because integration under fractional power is a complicated task. We do not have any direct integration formula. So, whenever you see a big term under fractional power, assume that term a new variable and as same as this question try to have differentiation of big term outside the fractional power and then integrate in terms of the new variable.