In mathematics for economists, we often need to move from marginal values (slopes) back to total values.
Reversing the process of differentiation to find the original function from its derivative is called integration or reverse differentiation .
The original function F ( x ) F(x) F ( x ) is called the integral or antiderivative of f ′ ( x ) f'(x) f ′ ( x ) .
Symbolically:
∫ f ( x ) d x = F ( x ) + c \int f(x)dx = F(x) + c ∫ f ( x ) d x = F ( x ) + c This chapter covers:
Basic rules of integration
Integration by substitution
Integration by parts
Definite integrals and the Fundamental Theorem of Calculus
Economic applications
Rules of Integration ¶ The integral of a constant k k k is:
∫ k d x = k x + c \int kdx = kx + c ∫ k d x = k x + c The integral of 1, written simply as d x dx d x , not 1 d x 1 dx 1 d x , is:
∫ d x = x + c \int dx = x + c ∫ d x = x + c The integral of a power function x n x^n x n , where n ≠ − 1 n \neq -1 n = − 1 , is given by the power rule:
∫ x n d x = 1 n + 1 x n + 1 + c \int x^n dx = \frac{1}{n+1}x^{n+1} + c ∫ x n d x = n + 1 1 x n + 1 + c The integral of x − 1 x^{-1} x − 1 (or 1 / x 1/x 1/ x ) is:
∫ x − 1 d x = ln x + c ( x > 0 ) \int x^{-1} dx = \ln x + c \quad (x > 0) ∫ x − 1 d x = ln x + c ( x > 0 ) The condition x > 0 x > 0 x > 0 is added because only positive numbers have logarithms. For negative numbers,
∫ x − 1 d x = ln ∣ x ∣ + c ( x ≠ 0 ) \int x^{-1} dx = \ln|x| + c \quad (x \neq 0) ∫ x − 1 d x = ln ∣ x ∣ + c ( x = 0 ) A little thought informs us that:
∫ f ′ ( x ) f ( x ) d x = ln f ( x ) + C for f ( x ) > 0 = ln ∣ f ( x ) ∣ + C for f ( x ) ≠ 0 \begin{align}
\int \frac{f'(x)}{f(x)} \, dx &= \ln f(x) + C \quad \text{for } f(x) > 0 \\
&= \ln |f(x)| + C \quad \text{for } f(x) \neq 0
\end{align} ∫ f ( x ) f ′ ( x ) d x = ln f ( x ) + C for f ( x ) > 0 = ln ∣ f ( x ) ∣ + C for f ( x ) = 0 The integral of a exponential function is
∫ a k x d x = a k x k ln x + c \int a^{kx} dx = \frac{a^{kx}}{k \ln x} + c ∫ a k x d x = k ln x a k x + c The integral of a natural exponential function is
∫ e k x d x = e k x k + c \int e^{kx} dx = \frac{e^{kx}}{k} + c ∫ e k x d x = k e k x + c From our knowledge of differentiation of exponential functions, it goes without saying that
∫ e x d x = e x + c \int e^x dx = e^x + c ∫ e x d x = e x + c And with a little thought, we have
∫ f ′ ( x ) e f ( x ) d x = e f ( x ) + c \int f'(x)e^{f(x)} dx = e^{f(x)} + c ∫ f ′ ( x ) e f ( x ) d x = e f ( x ) + c The integral of a constant times a function equals the constant times the integral of the function:
∫ k f ( x ) d x = k ∫ f ( x ) d x \int kf(x) dx = k \int f(x) dx ∫ k f ( x ) d x = k ∫ f ( x ) d x The integral of the sum or difference of two or more functions equals the sum or difference of their integrals:
∫ [ f ( x ) ± g ( x ) ] d x = ∫ f ( x ) d x ± ∫ g ( x ) d x \int [f(x) \pm g(x)] dx = \int f(x) dx \pm \int g(x) dx ∫ [ f ( x ) ± g ( x )] d x = ∫ f ( x ) d x ± ∫ g ( x ) d x The integral of the negative of a function equals the negative of the integral of that function:
∫ − f ( x ) d x = − ∫ f ( x ) d x \int -f(x) dx = -\int f(x) dx ∫ − f ( x ) d x = − ∫ f ( x ) d x Determine the following integrals. You should also check your answers by finding the derivative of the integral that you find.
i. ∫ − 1 2 x d x \int -\frac{1}{2}x dx ∫ − 2 1 x d x
ii. ∫ 4 x 3 d x \int 4x^3 dx ∫ 4 x 3 d x
iii. ∫ 4 x − 2 d x \int 4x^{-2} dx ∫ 4 x − 2 d x
iv. ∫ x − 5 / 2 d x \int x^{-5/2} dx ∫ x − 5/2 d x
v. ∫ 5 x − 1 d x \int 5x^{-1} dx ∫ 5 x − 1 d x
vi. ∫ 1 3 x d x \int \frac{1}{3x} dx ∫ 3 x 1 d x
vii. ∫ d x x 3 \int \frac{dx}{\sqrt[3]{x}} ∫ 3 x d x
viii. ∫ 2 4 x d x \int 2^{4x} dx ∫ 2 4 x d x
ix. ∫ 8 x d x \int 8^x dx ∫ 8 x d x
x. ∫ e 5 x d x \int e^{5x} dx ∫ e 5 x d x
xi. ∫ 16 e − 4 x d x \int 16e^{-4x} dx ∫ 16 e − 4 x d x
xii. ∫ ( 6 e 3 x − 8 e − 2 x ) d x \int (6e^{3x} - 8e^{-2x}) dx ∫ ( 6 e 3 x − 8 e − 2 x ) d x
Find the integral for y = ∫ ( x 1 / 2 + 3 x − 1 / 2 ) d x y = \int(x^{1/2} + 3x^{-1/2})dx y = ∫ ( x 1/2 + 3 x − 1/2 ) d x , given the initial condition y = 0 y = 0 y = 0 when x = 0 x = 0 x = 0 .
answer: y = 2 3 x 3 / 2 + 6 x 1 / 2 y = \frac{2}{3}x^{3/2} + 6x^{1/2} y = 3 2 x 3/2 + 6 x 1/2
Find the integral for y = ∫ ( 2 x 5 − 3 x − 1 / 4 ) d x y = \int(2x^5 - 3x^{-1/4})dx y = ∫ ( 2 x 5 − 3 x − 1/4 ) d x , given the initial condition y = 6 y = 6 y = 6 when x = 0 x = 0 x = 0 .
answer: y = 1 3 x 6 − 4 x 3 / 4 + 6 y = \frac{1}{3}x^6 - 4x^{3/4} + 6 y = 3 1 x 6 − 4 x 3/4 + 6
Find the integral for y = ∫ ( 10 x 4 − 3 ) d x y = \int(10x^4 - 3)dx y = ∫ ( 10 x 4 − 3 ) d x , given the boundary condition y = 21 y = 21 y = 21 when x = 1 x = 1 x = 1 .
answer: y = 2 x 5 − 3 x + 22 y = 2x^5 - 3x + 22 y = 2 x 5 − 3 x + 22
Solutions to Exercises ¶ i. ∫ − 1 2 x d x \int -\frac{1}{2}x \, dx ∫ − 2 1 x d x
Step: Apply the power rule: ∫ x n d x = 1 n + 1 x n + 1 + c \int x^n dx = \frac{1}{n+1}x^{n+1} + c ∫ x n d x = n + 1 1 x n + 1 + c .
Solution: − 1 2 ⋅ x 2 2 + c = − 1 4 x 2 + c -\frac{1}{2} \cdot \frac{x^2}{2} + c = -\frac{1}{4}x^2 + c − 2 1 ⋅ 2 x 2 + c = − 4 1 x 2 + c
Check: d d x ( − 1 4 x 2 + c ) = − 1 4 ( 2 x ) = − 1 2 x \frac{d}{dx}(-\frac{1}{4}x^2 + c) = -\frac{1}{4}(2x) = -\frac{1}{2}x d x d ( − 4 1 x 2 + c ) = − 4 1 ( 2 x ) = − 2 1 x
ii. ∫ 4 x 3 d x \int 4x^3 \, dx ∫ 4 x 3 d x
Step: Factor out the constant and apply the power rule.
Solution: 4 ⋅ x 4 4 + c = x 4 + c 4 \cdot \frac{x^4}{4} + c = x^4 + c 4 ⋅ 4 x 4 + c = x 4 + c
Check: d d x ( x 4 + c ) = 4 x 3 \frac{d}{dx}(x^4 + c) = 4x^3 d x d ( x 4 + c ) = 4 x 3
iii. ∫ 4 x − 2 d x \int 4x^{-2} \, dx ∫ 4 x − 2 d x
Step: Apply the power rule for n = − 2 n = -2 n = − 2 .
Solution: 4 ⋅ x − 1 − 1 + c = − 4 x − 1 + c = − 4 x + c 4 \cdot \frac{x^{-1}}{-1} + c = -4x^{-1} + c = -\frac{4}{x} + c 4 ⋅ − 1 x − 1 + c = − 4 x − 1 + c = − x 4 + c
Check: d d x ( − 4 x − 1 + c ) = − 4 ( − 1 ) x − 2 = 4 x − 2 \frac{d}{dx}(-4x^{-1} + c) = -4(-1)x^{-2} = 4x^{-2} d x d ( − 4 x − 1 + c ) = − 4 ( − 1 ) x − 2 = 4 x − 2
iv. ∫ x − 5 / 2 d x \int x^{-5/2} \, dx ∫ x − 5/2 d x
Step: Apply the power rule: n + 1 = − 5 / 2 + 2 / 2 = − 3 / 2 n+1 = -5/2 + 2/2 = -3/2 n + 1 = − 5/2 + 2/2 = − 3/2 .
Solution: x − 3 / 2 − 3 / 2 + c = − 2 3 x − 3 / 2 + c \frac{x^{-3/2}}{-3/2} + c = -\frac{2}{3}x^{-3/2} + c − 3/2 x − 3/2 + c = − 3 2 x − 3/2 + c
Check: d d x ( − 2 3 x − 3 / 2 + c ) = − 2 3 ( − 3 2 ) x − 5 / 2 = x − 5 / 2 \frac{d}{dx}(-\frac{2}{3}x^{-3/2} + c) = -\frac{2}{3}(-\frac{3}{2})x^{-5/2} = x^{-5/2} d x d ( − 3 2 x − 3/2 + c ) = − 3 2 ( − 2 3 ) x − 5/2 = x − 5/2
v. ∫ 5 x − 1 d x \int 5x^{-1} \, dx ∫ 5 x − 1 d x
Step: Apply the log rule: ∫ x − 1 d x = ln ∣ x ∣ + c \int x^{-1} dx = \ln|x| + c ∫ x − 1 d x = ln ∣ x ∣ + c .
Solution: 5 ln ∣ x ∣ + c 5 \ln|x| + c 5 ln ∣ x ∣ + c
Check: d d x ( 5 ln ∣ x ∣ + c ) = 5 ⋅ 1 x = 5 x − 1 \frac{d}{dx}(5 \ln|x| + c) = 5 \cdot \frac{1}{x} = 5x^{-1} d x d ( 5 ln ∣ x ∣ + c ) = 5 ⋅ x 1 = 5 x − 1
vi. ∫ 1 3 x d x \int \frac{1}{3x} \, dx ∫ 3 x 1 d x
Step: Factor out 1 / 3 1/3 1/3 and apply the log rule.
Solution: 1 3 ∫ 1 x d x = 1 3 ln ∣ x ∣ + c \frac{1}{3} \int \frac{1}{x} \, dx = \frac{1}{3} \ln|x| + c 3 1 ∫ x 1 d x = 3 1 ln ∣ x ∣ + c
Check: d d x ( 1 3 ln ∣ x ∣ + c ) = 1 3 ⋅ 1 x = 1 3 x \frac{d}{dx}(\frac{1}{3} \ln|x| + c) = \frac{1}{3} \cdot \frac{1}{x} = \frac{1}{3x} d x d ( 3 1 ln ∣ x ∣ + c ) = 3 1 ⋅ x 1 = 3 x 1
vii. ∫ d x x 3 \int \frac{dx}{\sqrt[3]{x}} ∫ 3 x d x
Step: Rewrite as a power: x − 1 / 3 x^{-1/3} x − 1/3 , then apply the power rule (n + 1 = 2 / 3 n+1 = 2/3 n + 1 = 2/3 ).
Solution: ∫ x − 1 / 3 d x = x 2 / 3 2 / 3 + c = 3 2 x 2 / 3 + c \int x^{-1/3} \, dx = \frac{x^{2/3}}{2/3} + c = \frac{3}{2}x^{2/3} + c ∫ x − 1/3 d x = 2/3 x 2/3 + c = 2 3 x 2/3 + c
Check: d d x ( 3 2 x 2 / 3 + c ) = 3 2 ( 2 3 ) x − 1 / 3 = x − 1 / 3 = 1 x 3 \frac{d}{dx}(\frac{3}{2}x^{2/3} + c) = \frac{3}{2}(\frac{2}{3})x^{-1/3} = x^{-1/3} = \frac{1}{\sqrt[3]{x}} d x d ( 2 3 x 2/3 + c ) = 2 3 ( 3 2 ) x − 1/3 = x − 1/3 = 3 x 1
viii. ∫ 2 4 x d x \int 2^{4x} \, dx ∫ 2 4 x d x
Step: Apply the general exponential rule: ∫ a k x d x = a k x k ln a + c \int a^{kx} dx = \frac{a^{kx}}{k \ln a} + c ∫ a k x d x = k l n a a k x + c .
Solution: 2 4 x 4 ln 2 + c \frac{2^{4x}}{4 \ln 2} + c 4 l n 2 2 4 x + c
Check: d d x ( 2 4 x 4 ln 2 + c ) = 1 4 ln 2 ⋅ 2 4 x ⋅ ln 2 ⋅ 4 = 2 4 x \frac{d}{dx}(\frac{2^{4x}}{4 \ln 2} + c) = \frac{1}{4 \ln 2} \cdot 2^{4x} \cdot \ln 2 \cdot 4 = 2^{4x} d x d ( 4 l n 2 2 4 x + c ) = 4 l n 2 1 ⋅ 2 4 x ⋅ ln 2 ⋅ 4 = 2 4 x
ix. ∫ 8 x d x \int 8^x \, dx ∫ 8 x d x
Step: Apply the exponential rule where k = 1 k=1 k = 1 .
Solution: 8 x ln 8 + c \frac{8^x}{\ln 8} + c l n 8 8 x + c
Check: d d x ( 8 x ln 8 + c ) = 1 ln 8 ⋅ 8 x ⋅ ln 8 = 8 x \frac{d}{dx}(\frac{8^x}{\ln 8} + c) = \frac{1}{\ln 8} \cdot 8^x \cdot \ln 8 = 8^x d x d ( l n 8 8 x + c ) = l n 8 1 ⋅ 8 x ⋅ ln 8 = 8 x
x. ∫ e 5 x d x \int e^{5x} \, dx ∫ e 5 x d x
Step: Apply the natural exponential rule: ∫ e k x d x = e k x k + c \int e^{kx} dx = \frac{e^{kx}}{k} + c ∫ e k x d x = k e k x + c .
Solution: 1 5 e 5 x + c \frac{1}{5}e^{5x} + c 5 1 e 5 x + c
Check: d d x ( 1 5 e 5 x + c ) = 1 5 ⋅ e 5 x ⋅ 5 = e 5 x \frac{d}{dx}(\frac{1}{5}e^{5x} + c) = \frac{1}{5} \cdot e^{5x} \cdot 5 = e^{5x} d x d ( 5 1 e 5 x + c ) = 5 1 ⋅ e 5 x ⋅ 5 = e 5 x
xi. ∫ 16 e − 4 x d x \int 16e^{-4x} \, dx ∫ 16 e − 4 x d x
Step: Factor out 16 and apply the natural exponential rule.
Solution: 16 ⋅ e − 4 x − 4 + c = − 4 e − 4 x + c 16 \cdot \frac{e^{-4x}}{-4} + c = -4e^{-4x} + c 16 ⋅ − 4 e − 4 x + c = − 4 e − 4 x + c
Check: d d x ( − 4 e − 4 x + c ) = − 4 ⋅ e − 4 x ⋅ ( − 4 ) = 16 e − 4 x \frac{d}{dx}(-4e^{-4x} + c) = -4 \cdot e^{-4x} \cdot (-4) = 16e^{-4x} d x d ( − 4 e − 4 x + c ) = − 4 ⋅ e − 4 x ⋅ ( − 4 ) = 16 e − 4 x
xii. ∫ ( 6 e 3 x − 8 e − 2 x ) d x \int (6e^{3x} - 8e^{-2x}) \, dx ∫ ( 6 e 3 x − 8 e − 2 x ) d x
Step: Apply the sum/difference rule and integrate each term individually.
Solution: 6 ⋅ e 3 x 3 − 8 ⋅ e − 2 x − 2 + c = 2 e 3 x + 4 e − 2 x + c 6 \cdot \frac{e^{3x}}{3} - 8 \cdot \frac{e^{-2x}}{-2} + c = 2e^{3x} + 4e^{-2x} + c 6 ⋅ 3 e 3 x − 8 ⋅ − 2 e − 2 x + c = 2 e 3 x + 4 e − 2 x + c
Check: d d x ( 2 e 3 x + 4 e − 2 x + c ) = 2 ( 3 ) e 3 x + 4 ( − 2 ) e − 2 x = 6 e 3 x − 8 e − 2 x \frac{d}{dx}(2e^{3x} + 4e^{-2x} + c) = 2(3)e^{3x} + 4(-2)e^{-2x} = 6e^{3x} - 8e^{-2x} d x d ( 2 e 3 x + 4 e − 2 x + c ) = 2 ( 3 ) e 3 x + 4 ( − 2 ) e − 2 x = 6 e 3 x − 8 e − 2 x
Integration by Substitution ¶ Integration by substitution is often useful to integrate more complex forms.
∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u where u = g ( x ) \int f(g(x))g'(x) dx = \int f(u) du \quad \text{where } u = g(x) ∫ f ( g ( x )) g ′ ( x ) d x = ∫ f ( u ) d u where u = g ( x ) Example:
Say you want to find:
∫ ( x 2 + 4 ) 3 2 x d x \int (x^2 + 4)^3 2x dx ∫ ( x 2 + 4 ) 3 2 x d x The “trick” is to notice that if u = g ( x ) = x 2 + 4 u = g(x) = x^2 + 4 u = g ( x ) = x 2 + 4 , then g ′ ( x ) = 2 x g'(x) = 2x g ′ ( x ) = 2 x .
So we can write:
∫ ( x 2 + 4 ) 3 2 x d x = ∫ u 3 d u since d u = 2 x d x = u 4 4 + c = ( x 2 + 4 ) 4 4 + c \begin{align*}
\int (x^2 + 4)^3 2x dx &= \int u^3 du \quad \text{since } du = 2x dx \\
&= \frac{u^4}{4} + c = \frac{(x^2 + 4)^4}{4} + c
\end{align*} ∫ ( x 2 + 4 ) 3 2 x d x = ∫ u 3 d u since d u = 2 x d x = 4 u 4 + c = 4 ( x 2 + 4 ) 4 + c A slightly more difficult example:
Find ∫ x e − k x 2 d x \int xe^{-kx^2} dx ∫ x e − k x 2 d x .
Let u = − k x 2 u = -kx^2 u = − k x 2 , then d u = − 2 k x d x du = -2kx dx d u = − 2 k x d x .
Hence, x d x = − d u 2 k x dx = -\frac{du}{2k} x d x = − 2 k d u , implying:
∫ x e − k x 2 d x = ∫ − 1 2 k e u d u = − 1 2 k e u + c = − 1 2 k e − k x 2 + c \int xe^{-kx^2} dx = \int -\frac{1}{2k} e^u du = -\frac{1}{2k} e^u + c = -\frac{1}{2k} e^{-kx^2} + c ∫ x e − k x 2 d x = ∫ − 2 k 1 e u d u = − 2 k 1 e u + c = − 2 k 1 e − k x 2 + c Generalized Rules from Substitution ¶ Generalized Power Rule (n ≠ − 1 n \neq -1 n = − 1 ):
∫ [ f ( x ) ] n f ′ ( x ) d x = [ f ( x ) ] n + 1 n + 1 + c \int [f(x)]^n f'(x) dx = \frac{[f(x)]^{n+1}}{n+1} + c ∫ [ f ( x ) ] n f ′ ( x ) d x = n + 1 [ f ( x ) ] n + 1 + c Example 1:
∫ ( x + 1 ) 2 d x = ( x + 1 ) 3 3 + c \int (x+1)^2 dx = \frac{(x+1)^3}{3} + c ∫ ( x + 1 ) 2 d x = 3 ( x + 1 ) 3 + c Example 2:
∫ ( 2 x + 1 ) 2 d x = 1 2 ∫ ( 2 x + 1 ) 2 2 d x = ( 2 x + 1 ) 3 6 + c \int (2x+1)^2 dx = \frac{1}{2} \int (2x+1)^2 2 dx = \frac{(2x+1)^3}{6} + c ∫ ( 2 x + 1 ) 2 d x = 2 1 ∫ ( 2 x + 1 ) 2 2 d x = 6 ( 2 x + 1 ) 3 + c Generalized Log Rule:
∫ f ′ ( x ) f ( x ) d x = ln ∣ f ( x ) ∣ + c \int \frac{f'(x)}{f(x)} dx = \ln|f(x)| + c ∫ f ( x ) f ′ ( x ) d x = ln ∣ f ( x ) ∣ + c Example 1:
∫ 2 x d x = 2 ln ( x ) + c ( x > 0 ) \int \frac{2}{x} dx = 2 \ln(x) + c \quad (x > 0) ∫ x 2 d x = 2 ln ( x ) + c ( x > 0 ) Example 2:
∫ x ( 4 x 2 + 1 ) d x = 1 8 ∫ 8 x ( 4 x 2 + 1 ) d x = 1 8 ln ( 4 x 2 + 1 ) + c \int \frac{x}{(4x^2 + 1)} dx = \frac{1}{8} \int \frac{8x}{(4x^2 + 1)} dx = \frac{1}{8} \ln(4x^2 + 1) + c ∫ ( 4 x 2 + 1 ) x d x = 8 1 ∫ ( 4 x 2 + 1 ) 8 x d x = 8 1 ln ( 4 x 2 + 1 ) + c Generalized Exponential Rule:
∫ A e f ( x ) f ′ ( x ) d x = A e f ( x ) + c \int A e^{f(x)} f'(x) dx = A e^{f(x)} + c ∫ A e f ( x ) f ′ ( x ) d x = A e f ( x ) + c Example:
∫ x e x 2 d x = 1 2 e x 2 + c \int x e^{x^2} dx = \frac{1}{2} e^{x^2} + c ∫ x e x 2 d x = 2 1 e x 2 + c Determine the following integrals, using the substitution method. Check your answers.
i. ∫ 10 x ( x 2 + 3 ) 4 d x \int 10x(x^2 + 3)^4 dx ∫ 10 x ( x 2 + 3 ) 4 d x
ii. ∫ x 4 ( 2 x 5 − 5 ) 4 d x \int x^4(2x^5 - 5)^4 dx ∫ x 4 ( 2 x 5 − 5 ) 4 d x
iii. ∫ ( x − 9 ) 7 / 4 d x \int (x - 9)^{7/4} dx ∫ ( x − 9 ) 7/4 d x
iv. ∫ ( 6 x − 11 ) − 5 d x \int (6x - 11)^{-5} dx ∫ ( 6 x − 11 ) − 5 d x
v. ∫ x 2 ( 4 x 3 + 7 ) 2 d x \int \frac{x^2}{(4x^3 + 7)^2} dx ∫ ( 4 x 3 + 7 ) 2 x 2 d x
vi. ∫ 6 x 2 + 4 x + 10 ( x 3 + x 2 + 5 x ) 3 d x \int \frac{6x^2 + 4x + 10}{(x^3 + x^2 + 5x)^3} dx ∫ ( x 3 + x 2 + 5 x ) 3 6 x 2 + 4 x + 10 d x
vii. ∫ d x ( 9 x − 5 ) \int \frac{dx}{(9x - 5)} ∫ ( 9 x − 5 ) d x
viii. ∫ 3 x 2 + 2 4 x 3 + 8 x d x \int \frac{3x^2 + 2}{4x^3 + 8x} dx ∫ 4 x 3 + 8 x 3 x 2 + 2 d x
ix. ∫ x 3 e x 4 d x \int x^3 e^{x^4} dx ∫ x 3 e x 4 d x
x. ∫ 24 x e 3 x 2 d x \int 24x e^{3x^2} dx ∫ 24 x e 3 x 2 d x
xi. ∫ 14 e 2 x + 7 d x \int 14 e^{2x+7} dx ∫ 14 e 2 x + 7 d x
xii. ∫ 5 x e 5 x 2 + 3 d x \int 5x e^{5x^2+3} dx ∫ 5 x e 5 x 2 + 3 d x
Solutions to Substitution Exercises ¶ i. ∫ 10 x ( x 2 + 3 ) 4 d x \int 10x(x^2 + 3)^4 dx ∫ 10 x ( x 2 + 3 ) 4 d x
Step: Let u = x 2 + 3 u = x^2 + 3 u = x 2 + 3 , then d u = 2 x d x du = 2x \, dx d u = 2 x d x , so 10 x d x = 5 d u 10x \, dx = 5 \, du 10 x d x = 5 d u .
Solution: ∫ 5 u 4 d u = u 5 + c = ( x 2 + 3 ) 5 + c \int 5u^4 du = u^5 + c = (x^2 + 3)^5 + c ∫ 5 u 4 d u = u 5 + c = ( x 2 + 3 ) 5 + c
Check: d d x [ ( x 2 + 3 ) 5 + c ] = 5 ( x 2 + 3 ) 4 ( 2 x ) = 10 x ( x 2 + 3 ) 4 \frac{d}{dx}[(x^2 + 3)^5 + c] = 5(x^2 + 3)^4(2x) = 10x(x^2 + 3)^4 d x d [( x 2 + 3 ) 5 + c ] = 5 ( x 2 + 3 ) 4 ( 2 x ) = 10 x ( x 2 + 3 ) 4
ii. ∫ x 4 ( 2 x 5 − 5 ) 4 d x \int x^4(2x^5 - 5)^4 dx ∫ x 4 ( 2 x 5 − 5 ) 4 d x
Step: Let u = 2 x 5 − 5 u = 2x^5 - 5 u = 2 x 5 − 5 , then d u = 10 x 4 d x du = 10x^4 \, dx d u = 10 x 4 d x , so x 4 d x = 1 10 d u x^4 \, dx = \frac{1}{10} \, du x 4 d x = 10 1 d u .
Solution: ∫ 1 10 u 4 d u = 1 50 u 5 + c = 1 50 ( 2 x 5 − 5 ) 5 + c \int \frac{1}{10}u^4 du = \frac{1}{50}u^5 + c = \frac{1}{50}(2x^5 - 5)^5 + c ∫ 10 1 u 4 d u = 50 1 u 5 + c = 50 1 ( 2 x 5 − 5 ) 5 + c
Check: d d x [ 1 50 ( 2 x 5 − 5 ) 5 + c ] = 5 50 ( 2 x 5 − 5 ) 4 ( 10 x 4 ) = x 4 ( 2 x 5 − 5 ) 4 \frac{d}{dx}[\frac{1}{50}(2x^5 - 5)^5 + c] = \frac{5}{50}(2x^5 - 5)^4(10x^4) = x^4(2x^5 - 5)^4 d x d [ 50 1 ( 2 x 5 − 5 ) 5 + c ] = 50 5 ( 2 x 5 − 5 ) 4 ( 10 x 4 ) = x 4 ( 2 x 5 − 5 ) 4
iii. ∫ ( x − 9 ) 7 / 4 d x \int (x - 9)^{7/4} dx ∫ ( x − 9 ) 7/4 d x
Step: Let u = x − 9 u = x - 9 u = x − 9 , then d u = d x du = dx d u = d x .
Solution: ∫ u 7 / 4 d u = u 11 / 4 11 / 4 + c = 4 11 ( x − 9 ) 11 / 4 + c \int u^{7/4} du = \frac{u^{11/4}}{11/4} + c = \frac{4}{11}(x - 9)^{11/4} + c ∫ u 7/4 d u = 11/4 u 11/4 + c = 11 4 ( x − 9 ) 11/4 + c
Check: d d x [ 4 11 ( x − 9 ) 11 / 4 + c ] = 4 11 ⋅ 11 4 ( x − 9 ) 7 / 4 = ( x − 9 ) 7 / 4 \frac{d}{dx}[\frac{4}{11}(x - 9)^{11/4} + c] = \frac{4}{11} \cdot \frac{11}{4}(x - 9)^{7/4} = (x - 9)^{7/4} d x d [ 11 4 ( x − 9 ) 11/4 + c ] = 11 4 ⋅ 4 11 ( x − 9 ) 7/4 = ( x − 9 ) 7/4
iv. ∫ ( 6 x − 11 ) − 5 d x \int (6x - 11)^{-5} dx ∫ ( 6 x − 11 ) − 5 d x
Step: Let u = 6 x − 11 u = 6x - 11 u = 6 x − 11 , then d u = 6 d x du = 6 \, dx d u = 6 d x , so d x = 1 6 d u dx = \frac{1}{6} \, du d x = 6 1 d u .
Solution: ∫ 1 6 u − 5 d u = 1 6 ( u − 4 − 4 ) + c = − 1 24 ( 6 x − 11 ) − 4 + c \int \frac{1}{6}u^{-5} du = \frac{1}{6}(\frac{u^{-4}}{-4}) + c = -\frac{1}{24}(6x - 11)^{-4} + c ∫ 6 1 u − 5 d u = 6 1 ( − 4 u − 4 ) + c = − 24 1 ( 6 x − 11 ) − 4 + c
Check: d d x [ − 1 24 ( 6 x − 11 ) − 4 + c ] = − 1 24 ( − 4 ) ( 6 x − 11 ) − 5 ( 6 ) = ( 6 x − 11 ) − 5 \frac{d}{dx}[-\frac{1}{24}(6x - 11)^{-4} + c] = -\frac{1}{24}(-4)(6x - 11)^{-5}(6) = (6x - 11)^{-5} d x d [ − 24 1 ( 6 x − 11 ) − 4 + c ] = − 24 1 ( − 4 ) ( 6 x − 11 ) − 5 ( 6 ) = ( 6 x − 11 ) − 5
v. ∫ x 2 ( 4 x 3 + 7 ) 2 d x \int \frac{x^2}{(4x^3 + 7)^2} dx ∫ ( 4 x 3 + 7 ) 2 x 2 d x
Step: Let u = 4 x 3 + 7 u = 4x^3 + 7 u = 4 x 3 + 7 , then d u = 12 x 2 d x du = 12x^2 \, dx d u = 12 x 2 d x , so x 2 d x = 1 12 d u x^2 \, dx = \frac{1}{12} \, du x 2 d x = 12 1 d u .
Solution: ∫ 1 12 u − 2 d u = 1 12 ( u − 1 − 1 ) + c = − 1 12 ( 4 x 3 + 7 ) + c \int \frac{1}{12}u^{-2} du = \frac{1}{12}(\frac{u^{-1}}{-1}) + c = -\frac{1}{12(4x^3 + 7)} + c ∫ 12 1 u − 2 d u = 12 1 ( − 1 u − 1 ) + c = − 12 ( 4 x 3 + 7 ) 1 + c
Check: d d x [ − 1 12 ( 4 x 3 + 7 ) − 1 + c ] = − 1 12 ( − 1 ) ( 4 x 3 + 7 ) − 2 ( 12 x 2 ) = x 2 ( 4 x 3 + 7 ) 2 \frac{d}{dx}[-\frac{1}{12}(4x^3 + 7)^{-1} + c] = -\frac{1}{12}(-1)(4x^3 + 7)^{-2}(12x^2) = \frac{x^2}{(4x^3 + 7)^2} d x d [ − 12 1 ( 4 x 3 + 7 ) − 1 + c ] = − 12 1 ( − 1 ) ( 4 x 3 + 7 ) − 2 ( 12 x 2 ) = ( 4 x 3 + 7 ) 2 x 2
vi. ∫ 6 x 2 + 4 x + 10 ( x 3 + x 2 + 5 x ) 3 d x \int \frac{6x^2 + 4x + 10}{(x^3 + x^2 + 5x)^3} dx ∫ ( x 3 + x 2 + 5 x ) 3 6 x 2 + 4 x + 10 d x
Step: Let u = x 3 + x 2 + 5 x u = x^3 + x^2 + 5x u = x 3 + x 2 + 5 x , then d u = ( 3 x 2 + 2 x + 5 ) d x du = (3x^2 + 2x + 5) \, dx d u = ( 3 x 2 + 2 x + 5 ) d x . Note the numerator is 2 ( 3 x 2 + 2 x + 5 ) 2(3x^2 + 2x + 5) 2 ( 3 x 2 + 2 x + 5 ) .
Solution: ∫ 2 u − 3 d u = 2 u − 2 − 2 + c = − ( x 3 + x 2 + 5 x ) − 2 + c = − 1 ( x 3 + x 2 + 5 x ) 2 + c \int 2u^{-3} du = \frac{2u^{-2}}{-2} + c = -(x^3 + x^2 + 5x)^{-2} + c = -\frac{1}{(x^3 + x^2 + 5x)^2} + c ∫ 2 u − 3 d u = − 2 2 u − 2 + c = − ( x 3 + x 2 + 5 x ) − 2 + c = − ( x 3 + x 2 + 5 x ) 2 1 + c
Check: d d x [ − ( x 3 + x 2 + 5 x ) − 2 + c ] = − ( − 2 ) ( x 3 + x 2 + 5 x ) − 3 ( 3 x 2 + 2 x + 5 ) = 6 x 2 + 4 x + 10 ( x 3 + x 2 + 5 x ) 3 \frac{d}{dx}[-(x^3 + x^2 + 5x)^{-2} + c] = -(-2)(x^3 + x^2 + 5x)^{-3}(3x^2 + 2x + 5) = \frac{6x^2 + 4x + 10}{(x^3 + x^2 + 5x)^3} d x d [ − ( x 3 + x 2 + 5 x ) − 2 + c ] = − ( − 2 ) ( x 3 + x 2 + 5 x ) − 3 ( 3 x 2 + 2 x + 5 ) = ( x 3 + x 2 + 5 x ) 3 6 x 2 + 4 x + 10
vii. ∫ d x ( 9 x − 5 ) \int \frac{dx}{(9x - 5)} ∫ ( 9 x − 5 ) d x
Step: Let u = 9 x − 5 u = 9x - 5 u = 9 x − 5 , then d u = 9 d x du = 9 \, dx d u = 9 d x , so d x = 1 9 d u dx = \frac{1}{9} \, du d x = 9 1 d u .
Solution: ∫ 1 9 1 u d u = 1 9 ln ∣ 9 x − 5 ∣ + c \int \frac{1}{9} \frac{1}{u} du = \frac{1}{9} \ln|9x - 5| + c ∫ 9 1 u 1 d u = 9 1 ln ∣9 x − 5∣ + c
Check: d d x [ 1 9 ln ∣ 9 x − 5 ∣ + c ] = 1 9 ⋅ 1 9 x − 5 ⋅ 9 = 1 9 x − 5 \frac{d}{dx}[\frac{1}{9} \ln|9x - 5| + c] = \frac{1}{9} \cdot \frac{1}{9x - 5} \cdot 9 = \frac{1}{9x - 5} d x d [ 9 1 ln ∣9 x − 5∣ + c ] = 9 1 ⋅ 9 x − 5 1 ⋅ 9 = 9 x − 5 1
viii. ∫ 3 x 2 + 2 4 x 3 + 8 x d x \int \frac{3x^2 + 2}{4x^3 + 8x} dx ∫ 4 x 3 + 8 x 3 x 2 + 2 d x
Step: Let u = 4 x 3 + 8 x u = 4x^3 + 8x u = 4 x 3 + 8 x , then d u = ( 12 x 2 + 8 ) d x = 4 ( 3 x 2 + 2 ) d x du = (12x^2 + 8) \, dx = 4(3x^2 + 2) \, dx d u = ( 12 x 2 + 8 ) d x = 4 ( 3 x 2 + 2 ) d x .
Solution: ∫ 1 4 1 u d u = 1 4 ln ∣ 4 x 3 + 8 x ∣ + c \int \frac{1}{4} \frac{1}{u} du = \frac{1}{4} \ln|4x^3 + 8x| + c ∫ 4 1 u 1 d u = 4 1 ln ∣4 x 3 + 8 x ∣ + c
Check: d d x [ 1 4 ln ∣ 4 x 3 + 8 x ∣ + c ] = 1 4 ⋅ 12 x 2 + 8 4 x 3 + 8 x = 3 x 2 + 2 4 x 3 + 8 x \frac{d}{dx}[\frac{1}{4} \ln|4x^3 + 8x| + c] = \frac{1}{4} \cdot \frac{12x^2 + 8}{4x^3 + 8x} = \frac{3x^2 + 2}{4x^3 + 8x} d x d [ 4 1 ln ∣4 x 3 + 8 x ∣ + c ] = 4 1 ⋅ 4 x 3 + 8 x 12 x 2 + 8 = 4 x 3 + 8 x 3 x 2 + 2
ix. ∫ x 3 e x 4 d x \int x^3 e^{x^4} dx ∫ x 3 e x 4 d x
Step: Let u = x 4 u = x^4 u = x 4 , then d u = 4 x 3 d x du = 4x^3 \, dx d u = 4 x 3 d x , so x 3 d x = 1 4 d u x^3 \, dx = \frac{1}{4} \, du x 3 d x = 4 1 d u .
Solution: ∫ 1 4 e u d u = 1 4 e x 4 + c \int \frac{1}{4} e^u du = \frac{1}{4} e^{x^4} + c ∫ 4 1 e u d u = 4 1 e x 4 + c
Check: d d x [ 1 4 e x 4 + c ] = 1 4 e x 4 ( 4 x 3 ) = x 3 e x 4 \frac{d}{dx}[\frac{1}{4} e^{x^4} + c] = \frac{1}{4} e^{x^4}(4x^3) = x^3 e^{x^4} d x d [ 4 1 e x 4 + c ] = 4 1 e x 4 ( 4 x 3 ) = x 3 e x 4
x. ∫ 24 x e 3 x 2 d x \int 24x e^{3x^2} dx ∫ 24 x e 3 x 2 d x
Step: Let u = 3 x 2 u = 3x^2 u = 3 x 2 , then d u = 6 x d x du = 6x \, dx d u = 6 x d x , so 24 x d x = 4 d u 24x \, dx = 4 \, du 24 x d x = 4 d u .
Solution: ∫ 4 e u d u = 4 e 3 x 2 + c \int 4e^u du = 4e^{3x^2} + c ∫ 4 e u d u = 4 e 3 x 2 + c
Check: d d x [ 4 e 3 x 2 + c ] = 4 e 3 x 2 ( 6 x ) = 24 x e 3 x 2 \frac{d}{dx}[4e^{3x^2} + c] = 4e^{3x^2}(6x) = 24x e^{3x^2} d x d [ 4 e 3 x 2 + c ] = 4 e 3 x 2 ( 6 x ) = 24 x e 3 x 2
xi. ∫ 14 e 2 x + 7 d x \int 14 e^{2x+7} dx ∫ 14 e 2 x + 7 d x
Step: Let u = 2 x + 7 u = 2x + 7 u = 2 x + 7 , then d u = 2 d x du = 2 \, dx d u = 2 d x , so 14 d x = 7 d u 14 \, dx = 7 \, du 14 d x = 7 d u .
Solution: ∫ 7 e u d u = 7 e 2 x + 7 + c \int 7e^u du = 7e^{2x+7} + c ∫ 7 e u d u = 7 e 2 x + 7 + c
Check: d d x [ 7 e 2 x + 7 + c ] = 7 e 2 x + 7 ( 2 ) = 14 e 2 x + 7 \frac{d}{dx}[7e^{2x+7} + c] = 7e^{2x+7}(2) = 14 e^{2x+7} d x d [ 7 e 2 x + 7 + c ] = 7 e 2 x + 7 ( 2 ) = 14 e 2 x + 7
xii. ∫ 5 x e 5 x 2 + 3 d x \int 5x e^{5x^2+3} dx ∫ 5 x e 5 x 2 + 3 d x
Step: Let u = 5 x 2 + 3 u = 5x^2 + 3 u = 5 x 2 + 3 , then d u = 10 x d x du = 10x \, dx d u = 10 x d x , so 5 x d x = 1 2 d u 5x \, dx = \frac{1}{2} \, du 5 x d x = 2 1 d u .
Solution: ∫ 1 2 e u d u = 1 2 e 5 x 2 + 3 + c \int \frac{1}{2} e^u du = \frac{1}{2} e^{5x^2+3} + c ∫ 2 1 e u d u = 2 1 e 5 x 2 + 3 + c
Check: d d x [ 1 2 e 5 x 2 + 3 + c ] = 1 2 e 5 x 2 + 3 ( 10 x ) = 5 x e 5 x 2 + 3 \frac{d}{dx}[\frac{1}{2} e^{5x^2+3} + c] = \frac{1}{2} e^{5x^2+3}(10x) = 5x e^{5x^2+3} d x d [ 2 1 e 5 x 2 + 3 + c ] = 2 1 e 5 x 2 + 3 ( 10 x ) = 5 x e 5 x 2 + 3
Integration by Parts ¶ The product rule is:
d d x ( f ( x ) g ( x ) ) = f ′ ( x ) g ( x ) + f ( x ) g ′ ( x ) \frac{d}{dx}(f(x)g(x)) = f'(x)g(x) + f(x)g'(x) d x d ( f ( x ) g ( x )) = f ′ ( x ) g ( x ) + f ( x ) g ′ ( x ) Taking the indefinite integral of each side gives:
f ( x ) g ( x ) = ∫ f ′ ( x ) g ( x ) d x + ∫ f ( x ) g ′ ( x ) d x f(x)g(x) = \int f'(x)g(x) dx + \int f(x)g'(x) dx f ( x ) g ( x ) = ∫ f ′ ( x ) g ( x ) d x + ∫ f ( x ) g ′ ( x ) d x Rearranging gives the formula for integration by parts :
∫ f ( x ) g ′ ( x ) d x = f ( x ) g ( x ) − ∫ f ′ ( x ) g ( x ) d x \int f(x)g'(x) dx = f(x)g(x) - \int f'(x)g(x) dx ∫ f ( x ) g ′ ( x ) d x = f ( x ) g ( x ) − ∫ f ′ ( x ) g ( x ) d x Example 1:
∫ x e x d x = x e x − ∫ 1 ⋅ e x d x = x e x − e x + c \int x e^x dx = x e^x - \int 1 \cdot e^x dx = x e^x - e^x + c ∫ x e x d x = x e x − ∫ 1 ⋅ e x d x = x e x − e x + c Example 2:
∫ x ln x d x = ( ln x ) x 2 2 − ∫ 1 x x 2 2 d x = x 2 2 ln x − ∫ x 2 d x = x 2 2 ln x − x 2 4 + c \begin{align*}
\int x \ln x dx &= (\ln x)\frac{x^2}{2} - \int \frac{1}{x} \frac{x^2}{2} dx \\
&= \frac{x^2}{2} \ln x - \int \frac{x}{2} dx \\
&= \frac{x^2}{2} \ln x - \frac{x^2}{4} + c
\end{align*} ∫ x ln x d x = ( ln x ) 2 x 2 − ∫ x 1 2 x 2 d x = 2 x 2 ln x − ∫ 2 x d x = 2 x 2 ln x − 4 x 2 + c Use integration by parts to evaluate the following integrals. Check your answers.
i. ∫ 15 x ( x + 4 ) 3 / 2 d x \int 15x(x+4)^{3/2} dx ∫ 15 x ( x + 4 ) 3/2 d x
ii. ∫ 2 x ( x − 8 ) 3 d x \int \frac{2x}{(x - 8)^3} dx ∫ ( x − 8 ) 3 2 x d x
iii. ∫ 5 x ( x − 1 ) 2 d x \int \frac{5x}{(x - 1)^2} dx ∫ ( x − 1 ) 2 5 x d x
iv. ∫ 6 x e x + 7 d x \int 6x e^{x+7} dx ∫ 6 x e x + 7 d x
v. ∫ 16 x e − ( x + 9 ) d x \int 16x e^{-(x+9)} dx ∫ 16 x e − ( x + 9 ) d x
vi. ∫ x 2 e 2 x d x \int x^2 e^{2x} dx ∫ x 2 e 2 x d x
Here are the step-by-step solutions for the Integration by Parts exercises. ¶ These solutions use the formula ∫ u d v = u v − ∫ v d u \int u \, dv = uv - \int v \, du ∫ u d v = uv − ∫ v d u .
i. ∫ 15 x ( x + 4 ) 3 / 2 d x \int 15x(x+4)^{3/2} dx ∫ 15 x ( x + 4 ) 3/2 d x
Step: Let u = 15 x ⇒ d u = 15 d x u = 15x \Rightarrow du = 15 \, dx u = 15 x ⇒ d u = 15 d x . Let d v = ( x + 4 ) 3 / 2 d x ⇒ v = 2 5 ( x + 4 ) 5 / 2 dv = (x+4)^{3/2} dx \Rightarrow v = \frac{2}{5}(x+4)^{5/2} d v = ( x + 4 ) 3/2 d x ⇒ v = 5 2 ( x + 4 ) 5/2 .
Solution: 15 x ⋅ 2 5 ( x + 4 ) 5 / 2 − ∫ 2 5 ( x + 4 ) 5 / 2 ⋅ 15 d x = 6 x ( x + 4 ) 5 / 2 − 6 ∫ ( x + 4 ) 5 / 2 d x 15x \cdot \frac{2}{5}(x+4)^{5/2} - \int \frac{2}{5}(x+4)^{5/2} \cdot 15 \, dx = 6x(x+4)^{5/2} - 6 \int (x+4)^{5/2} dx 15 x ⋅ 5 2 ( x + 4 ) 5/2 − ∫ 5 2 ( x + 4 ) 5/2 ⋅ 15 d x = 6 x ( x + 4 ) 5/2 − 6 ∫ ( x + 4 ) 5/2 d x
Final: 6 x ( x + 4 ) 5 / 2 − 12 7 ( x + 4 ) 7 / 2 + c 6x(x+4)^{5/2} - \frac{12}{7}(x+4)^{7/2} + c 6 x ( x + 4 ) 5/2 − 7 12 ( x + 4 ) 7/2 + c
Check: d d x \frac{d}{dx} d x d yields 6 ( x + 4 ) 5 / 2 + 15 x ( x + 4 ) 3 / 2 − 6 ( x + 4 ) 5 / 2 = 15 x ( x + 4 ) 3 / 2 6(x+4)^{5/2} + 15x(x+4)^{3/2} - 6(x+4)^{5/2} = 15x(x+4)^{3/2} 6 ( x + 4 ) 5/2 + 15 x ( x + 4 ) 3/2 − 6 ( x + 4 ) 5/2 = 15 x ( x + 4 ) 3/2 .
ii. ∫ 2 x ( x − 8 ) 3 d x \int \frac{2x}{(x - 8)^3} dx ∫ ( x − 8 ) 3 2 x d x
Step: Let u = 2 x ⇒ d u = 2 d x u = 2x \Rightarrow du = 2 \, dx u = 2 x ⇒ d u = 2 d x . Let d v = ( x − 8 ) − 3 d x ⇒ v = − 1 2 ( x − 8 ) − 2 dv = (x-8)^{-3} dx \Rightarrow v = -\frac{1}{2}(x-8)^{-2} d v = ( x − 8 ) − 3 d x ⇒ v = − 2 1 ( x − 8 ) − 2 .
Solution: 2 x [ − 1 2 ( x − 8 ) − 2 ] − ∫ − 1 2 ( x − 8 ) − 2 ⋅ 2 d x = − x ( x − 8 ) − 2 + ∫ ( x − 8 ) − 2 d x 2x [-\frac{1}{2}(x-8)^{-2}] - \int -\frac{1}{2}(x-8)^{-2} \cdot 2 \, dx = -x(x-8)^{-2} + \int (x-8)^{-2} dx 2 x [ − 2 1 ( x − 8 ) − 2 ] − ∫ − 2 1 ( x − 8 ) − 2 ⋅ 2 d x = − x ( x − 8 ) − 2 + ∫ ( x − 8 ) − 2 d x
Final: − x ( x − 8 ) 2 − 1 x − 8 + c -\frac{x}{(x-8)^2} - \frac{1}{x-8} + c − ( x − 8 ) 2 x − x − 8 1 + c (Simplified: − 2 x − 8 ( x − 8 ) 2 + c -\frac{2x-8}{(x-8)^2} + c − ( x − 8 ) 2 2 x − 8 + c )
Check: Differentiating the simplified form returns 2 x ( x − 8 ) 3 \frac{2x}{(x-8)^3} ( x − 8 ) 3 2 x .
iii. ∫ 5 x ( x − 1 ) 2 d x \int \frac{5x}{(x - 1)^2} dx ∫ ( x − 1 ) 2 5 x d x
Step: Let u = 5 x ⇒ d u = 5 d x u = 5x \Rightarrow du = 5 \, dx u = 5 x ⇒ d u = 5 d x . Let d v = ( x − 1 ) − 2 d x ⇒ v = − ( x − 1 ) − 1 dv = (x-1)^{-2} dx \Rightarrow v = -(x-1)^{-1} d v = ( x − 1 ) − 2 d x ⇒ v = − ( x − 1 ) − 1 .
Solution: − 5 x ( x − 1 ) − 1 − ∫ − 5 ( x − 1 ) − 1 d x = − 5 x x − 1 + 5 ln ∣ x − 1 ∣ + c -5x(x-1)^{-1} - \int -5(x-1)^{-1} dx = -\frac{5x}{x-1} + 5 \ln|x-1| + c − 5 x ( x − 1 ) − 1 − ∫ − 5 ( x − 1 ) − 1 d x = − x − 1 5 x + 5 ln ∣ x − 1∣ + c
Check: d d x [ − 5 x x − 1 + 5 ln ∣ x − 1 ∣ ] = − 5 ( x − 1 ) − ( − 5 x ) ( x − 1 ) 2 + 5 x − 1 = 5 ( x − 1 ) 2 + 5 ( x − 1 ) ( x − 1 ) 2 = 5 x ( x − 1 ) 2 \frac{d}{dx}[-\frac{5x}{x-1} + 5 \ln|x-1|] = \frac{-5(x-1) - (-5x)}{(x-1)^2} + \frac{5}{x-1} = \frac{5}{(x-1)^2} + \frac{5(x-1)}{(x-1)^2} = \frac{5x}{(x-1)^2} d x d [ − x − 1 5 x + 5 ln ∣ x − 1∣ ] = ( x − 1 ) 2 − 5 ( x − 1 ) − ( − 5 x ) + x − 1 5 = ( x − 1 ) 2 5 + ( x − 1 ) 2 5 ( x − 1 ) = ( x − 1 ) 2 5 x .
iv. ∫ 6 x e x + 7 d x \int 6x e^{x+7} dx ∫ 6 x e x + 7 d x
Step: Let u = 6 x ⇒ d u = 6 d x u = 6x \Rightarrow du = 6 \, dx u = 6 x ⇒ d u = 6 d x . Let d v = e x + 7 d x ⇒ v = e x + 7 dv = e^{x+7} dx \Rightarrow v = e^{x+7} d v = e x + 7 d x ⇒ v = e x + 7 .
Solution: 6 x e x + 7 − ∫ 6 e x + 7 d x = 6 x e x + 7 − 6 e x + 7 + c 6x e^{x+7} - \int 6 e^{x+7} dx = 6x e^{x+7} - 6e^{x+7} + c 6 x e x + 7 − ∫ 6 e x + 7 d x = 6 x e x + 7 − 6 e x + 7 + c
Final: 6 e x + 7 ( x − 1 ) + c 6e^{x+7}(x - 1) + c 6 e x + 7 ( x − 1 ) + c
Check: d d x [ 6 x e x + 7 − 6 e x + 7 ] = 6 e x + 7 + 6 x e x + 7 − 6 e x + 7 = 6 x e x + 7 \frac{d}{dx}[6x e^{x+7} - 6e^{x+7}] = 6e^{x+7} + 6x e^{x+7} - 6e^{x+7} = 6x e^{x+7} d x d [ 6 x e x + 7 − 6 e x + 7 ] = 6 e x + 7 + 6 x e x + 7 − 6 e x + 7 = 6 x e x + 7 .
v. ∫ 16 x e − ( x + 9 ) d x \int 16x e^{-(x+9)} dx ∫ 16 x e − ( x + 9 ) d x
Step: Let u = 16 x ⇒ d u = 16 d x u = 16x \Rightarrow du = 16 \, dx u = 16 x ⇒ d u = 16 d x . Let d v = e − ( x + 9 ) d x ⇒ v = − e − ( x + 9 ) dv = e^{-(x+9)} dx \Rightarrow v = -e^{-(x+9)} d v = e − ( x + 9 ) d x ⇒ v = − e − ( x + 9 ) .
Solution: − 16 x e − ( x + 9 ) − ∫ − 16 e − ( x + 9 ) d x = − 16 x e − ( x + 9 ) − 16 e − ( x + 9 ) + c -16x e^{-(x+9)} - \int -16 e^{-(x+9)} dx = -16x e^{-(x+9)} - 16e^{-(x+9)} + c − 16 x e − ( x + 9 ) − ∫ − 16 e − ( x + 9 ) d x = − 16 x e − ( x + 9 ) − 16 e − ( x + 9 ) + c
Final: − 16 e − ( x + 9 ) ( x + 1 ) + c -16e^{-(x+9)}(x + 1) + c − 16 e − ( x + 9 ) ( x + 1 ) + c
Check: d d x [ − 16 x e − ( x + 9 ) − 16 e − ( x + 9 ) ] = − 16 e − ( x + 9 ) + 16 x e − ( x + 9 ) + 16 e − ( x + 9 ) = 16 x e − ( x + 9 ) \frac{d}{dx}[-16x e^{-(x+9)} - 16e^{-(x+9)}] = -16e^{-(x+9)} + 16xe^{-(x+9)} + 16e^{-(x+9)} = 16x e^{-(x+9)} d x d [ − 16 x e − ( x + 9 ) − 16 e − ( x + 9 ) ] = − 16 e − ( x + 9 ) + 16 x e − ( x + 9 ) + 16 e − ( x + 9 ) = 16 x e − ( x + 9 ) .
vi. ∫ x 2 e 2 x d x \int x^2 e^{2x} dx ∫ x 2 e 2 x d x
Step 1: Let u = x 2 ⇒ d u = 2 x d x u = x^2 \Rightarrow du = 2x \, dx u = x 2 ⇒ d u = 2 x d x . Let d v = e 2 x d x ⇒ v = 1 2 e 2 x dv = e^{2x} dx \Rightarrow v = \frac{1}{2}e^{2x} d v = e 2 x d x ⇒ v = 2 1 e 2 x .
Apply Parts 1: 1 2 x 2 e 2 x − ∫ x e 2 x d x \frac{1}{2}x^2 e^{2x} - \int x e^{2x} dx 2 1 x 2 e 2 x − ∫ x e 2 x d x
Step 2: Integrate ∫ x e 2 x d x \int x e^{2x} dx ∫ x e 2 x d x by parts again. Let u = x ⇒ d u = d x u = x \Rightarrow du = dx u = x ⇒ d u = d x . Let d v = e 2 x d x ⇒ v = 1 2 e 2 x dv = e^{2x} dx \Rightarrow v = \frac{1}{2}e^{2x} d v = e 2 x d x ⇒ v = 2 1 e 2 x .
Apply Parts 2: ∫ x e 2 x d x = 1 2 x e 2 x − ∫ 1 2 e 2 x d x = 1 2 x e 2 x − 1 4 e 2 x \int x e^{2x} dx = \frac{1}{2}xe^{2x} - \int \frac{1}{2}e^{2x} dx = \frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x} ∫ x e 2 x d x = 2 1 x e 2 x − ∫ 2 1 e 2 x d x = 2 1 x e 2 x − 4 1 e 2 x
Final Solution: 1 2 x 2 e 2 x − ( 1 2 x e 2 x − 1 4 e 2 x ) + c = e 2 x ( 1 2 x 2 − 1 2 x + 1 4 ) + c \frac{1}{2}x^2 e^{2x} - (\frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x}) + c = e^{2x}(\frac{1}{2}x^2 - \frac{1}{2}x + \frac{1}{4}) + c 2 1 x 2 e 2 x − ( 2 1 x e 2 x − 4 1 e 2 x ) + c = e 2 x ( 2 1 x 2 − 2 1 x + 4 1 ) + c
Check: Differentiating via product rule returns x 2 e 2 x x^2 e^{2x} x 2 e 2 x .
Definite Integrals and The Fundamental Theorem of Calculus ¶ The definite integral of f ( x ) f(x) f ( x ) over the interval a a a to b b b (a < x < b a < x < b a < x < b ) is written as:
∫ a b f ( x ) d x \int_{a}^{b} f(x) dx ∫ a b f ( x ) d x The Fundamental Theorem of Calculus states that the numerical value of the definite integral of a continuous function f ( x ) f(x) f ( x ) over the interval from a a a to b b b is given by the indefinite integral F ( x ) + c F(x) + c F ( x ) + c evaluated at the upper limit b b b , minus the same evaluated at the lower limit a a a .
Since the constant c c c is common to both, it is eliminated in subtraction:
∫ a b f ( x ) d x = F ( x ) ∣ a b = F ( b ) − F ( a ) \int_{a}^{b} f(x) dx = F(x) \Big|_{a}^{b} = F(b) - F(a) ∫ a b f ( x ) d x = F ( x ) ∣ ∣ a b = F ( b ) − F ( a ) Example:
∫ 1 3 ( 4 x 3 + 6 x ) d x = ( x 4 + 3 x 2 ) ∣ 1 3 = [ ( 3 4 ) + 3 ( 3 2 ) ] − [ ( 1 4 ) + 3 ( 1 2 ) ] = 108 − 4 = 104 \begin{align*}
\int_{1}^{3} (4x^3 + 6x) dx &= (x^4 + 3x^2) \Big|_{1}^{3} \\
&= [ (3^4) + 3(3^2) ] - [ (1^4) + 3(1^2) ] \\
&= 108 - 4 = 104
\end{align*} ∫ 1 3 ( 4 x 3 + 6 x ) d x = ( x 4 + 3 x 2 ) ∣ ∣ 1 3 = [( 3 4 ) + 3 ( 3 2 )] − [( 1 4 ) + 3 ( 1 2 )] = 108 − 4 = 104 This represents the area under the curve f ( x ) = 4 x 3 + 6 x f(x) = 4x^3 + 6x f ( x ) = 4 x 3 + 6 x between x = 1 x=1 x = 1 and x = 3 x=3 x = 3 .
Improper Integrals ¶ A definite integral with infinity for either an upper or lower limit is known as an improper integral :
∫ a ∞ f ( x ) d x \int_{a}^{\infty} f(x) dx ∫ a ∞ f ( x ) d x and
∫ − ∞ b f ( x ) d x \int_{-\infty}^{b} f(x) dx ∫ − ∞ b f ( x ) d x Properties of Definite Integrals ¶ ∫ a b f ( x ) d x = − ∫ b a f ( x ) d x \int_{a}^{b} f(x) dx = -\int_{b}^{a} f(x) dx ∫ a b f ( x ) d x = − ∫ b a f ( x ) d x ∫ a a f ( x ) d x = F ( a ) − F ( a ) = 0 \int_{a}^{a} f(x) dx = F(a) - F(a) = 0 ∫ a a f ( x ) d x = F ( a ) − F ( a ) = 0 ∫ a c f ( x ) d x = ∫ a b f ( x ) d x + ∫ b c f ( x ) d x \int_{a}^{c} f(x) dx = \int_{a}^{b} f(x) dx + \int_{b}^{c} f(x) dx ∫ a c f ( x ) d x = ∫ a b f ( x ) d x + ∫ b c f ( x ) d x ∫ a b f ( x ) d x ± ∫ a b g ( x ) d x = ∫ a b [ f ( x ) ± g ( x ) ] d x \int_{a}^{b} f(x) dx \pm \int_{a}^{b} g(x) dx = \int_{a}^{b} [f(x) \pm g(x)] dx ∫ a b f ( x ) d x ± ∫ a b g ( x ) d x = ∫ a b [ f ( x ) ± g ( x )] d x ∫ a b k f ( x ) d x = k ∫ a b f ( x ) d x \int_{a}^{b} kf(x) dx = k \int_{a}^{b} f(x) dx ∫ a b k f ( x ) d x = k ∫ a b f ( x ) d x Economic Applications of Integral Calculus ¶ Area between curves: Used to calculate Producer and Consumer Surplus.
Finding paths: Finding the capital path K ( t ) K(t) K ( t ) from investment I ( t ) I(t) I ( t ) ; finding Total Cost (TC) from Marginal Cost (MC), etc.
The rate of net investment is I = 40 t 3 / 5 I = 40t^{3/5} I = 40 t 3/5 , and the capital stock at t = 0 t = 0 t = 0 is 75. Find the capital function K K K .
answer: K = 25 t 8 / 5 + 75 K = 25t^{8/5} + 75 K = 25 t 8/5 + 75
Marginal cost given by MC = d TC / d Q = 25 + 30 Q − 9 Q 2 \text{MC} = d\text{TC}/dQ = 25 + 30Q - 9Q^2 MC = d TC / d Q = 25 + 30 Q − 9 Q 2 . Fixed cost is 55. Find (i) total cost, (ii) average cost, and (iii) variable cost functions.
answers: (i) TC = 25 Q + 15 Q 2 − 3 Q 3 + 55 \text{TC} = 25Q + 15Q^2 - 3Q^3 + 55 TC = 25 Q + 15 Q 2 − 3 Q 3 + 55
(ii) AC = TC Q = 25 + 15 Q − 3 Q 2 + 55 Q \text{AC} = \frac{\text{TC}}{Q} = 25 + 15Q - 3Q^2 + \frac{55}{Q} AC = Q TC = 25 + 15 Q − 3 Q 2 + Q 55
(iii) VC = TC − FC = 25 Q + 15 Q 2 − 3 Q 3 \text{VC} = \text{TC} - \text{FC} = 25Q + 15Q^2 - 3Q^3 VC = TC − FC = 25 Q + 15 Q 2 − 3 Q 3
Marginal revenue is given by MR = d TR / d Q = 60 − 2 Q − 2 Q 2 \text{MR} = d\text{TR}/dQ = 60 - 2Q - 2Q^2 MR = d TR / d Q = 60 − 2 Q − 2 Q 2 .
Find (i) the TR function and (ii) the demand function P = f ( Q ) P = f(Q) P = f ( Q ) .
answers: (i) TR = 60 Q − Q 2 − 2 3 Q 3 \text{TR} = 60Q - Q^2 - \frac{2}{3}Q^3 TR = 60 Q − Q 2 − 3 2 Q 3
(ii) P = AR = TR / Q = 60 − Q − 2 3 Q 2 P = \text{AR} = \text{TR}/Q = 60 - Q - \frac{2}{3}Q^2 P = AR = TR / Q = 60 − Q − 3 2 Q 2
Given MC = 16 e 0.4 Q \text{MC} = 16e^{0.4Q} MC = 16 e 0.4 Q and FC = 100 \text{FC} = 100 FC = 100 , find TC \text{TC} TC .
answer: TC = 40 e 0.4 Q + 60 \text{TC} = 40e^{0.4Q} + 60 TC = 40 e 0.4 Q + 60
Step-by-step Solutions ¶ 1. Find Capital Function K ( t ) K(t) K ( t ) given I = 40 t 3 / 5 I = 40t^{3/5} I = 40 t 3/5 and K ( 0 ) = 75 K(0) = 75 K ( 0 ) = 75
Step 1 (Integrate): K ( t ) = ∫ 40 t 3 / 5 d t = 40 ( t 8 / 5 8 / 5 ) + c = 40 ( 5 8 ) t 8 / 5 + c = 25 t 8 / 5 + c K(t) = \int 40t^{3/5} dt = 40 \left( \frac{t^{8/5}}{8/5} \right) + c = 40 \left( \frac{5}{8} \right) t^{8/5} + c = 25t^{8/5} + c K ( t ) = ∫ 40 t 3/5 d t = 40 ( 8/5 t 8/5 ) + c = 40 ( 8 5 ) t 8/5 + c = 25 t 8/5 + c .
Step 2 (Find c c c ): Use initial condition K ( 0 ) = 75 K(0) = 75 K ( 0 ) = 75 . 25 ( 0 ) 8 / 5 + c = 75 ⇒ c = 75 25(0)^{8/5} + c = 75 \Rightarrow c = 75 25 ( 0 ) 8/5 + c = 75 ⇒ c = 75 .
Final: K = 25 t 8 / 5 + 75 K = 25t^{8/5} + 75 K = 25 t 8/5 + 75 .
2. Find Costs given MC = 25 + 30 Q − 9 Q 2 \text{MC} = 25 + 30Q - 9Q^2 MC = 25 + 30 Q − 9 Q 2 and FC = 55 \text{FC} = 55 FC = 55
Total Cost (TC): ∫ ( 25 + 30 Q − 9 Q 2 ) d Q = 25 Q + 15 Q 2 − 3 Q 3 + c \int (25 + 30Q - 9Q^2) dQ = 25Q + 15Q^2 - 3Q^3 + c ∫ ( 25 + 30 Q − 9 Q 2 ) d Q = 25 Q + 15 Q 2 − 3 Q 3 + c . Since TC ( 0 ) = FC = 55 \text{TC}(0) = \text{FC} = 55 TC ( 0 ) = FC = 55 , then c = 55 c = 55 c = 55 .
Average Cost (AC): AC = TC Q = 25 Q + 15 Q 2 − 3 Q 3 + 55 Q \text{AC} = \frac{\text{TC}}{Q} = \frac{25Q + 15Q^2 - 3Q^3 + 55}{Q} AC = Q TC = Q 25 Q + 15 Q 2 − 3 Q 3 + 55 .
Variable Cost (VC): VC = TC − FC \text{VC} = \text{TC} - \text{FC} VC = TC − FC .
3. Find TR and Demand given MR = 60 − 2 Q − 2 Q 2 \text{MR} = 60 - 2Q - 2Q^2 MR = 60 − 2 Q − 2 Q 2
Total Revenue (TR): ∫ ( 60 − 2 Q − 2 Q 2 ) d Q = 60 Q − Q 2 − 2 3 Q 3 + c \int (60 - 2Q - 2Q^2) dQ = 60Q - Q^2 - \frac{2}{3}Q^3 + c ∫ ( 60 − 2 Q − 2 Q 2 ) d Q = 60 Q − Q 2 − 3 2 Q 3 + c . Since TR = 0 \text{TR} = 0 TR = 0 when Q = 0 Q = 0 Q = 0 , c = 0 c = 0 c = 0 .
Demand Function (P): P = Average Revenue = TR Q P = \text{Average Revenue} = \frac{\text{TR}}{Q} P = Average Revenue = Q TR .
4. Find TC given MC = 16 e 0.4 Q \text{MC} = 16e^{0.4Q} MC = 16 e 0.4 Q and FC = 100 \text{FC} = 100 FC = 100
Step 1 (Integrate): TC = ∫ 16 e 0.4 Q d Q = 16 0.4 e 0.4 Q + c = 40 e 0.4 Q + c \text{TC} = \int 16e^{0.4Q} dQ = \frac{16}{0.4}e^{0.4Q} + c = 40e^{0.4Q} + c TC = ∫ 16 e 0.4 Q d Q = 0.4 16 e 0.4 Q + c = 40 e 0.4 Q + c .
Step 2 (Find c c c ): Set TC ( 0 ) = 100 \text{TC}(0) = 100 TC ( 0 ) = 100 . 40 e 0.4 ( 0 ) + c = 100 ⇒ 40 ( 1 ) + c = 100 ⇒ c = 60 40e^{0.4(0)} + c = 100 \Rightarrow 40(1) + c = 100 \Rightarrow c = 60 40 e 0.4 ( 0 ) + c = 100 ⇒ 40 ( 1 ) + c = 100 ⇒ c = 60 .
Final: TC = 40 e 0.4 Q + 60 \text{TC} = 40e^{0.4Q} + 60 TC = 40 e 0.4 Q + 60 .