Before you start
This page is easier if you are comfortable with:
What Integral: 1/(a² + x²) means
This reverses the derivative of tan−1. Substituting x=atanθ makes the denominator a2sec2θ and gives the result.
For x2+41, a=2, so the integral is 21tan−12x+C.
If the denominator is a quadratic that does not factorise, complete the square first. It uses completing the square and gives the inverses in derivatives of inverse trig functions; similar forms are integral: 1 over root and trigonometric substitutions.
This page is part of Further calculus in Calculus. Topics that work alongside it: Derivatives of inverse trig functions, Integral: 1/√(a² − x²), Completing the square (a = 1), Integral: 1/√(x² + a²), Integral: 1/√(x² − a²) and Volume of revolution about the x-axis.
What is it used for?
The integral of 1/(a² + x²) is (1/a) arctan(x/a) + c. It appears whenever a quadratic with no real roots is in the denominator.
- Evaluating integrals of rational functions.
- Finding areas under bell-shaped curves such as 1/(1 + x²).
- Using trigonometric substitution x = a tan θ.
How to use integral: 1/(a² + x²)
- Write the denominator as a2+x2.
- Identify a.
- Write a1tan−1ax.
- Add +C.
Graph
The total area under this curve from −∞ to ∞ is π, which comes from arctan.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: integrate 1/(x² + 4)
Find ∫x2+41dx.
Indefinite integral
Answer
2arctan(2x)+CIntegrate with respect to x
∫x2+41dx
Power rule
∫xndx=n+1xn+1+C
Add the constant of integration
=2arctan(2x)+C
Example 2: a = 3
Integrate 1/(x² + 9).
Indefinite integral
Answer
3arctan(3x)+CIntegrate with respect to x
∫x2+91dx
Power rule
∫xndx=n+1xn+1+C
Add the constant of integration
=3arctan(3x)+C
Example 3: a definite integral
Find the integral of 1/(1 + x²) from 0 to 1.
Definite integral
Answer
4π≈0.7854
Integrate with respect to x
∫01x2+11dx
Power rule
∫xndx=n+1xn+1+C
Antiderivative
F(x)=arctan(x)
Evaluate F(b)−F(a)
F(1)−F(0)=4π−(0)=4π
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
∫1/(x² + a²) dx
= (1/a) arctan(x/a) + c
a = 2 gives ½ arctan(x/2).
a = 3
∫ from 0 to 3 of 1/(x² + 9) = π/12
arctan 1 = π/4.
a = 1
∫ from 0 to 1 of 1/(1 + x²) = π/4
arctan 1.
With a coefficient
∫ 8/(x² + 4) from 0 to 2 = 4 × π/4 ... = π
8 × 0.3927.
Word problems
∫1/(x² + a²) dx = (1/a) arctan(x/a) + c.
a = 2
Evaluate ∫ from 0 to 2 of 1/(x² + 4) dx to 4 decimal places.
- Antiderivative½ arctan(x/2)
- Limits½ arctan 1 = π/8
- Check: 0.3927 ✓0.3927.
a = 3
Evaluate ∫ from 0 to 3 of 1/(x² + 9) dx to 4 decimal places.
- Antiderivative⅓ arctan(x/3)
- Limits⅓ × π/4
- Check: π/12 ✓0.2618.
a = 1 Higher
Evaluate ∫ from 0 to 1 of 1/(1 + x²) dx to 4 decimal places.
- Antiderivativearctan x
- Limitsπ/4
- Check: ✓0.7854.
With a coefficient Higher
Evaluate ∫ from 0 to 2 of 8/(x² + 4) dx to 4 decimal places.
- Multiply8 × π/8
- Check: π ✓3.1416.
Common mistakes
Forgetting 1/a
∫1/(x² + 4) dx = arctan(x/2) ✗
½ arctan(x/2) ✓
Include 1/a.
Using ln
∫1/(x² + 4) dx = ln(x² + 4) ✗
arctan form ✓
The numerator is not the derivative of the denominator.
Using a² instead of a
1/4 arctan ✗
1/2 arctan ✓
a = 2, not 4.
Using degrees
arctan 1 = 45 ✗
π/4 radians ✓
Use radians.
Exam tips
(1/a) arctan(x/a).
Identify a² first.
Radians.
Not a log.
Constants come out.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Evaluate ∫ from 0 to 1 of 1/(x² + 1) dx to 4 decimal places Foundation
0.7854
2. Evaluate ∫ from 0 to 4 of 1/(x² + 16) dx to 4 decimal places Foundation
0.1963
3. Evaluate ∫ from 0 to 5 of 1/(x² + 25) dx to 4 decimal places Foundation
0.1571
4. Evaluate ∫ from 0 to 2 of 4/(x² + 4) dx to 4 decimal places Higher
1.5708
5. Evaluate ∫ from 1 to 2 of 1/(x² + 1) dx to 4 decimal places Higher
0.3218
6. Evaluate ∫ from 0 to 3 of 6/(x² + 9) dx to 4 decimal places Higher
1.5708
Practice generator
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Key terms
- Arctangent
- Inverse of tan.
- Standard integral
- A result to remember.
- a²
- The constant in x² + a².
- Antiderivative
- F with F′ = f.
- Definite integral
- Has limits.
- Radian
- Angle unit.
Frequently asked questions
What is ∫1/(x² + a²) dx?
(1/a) arctan(x/a) + c.
Why arctan?
The derivative of arctan x is 1/(1 + x²).
What if the coefficient of x² is not 1?
Factor it out first.
Do I use radians?
Yes.
Which page covers the derivative?
derivatives of inverse trig functions.
Which page covers 1/√(a² − x²)?
integral of 1/√(a² − x²).