
Section 06: Integral Calculus
Test your understanding of Area Problems
Find the total area between \(f(x) = x - 2\) and the x-axis from \(x = 0\) to \(x = 4\).
Evaluate \(\int_0^2 3e^{2x} \, dx\)
Evaluate \(\int_1^e \frac{4}{x} \, dx\)
If a production rate is \(P(t) = 100 - 5t\), find total production from \(t = 0\) to \(t = 10\).
Focus on area problems and special integrals
Today we find the area between two curves and apply this to economic surplus!
Area between curves is the foundation for understanding economic surplus!
Key idea: If \(f(x) \geq g(x)\) on \([a, b]\), then: \(\text{Area} = \int_a^b [f(x) - g(x)] \, dx\)

Top curve minus bottom curve!
Think of it as subtracting areas:

\[\int_a^b f(x) \, dx - \int_a^b g(x) \, dx = \int_a^b [f(x) - g(x)] \, dx\]
Area between curves:
\[\text{Area} = \int_a^b |f(x) - g(x)| \, dx\]
Or if you know \(f(x) \geq g(x)\):
\[\text{Area} = \int_a^b [f(x) - g(x)] \, dx\]
Find intersection points (bounds \(a\) and \(b\)), determine which function is on top and then integrate top minus bottom.
To find where curves intersect:
Example: Find where \(f(x) = 6 - x^2\) and \(g(x) = x\) intersect.
\[6 - x^2 = x\] \[x^2 + x - 6 = 0\] \[(x + 3)(x - 2) = 0\] \[x = -3 \text{ or } x = 2\]
Find the area between \(f(x) = 6 - x^2\) and \(g(x) = x\).
\[\int_{-3}^{2} (6 - x - x^2) \, dx = \left[6x - \frac{x^2}{2} - \frac{x^3}{3}\right]_{-3}^{2}\]
At \(x = 2\): \(12 - 2 - \frac{8}{3} = 10 - \frac{8}{3} = \frac{22}{3}\)
At \(x = -3\): \(-18 - \frac{9}{2} + 9 = -9 - \frac{9}{2} = -\frac{27}{2}\)
\[\text{Area} = \frac{22}{3} - \left(-\frac{27}{2}\right) = \frac{22}{3} + \frac{27}{2} = \frac{44 + 81}{6} = \frac{125}{6}\]

Even though part of this region lies below the x-axis, the area is still positive because we integrate \((f(x) - g(x))\) where \(f\) is above \(g\).
When curves cross:
\[\text{Total Area} = \int_{a}^{c} |f - g| \, dx + \int_{c}^{b} |f - g| \, dx\]
Find the area between \(f(x) = x^2\) and \(g(x) = x\) from \(x = 0\) to \(x = 2\).
Region 1 \((0 \leq x \leq 1)\): \(g\) on top
\[\int_0^1 (x - x^2) \, dx = \left[\frac{x^2}{2} - \frac{x^3}{3}\right]_0^1 = \frac{1}{2} - \frac{1}{3} = \frac{1}{6}\]
Region 2 \((1 \leq x \leq 2)\): \(f\) on top
\[\int_1^2 (x^2 - x) \, dx = \left[\frac{x^3}{3} - \frac{x^2}{2}\right]_1^2 = \left(\frac{8}{3} - 2\right) - \left(\frac{1}{3} - \frac{1}{2}\right) = \frac{2}{3} + \frac{1}{6} = \frac{5}{6}\]
Total Area \(= \frac{1}{6} + \frac{5}{6} = 1\)

Total Area = 1/6 + 5/6 = 1
Work individually for 8 minutes
Find the area between \(f(x) = x^2\) and \(g(x) = 4\) from \(x = -2\) to \(x = 2\).
Find the area between \(f(x) = x + 2\) and \(g(x) = x^2\) (find intersection points first).
Find the area between \(y = \sqrt{x}\) and \(y = x\) for \(x \in [0, 1]\).
Work individually for 6 minutes
Find the area enclosed between \(f(x) = 4 - x^2\) and \(g(x) = 3x\) from \(x = -1\) to \(x = 1\).
Find the total area between \(f(x) = x^3\) and \(g(x) = x\) from \(x = -1\) to \(x = 1\).
Consumers benefit when they pay less than their willingness to pay
Example: If you’d pay up to 80 EUR for a concert ticket but it costs 50 EUR…
For an entire market, we sum up all individual surpluses using integration!
Definition: Area between demand curve and equilibrium, from 0 to \(q^*\):

