Tutorials › Calculus II › Integrating Simple Linear Partial Fractions

Partial Fractions Foundations · Tutorial 188 of 998

Integrating Simple Linear Partial Fractions

Convert each constant-over-linear term into a logarithm, account for scaling in the denominator, and verify the result by differentiation.

Beginner 9 min read

What You'll Learn

  • Apply the antiderivative rule for a constant divided by a nonconstant linear expression.
  • Include the reciprocal of the denominator’s slope in the logarithmic coefficient.
  • Use absolute values to express real logarithmic antiderivatives on their valid domains.
  • Integrate sums of simple linear partial fractions term by term.
  • Check proposed antiderivatives by differentiating and identifying excluded points.

Why Linear Partial Fractions Produce Logarithms

A partial fraction decomposition can turn a rational function into a sum of simpler terms. When one of those terms has a constant numerator and a linear denominator, its antiderivative is a logarithm. The key detail is that the coefficient of the logarithm must account for the slope of the denominator.

For example, \(1/x\) has antiderivative \(\ln|x|\) wherever \(x\ne 0\). But if the denominator is \(3x-2\), differentiating \(\ln|3x-2|\) produces an extra factor of \(3\). Correcting for that factor is the central rule of this tutorial.

Definition: A simple linear partial-fraction term is an expression of the form \(\frac{A}{ax+b}\), where \(A,a,b\) are constants and \(a\ne 0\). It is defined for real \(x\) such that \(ax+b\ne 0\).

The Antiderivative Rule

For constants \(A,a,b\) with \(a\ne 0\), the rule is:

$$ \int \frac{A}{ax+b}\,dx = \frac{A}{a}\ln|ax+b|+C, \qquad ax+b\ne 0. $$

Here \(C\) is an arbitrary constant on the interval where the antiderivative is considered. The restriction \(ax+b\ne 0\) excludes the point where the denominator vanishes. Since \(a\ne 0\), that point is \(x=-b/a\).

The absolute value makes the logarithm real-valued on both sides of the excluded point. For any nonzero real number \(u\), \(\ln|u|\) is defined whether \(u\) is positive or negative. An antiderivative is considered on an interval that does not cross the point where the denominator is zero; the constant of integration may be chosen separately on different such intervals.

Why the Rule Works

