Introduction
A rational function with an irreducible quadratic denominator may have a constant numerator. That constant-numerator term has a characteristic antiderivative: an inverse tangent. The formula is simple, but it contains a scale factor that is easy to overlook.
For instance, the denominator \(x^2+9\) does not lead to just a constant times \(\arctan x\). The number \(9\) determines both the argument of the inverse tangent and the coefficient in front of it. We will derive the general rule, apply it to exact examples, and check each answer by differentiation.
The Standard Form
In this tutorial, the standard quadratic denominator is \(x^2+a^2\), where \(a\) is a positive real number. It is positive for every real \(x\), so the rational function \(C/(x^2+a^2)\) is defined on the entire real line when \(C\) is constant.
The corresponding integration rule is
where \(K\) is an arbitrary constant of integration. The parameter \(a\) is the positive square root of the constant term in the denominator: if the denominator is \(x^2+b\) with \(b>0\), then \(a=\sqrt b\). Writing the denominator this way makes the scale factor explicit.
The constant numerator matters. A numerator proportional to \(x\) is matched to the derivative of the denominator and gives a logarithmic term. A constant numerator over \(x^2+a^2\), by contrast, produces an inverse tangent. In partial fractions, a constant numerator over an irreducible quadratic is therefore a signal to use this rule.
Why the Scale Factor Appears
We can derive the rule by differentiating the proposed inverse-tangent expression. The derivative of \(\arctan u\) is \(1/(1+u^2)\), and the chain rule accounts for the factor from its argument. For \(a>0\),
Thus the derivative of \(\frac{C}{a}\arctan(x/a)\) is exactly the desired integrand. This verifies the formula and shows why the coefficient \(1/a\) is required: the derivative of the inverse tangent itself contributes \(a\) in the numerator.
The same factor can be seen by a substitution. Set \(u=x/a\), so \(x=au\) and \(dx=a\,du\). The denominator becomes \(a^2(u^2+1)\), giving
Substituting \(u=x/a\) gives the stated formula. Both derivations reveal the same scale factor. The condition \(a>0\) fixes the scale as a positive number; since \(a\) comes from a square root, this is the natural convention.
Worked Examples
Worked Example: A Denominator with a Square of 3
Find \(\displaystyle \int \frac{6}{x^2+9}\,dx\).
First match the denominator to \(x^2+a^2\). Since \(9=3^2\), we have \(a=3\), and the numerator constant is \(C=6\). The coefficient in the rule is therefore \(C/a=6/3=2\).
Check by differentiation. Using the chain rule,
The derivative agrees with the integrand, so the antiderivative is correct.
Worked Example: A Negative Numerator
Find \(\displaystyle \int \frac{-4}{x^2+16}\,dx\).
Here \(16=4^2\), so \(a=4\), and \(C=-4\). Consequently \(C/a=-4/4=-1\). Keeping the negative sign in the coefficient gives
Differentiate the result to check both its sign and scale:
The derivative matches the original negative integrand.
Worked Example: Adding Two Constant-Numerator Terms
Find an antiderivative of \(\displaystyle \frac{2}{x^2+1}-\frac{3}{x^2+25}\).
Integrate the two terms separately. For the first term, \(C=2\) and \(a=1\), so its antiderivative is \(2\arctan x\). For the second, \(C=-3\) and \(a=5\), so its antiderivative is \(-\frac{3}{5}\arctan(x/5)\). Therefore,
Check each term by differentiation and then combine the results:
The second term simplifies because \(\frac{3}{25}/(1+x^2/25)=3/(x^2+25)\). The full derivative is the original expression, as required.
A Reliable Way to Apply the Rule
When you encounter a constant-numerator term over a standard quadratic, keep the parameter and the coefficient distinct. First identify \(a\) from the square \(a^2\), then divide the numerator constant \(C\) by \(a\), and finally place \(x/a\) inside the inverse tangent. This order helps prevent the two scale factors from being confused.
Write the denominator as \(x^2+a^2\) and take \(a>0\). For example, \(x^2+36\) has \(a=6\).
If the numerator is \(C\), the coefficient outside the inverse tangent is \(C/a\).
Use \(\arctan(x/a)\), not \(\arctan x\), unless \(a=1\).
The chain rule should recover \(C/(x^2+a^2)\), including its sign and coefficient.
This rule applies directly when the denominator is exactly \(x^2+a^2\) with \(a>0\). A denominator that is shifted or has a coefficient other than \(1\) on \(x^2\) does not match this standard form as written; do not silently use the formula without accounting for those changes. The special case \(a=0\) is also excluded: then the denominator is \(x^2\), not a positive quadratic of this form.
Common Pitfall: Omitting the Scale Factor
A frequent error is to notice the inverse tangent but write an unscaled argument and coefficient. For example, one might incorrectly claim
Differentiating the proposed answer exposes the error:
which is not \(6/(x^2+9)\). The denominator is wrong, so the proposed expression cannot be an antiderivative. The correct parameter is \(a=3\). Both places where it matters must be included: divide the coefficient by \(3\) and use \(x/3\) as the argument.
Checking by differentiation is especially useful here because it tests both scale factors at once. If either the outside coefficient or the argument is incorrect, the derivative will not return the original rational term.
Why This Form Matters
Irreducible quadratic factors occur in partial fraction decompositions, where the numerator over such a factor is linear. The numerator can be separated into a part proportional to the derivative of the quadratic and a constant part. The earlier material on logarithmic terms treats the derivative-matched part; this rule handles the constant part when the denominator has the standard form \(x^2+a^2\).
Recognizing which numerator structure is present saves unnecessary algebra. The logarithmic and inverse-tangent patterns are different because the numerator matches different features of the denominator: its derivative in one case, and a constant over the sum of squares in the other. Once the term is in the required standard form, the antiderivative rule is direct.
Check Your Understanding
For each question, identify the parameter carefully and use differentiation where requested.
- Find an antiderivative of \(\frac{10}{x^2+25}\).
- Find an antiderivative of \(\frac{-7}{x^2+49}\), including the sign and scale factor.
- What are \(C\) and \(a\) for the term \(\frac{4}{x^2+64}\), and what inverse-tangent argument does the rule use?
- Differentiate \(\frac{3}{2}\arctan(x/2)\) and state the rational function obtained.
- Why is \(5\arctan x\) not an antiderivative of \(\frac{5}{x^2+4}\)?