This lesson works through a popular Class 12 integration question: integrate log(logx)+(logx)21. The strategy is to split the integrand into two parts and apply integration by parts to each, then notice that two leftover integrals cancel.
Setting up the split
We want
I=∫(log(logx)+(logx)21)dx.
Split it into two integrals:
I=∫log(logx)dx+∫(logx)21dx.
First part: integrating log(logx)
Write log(logx)=log(logx)⋅1 and use integration by parts with log(logx) as the first function and 1 as the second.
∫log(logx)dx=xlog(logx)−∫dxd(log(logx))⋅xdx.
By the chain rule, dxdlog(logx)=logx1⋅x1, so the integrand simplifies:
∫logx1⋅x1⋅xdx=∫logx1dx.
Therefore
\int \log(\log x)\, dx = x\log(\log x) - \int \frac{1}{\log x}\, dx. \tag{2}
Second part: integrating logx1
Again take logx1 as the first function and 1 as the second.
∫logx1dx=logxx−∫dxd(logx1)⋅xdx.
Since dxd((logx)−1)=−(logx)21⋅x1, the leftover term becomes
−∫x(−(logx)21⋅x1)dx=+∫(logx)21dx.
So
\int \frac{1}{\log x}\, dx = \frac{x}{\log x} + \int \frac{1}{(\log x)^2}\, dx. \tag{3}
Combining everything
Substitute (3) into (2), then put that into the original split for I:
I=xlog(logx)−[logxx+∫(logx)21dx]+∫(logx)21dx.
The two copies of ∫(logx)21dx have opposite signs and cancel:
I=xlog(logx)−logxx+c.
Key takeaways
- Splitting ∫(f+g)dx into ∫fdx+∫gdx lets you attack each piece separately.
- Integration by parts with 1 as the second function is the standard trick for integrating a lone awkward function like log(logx) or logx1.
- The leftover ∫(logx)21dx produced by the first part cancels exactly with the second part, giving the clean result xlog(logx)−logxx+c.