Practice Maths

Integration Rules and Composite Functions

Key Terms

When the argument is (ax + b) instead of x, divide by the inner derivative a
These rules are the reverse of the chain rule applied to linear inner functions
The factor 1/a compensates for the derivative of the inner function (ax + b)′ = a
Always check: differentiate your answer and verify you recover the integrand
Integration of Linear Composite Functions:
∫ (ax + b)n dx = (ax + b)n+1 / [a(n+1)] + c    (n ≠ −1)
∫ eax+b dx = (1/a) eax+b + c
∫ 1/(ax+b) dx = (1/a) ln|ax+b| + c
∫ sin(ax+b) dx = −(1/a) cos(ax+b) + c
∫ cos(ax+b) dx = (1/a) sin(ax+b) + c
Worked Example 1: Find ∫ (3x + 1)4 dx

Using ∫ (ax+b)n dx = (ax+b)n+1/[a(n+1)] + c with a = 3, b = 1, n = 4:
= (3x+1)5 / [3 × 5] + c
= (3x+1)5/15 + c

Check: d/dx[(3x+1)5/15] = (1/15) × 5(3x+1)4 × 3 = (3x+1)4
Worked Example 2: Find ∫ [e2x−3 + sin(4x)] dx

∫ e2x−3 dx = (1/2)e2x−3 + c1   (a = 2)
∫ sin(4x) dx = −(1/4)cos(4x) + c2   (a = 4)

Answer: (1/2)e2x−3 − (1/4)cos(4x) + c
Hot Tip: The factor 1/a is easy to forget under exam pressure. A quick check: differentiate your answer — you should get back the original integrand, including cancelling the 1/a with the chain rule factor of a.

Extending the Basic Rules to Composite Functions

The standard integration rules apply when the argument is simply x. But what happens when we need to integrate something like (2x + 5)6, or e3x−1? In differentiation, the chain rule handles these cases. In integration, we apply the chain rule in reverse, and the result is a family of rules for linear composite functions.

A linear composite function has an inner function of the form (ax + b), where a and b are constants. The key insight is that when we differentiate F(ax + b), the chain rule produces a factor of a (the derivative of the inner function). So when integrating, we must compensate by dividing by a.

The Power Rule for (ax + b)

For ∫ (ax + b)n dx, raise the power by 1 (giving n + 1), divide by the new power (n + 1) and divide by a, the coefficient of x:

∫ (ax+b)n dx = (ax+b)n+1 / [a(n+1)] + c

For example, ∫ (4x − 1)3 dx = (4x−1)4/[4 × 4] + c = (4x−1)4/16 + c. Verify: d/dx[(4x−1)4/16] = (1/16) × 4(4x−1)3 × 4 = (4x−1)3

This rule does not apply when n = −1 (the special case handled by the logarithm rule below).

Exponential Functions: eax+b

Since d/dx[eax+b] = a eax+b, integrating reverses this and we divide by a:

∫ eax+b dx = (1/a) eax+b + c

For example, ∫ e5x+2 dx = (1/5)e5x+2 + c. Notice that when a = 1, this reduces to ∫ ex dx = ex + c, which is consistent with the basic rule.

The Logarithm Rule for 1/(ax + b)

This covers the n = −1 case for linear functions:

∫ 1/(ax+b) dx = (1/a) ln|ax+b| + c

The absolute value is required because ln is only defined for positive arguments, yet 1/(ax+b) is defined for all x where ax + b ≠ 0. For example, ∫ 1/(3x−2) dx = (1/3) ln|3x−2| + c.

Trigonometric Rules for (ax + b)

Reversing the chain rule for trig functions:

∫ sin(ax+b) dx = −(1/a) cos(ax+b) + c     ∫ cos(ax+b) dx = (1/a) sin(ax+b) + c

The negative sign in the sine integral often causes errors. Remember: d/dx[−cos(ax+b)] = a sin(ax+b), so ∫ sin(ax+b) dx = −cos(ax+b)/a + c. For cosine: d/dx[sin(ax+b)] = a cos(ax+b), so ∫ cos(ax+b) dx = sin(ax+b)/a + c.

Putting It Together: Multi-Term Integrals

Integrals often combine several of these rules. Apply each rule to the corresponding term, then add the single constant c at the end (not one c per term).

Example: ∫ [(2x+1)3 + e−x + cos(3x)] dx = (2x+1)4/8 − e−x + (1/3)sin(3x) + c

Always perform a differentiation check on your final answer before moving on — this is the single most effective error-catching strategy in integration.

Common error: Forgetting to divide by a. If you integrate (5x + 2)3 and write (5x+2)4/4 + c, you have forgotten the factor of 1/5. The correct answer is (5x+2)4/20 + c.

Mastery Practice

  1. Find ∫ (2x + 3)5 dx.
  2. Find ∫ e4x−1 dx.
  3. Find ∫ cos(3x + π) dx.
  4. Find ∫ 1/(5x − 2) dx.
  5. Find ∫ [sin(2x) − e3x] dx.
  6. Find ∫ (1 − 4x)3 dx.
  7. Find ∫ 3/(2x + 7) dx.
  8. Find ∫ [4cos(x/2) + 2sin(3x)] dx.
  9. The gradient of a curve is dy/dx = (2x − 1)2 − 3e−x/2. Given that the curve passes through (1, 0), find y in terms of x.
  10. A function f satisfies f′(x) = sin(2x) + 1/(3x + 1) for x > −1/3, with f(0) = 2. Find f(π/4). Give an exact answer.