The rule follows from the derivative of the logarithm and the chain rule. If \(u(x)\ne 0\), then \(\frac{d}{dx}\ln|u(x)|=\frac{u'(x)}{u(x)}\). To see why the absolute value causes no change to this derivative, consider the two possible signs of \(u\). If \(u>0\), then \(\ln|u|=\ln u\), whose derivative is \(u'/u\). If \(u<0\), then \(\ln|u|=\ln(-u)\), whose derivative is \((-u)'/(-u)=u'/u\). Thus the same derivative formula holds wherever \(u\ne 0\).

Apply this fact to \(u(x)=ax+b\), whose derivative is \(a\). Then:

$$ \frac{d}{dx}\left(\frac{A}{a}\ln|ax+b|\right) = \frac{A}{a}\frac{a}{ax+b} = \frac{A}{ax+b}. $$

This verifies that the proposed logarithm is an antiderivative on any interval where \(ax+b\ne 0\). The factor \(1/a\) is necessary because differentiating the logarithm introduces the factor \(a\) from the linear expression inside it.

Theorem: If \(A,a,b\) are real constants and \(a\ne 0\), then \(\frac{A}{a}\ln|ax+b|+C\) is an antiderivative of \(\frac{A}{ax+b}\) on each interval where \(ax+b\ne 0\).

Worked Examples

Worked Example: A Scaled Linear Denominator

Find an antiderivative of \(\frac{7}{3x-2}\).

Identify the constants: \(A=7\), \(a=3\), and \(b=-2\). The denominator is zero when \(3x-2=0\), so \(x=2/3\) is excluded. Apply the rule, including the factor \(1/a=1/3\):

$$ \int \frac{7}{3x-2}\,dx = \frac{7}{3}\ln|3x-2|+C, \qquad x\ne \frac{2}{3}. $$

Check by differentiating. The derivative of the inside, \(3x-2\), is \(3\):

$$ \frac{d}{dx}\left(\frac{7}{3}\ln|3x-2|\right) = \frac{7}{3}\cdot\frac{3}{3x-2} = \frac{7}{3x-2}. $$

The derivative matches the integrand, so the antiderivative is correct on any interval that does not contain \(2/3\).

Worked Example: Integrating Two Linear Terms

Find an antiderivative of \(\frac{4}{x-2}-\frac{3}{2x+1}\).

Integrate each term separately. For the first term, the denominator has slope \(1\), so its logarithmic coefficient remains \(4\). For the second term, the denominator has slope \(2\), so its coefficient becomes \(-3/2\):

$$ \begin{aligned} \int \left(\frac{4}{x-2}-\frac{3}{2x+1}\right)\,dx &= 4\ln|x-2|-\frac{3}{2}\ln|2x+1|+C. \end{aligned} $$

The denominators vanish at \(x=2\) and \(x=-1/2\). Thus the expression is an antiderivative on any interval that excludes both points. Differentiate each logarithmic term to check:

$$ \begin{aligned} \frac{d}{dx}\left(4\ln|x-2|-\frac{3}{2}\ln|2x+1|\right) &= 4\cdot\frac{1}{x-2} -\frac{3}{2}\cdot\frac{2}{2x+1}\\ &= \frac{4}{x-2}-\frac{3}{2x+1}. \end{aligned} $$

The result reproduces the original sum, including its minus sign and both coefficients.

Worked Example: Integrating a Decomposed Rational Function

Suppose a rational function has been decomposed as \(\frac{x+5}{(x-1)(x+2)}=\frac{2}{x-1}-\frac{1}{x+2}\). Find an antiderivative of the rational function.

First verify the stated decomposition by combining the right-hand terms over a common denominator:

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

Now integrate the two simple linear terms. Both denominators have slope \(1\), so no additional scaling factor is needed:

$$ \int \frac{x+5}{(x-1)(x+2)}\,dx = 2\ln|x-1|-\ln|x+2|+C. $$

The original expression is undefined at \(x=1\) and \(x=-2\). Check the antiderivative by differentiating and recombining the terms:

$$ \begin{aligned} \frac{d}{dx}\left(2\ln|x-1|-\ln|x+2|\right) &= \frac{2}{x-1}-\frac{1}{x+2}\\ &= \frac{2(x+2)-(x-1)}{(x-1)(x+2)}\\ &= \frac{x+5}{(x-1)(x+2)}. \end{aligned} $$

The derivative equals the original rational function wherever that function is defined, confirming the answer on each interval that excludes \(1\) and \(-2\).

Using the Rule on a Sum

Once a rational function has been expressed as a sum of simple linear partial fractions, integrate the terms one at a time. If the decomposition is \(\sum_{i=1}^{n}\frac{A_i}{a_i x+b_i}\), with each \(a_i\ne 0\), then linearity of integration gives:

$$ \int \sum_{i=1}^{n}\frac{A_i}{a_i x+b_i}\,dx = \sum_{i=1}^{n}\frac{A_i}{a_i}\ln|a_i x+b_i|+C. $$

This formula applies on intervals where every denominator in the sum is nonzero. The decomposition itself does not change the excluded points: they are the real zeros of the original denominator, after any valid cancellation has been taken into account. Each logarithm can be checked independently by differentiation, and the derivative of the sum is the sum of those derivatives.

The rule concerns terms whose numerators are constants and whose denominators are linear. It does not by itself integrate terms with linear numerators over quadratic denominators or constant numerators over irreducible quadratic denominators. Those require different antiderivative forms.

Common Pitfall: Forgetting the Slope Factor

A frequent error is to treat \(\ln|ax+b|\) as though its derivative were \(1/(ax+b)\). The chain rule shows that this misses a factor of \(a\). For example, the following calculation is wrong:

$$ \int \frac{7}{3x-2}\,dx \;\not=\; 7\ln|3x-2|+C. $$

Differentiating the proposed expression reveals the error:

$$ \frac{d}{dx}\left(7\ln|3x-2|\right) = 7\cdot\frac{3}{3x-2} = \frac{21}{3x-2}, $$

which is three times the required integrand. To correct the coefficient, divide by the slope \(3\):

$$ \int \frac{7}{3x-2}\,dx = \frac{7}{3}\ln|3x-2|+C. $$

Differentiating this corrected expression gives \(\frac{7}{3}\cdot\frac{3}{3x-2}=\frac{7}{3x-2}\), as required. A useful habit is to differentiate every proposed logarithmic antiderivative, rather than relying on the appearance of the formula alone.

Absolute Values and Excluded Points

Omitting the absolute value can make a real antiderivative undefined on part of the domain. For instance, \(\ln(3x-2)\) is real only when \(x>2/3\). But the integrand \(7/(3x-2)\) is also defined for \(x<2/3\). The expression \(\ln|3x-2|\) works on both sides, with the singular point \(x=2/3\) excluded.

That does not mean an antiderivative can be continued through a denominator zero. The integrand is undefined there, and the logarithmic expression is also singular there. Instead, consider each interval of the domain separately. In the first example, these intervals are \((-\infty,2/3)\) and \((2/3,\infty)\). On either interval, differentiation verifies the same formula; the arbitrary constant may be different on the two intervals.

Key takeaway: For a constant-over-linear term, divide the numerator coefficient by the denominator’s slope, take the logarithm of the absolute value of the denominator, and verify by differentiation. Keep every zero of the denominator outside the interval of validity.

Check Your Understanding

For each question, pay attention to the denominator’s slope and any points where the integrand is undefined.

  1. Find an antiderivative of \(\frac{6}{5x+4}\), and check it by differentiation.
  2. Find an antiderivative of \(\frac{2}{x-3}+\frac{5}{4x+1}\). State the excluded points.
  3. Why does \(\int \frac{A}{ax+b}\,dx\) require the coefficient \(A/a\), rather than \(A\), in front of the logarithm?
  4. Differentiate \(\ln|7x-5|\) for \(x\ne 5/7\).
  5. On what intervals is \(\frac{3}{x+1}\) defined, and why should its antiderivative be considered separately on those intervals?

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