Tutorials › Calculus II › Integrating Derivative-Matched Numerators Over Quadratic Powers

Partial Fractions Foundations · Tutorial 194 of 998

Integrating Derivative-Matched Numerators Over Quadratic Powers

Use a single substitution to integrate quadratic-denominator terms whose linear numerator is proportional to the denominator’s derivative, and verify the resulting logarithmic or power antiderivative.

Beginner 9 min read

What You'll Learn

  • Identify when a linear numerator is proportional to a quadratic denominator’s derivative
  • Use substitution to integrate derivative-matched terms over a first power
  • Apply the power rule to derivative-matched terms over higher powers
  • Track proportionality constants and the domain where the integrand is defined
  • Check an antiderivative by differentiating it

Recognizing the Matching Structure

A rational function with a quadratic denominator may have a numerator that looks complicated at first. But if its linear numerator is proportional to the derivative of the quadratic, the integral reduces to a direct substitution. This works whether the denominator is a first power or a higher positive integer power.

The key is to compare the numerator with the derivative of the entire quadratic expression in the denominator. If they match up to a constant factor, substitution turns the integral into a logarithm or a simple power integral.

Definition: Let \(Q(x)=ax^2+bx+c\), where \(a\ne 0\). A linear numerator is derivative-matched to \(Q\) if it can be written as \(\lambda Q'(x)\) for a constant \(\lambda\). Since \(Q'(x)=2ax+b\), the matching numerator has the form \(\lambda(2ax+b)\).

The constant \(\lambda\) matters: it is the factor that remains after substitution. Matching does not require the numerator and derivative to be exactly equal, only proportional.

The Substitution Rule

Consider an integral whose denominator is \(Q(x)^n\), with \(n\) a positive integer, and whose numerator is \(kQ'(x)\), with \(k\) constant. Set \(u=Q(x)\). Then \(du=Q'(x)\,dx\), so the integral becomes \(k\int u^{-n}\,du\). For \(n=1\), this gives a logarithm; for \(n>1\), the ordinary power rule applies.

