Integration: Standard Integrals, Substitution, By Parts and Area

Integration is the reverse of differentiation: given a derivative, it recovers the original function, and as a definite integral it measures the area under a curve. ECAT, NUST NET and JEE Main ask for standard integrals, substitution, integration by parts, definite integrals and simple areas. Every answer can be checked by differentiating it, which makes this a scoring topic once the standard results are memorised.

Asked in: ECAT, NUST NET, JEE Main, FSc and Class 11-12 boards

Antiderivatives and the constant C

If F′(x) = f(x), then F is an antiderivative of f and we write ∫ f(x) dx = F(x) + C. The constant C appears because the derivative of any constant is zero, so x² + 5 and x² − 3 both have derivative 2x.

Integration is linear: integrate term by term and take constants outside. There is no simple product rule, so products need substitution or integration by parts.

Standard integrals

Each result below is a derivative read backwards. The power rule fails only for n = −1, which is the case ∫ 1/x dx = ln|x| + C.

Watch the signs on the trigonometric results: since d/dx cos x = −sin x, we get ∫ sin x dx = −cos x + C.

Linear inside and the f′/f pattern

If the inside of a standard function is linear, ax + b, integrate as usual and divide by a. So ∫ cos(4x + 1) dx = sin(4x + 1)/4 + C and ∫ e⁵ˣ dx = e⁵ˣ/5 + C.

When the numerator is exactly the derivative of the denominator, the integral is the log of the denominator. This gives ∫ tan x dx = ln|sec x| + C and ∫ cot x dx = ln|sin x| + C.

Integration by substitution

Look for a function whose derivative also appears (up to a constant) in the integrand. Call it u, replace du by u′ dx, integrate in u, and substitute back.

Example: in ∫ 2x cos(x²) dx put u = x², so du = 2x dx and the integral becomes ∫ cos u du = sin u + C = sin(x²) + C.

Integration by parts

For a product of two different types of function, choose one as u (to be differentiated) and the other as dv (to be integrated). The order of preference for u is ILATE: Inverse trig, Logarithmic, Algebraic, Trigonometric, Exponential.

∫ ln x dx is done by parts with u = ln x and dv = 1 dx. A useful special case: ∫ eˣ[f(x) + f′(x)] dx = eˣ f(x) + C.

Definite integrals and their properties

∫ from a to b of f(x) dx = F(b) − F(a), where F is any antiderivative; the constant C cancels. Swapping the limits changes the sign.

Symmetry saves time: over an interval from −a to a, an odd function integrates to 0 and an even function gives twice the integral from 0 to a. Use sin²x = (1 − cos 2x)/2 and cos²x = (1 + cos 2x)/2 to integrate squares of sine and cosine.

Area under and between curves

If f(x) ≥ 0 on [a, b], the area between the curve and the x-axis is ∫ from a to b of f(x) dx. Where the curve goes below the axis the integral is negative, so split the interval at the roots and add the absolute values.

The area between two curves is the integral of (upper curve − lower curve) between their points of intersection, found by solving the two equations together.

