Question:

If \[ \int \frac{2x+1}{x^2+x+1}\,dx \] is equal to:

Show Hint

Look for the pattern \(\frac{f'(x)}{f(x)}\). It immediately gives a logarithmic integral.
Updated On: Jun 8, 2026
  • \(\ln(x^2+x+1)+C\)
  • \(\frac12\ln(x^2+x+1)+C\)
  • \(\tan^{-1}(x)+C\)
  • \(\frac{x}{x^2+x+1}+C\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Concept: Whenever the numerator is the derivative of the denominator, use the standard formula: \[ \int \frac{f'(x)}{f(x)}\,dx = \ln|f(x)|+C \]

Step 1:
Identify the denominator \[ f(x)=x^2+x+1 \] Differentiate: \[ f'(x)=2x+1 \]

Step 2:
Compare numerator and derivative Numerator: \[ 2x+1 \] Derivative of denominator: \[ 2x+1 \] They are exactly the same.

Step 3:
Apply the standard result \[ \int \frac{2x+1}{x^2+x+1}\,dx = \ln|x^2+x+1|+C \] Since \[ x^2+x+1>0 \] for all real \(x\), \[ =\ln(x^2+x+1)+C \] Final Answer: \[ \boxed{\ln(x^2+x+1)+C} \]
Was this answer helpful?
0
0