Rule: On any interval where \(Q(x)\ne 0\),
$$ \int \frac{kQ'(x)}{Q(x)}\,dx = k\ln|Q(x)|+C $$
$$ \int \frac{kQ'(x)}{Q(x)^n}\,dx = -\frac{k}{(n-1)Q(x)^{n-1}}+C, \qquad n>1. $$

The condition \(Q(x)\ne 0\) is necessary because the original integrand is undefined where its denominator is zero. The absolute value in the logarithm allows \(Q(x)\) to be either positive or negative on an interval that does not cross a zero. In the common case of an irreducible quadratic that is positive for every real \(x\), the absolute value can be omitted, but the general formula uses it.

Why the Rule Works

The substitution is not a trick specific to quadratics. It works because the differential \(Q'(x)\,dx\) is present in the numerator. Here is the complete derivation for the higher-power case.

1
Make the substitution.
Set \(u=Q(x)\). Then \(du=Q'(x)\,dx\), so the numerator factor \(Q'(x)\,dx\) is replaced by \(du\).
2
Rewrite the integrand.
For \(n>1\), the integral becomes \(k\int u^{-n}\,du\).
3
Apply the power rule.
Since \(n\ne 1\), an antiderivative of \(u^{-n}\) is \(u^{1-n}/(1-n)\).
4
Substitute back.
Multiplying by \(k\) and replacing \(u\) with \(Q(x)\) gives \(-k/((n-1)Q(x)^{n-1})+C\).

The result can also be checked directly by differentiation. The chain rule gives

$$ \frac{d}{dx}\left(-\frac{k}{(n-1)Q(x)^{n-1}}\right) = -\frac{k}{n-1}\bigl(-(n-1)\bigr)Q(x)^{-n}Q'(x) = \frac{kQ'(x)}{Q(x)^n}. $$

For the first-power case, the chain rule gives

$$ \frac{d}{dx}\bigl(k\ln|Q(x)|\bigr) = k\frac{Q'(x)}{Q(x)} $$

where \(Q(x)\ne 0\). Thus both formulas differentiate back to their integrands.

Worked Examples

Worked Example: A Derivative-Matched Numerator Over a First Power

Evaluate \(\int \frac{10x-6}{5x^2-6x+9}\,dx\).

Let \(Q(x)=5x^2-6x+9\). Its derivative is

$$ Q'(x)=10x-6. $$

The numerator is exactly \(Q'(x)\), so \(k=1\). The denominator is a first power, and therefore

$$ \int \frac{10x-6}{5x^2-6x+9}\,dx = \ln|5x^2-6x+9|+C. $$

To check, differentiate the proposed antiderivative:

$$ \frac{d}{dx}\ln|5x^2-6x+9| = \frac{10x-6}{5x^2-6x+9}. $$

This matches the original integrand. Also, \(5x^2-6x+9\) is positive for every real \(x\): its discriminant is \((-6)^2-4(5)(9)=36-180=-144<0\), and its leading coefficient is positive. Thus the absolute value could be omitted in this example, though it is valid to keep it.

Worked Example: A Proportional Numerator Over a Higher Power

Evaluate \(\int \frac{8x+12}{(2x^2+6x+11)^2}\,dx\).

Set \(Q(x)=2x^2+6x+11\). Then

$$ Q'(x)=4x+6, \qquad 8x+12=2(4x+6)=2Q'(x). $$

The numerator is \(2Q'(x)\), so \(k=2\), and the denominator has power \(n=2\). The higher-power formula gives

$$ \int \frac{8x+12}{(2x^2+6x+11)^2}\,dx = -\frac{2}{(2-1)(2x^2+6x+11)^{2-1}}+C = -\frac{2}{2x^2+6x+11}+C. $$

Differentiate to check:

$$ \frac{d}{dx}\left(-\frac{2}{2x^2+6x+11}\right) = -2\left(-(2x^2+6x+11)^{-2}(4x+6)\right) = \frac{8x+12}{(2x^2+6x+11)^2}. $$

The derivative is the original integrand, including its factor of \(2\).

Worked Example: A Definite Integral with a Nonunit Proportionality Factor

Evaluate \(\int_0^1 \frac{3x+6}{(x^2+4x+8)^3}\,dx\).

Take \(Q(x)=x^2+4x+8\). Then \(Q'(x)=2x+4\), and

$$ 3x+6=\frac{3}{2}(2x+4)=\frac{3}{2}Q'(x). $$

Use \(u=Q(x)\), so \(du=Q'(x)\,dx\). The limits change as follows:

$$ u(0)=0^2+4(0)+8=8, \qquad u(1)=1^2+4(1)+8=13. $$

Therefore,

$$ \begin{aligned} \int_0^1 \frac{3x+6}{(x^2+4x+8)^3}\,dx &=\frac{3}{2}\int_8^{13}u^{-3}\,du\\ &=\frac{3}{2}\left[-\frac{1}{2u^2}\right]_8^{13}\\ &=-\frac{3}{4(13)^2}+\frac{3}{4(8)^2}\\ &=-\frac{3}{676}+\frac{3}{256}\\ &=\frac{3(676-256)}{676\cdot256}\\ &=\frac{1260}{173{,}056} \end{aligned} $$

For clarity, \(676\cdot256=173{,}056\), so the preceding fraction is \(1260/173{,}056\). Dividing numerator and denominator by \(4\) gives \(315/43{,}264\). The definite integral is thus \(315/43{,}264\).

A check comes from the antiderivative \(-3/(4Q(x)^2)\). Its derivative is

$$ \frac{d}{dx}\left(-\frac{3}{4}Q(x)^{-2}\right) = -\frac{3}{4}(-2)Q(x)^{-3}Q'(x) = \frac{3}{2}\frac{2x+4}{Q(x)^3} = \frac{3x+6}{Q(x)^3}. $$

Evaluating this antiderivative at \(1\) and \(0\) gives \(-3/(4\cdot169)+3/(4\cdot64)\), which is the value computed above.

Checking Whether a Numerator Matches

For a quadratic \(Q(x)=ax^2+bx+c\), the derivative is \(2ax+b\). Suppose the numerator is \(mx+r\). To test for a match, compare coefficients in

$$ mx+r=\lambda(2ax+b). $$

The coefficients must satisfy \(m=2a\lambda\) and \(r=b\lambda\) for the same constant \(\lambda\). If \(m\ne 0\), one can compute \(\lambda=m/(2a)\) and check whether \(r=bm/(2a)\). Matching only the coefficient of \(x\) is not enough: the constant terms must match as well.

For example, with \(Q(x)=3x^2+5x+4\), the derivative is \(6x+5\). A numerator \(12x+10\) matches because it is \(2Q'(x)\). A numerator \(12x+9\) does not: twice the derivative would be \(12x+10\), not \(12x+9\). The direct substitution rule applies to the matching part of a numerator, not automatically to an entire numerator that fails this test.

A Common Mistake: Losing the Proportionality Factor

A frequent error is to notice that the numerator is proportional to \(Q'(x)\), but then proceed as if the proportionality factor were \(1\). For instance, in the second worked example, the numerator is \(2Q'(x)\). Omitting that factor would give the incorrect answer \(-1/Q(x)+C\).

Differentiate that incorrect answer:

$$ \frac{d}{dx}\left(-\frac{1}{Q(x)}\right) = \frac{Q'(x)}{Q(x)^2}, $$

which is only half the required integrand \(2Q'(x)/Q(x)^2\). The correction is to carry \(k=2\) through the integration:

$$ \int \frac{2Q'(x)}{Q(x)^2}\,dx = -\frac{2}{Q(x)}+C. $$

Differentiating this corrected answer gives \(2Q'(x)/Q(x)^2\), as required. Checking by differentiation is an especially effective way to catch missing constants and incorrect powers.

When This Method Is Useful

Derivative-matched terms commonly appear after a rational function has been decomposed into partial fractions involving repeated irreducible quadratic factors. A term with a linear numerator may integrate immediately if that numerator is proportional to the derivative of the quadratic. Recognizing this structure can turn an expression that appears to need several steps into one substitution.

The method is deliberately specific. It handles a numerator proportional to the derivative of the denominator’s quadratic base. It does not by itself integrate every linear numerator over a quadratic power. If the numerator does not match, first identify exactly which part, if any, is derivative-matched; the remaining part requires a different integration step. The key practical sequence is to differentiate the quadratic, compare both numerator coefficients, retain the proportionality constant, and then verify the antiderivative.

Check Your Understanding

For each question, identify the quadratic and its derivative before choosing an integration rule.

  1. Evaluate \(\int \frac{4x+2}{x^2+x+5}\,dx\).
  2. Evaluate \(\int \frac{6x+9}{(3x^2+9x+12)^3}\,dx\).
  3. For \(Q(x)=2x^2+7x+1\), is \(10x+17\) proportional to \(Q'(x)\)? Explain by comparing coefficients.
  4. Why does the formula for a first power involve \(\ln|Q(x)|\), while the formula for powers \(n>1\) has a denominator \(Q(x)^{n-1}\)?
  5. Differentiate \(-5/(4Q(x)^4)\), where \(Q(x)=x^2+3x+6\), and state the resulting integrand.

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon