Tutorials › Calculus II › Definite Polynomial-Exponential Integrals by Tables

Repeated and Tabular Parts · Tutorial 55 of 998

Definite Polynomial-Exponential Integrals by Tables

Use a derivative-and-integration table to build an antiderivative, then evaluate its boundary terms accurately on a finite interval.

Intermediate 9 min read

What You'll Learn

  • Set up a tabular integration-by-parts calculation for a polynomial times an exponential.
  • Use the polynomial’s degree to determine when the table ends.
  • Apply the alternating signs and powers of the exponential coefficient correctly.
  • Evaluate every boundary term at the upper and lower endpoints.
  • Check an antiderivative by differentiating it.
  • Recognize the special case when the exponential coefficient is zero.

Why Endpoint Accounting Matters

Tabular integration by parts is especially efficient when one factor is a polynomial: repeated differentiation eventually reduces the polynomial to zero. For a product involving an exponential, repeated integration of the exponential also has a simple pattern. In a definite integral, however, finding an antiderivative is only part of the calculation. The final expression must be evaluated at both endpoints, with every term included and the subtraction in the correct order.

This tutorial develops a systematic table and endpoint formula for integrals of a polynomial times \(e^{ax}\). The coefficient \(a\) is assumed to be nonzero unless stated otherwise. As with any application of the Fundamental Theorem of Calculus, the polynomial and exponential are continuous on the finite interval of integration, so an antiderivative can be evaluated at the endpoints.

Definition: Let \(P\) be a polynomial and let \(a\ne 0\). A definite polynomial-exponential integral on \([u,v]\) has the form \(\int_u^v P(x)e^{ax}\,dx\), where \(u\) and \(v\) are finite real numbers with \(u\le v\).

The Tabular Pattern

Start a table with successive derivatives of \(P(x)\) in one column and successive antiderivatives of \(e^{ax}\) in the other. Each integration of the exponential contributes another factor of \(1/a\). The signs on the diagonal products alternate, beginning with a positive sign.

$$ \begin{array}{c|c|c} \text{Sign} & \text{Differentiate }P(x) & \text{Integrate }e^{ax}\\ + & P(x) & \dfrac{e^{ax}}{a}\\ - & P'(x) & \dfrac{e^{ax}}{a^2}\\ + & P''(x) & \dfrac{e^{ax}}{a^3}\\ - & P'''(x) & \dfrac{e^{ax}}{a^4}\\ \vdots & \vdots & \vdots \end{array} $$

If \(P\) has degree \(n\), then \(P^{(n+1)}(x)=0\), so the derivative column terminates. Multiplying across each row and applying its sign gives the antiderivative