\(CS = \int_0^{q^*} [D(q) - p^*] \, dq\)
Demand curve: \(D(q) = 100 - 4q\) EUR, equilibrium at \(q^* = 15\) units, \(p^* = 40\) EUR
\[CS = \int_0^{15} [(100 - 4q) - 40] \, dq\]
\[= \int_0^{15} (60 - 4q) \, dq\]
\[= \left[60q - 2q^2\right]_0^{15}\]
\[= 900 - 450 = 450 \text{ EUR}\]
Producers benefit when they receive more than their minimum acceptable price
Example: If a farmer would sell wheat for minimum 30 EUR/unit but receives 50 EUR…
For an entire market, we sum up all producer surpluses using integration!
Definition: Area between equilibrium and supply curve, from 0 to \(q^*\):

\(PS = \int_0^{q^*} [p^* - S(q)] \, dq\)
Supply curve: \(S(q) = 10 + 2q\) EUR, equilibrium at \(q^* = 15\) units, \(p^* = 40\) EUR
\[PS = \int_0^{15} [40 - (10 + 2q)] \, dq\]
\[= \int_0^{15} (30 - 2q) \, dq\]
\[= \left[30q - q^2\right]_0^{15}\]
\[= 450 - 225 = 225 \text{ EUR}\]
At equilibrium: Demand equals Supply, so \(D(q) = S(q)\)
Example: \(D(q) = 120 - 3q\) and \(S(q) = 20 + q\)
\[120 - 3q = 20 + q\] \[100 = 4q\] \[q^* = 25\]
\[p^* = 120 - 3(25) = 45 \text{ EUR}\]
Always verify: \(S(25) = 20 + 25 = 45\) ✓
Total Surplus = Consumer Surplus + Producer Surplus

Given: \(D(q) = 120 - 3q\), \(S(q) = 20 + q\), equilibrium \((q^*, p^*) = (25, 45)\)
Consumer Surplus: \[CS = \int_0^{25} [(120 - 3q) - 45] \, dq = \int_0^{25} (75 - 3q) \, dq\]
\[= \left[75q - \frac{3q^2}{2}\right]_0^{25} = 1875 - 937.5 = 937.5 \text{ EUR}\]
Producer Surplus: \[PS = \int_0^{25} [45 - (20 + q)] \, dq = \int_0^{25} (25 - q) \, dq\]
\[= \left[25q - \frac{q^2}{2}\right]_0^{25} = 625 - 312.5 = 312.5 \text{ EUR}\]
Total Surplus: \(937.5 + 312.5 = 1250\) EUR
Total surplus measures the total economic benefit a market generates for all participants. It equals the area between the demand and supply curves up to the equilibrium quantity. At equilibrium, total surplus is maximized. Any deviation, e.g., through price controls or taxes, would reduce it.
Work in pairs for 10 minutes
A market has demand \(D(q) = 150 - 5q\) and supply \(S(q) = 30 + 3q\).
Find equilibrium \((q^*, p^*)\)
Calculate CS and PS
Find total surplus
Scenario: A regional for organic produce has (\(q\) is quantity in tons):
Next session: Integration by Parts and Synthesis!
Work individually, then compare
Find the area between \(f(x) = 4 - x\) and \(g(x) = x\) from \(x = 0\) to \(x = 2\).
If demand is \(D(q) = 100 - 2q\) and supply is \(S(q) = 20 + q\), find equilibrium \((q^*, p^*)\).
For the market in problem 2, set up (but don’t evaluate) the integrals for CS and PS.
Complete Tasks 06-04
Session 06-04 - Area Between Curves & Economic Surplus | Dr. Nikolai Heinrichs & Dr. Tobias Vlcek | Home