Solution
Let u=3x.
Then du=(3x)′dx=3dx (steps can be seen »), and we have that dx=3du.
Thus,
∫ln(3x)dx=∫3ln(u)du
Apply the constant multiple rule ∫cf(u)du=c∫f(u)du with c=31 and f(u)=ln(u):
∫3ln(u)du=(3∫ln(u)du)
For the integral ∫ln(u)du, use integration by parts ∫θdv=θv−∫vdθ.
Let θ=ln(u) and dv=du.
Then dθ=(ln(u))′du=udu (steps can be seen ») and v=∫1du=u (steps can be seen »).
Therefore,
3∫ln(u)du=3(ln(u)⋅u−∫u⋅u1du)=3(uln(u)−∫1du)
Apply the constant rule ∫cdu=cu with c=1:
3uln(u)−3∫1du=3uln(u)−3u
Recall that u=3x:
−3u+3uln(u)=−3(3x)+3(3x)ln((3x))
Therefore,
∫ln(3x)dx=xln(3x)−x
Simplify:
∫ln(3x)dx=x(ln(x)−1+ln(3))
Add the constant of integration:
∫ln(3x)dx=x(ln(x)−1+ln(3))+C