Tutorials › Calculus I › Powers Of Affine Expressions

Substitution and Reversing the Chain Rule · Tutorial 1126 of 1495

Powers Of Affine Expressions

Use the reverse chain rule to integrate powers of a linear expression, including the special logarithmic case and the domain restrictions for negative exponents.

Intermediate 9 min read

What You'll Learn

  • Identify the slope and constant term in an affine expression.
  • Apply the substitution u = ax+b and account for the factor a.
  • Integrate powers with positive and negative integer exponents.
  • Recognize why exponent minus one produces a logarithm.
  • State the intervals on which negative powers and their antiderivatives are defined.
  • Check an antiderivative by differentiating it.

Integrating a Power of a Linear Expression

A power such as \((3x-2)^4\) is a composite function: a linear expression is raised to a power. Its antiderivative is not found by simply increasing the exponent; the slope of the inner expression must also be accounted for. The reverse chain rule gives a systematic way to do this.

This tutorial considers integrands of the form \((ax+b)^n\), where \(a\) and \(b\) are constants and \(n\) is an integer. The method works for positive exponents, for negative exponents wherever the integrand is defined, and for the exponent \(n=-1\), which requires a separate logarithmic formula.

Definition: An affine expression in \(x\) is an expression \(ax+b\), where \(a\) and \(b\) are constants. In the substitution formulas below, first assume \(a\ne 0\).

The Formula and Its Conditions

For an integer \(n\ne -1\), the power rule and the chain rule give the following antiderivative:

$$ \int (ax+b)^n\,dx = \frac{(ax+b)^{n+1}}{a(n+1)}+C, \qquad a\ne 0,\quad n\in\mathbb Z,\quad n\ne -1. $$

When \(n=-1\), the integrand is the reciprocal of the affine expression. Its antiderivative is logarithmic:

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

Here \(C\) is an arbitrary constant. If \(n\) is a negative integer, \((ax+b)^n\) is defined only where \(ax+b\ne 0\). In that case, the formula applies on any interval that does not contain the point \(-b/a\). The logarithmic formula has the same restriction. For positive integer \(n\), the integrand and the displayed antiderivative are defined for every real \(x\).

If \(a=0\), the expression is constant rather than a nonconstant affine expression. When \(b^n\) is defined, the integral is simply \(b^n x+C\); the formulas involving division by \(a\) do not apply. For a negative integer exponent, this constant case also requires \(b\ne 0\).

Why the Factor \(a\) Appears

Set \(u=ax+b\). Then \(du=a\,dx\), so \(dx=\frac{1}{a}\,du\), provided \(a\ne0\). The factor \(\frac{1}{a}\) is essential: it is the adjustment for the rate at which the inner expression changes with \(x\).

$$ \int (ax+b)^n\,dx = \frac{1}{a}\int u^n\,du. $$

For \(n\ne-1\), the power rule gives \(\int u^n\,du=\frac{u^{n+1}}{n+1}+C\). Substituting \(u=ax+b\) yields the stated formula. For \(n=-1\), the corresponding integral is \(\int \frac{1}{u}\,du=\ln|u|+C\), giving the logarithmic formula after the same factor \(\frac{1}{a}\).

The reason these formulas work can also be checked directly by differentiation. This check verifies both the power and logarithmic cases and makes the chain factor explicit.

1
Differentiate the power expression.
For \(n\ne-1\), differentiate \(\frac{(ax+b)^{n+1}}{a(n+1)}\) using the power rule and chain rule.
2
Cancel the constants.
The derivative contributes a factor \(n+1\) from the power and a factor \(a\) from the inner expression. These cancel the denominator \(a(n+1)\).
3
Check the exceptional exponent.
Differentiate \(\frac{1}{a}\ln|ax+b|\) on an interval where \(ax+b\ne0\). The derivative is \(\frac{1}{a}\frac{a}{ax+b}=\frac{1}{ax+b}\).

More explicitly, for \(n\ne-1\), the chain rule gives

$$ \frac{d}{dx}\left(\frac{(ax+b)^{n+1}}{a(n+1)}\right) = \frac{(n+1)(ax+b)^n a}{a(n+1)} = (ax+b)^n. $$

This calculation is valid wherever the powers involved are defined. For the logarithmic case, \(\frac{d}{dx}\ln|ax+b|=\frac{a}{ax+b}\) wherever \(ax+b\ne0\), so the factor \(\frac{1}{a}\) again leaves precisely the original integrand.

Worked Examples

Worked Example: A Positive Integer Exponent

Find an antiderivative of \((3x-2)^4\).

Here \(a=3\), \(b=-2\), and \(n=4\). Since \(n\ne-1\), use the power formula:

$$ \begin{aligned} \int (3x-2)^4\,dx &=\frac{(3x-2)^{4+1}}{3(4+1)}+C\\ &=\frac{(3x-2)^5}{15}+C. \end{aligned} $$

Check by differentiation:

$$ \frac{d}{dx}\left(\frac{(3x-2)^5}{15}\right) = \frac{5(3x-2)^4\cdot 3}{15} = \frac{15(3x-2)^4}{15} = (3x-2)^4. $$

The derivative is the original integrand, as required.

