Tutorials › Calculus II › Templates For Distinct Linear Factors

Partial Fractions Foundations · Tutorial 178 of 998

Templates For Distinct Linear Factors

Build the correct partial-fraction template for distinct linear factors and count its unknown constants before solving for them.

Beginner 8 min read

What You'll Learn

  • Identify when a rational function is proper and its denominator has distinct linear factors
  • Write one constant-over-linear-factor term for each distinct factor
  • Count the unknown constants directly from the denominator factors
  • Check a template by combining its terms over a common denominator
  • Recognize when cancellation or improperness means the template needs adjustment

Why the Form of the Decomposition Matters

A rational function can be difficult to integrate or simplify in its original form. Partial fractions express it as a sum of simpler rational functions. Before finding any coefficients, the first task is to choose the correct form for that sum. For a proper rational function whose denominator is a product of distinct linear factors, the rule is direct: use one constant numerator for each factor.

Writing the template correctly is a separate step from finding its coefficients. In this tutorial, the goal is to identify the terms and count the unknown constants. The coefficients themselves can then be determined using methods such as substitution or coefficient comparison.

The Distinct-Linear-Factor Template

Let \(P(x)\) and \(Q(x)\) be polynomials with real coefficients, and suppose that the rational function \(P(x)/Q(x)\) is proper. This means that \(\deg P<\deg Q\). Suppose, after simplifying the fraction, that the denominator has the form

$$ Q(x)=c(x-r_1)(x-r_2)\cdots(x-r_n), $$

where \(c\ne 0\) is a constant and the real numbers \(r_1,r_2,\ldots,r_n\) are distinct. Each factor \(x-r_i\) occurs exactly once.

Template: For a proper rational function with a denominator that is a product of \(n\) distinct real linear factors, use $$ \frac{P(x)}{Q(x)} = \frac{A_1}{x-r_1} +\frac{A_2}{x-r_2} +\cdots +\frac{A_n}{x-r_n}. $$ There is one constant numerator \(A_i\) for each distinct linear factor, so the template contains \(n\) unknown constants.

The constant \(c\) in the denominator does not require an additional term. Its effect is included in the coefficients \(A_i\). The order of the terms is not important, as long as each factor appears once with its own constant.

The requirement that the function be proper matters. If the numerator's degree is at least the denominator's degree, polynomial division is needed first. The partial-fraction template is then applied to the proper rational remainder, not directly to the original function.

Why Each Numerator Is Constant

A partial fraction term associated with a linear factor \(x-r_i\) must have a numerator whose degree is less than the degree of that factor. Since \(\deg(x-r_i)=1\), the numerator must have degree less than one. The only polynomials with degree less than one are constants (including zero). Thus the term associated with \(x-r_i\) has the form \(A_i/(x-r_i)\), not a numerator involving \(x\).

There is also a useful check on the overall form. Combining all \(n\) proposed terms over the common denominator produces a numerator of degree at most \(n-1\), consistent with the properness condition. In detail, each term's numerator is multiplied by the other \(n-1\) linear factors.

$$ \frac{A_1}{x-r_1}+\cdots+\frac{A_n}{x-r_n} = \frac{\displaystyle\sum_{i=1}^{n} A_i\prod_{\substack{1\le j\le n\\j\ne i}}(x-r_j)} {\displaystyle\prod_{j=1}^{n}(x-r_j)}. $$

Each product in the numerator contains \(n-1\) linear factors, so its degree is at most \(n-1\). This explains why the template matches the degrees involved in a proper rational function. It also gives a practical way to check that the proposed terms have the right structure. It does not, by itself, find the values of the constants.

Worked Examples

Worked Example: Two Distinct Linear Factors

Write the partial-fraction template for

$$ \frac{3x+5}{(x-1)(x+2)}. $$

The denominator has two linear factors. They are distinct because their roots, \(1\) and \(-2\), differ. The numerator has degree \(1\), while the denominator has degree \(2\), so the rational function is proper. There are therefore two constant numerators, one for each factor:

$$ \frac{3x+5}{(x-1)(x+2)} = \frac{A}{x-1}+\frac{B}{x+2}. $$

The template has two unknown constants, \(A\) and \(B\). To check its structure, combine the right-hand side over the original denominator:

$$ \frac{A}{x-1}+\frac{B}{x+2} = \frac{A(x+2)+B(x-1)}{(x-1)(x+2)}. $$

The combined numerator has degree at most one, as required for a proper rational function with a quadratic denominator. Equating it to \(3x+5\) would give equations for \(A\) and \(B\); determining those values is a separate coefficient-finding step.

Worked Example: Three Factors, Including a Scaled Denominator

Write the template for

$$ \frac{2x+1}{2(x+1)(x-3)(x-4)}. $$

The three linear factors have roots \(-1\), \(3\), and \(4\), which are distinct. The constant factor \(2\) does not change the number of linear factors. The numerator has degree \(1\), and the denominator has degree \(3\), so the function is proper. The correct form is

