MGT 152 · Business Mathematics II
Our notes
2 min readIntegrating 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
-
Best pick Calculus Volume 2, 3.4 Partial Fractions
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 3.4 Partial Fractions, CC BY-NC-SA 4.0 · licence
-
Calculus Volume 2, 3.6 Numerical Integration
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 3.6 Numerical Integration, CC BY-NC-SA 4.0 · licence
-
Partial fraction decomposition
(opens en.wikipedia.org in a new tab)
Wikipedia, Partial fraction decomposition, CC BY-SA 4.0 · licence
-
Simpson's rule
(opens en.wikipedia.org in a new tab)
Wikipedia, Simpson's rule, CC BY-SA 4.0 · licence
-
Trapezoidal rule
(opens en.wikipedia.org in a new tab)
Wikipedia, Trapezoidal rule, CC BY-SA 4.0 · licence
-
OpenStax, Calculus Volume 1 (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Calculus Volume 1 (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
How To Perform Integration By Partial Fractions
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Integral of Partial fraction
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Integration with partial fractions | AP Calculus BC | Khan Academy
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
Integration By Partial Fractions
41 min · ≈ 185 MB · about ₦104
(opens youtube.com in a new tab)
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.