$$ e^{ax}\left( \frac{P(x)}{a} -\frac{P'(x)}{a^2} +\frac{P''(x)}{a^3} -\cdots +(-1)^n\frac{P^{(n)}(x)}{a^{n+1}} \right). $$

For a definite integral, this entire antiderivative is evaluated at \(v\) and then at \(u\). Equivalently, each diagonal product contributes its own upper-endpoint value minus its lower-endpoint value. Keeping those endpoint evaluations visible helps prevent sign errors.

Formula: If \(P\) has degree \(n\) and \(a\ne0\), then
$$ \int_u^v P(x)e^{ax}\,dx = \sum_{k=0}^{n} \frac{(-1)^k}{a^{k+1}} \left(e^{av}P^{(k)}(v)-e^{au}P^{(k)}(u)\right). $$

The expression in parentheses is always the value at the upper endpoint minus the value at the lower endpoint. The alternating sign and the power \(a^{k+1}\) belong to the \(k\)th derivative term.

Why the Formula Works

The table is a compact form of repeated integration by parts. Its signs alternate because each new integration-by-parts step subtracts an integral involving one more derivative of the polynomial. The following verification also proves that the displayed expression is an antiderivative.

Derivation: Define \(Q(x)=\sum_{k=0}^{n}(-1)^kP^{(k)}(x)/a^{k+1}\). Differentiating \(e^{ax}Q(x)\) gives \(e^{ax}(aQ(x)+Q'(x))\). In \(aQ+Q'\), the derivative terms cancel in adjacent pairs: the term \((-1)^kP^{(k)}(x)/a^k\) from \(aQ\) cancels the term \((-1)^{k-1}P^{(k)}(x)/a^k\) from \(Q'\), for each \(1\le k\le n\). The only uncancelled term is \(P(x)\); the final derivative \(P^{(n+1)}\) is zero. Thus \(\frac{d}{dx}(e^{ax}Q(x))=P(x)e^{ax}\). The Fundamental Theorem of Calculus then gives the definite-integral formula by evaluating \(e^{ax}Q(x)\) at \(v\) and subtracting its value at \(u\).

This check is useful in practice: after forming the polynomial factor \(Q(x)\), verify that \(aQ(x)+Q'(x)=P(x)\). A correct table expression must pass this test before its endpoint values are trusted.

Worked Examples

Worked Example: A Quadratic on a Unit Interval

Evaluate \(\int_0^1 (x^2+1)e^{2x}\,dx\). Here \(P(x)=x^2+1\), \(a=2\), \(P'(x)=2x\), and \(P''(x)=2\). The table ends after the second derivative, giving

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

The antiderivative is \(e^{2x}Q(x)\). At the upper endpoint,

$$ Q(1)=\frac12-\frac12+\frac34=\frac34, \qquad e^{2(1)}Q(1)=\frac34e^2. $$

At the lower endpoint,

$$ Q(0)=0-0+\frac34=\frac34, \qquad e^{2(0)}Q(0)=1\cdot\frac34=\frac34. $$

Subtract the lower-endpoint value from the upper-endpoint value:

$$ \int_0^1 (x^2+1)e^{2x}\,dx =\frac34e^2-\frac34 =\frac34(e^2-1). $$

Check the antiderivative. Since \(Q'(x)=x-\frac12\), we have \(2Q(x)=x^2-x+\frac32\), and therefore

$$ 2Q(x)+Q'(x) =x^2-x+\frac32+x-\frac12 =x^2+1=P(x). $$

Thus \(\frac{d}{dx}(e^{2x}Q(x))=e^{2x}(x^2+1)\), confirming the result.

Worked Example: A Negative Exponential Coefficient

Evaluate \(\int_{-1}^0 (3x^2-2x+1)e^{-x}\,dx\). Here \(a=-1\), \(P(x)=3x^2-2x+1\), \(P'(x)=6x-2\), and \(P''(x)=6\). The table gives

$$ Q(x)=\frac{P(x)}{-1}-\frac{P'(x)}{(-1)^2} +\frac{P''(x)}{(-1)^3} =-P(x)-P'(x)-P''(x) =-3x^2-4x-5. $$

At the upper endpoint \(x=0\), \(Q(0)=-5\) and \(e^{-0}=1\), so \(e^{-0}Q(0)=-5\). At the lower endpoint \(x=-1\),

$$ Q(-1)=-3(-1)^2-4(-1)-5=-3+4-5=-4, \qquad e^{-(-1)}Q(-1)=e(-4)=-4e. $$

The upper value minus the lower value is

$$ \int_{-1}^0 (3x^2-2x+1)e^{-x}\,dx =-5-(-4e)=4e-5. $$

For a derivative check, \(Q'(x)=-6x-4\), while \(aQ(x)=-Q(x)=3x^2+4x+5\). Hence

$$ aQ(x)+Q'(x) =3x^2+4x+5-6x-4 =3x^2-2x+1=P(x). $$

The antiderivative therefore differentiates to the stated integrand, including when \(a\) is negative.

Worked Example: Endpoint Terms That Simplify

Evaluate \(\int_0^1 (x^2+3x+1)e^{2x}\,dx\). Here \(P(x)=x^2+3x+1\), so \(P'(x)=2x+3\) and \(P''(x)=2\). The table gives

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

Evaluate each table term at the upper endpoint \(x=1\):

$$ e^2\frac{P(1)}{2} =e^2\frac{1+3+1}{2} =\frac52e^2,\qquad -e^2\frac{P'(1)}{4} =-e^2\frac{5}{4} =-\frac54e^2,\qquad e^2\frac{P''(1)}{8} =e^2\frac{2}{8} =\frac14e^2. $$

Their sum is \(\left(\frac52-\frac54+\frac14\right)e^2=\frac32e^2\). At the lower endpoint \(x=0\), the three terms are

$$ e^0\frac{P(0)}2=\frac12,\qquad -e^0\frac{P'(0)}4=-\frac34,\qquad e^0\frac{P''(0)}8=\frac14. $$

Their sum is \(\frac12-\frac34+\frac14=0\). Therefore

$$ \int_0^1 (x^2+3x+1)e^{2x}\,dx =\frac32e^2-0 =\frac32e^2. $$

Check directly using \(Q(x)=x^2/2+x\). We have \(Q'(x)=x+1\) and \(2Q(x)=x^2+2x\), so

$$ 2Q(x)+Q'(x) =x^2+2x+x+1 =x^2+3x+1=P(x). $$

Thus \(F(x)=e^{2x}Q(x)\) satisfies \(F'(x)=P(x)e^{2x}\). The endpoint values are \(F(1)=\frac32e^2\) and \(F(0)=0\), which confirms the integral.

Common Pitfall: Losing the Lower-Endpoint Sign

A frequent error is to evaluate the antiderivative at the upper endpoint and stop, or to add rather than subtract the lower-endpoint value. For example, in the first worked example, the upper value is \(\frac34e^2\), but the lower value is \(\frac34\), not zero. Writing the integral as \(\frac34e^2\) omits a boundary contribution. The correct calculation is

$$ F(1)-F(0)=\frac34e^2-\frac34=\frac34(e^2-1). $$

The subtraction applies to the whole lower-endpoint value. If that value is negative, subtracting it produces a plus sign, as in the second example: \(-5-(-4e)=4e-5\). Writing out both endpoint substitutions before simplifying makes this sign visible.

Conditions and a Practical Checklist

The table formula uses powers of \(1/a\), so it requires \(a\ne0\). If \(a=0\), then \(e^{ax}=1\) and the problem is simply \(\int_u^v P(x)\,dx\), evaluated with a polynomial antiderivative; the exponential table is unnecessary. For \(a\ne0\), the polynomial must have finite degree so repeated differentiation eventually gives zero.

1
Identify the factors.
Write the integrand as \(P(x)e^{ax}\), and check whether \(a\) is nonzero.
2
Build the table.
Differentiate \(P\) until the derivative is zero; integrate \(e^{ax}\) repeatedly, recording \(1/a,1/a^2,\ldots\).
3
Form the alternating sum.
Multiply diagonally, beginning with a plus sign, and retain each power of \(a\).
4
Substitute both endpoints.
Evaluate every term at \(v\), evaluate every term at \(u\), and subtract the complete lower-endpoint result.
5
Check the antiderivative.
For its polynomial factor \(Q\), verify \(aQ+Q'=P\), then confirm the endpoint subtraction.

This method matters because a definite integral can be computed without repeating integration by parts separately at each stage. The table organizes the repeated derivatives, the exponential integrations, and the alternating signs in one place. The endpoint formula then makes clear exactly what must be evaluated. These habits remain useful whenever tabular integration is applied to a finite interval.

Check Your Understanding

Use the table and show both endpoint evaluations in each problem.

  1. For \(P(x)=x^3\) and \(a=1\), how many nonzero derivative rows are needed before the table terminates?
  2. Write the table antiderivative for \(P(x)=x^2\) and \(a=3\), without evaluating it at endpoints.
  3. In the definite-integral formula, in what order are the upper- and lower-endpoint values subtracted?
  4. Why does the table formula require \(a\ne0\), and what simpler integral remains when \(a=0\)?
  5. For a proposed factor \(Q(x)\) in an antiderivative \(e^{ax}Q(x)\), what identity verifies that its derivative is \(P(x)e^{ax}\)?

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