$$ \frac{2x+1}{2(x+1)(x-3)(x-4)} = \frac{A}{x+1}+\frac{B}{x-3}+\frac{C}{x-4}. $$

There are three unknown constants, \(A\), \(B\), and \(C\). For a structural check, combine the proposed terms using the product of the three linear factors as the common denominator:

$$ \frac{A}{x+1}+\frac{B}{x-3}+\frac{C}{x-4} = \frac{A(x-3)(x-4)+B(x+1)(x-4)+C(x+1)(x-3)} {(x+1)(x-3)(x-4)}. $$

Each numerator term has degree at most two, which is less than the denominator's degree of three. The leading factor \(2\) in the given denominator is accounted for in the eventual values of the constants; it does not add a term or an unknown.

Worked Example: Factor the Denominator Before Counting

Write the template for

$$ \frac{x^2+2}{(x^2-1)(x-2)}. $$

The denominator is not yet written as a product of linear factors. Factor the difference of squares:

$$ x^2-1=(x-1)(x+1). $$

Thus the full denominator is \((x-1)(x+1)(x-2)\). Its three roots, \(1\), \(-1\), and \(2\), are distinct. The numerator has degree \(2\), and the denominator has degree \(3\), so the function is proper. The template is

$$ \frac{x^2+2}{(x^2-1)(x-2)} = \frac{A}{x-1}+\frac{B}{x+1}+\frac{C}{x-2}. $$

There are three unknown constants, one for each distinct linear factor. Check by combining the terms:

$$ \frac{A}{x-1}+\frac{B}{x+1}+\frac{C}{x-2} = \frac{A(x+1)(x-2)+B(x-1)(x-2)+C(x-1)(x+1)} {(x-1)(x+1)(x-2)}. $$

The combined numerator has degree at most two, matching the degree of \(x^2+2\). This confirms both that the fraction is proper and that the proposed template has the correct structure.

Counting Unknowns Reliably

For this particular case, count the distinct linear factors in the simplified denominator. That count is the number of constant numerators in the template. For instance, a denominator with four distinct linear factors requires four constants, regardless of whether the numerator is linear or quadratic, provided the rational function is proper.

It is important to count factors after simplifying. If a numerator and denominator share a factor, cancel it first. The canceled factor is no longer part of the denominator of the reduced rational function and does not receive a term in its template. Similarly, a factor written in a form that has not yet been factored should not be counted as one linear factor just because it is a single expression.

Practical rule: First simplify and factor the denominator. Then check that the rational function is proper. If the remaining denominator consists of \(n\) distinct real linear factors, write \(n\) terms, each with a constant numerator.

Common Mistakes

A frequent error is to use a numerator involving \(x\) over a linear factor. For example, a student might write

$$ \frac{3x+5}{(x-1)(x+2)} \overset{\text{wrong}}{=} \frac{Ax+B}{x-1}+\frac{C}{x+2}. $$

This assigns a degree-one numerator to the factor \(x-1\). But a linear factor requires a numerator of degree less than one, hence a constant. The corrected template is

$$ \frac{3x+5}{(x-1)(x+2)} = \frac{A}{x-1}+\frac{B}{x+2}. $$

Another error is to apply this proper-fraction form when the numerator's degree is not smaller than the denominator's degree. For example, \((x^2+1)/((x-1)(x+2))\) is not proper: both numerator and denominator have degree two. Polynomial division gives

$$ \frac{x^2+1}{x^2+x-2} = 1+\frac{-x+3}{(x-1)(x+2)}. $$

Indeed, \(x^2+1=(x^2+x-2)+(-x+3)\). The remainder has degree one, less than the denominator's degree two, so the proper part can be given the distinct-linear-factor template:

$$ \frac{x^2+1}{(x-1)(x+2)} = 1+\frac{A}{x-1}+\frac{B}{x+2}. $$

The polynomial term \(1\) comes from division; it is not one of the partial-fraction terms.

Finally, the template in this tutorial assumes that every linear factor occurs only once. If a factor is repeated, this distinct-factor rule does not describe all required terms. Repeated factors need a different form.

Using the Template as a Setup Check

A correct template is useful even before any coefficients are found. It tells you how many unknowns to expect and lets you check that no factor has been missed or counted twice. Multiplying through by the common denominator is also a quick structural test: each term should leave the product of all the other linear factors in its numerator.

Do not mistake a correctly written template for a completed decomposition. The constants still have to be determined, and the resulting identity should ultimately be verified. For now, the essential decisions are whether the function is proper, whether the factors are distinct and linear, and how many such factors remain after simplification.

Check Your Understanding

For each question, focus on the form and the number of unknown constants; no coefficient solving is needed.

  1. What partial-fraction form should be used for \(\frac{2x+1}{(x-5)(x+3)}\), and how many constants does it contain?
  2. How many constants are required when a proper rational function has denominator \((x-1)(x+2)(x-6)(x+7)\)?
  3. Why must the numerator over an individual linear factor be constant?
  4. What must be done before writing a proper-fraction template if the numerator's degree is equal to the denominator's degree?
  5. Why should common factors be canceled before counting the denominator factors?

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