UNIHIVE

Study Hub UNIPORT MGT 152

MGT 152 · Business Mathematics II

Partial fractions and numerical integration

Integrating rational functions by splitting them, and estimating integrals with the trapezium and Simpson's rules.

Our notes

2 min read

Integrating by partial fractions

A rational function with a factorised denominator can be split into simpler fractions, each of which integrates to a logarithm. (Splitting was introduced in MGT 150.)

Example 1: distinct linear factors

∫ (5x + 1)/[(x − 1)(x + 2)] dx.
Write (5x + 1)/[(x − 1)(x + 2)] = A/(x − 1) + B/(x + 2), so 5x + 1 = A(x + 2) + B(x − 1).

  • x = 1: 6 = 3A → A = 2.
  • x = −2: −9 = −3B → B = 3.

Check: 2(x + 2) + 3(x − 1) = 5x + 1 ✓.
∫ = 2 ln|x − 1| + 3 ln|x + 2| + C.

Example 2: a repeated factor

(x + 3)/(x + 1)² = A/(x + 1) + B/(x + 1)². Then x + 3 = A(x + 1) + B: A = 1, B = 2.
∫ = ln|x + 1| − 2/(x + 1) + C.

Rule

If the top's degree is equal to or more than the bottom's, divide first (long division), then split the remainder.

Numerical integration

Some integrals have no simple antiderivative (for example ∫ e^(−x²) dx, used in the normal distribution) or the function is known only from data (sales recorded each week). Then we estimate the area.

Divide [a, b] into n equal strips of width h = (b − a)/n, with values y₀, y₁, …, yₙ.

The trapezium rule

∫ₐᵇ f dx ≈ (h/2)[y₀ + 2(y₁ + y₂ + … + yₙ₋₁) + yₙ].

Simpson's rule (n must be even)

∫ₐᵇ f dx ≈ (h/3)[y₀ + 4(y₁ + y₃ + …) + 2(y₂ + y₄ + …) + yₙ].

Example 3: ∫₁² (1/x) dx with n = 4

h = 0.25. Values: y₀ = 1, y₁ = 0.8, y₂ = 0.666 667, y₃ = 0.571 429, y₄ = 0.5.

  • Trapezium: 0.125[1 + 2(0.8 + 0.666 667 + 0.571 429) + 0.5] = 0.125 × 5.576 19 = 0.697 02.
  • Simpson: (0.25/3)[1 + 4(0.8 + 0.571 429) + 2(0.666 667) + 0.5] = 0.083 333 × 8.319 05 = 0.693 25.
  • Exact: ln 2 = 0.693 15. Simpson's error is about 0.000 1, the trapezium's about 0.004: Simpson is much more accurate for smooth curves.

Example 4: from data

A shop's sales rate (₦ thousands a day) measured every 2 days: 10, 14, 16, 15, 11 (days 0 to 8). Trapezium: (2/2)[10 + 2(14 + 16 + 15) + 11] = 111, so about ₦111,000 of sales over 8 days. (Simpson: (2/3)[10 + 4(14 + 15) + 2(16) + 11] = (2/3)(169) ≈ 112.7.)

Exams usually ask

  • Integrate a rational function by partial fractions.
  • Apply the trapezium and Simpson's rules and compare with the exact value.
  • State when numerical integration is needed.

Common mistake

Using Simpson's rule with an odd number of strips, or forgetting the factor of 2 on the inner values in the trapezium rule.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MGT 152 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.