Worked Example: A Negative Integer Exponent

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

Here \(a=2\) and \(n=-3\). The exceptional exponent is only \(-1\), so the power formula applies. The integrand is defined when \(2x+1\ne0\), or \(x\ne-\frac12\).

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

This antiderivative is valid on either interval \((-\infty,-\frac12)\) or \((-\frac12,\infty)\). Check it on either interval:

$$ \begin{aligned} \frac{d}{dx}\left(-\frac14(2x+1)^{-2}\right) &=-\frac14\left[-2(2x+1)^{-3}\cdot 2\right]\\ &=(2x+1)^{-3}. \end{aligned} $$

The result differentiates to the stated integrand wherever that integrand is defined.

Worked Example: The Exponent Minus One

Find an antiderivative of \(\frac{1}{5x-4}\).

This is the case \(n=-1\), so the power formula with denominator \(n+1\) cannot be used. The integrand is undefined at \(5x-4=0\), which gives \(x=\frac45\). Apply the logarithmic formula on either interval separated by that point:

$$ \int \frac{1}{5x-4}\,dx = \frac15\ln|5x-4|+C. $$

Differentiate to check:

$$ \frac{d}{dx}\left(\frac15\ln|5x-4|\right) = \frac15\cdot\frac{5}{5x-4} = \frac{1}{5x-4}. $$

The absolute value permits the logarithm to be defined on both intervals where \(5x-4\ne0\).

Worked Example: A Negative Slope

Find an antiderivative of \((-2x+3)^2\). The negative slope must remain part of the calculation: here \(a=-2\) and \(n=2\).

$$ \begin{aligned} \int (-2x+3)^2\,dx &=\frac{(-2x+3)^{2+1}}{(-2)(2+1)}+C\\ &=-\frac16(-2x+3)^3+C. \end{aligned} $$

Check by differentiation:

$$ \begin{aligned} \frac{d}{dx}\left[-\frac16(-2x+3)^3\right] &=-\frac16\left[3(-2x+3)^2(-2)\right]\\ &=(-2x+3)^2. \end{aligned} $$

The negative sign in the antiderivative is necessary because the inner expression has negative slope.

A Common Mistake: Losing the Slope Factor

A frequent error is to increase the exponent and divide by the new exponent, but forget to divide by the slope \(a\). For example, the incorrect calculation

$$ \int (4x+1)^2\,dx \ \overset{\text{wrong}}{=}\ \frac{(4x+1)^3}{3}+C $$

does not pass the derivative check:

$$ \frac{d}{dx}\left(\frac{(4x+1)^3}{3}\right) = \frac{3(4x+1)^2\cdot4}{3} = 4(4x+1)^2. $$

The derivative is four times the integrand, so the proposed antiderivative is incorrect. The correction is to include the factor \(\frac{1}{a}=\frac14\):

$$ \int (4x+1)^2\,dx = \frac{(4x+1)^3}{4\cdot3}+C = \frac{(4x+1)^3}{12}+C. $$

Indeed, differentiating gives \(\frac{3(4x+1)^2\cdot4}{12}=(4x+1)^2\). A derivative check is especially useful here because it exposes a missing chain factor immediately.

Choosing the Correct Case

Before applying the formula, identify the exponent and check the domain. The distinction between \(n=-1\) and other integer exponents matters because the usual power rule for antiderivatives divides by \(n+1\), which is zero when \(n=-1\).

Exponent and conditionsAntiderivative
Integer \(n\ne-1\), \(a\ne0\)\(\frac{(ax+b)^{n+1}}{a(n+1)}+C\)
\(n=-1\), \(a\ne0\), \(ax+b\ne0\)\(\frac{1}{a}\ln|ax+b|+C\)
Negative integer \(n\)Use the relevant formula only on an interval where \(ax+b\ne0\)
\(a=0\), with \(b^n\) defined\(b^n x+C\)

When a negative power is involved, one antiderivative formula describes a family of antiderivatives on each interval where the integrand is defined. The constants on the two sides of the excluded point need not be the same, because those intervals are separate domains.

Summary

For a nonconstant affine expression \(ax+b\), substitution gives \(du=a\,dx\), so every formula includes the factor \(\frac{1}{a}\). For integer powers other than \(-1\), increase the exponent by one and divide by both the new exponent and \(a\). For exponent \(-1\), use the logarithm \(\frac{1}{a}\ln|ax+b|\). Negative powers and the logarithmic case are defined only away from the zero of the affine expression. Differentiating the proposed antiderivative checks the result and confirms that no factor has been lost.

Check Your Understanding

For each problem, identify the relevant exponent and domain restrictions, then check your antiderivative by differentiation.

  1. Find an antiderivative of \((7x-2)^3\).
  2. Find an antiderivative of \((3x+5)^{-2}\), and state where it is defined.
  3. Find an antiderivative of \(\frac{1}{-4x+1}\), and state the excluded value of \(x\).
  4. A learner claims that \(\int(6x+1)^2\,dx=\frac{(6x+1)^3}{3}+C\). Differentiate this expression and explain the error.
  5. Why can the formula for \(n\ne-1\) not be used when \(n=-1\), and what formula applies instead?

Test yourself: Calculus I 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