Integral of $$$\ln^{2}\left(4 x\right)$$$

The calculator will find the integral/antiderivative of $$$\ln^{2}\left(4 x\right)$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int \ln^{2}\left(4 x\right)\, dx$$$.

Solution

Let $$$u=4 x$$$.

Then $$$du=\left(4 x\right)^{\prime }dx = 4 dx$$$ (steps can be seen »), and we have that $$$dx = \frac{du}{4}$$$.

The integral becomes

$${\color{red}{\int{\ln{\left(4 x \right)}^{2} d x}}} = {\color{red}{\int{\frac{\ln{\left(u \right)}^{2}}{4} d u}}}$$

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\frac{1}{4}$$$ and $$$f{\left(u \right)} = \ln{\left(u \right)}^{2}$$$:

$${\color{red}{\int{\frac{\ln{\left(u \right)}^{2}}{4} d u}}} = {\color{red}{\left(\frac{\int{\ln{\left(u \right)}^{2} d u}}{4}\right)}}$$

For the integral $$$\int{\ln{\left(u \right)}^{2} d u}$$$, use integration by parts $$$\int \operatorname{o} \operatorname{dv} = \operatorname{o}\operatorname{v} - \int \operatorname{v} \operatorname{do}$$$.

Let $$$\operatorname{o}=\ln{\left(u \right)}^{2}$$$ and $$$\operatorname{dv}=du$$$.

Then $$$\operatorname{do}=\left(\ln{\left(u \right)}^{2}\right)^{\prime }du=\frac{2 \ln{\left(u \right)}}{u} du$$$ (steps can be seen ») and $$$\operatorname{v}=\int{1 d u}=u$$$ (steps can be seen »).

So,

$$\frac{{\color{red}{\int{\ln{\left(u \right)}^{2} d u}}}}{4}=\frac{{\color{red}{\left(\ln{\left(u \right)}^{2} \cdot u-\int{u \cdot \frac{2 \ln{\left(u \right)}}{u} d u}\right)}}}{4}=\frac{{\color{red}{\left(u \ln{\left(u \right)}^{2} - \int{2 \ln{\left(u \right)} d u}\right)}}}{4}$$

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=2$$$ and $$$f{\left(u \right)} = \ln{\left(u \right)}$$$:

$$\frac{u \ln{\left(u \right)}^{2}}{4} - \frac{{\color{red}{\int{2 \ln{\left(u \right)} d u}}}}{4} = \frac{u \ln{\left(u \right)}^{2}}{4} - \frac{{\color{red}{\left(2 \int{\ln{\left(u \right)} d u}\right)}}}{4}$$

For the integral $$$\int{\ln{\left(u \right)} d u}$$$, use integration by parts $$$\int \operatorname{o} \operatorname{dv} = \operatorname{o}\operatorname{v} - \int \operatorname{v} \operatorname{do}$$$.

Let $$$\operatorname{o}=\ln{\left(u \right)}$$$ and $$$\operatorname{dv}=du$$$.

Then $$$\operatorname{do}=\left(\ln{\left(u \right)}\right)^{\prime }du=\frac{du}{u}$$$ (steps can be seen ») and $$$\operatorname{v}=\int{1 d u}=u$$$ (steps can be seen »).

So,

$$\frac{u \ln{\left(u \right)}^{2}}{4} - \frac{{\color{red}{\int{\ln{\left(u \right)} d u}}}}{2}=\frac{u \ln{\left(u \right)}^{2}}{4} - \frac{{\color{red}{\left(\ln{\left(u \right)} \cdot u-\int{u \cdot \frac{1}{u} d u}\right)}}}{2}=\frac{u \ln{\left(u \right)}^{2}}{4} - \frac{{\color{red}{\left(u \ln{\left(u \right)} - \int{1 d u}\right)}}}{2}$$

Apply the constant rule $$$\int c\, du = c u$$$ with $$$c=1$$$:

$$\frac{u \ln{\left(u \right)}^{2}}{4} - \frac{u \ln{\left(u \right)}}{2} + \frac{{\color{red}{\int{1 d u}}}}{2} = \frac{u \ln{\left(u \right)}^{2}}{4} - \frac{u \ln{\left(u \right)}}{2} + \frac{{\color{red}{u}}}{2}$$

Recall that $$$u=4 x$$$:

$$\frac{{\color{red}{u}}}{2} - \frac{{\color{red}{u}} \ln{\left({\color{red}{u}} \right)}}{2} + \frac{{\color{red}{u}} \ln{\left({\color{red}{u}} \right)}^{2}}{4} = \frac{{\color{red}{\left(4 x\right)}}}{2} - \frac{{\color{red}{\left(4 x\right)}} \ln{\left({\color{red}{\left(4 x\right)}} \right)}}{2} + \frac{{\color{red}{\left(4 x\right)}} \ln{\left({\color{red}{\left(4 x\right)}} \right)}^{2}}{4}$$

Therefore,

$$\int{\ln{\left(4 x \right)}^{2} d x} = x \ln{\left(4 x \right)}^{2} - 2 x \ln{\left(4 x \right)} + 2 x$$

Simplify:

$$\int{\ln{\left(4 x \right)}^{2} d x} = x \left(\left(\ln{\left(x \right)} + 2 \ln{\left(2 \right)}\right)^{2} - 2 \ln{\left(x \right)} - 4 \ln{\left(2 \right)} + 2\right)$$

Add the constant of integration:

$$\int{\ln{\left(4 x \right)}^{2} d x} = x \left(\left(\ln{\left(x \right)} + 2 \ln{\left(2 \right)}\right)^{2} - 2 \ln{\left(x \right)} - 4 \ln{\left(2 \right)} + 2\right)+C$$

Answer

$$$\int \ln^{2}\left(4 x\right)\, dx = x \left(\left(\ln\left(x\right) + 2 \ln\left(2\right)\right)^{2} - 2 \ln\left(x\right) - 4 \ln\left(2\right) + 2\right) + C$$$A


Please try a new game Rotatly