Solved examples

  1. Evaluate ∫ (6x² − 4x + 5) dx.
    1. Integrate term by term with the power rule.
    2. 6x² → 6x³/3 = 2x³, −4x → −4x²/2 = −2x², and 5 → 5x.
    3. Check: d/dx (2x³ − 2x² + 5x) = 6x² − 4x + 5.
    Answer: 2x³ − 2x² + 5x + C
  2. Evaluate ∫ (cos 3x + e²ˣ) dx.
    1. Both insides are linear, so integrate normally and divide by the coefficient of x.
    2. ∫ cos 3x dx = sin 3x/3 and ∫ e²ˣ dx = e²ˣ/2.
    Answer: (1/3) sin 3x + (1/2) e²ˣ + C
  3. Evaluate ∫ x(x² + 1)⁴ dx.
    1. Put u = x² + 1, so du = 2x dx and x dx = du/2.
    2. The integral becomes (1/2)∫ u⁴ du = (1/2)(u⁵/5) = u⁵/10.
    3. Substitute back u = x² + 1.
    Answer: (x² + 1)⁵/10 + C
  4. Evaluate ∫ x cos x dx.
    1. By ILATE, take u = x (algebraic) and dv = cos x dx, so du = dx and v = sin x.
    2. ∫ u dv = uv − ∫ v du = x sin x − ∫ sin x dx.
    3. ∫ sin x dx = −cos x, so the result is x sin x + cos x.
    4. Check: d/dx (x sin x + cos x) = sin x + x cos x − sin x = x cos x.
    Answer: x sin x + cos x + C
  5. Evaluate ∫ from 0 to π/2 of sin²x dx.
    1. Use sin²x = (1 − cos 2x)/2.
    2. ∫ (1 − cos 2x)/2 dx = x/2 − sin 2x/4.
    3. At π/2: π/4 − sin π/4 = π/4 − 0. At 0: 0 − 0 = 0.
    4. Value = π/4.
    Answer: π/4
  6. Find the area enclosed between the curves y = x² and y = 2x.
    1. Intersections: x² = 2x gives x(x − 2) = 0, so x = 0 and x = 2.
    2. Between 0 and 2 the line is above the parabola (at x = 1: 2 against 1).
    3. Area = ∫ from 0 to 2 of (2x − x²) dx = [x² − x³/3] from 0 to 2 = 4 − 8/3.
    4. Area = 4/3 square units, matching the shortcut k³/6 = 8/6.
    Answer: 4/3 square units

Exam shortcuts

Common mistakes

