If $\mathrm{f}(x)=1+x ; \mathrm{g}(x)=\log x$, then $\int \mathrm{g}(\mathrm{f}(x)) \mathrm{d} x$ is equal to

If $\mathrm{f}(x)=1+x ; \mathrm{g}(x)=\log x$, then $\int \mathrm{g}(\mathrm{f}(x)) \mathrm{d} x$ is equal to
  1. $(1+x) \log (1+x)-x+\mathrm{c}$, (where c is a constant of integration)
  2. $(1+x) \log x-x+\mathrm{c}$, (where c is a constant of integration)
  3. $x \log (1+x)+\mathrm{c}$, (where c is a constant of integration)
  4. $(1+x) \log (1+x)+x+\mathrm{c}$, (where c is a constant of integration)

Solution

$\begin{aligned} & \int \mathrm{g}(\mathrm{f}(x)) \mathrm{d} x \\ & =\int 1 \times \log (1+x) \mathrm{d} x\end{aligned}$ $\begin{aligned} & =x \log (1+x)-\int x \times \frac{1}{(1+x)} \mathrm{d} x+\mathrm{c} \\ & =x \log (1+x)-\left[\int \frac{1+x}{1+x} \mathrm{~d} x-\int \frac{1}{1+x} \mathrm{~d} x\right]+\mathrm{c} \\ & =x \log (1+x)-x+\log (1+x)+\mathrm{c} \\ & =(1+x) \log (1+x)-x+\mathrm{c}\end{aligned}$

Asked in: MHT CET 2024 (11 May Shift 2)

Practice more Indefinite Integration questions on Aicharya