Solveeit Logo

Question

Question: How do you find the integral of \[\ln \left( {{x^2} + 4} \right)\] ?...

How do you find the integral of ln(x2+4)\ln \left( {{x^2} + 4} \right) ?

Explanation

Solution

Integration is the process of finding the antiderivative. The integration of g(x)g'\left( x \right) with respect to dx is given by g(x)dx=g(x)+C\int {g'\left( x \right)dx = g\left( x \right) + C} , where C is the constant of integration and we can find the integral of the given function by using Integration by parts method.

Complete step by step answer:
The given function is ln(x2+4)\ln \left( {{x^2} + 4} \right).As we need to find the integral, let us rewrite the function as,
I=ln(x2+4)dxI = \int {\ln \left( {{x^2} + 4} \right)dx} ………………… 1
Apply rule of Integration by Parts as
uvdx=uvdx(dudxvdx)dx\int {u \cdot v \cdot dx} = u\int {v \cdot dx} - \int {\left( {\dfrac{{du}}{{dx}}\int {v \cdot dx} } \right)dx}
Let,
u=ln(x2+4)u = \ln \left( {{x^2} + 4} \right)
Differentiate u with respect to x we get
dudx=1x2+42x\dfrac{{du}}{{dx}} = \dfrac{1}{{{x^2} + 4}} \cdot 2x
du=2xx2+4dx\Rightarrow du = \dfrac{{2x}}{{{x^2} + 4}} \cdot dx
Integrating v as:
vdx=x\int {v \cdot dx = x}
Implies that,
dv=dxv=xdv = dx \Rightarrow v = x
i.e., v=1v = 1
Using equation 1, let us find the integration
I=ln(x2+4)dxI = \int {\ln \left( {{x^2} + 4} \right)dx}
I=xln(x2+4)(2xx2+4x)dx\Rightarrow I = x\ln \left( {{x^2} + 4} \right) - \int {\left( {\dfrac{{2x}}{{{x^2} + 4}} \cdot x} \right)} dx
I=xln(x2+4)2x2x2+4dx\Rightarrow I = x\ln \left( {{x^2} + 4} \right) - 2\int {\dfrac{{{x^2}}}{{{x^2} + 4}}} dx
I=xln(x2+4)2(x2+4)4x2+4dx\Rightarrow I = x\ln \left( {{x^2} + 4} \right) - 2\int {\dfrac{{\left( {{x^2} + 4} \right) - 4}}{{{x^2} + 4}}} dx
I=xln(x2+4)2(x2+4x2+44x2+4)dx\Rightarrow I = x\ln \left( {{x^2} + 4} \right) - 2\int {\left( {\dfrac{{{x^2} + 4}}{{{x^2} + 4}} - \dfrac{4}{{{x^2} + 4}}} \right)} dx
I=xln(x2+4)2(dx41x2+22dx)\Rightarrow I = x\ln \left( {{x^2} + 4} \right) - 2\left( {\int {dx - 4\int {\dfrac{1}{{{x^2} + {2^2}}}dx} } } \right)
Now find the integration of dx terms we get
I=xln(x2+4)2(x412arctan(x2))I = x\ln \left( {{x^2} + 4} \right) - 2\left( {x - 4 \cdot \dfrac{1}{2}\arctan \left( {\dfrac{x}{2}} \right)} \right)
I=xln(x2+4)2x+4arctan(x2)+C\Rightarrow I = x\ln \left( {{x^2} + 4} \right) - 2x + 4\arctan \left( {\dfrac{x}{2}} \right) + C
Therefore, the integral of ln(x2+4)\ln \left( {{x^2} + 4} \right)is
I=xln(x2+4)2x+4arctan(x2)+C\therefore I = x\ln \left( {{x^2} + 4} \right) - 2x + 4\arctan \left( {\dfrac{x}{2}} \right) + C

Hence, the integral of ln(x2+4)\ln \left( {{x^2} + 4} \right) is xln(x2+4)2x+4arctan(x2)+Cx\ln \left( {{x^2} + 4} \right) - 2x + 4\arctan \left( {\dfrac{x}{2}} \right) + C.

Note: There are different integration methods that are used to find an integral of some function, which is easier to evaluate the original integral. Hence, based on the function given we can find the integration of the function i.e., by using the integration methods as the details are given as additional information.