Practice MCQs

  1. ∫ x⁴ dx equals:
    A) x⁵/5 + C
    B) 4x³ + C
    C) x⁵ + C
    D) x⁴/4 + C
    Answer: A) x⁵/5 + C — Raise the power by one and divide by the new power: x⁵/5 + C. 4x³ is the derivative, not the integral.
  2. ∫ (3/x) dx, for x positive, equals:
    A) 3 ln x + C
    B) −3/x² + C
    C) ln 3x + C
    D) 3x ln x + C
    Answer: A) 3 ln x + C — ∫ 1/x dx = ln x, so ∫ 3/x dx = 3 ln x + C. ln 3x has derivative 1/x only, since the 3 inside the log just adds a constant ln 3.
  3. ∫ (sin x + sec²x) dx equals:
    A) tan x + cos x + C
    B) sec x − cos x + C
    C) −tan x − cos x + C
    D) tan x − cos x + C
    Answer: D) tan x − cos x + C — ∫ sin x dx = −cos x and ∫ sec²x dx = tan x, so the answer is tan x − cos x + C. Taking ∫ sin x as +cos x is the usual sign slip.
  4. ∫ e⁵ˣ dx equals:
    A) 5e⁵ˣ + C
    B) e⁵ˣ + C
    C) e⁶ˣ/6 + C
    D) e⁵ˣ/5 + C
    Answer: D) e⁵ˣ/5 + C — With a linear inside, divide by the coefficient: e⁵ˣ/5 + C. Check: d/dx (e⁵ˣ/5) = e⁵ˣ. The power rule does not apply to eˣ, so e⁶ˣ/6 is wrong.
  5. ∫ cos(4x + 1) dx equals:
    A) 4 sin(4x + 1) + C
    B) −sin(4x + 1)/4 + C
    C) sin(4x + 1)/4 + C
    D) sin(4x + 1) + C
    Answer: C) sin(4x + 1)/4 + C — ∫ cos u du = sin u, and the linear inside 4x + 1 means we divide by 4: sin(4x + 1)/4 + C.
  6. ∫ (2x + 1)/(x² + x + 3) dx equals:
    A) ln(x² + x + 3) + C
    B) 2 ln(x² + x + 3) + C
    C) (1/2) ln(x² + x + 3) + C
    D) tan⁻¹(2x + 1) + C
    Answer: A) ln(x² + x + 3) + C — The numerator 2x + 1 is exactly the derivative of the denominator, so the integral is ln|x² + x + 3| + C. The quadratic is always positive, so the modulus can be dropped.
  7. ∫ tan x dx equals:
    A) ln|cos x| + C
    B) ln|sec x| + C
    C) sec²x + C
    D) −ln|sec x| + C
    Answer: B) ln|sec x| + C — tan x = sin x/cos x = −(cos x)′/cos x, so ∫ tan x dx = −ln|cos x| = ln|sec x| + C. sec²x is the derivative of tan x, not its integral.
  8. ∫ x sin x dx equals:
    A) x cos x − sin x + C
    B) −x cos x − sin x + C
    C) sin x − x cos x + C
    D) x sin x + cos x + C
    Answer: C) sin x − x cos x + C — By parts with u = x, dv = sin x dx: v = −cos x. ∫ = −x cos x + ∫ cos x dx = −x cos x + sin x + C. x sin x + cos x is the integral of x cos x instead.
  9. ∫ ln x dx equals:
    A) 1/x + C
    B) x ln x − x + C
    C) x ln x + x + C
    D) (ln x)²/2 + C
    Answer: B) x ln x − x + C — By parts with u = ln x and dv = dx: x ln x − ∫ x × (1/x) dx = x ln x − x + C. 1/x is the derivative of ln x, and (ln x)²/2 is the integral of (ln x)/x.
  10. ∫ eˣ(sin x + cos x) dx equals:
    A) eˣ cos x + C
    B) eˣ(sin x − cos x) + C
    C) −eˣ cos x + C
    D) eˣ sin x + C
    Answer: D) eˣ sin x + C — This is eˣ[f(x) + f′(x)] with f(x) = sin x, since (sin x)′ = cos x. So the integral is eˣ sin x + C.
  11. Evaluate ∫ from 0 to 2 of (3x² + 1) dx.
    A) 10
    B) 8
    C) 12
    D) 6
    Answer: A) 10 — Antiderivative x³ + x. At 2: 8 + 2 = 10; at 0: 0. Value = 10. Forgetting the +1 term gives 8.
  12. What is the total area enclosed between y = sin x and the x-axis from x = 0 to x = 2π?
    A) 0
    B) 4
    C) 2
    D) 2π
    Answer: B) 4 — From 0 to π the curve is above the axis and encloses area 2; from π to 2π it is below and encloses another 2. Total area = 4. The definite integral over 0 to 2π is 0 because the two parts cancel, which is why area must be split at the root.
  13. Evaluate ∫ from −2 to 2 of (x³ + 3x²) dx.
    A) 8
    B) 16
    C) 24
    D) 0
    Answer: B) 16 — x³ is odd, so it contributes 0. 3x² is even: 2 × ∫ from 0 to 2 of 3x² dx = 2 × 8 = 16.
  14. What is the area enclosed between the line y = x and the parabola y = x²?
    A) 1/2
    B) 1/3
    C) 1/6
    D) 5/6
    Answer: C) 1/6 — They meet at x = 0 and x = 1, with the line above. Area = ∫ from 0 to 1 of (x − x²) dx = 1/2 − 1/3 = 1/6. 1/2 and 1/3 are the areas under each curve separately; 5/6 adds them instead of subtracting.
  15. Evaluate ∫ from 0 to 1 of x eˣ dx.
    A) e − 1
    B) e
    C) 1
    D) e + 1
    Answer: C) 1 — By parts, ∫ x eˣ dx = eˣ(x − 1). At 1: e × 0 = 0. At 0: 1 × (−1) = −1. Value = 0 − (−1) = 1. Integrating only the eˣ and ignoring the factor x gives e − 1.

Questions

Why do we add + C?

Because many functions have the same derivative: x² + 1, x² − 7 and x² all differentiate to 2x. The + C stands for this whole family. In a definite integral the constant cancels, so it is not written.

Why is it ln|x| and not ln x?

ln x is only defined for positive x, but 1/x also exists for negative x. Since d/dx ln|x| = 1/x for every non-zero x, the modulus makes the result correct on both sides of 0.

How do I choose u in integration by parts?

Use ILATE: pick u from the first type present among Inverse trig, Logarithmic, Algebraic, Trigonometric and Exponential. In x eˣ, x is algebraic and comes before exponential, so u = x.

Is a definite integral always an area?

Only when the function stays at or above the x-axis. Parts below the axis count as negative, so for area you must split at the roots and add the absolute values of each piece.