Integral of ln(3x)\ln\left(3 x\right)

The calculator will find the integral/antiderivative of ln(3x)\ln\left(3 x\right), with steps shown.

Related calculator: Integral Calculator

Solution

Let u=3xu=3 x.

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

Thus,

ln(3x)dx=ln(u)3du{\color{red}{\int{\ln{\left(3 x \right)} d x}}} = {\color{red}{\int{\frac{\ln{\left(u \right)}}{3} d u}}}

Apply the constant multiple rule cf(u)du=cf(u)du\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du with c=13c=\frac{1}{3} and f(u)=ln(u)f{\left(u \right)} = \ln{\left(u \right)}:

ln(u)3du=(ln(u)du3){\color{red}{\int{\frac{\ln{\left(u \right)}}{3} d u}}} = {\color{red}{\left(\frac{\int{\ln{\left(u \right)} d u}}{3}\right)}}

For the integral ln(u)du\int{\ln{\left(u \right)} d u}, use integration by parts θdv=θvv\int \operatorname{\theta} \operatorname{dv} = \operatorname{\theta}\operatorname{v} - \int \operatorname{v} \operatorname{d\theta}.

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

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

Therefore,

ln(u)du3=(ln(u)uu1udu)3=(uln(u)1du)3\frac{{\color{red}{\int{\ln{\left(u \right)} d u}}}}{3}=\frac{{\color{red}{\left(\ln{\left(u \right)} \cdot u-\int{u \cdot \frac{1}{u} d u}\right)}}}{3}=\frac{{\color{red}{\left(u \ln{\left(u \right)} - \int{1 d u}\right)}}}{3}

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

uln(u)31du3=uln(u)3u3\frac{u \ln{\left(u \right)}}{3} - \frac{{\color{red}{\int{1 d u}}}}{3} = \frac{u \ln{\left(u \right)}}{3} - \frac{{\color{red}{u}}}{3}

Recall that u=3xu=3 x:

u3+uln(u)3=(3x)3+(3x)ln((3x))3- \frac{{\color{red}{u}}}{3} + \frac{{\color{red}{u}} \ln{\left({\color{red}{u}} \right)}}{3} = - \frac{{\color{red}{\left(3 x\right)}}}{3} + \frac{{\color{red}{\left(3 x\right)}} \ln{\left({\color{red}{\left(3 x\right)}} \right)}}{3}

Therefore,

ln(3x)dx=xln(3x)x\int{\ln{\left(3 x \right)} d x} = x \ln{\left(3 x \right)} - x

Simplify:

ln(3x)dx=x(ln(x)1+ln(3))\int{\ln{\left(3 x \right)} d x} = x \left(\ln{\left(x \right)} - 1 + \ln{\left(3 \right)}\right)

Add the constant of integration:

ln(3x)dx=x(ln(x)1+ln(3))+C\int{\ln{\left(3 x \right)} d x} = x \left(\ln{\left(x \right)} - 1 + \ln{\left(3 \right)}\right)+C

Answer

ln(3x)dx=x(ln(x)1+ln(3))+C\int \ln\left(3 x\right)\, dx = x \left(\ln\left(x\right) - 1 + \ln\left(3\right)\right) + CA