AP Calculus AB and BC
Integral of x/(x^2+1): Answer, Proof, and Steps
The integral of x/(x^2+1) is (1/2)ln(x^2+1) + C. Substituting u = x^2+1 gives du = 2x dx, so x dx = du/2 and the integral becomes one half times the integral of 1/u. No absolute value is needed because x^2+1 is always positive. Differentiating (1/2)ln(x^2+1) returns x/(x^2+1).
The substitution, step by step
The numerator is, up to a constant, the derivative of the denominator . That match is the signal for a u-substitution.
Replace with and with , leaving the basic logarithm integral.
Substituting back gives the antiderivative.
A derivative on top means a log
When the numerator is the derivative of the denominator, the integral is a natural log of that denominator. The comes from the constant in .
Why no absolute value is needed
The logarithm rule normally carries absolute value bars, as in . Here the substitution variable is always positive.
Since can never be zero or negative, , and the bars drop away safely. The antiderivative is defined for all real .
Common mistakes
- Forgetting the . The constant from produces it; without it the derivative comes out as .
- Keeping unnecessary absolute value bars. Because always, is correct without them.
- Splitting off and reaching for arctangent. The on top makes this a logarithm substitution, not the arctangent form.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of x/(x^2+1) from 0 to 1?
.
Why is there no absolute value in the answer?
Because is positive for every real , so . The bars in only matter when the argument can turn negative.
How is x/(x^2+1) different from 1/(x^2+1)?
The on top changes the technique. With , use to get . Without it, .