Question:

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

Show Hint

Here g(f(x)) = log(1 + x). Integrate it by parts with 1 as the second function.
Updated On: Nov 16, 2026
  • \((1+x)\mathrm{log}(1+x)-x+\mathrm{c}\), (where c is a constant of integration)
  • \((1+x)\mathrm{log}x-x+\mathrm{c}\), (where c is a constant of integration)
  • \(x\mathrm{log}(1+x)+c\), (where c is a constant of integration)
  • \((1+x)\mathrm{log}(1+x)+x+\mathrm{c}\), (where c is a constant of integration)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding the Concept
\(g(f(x))=\log(1+x)\), so we need \(\int\log(1+x)\,dx\).

Step 2: Integrate by parts
Take \(\log(1+x)\) as the first function and 1 as the second: \(\int\log(1+x)\cdot 1\,dx=x\log(1+x)-\int\frac{x}{1+x}dx\).

Step 3: Calculation
\(\int\frac{x}{1+x}dx=\int\left(1-\frac{1}{1+x}\right)dx=x-\log(1+x)\).
So the integral is \(x\log(1+x)-x+\log(1+x)+c=(1+x)\log(1+x)-x+c\).

Step 4: Compare the options
This is option (A).

Final Answer:
The integral equals (1 + x) log(1 + x) minus x plus c. \[ \boxed{\text{(A) }(1+x)\log(1+x)-x+c} \]
Was this answer helpful?
0
0