Section 09: Exam Preparation
To prove that \(f\) has a maximum or minimum at \(x = a\):
The exam often asks: “Verify computationally that \(f\) has a maximum at \(x = a\).” All three steps are needed for full points.
| Transformation | Formula | Meaning |
|---|---|---|
| Reflection at \(y\)-axis | \(f(-x)\) | Mirror left/right |
| Reflection at \(x\)-axis | \(-f(x)\) | Mirror up/down |
| Vertical shift | \(f(x) + c\) | Move up by \(c\) |
| Horizontal shift | \(f(x - c)\) | Move right by \(c\) |
Quick: If \(f(x) = 2x(x-3)^2 - 4\), then the reflection at the \(y\)-axis is?
\[f_1(x) = f(-x) = 2(-x)(-x-3)^2 - 4 = -2x(x+3)^2 - 4\]
Steps:
\[A = \int_{a}^{b} \big| f(x) - g(x) \big| \, dx\]
If \(h\) changes sign, split the integral at each zero. Otherwise the positive and negative parts cancel.
Find the area enclosed between \(f(x) = x^2\) and \(g(x) = 2x\) on \([0, 2]\):
Step 1, intersections: \(x^2 = 2x \Rightarrow x(x-2) = 0 \Rightarrow x = 0, 2\)
Step 2, top function: at \(x = 1\): \(g(1) = 2 > 1 = f(1)\); so \(g\) is on top.
\[A = \int_0^2 (2x - x^2) \, dx = \left[ x^2 - \frac{x^3}{3} \right]_0^2 = 4 - \frac{8}{3} = \frac{4}{3}\]
To assess claims about \(f\), \(f'\), \(f''\) from a graph, recall:
Mean Value Theorem: somewhere in \((a, b)\) the tangent slope equals the secant slope. So at \(x = a\) the tangent can be smaller, equal, or bigger.
| Property | \(e^x\) |
|---|---|
| Domain / Range | \(\mathbb{R}\) / \((0, \infty)\) |
| End behavior | \(\to 0\) as \(x \to -\infty\); \(\to \infty\) as \(x \to \infty\) |
Combined with chain & product rule:
\[\big( e^{g(x)} \big)' = e^{g(x)} \cdot g'(x), \qquad \big( (x + p) e^x \big)' = e^x(x + p + 1)\]
End behavior of \((x + p) e^x - q\):
Strategy:
Example with \(j(x) = (x + p) e^x - q\):
Recipe:
For \(j(x) = (x + p) e^x - q\):
\[j'(x) = e^x(x + p + 1), \qquad j''(x) = e^x(x + p + 2)\]
Since \(e^x > 0\) always: \(j''(x) = 0 \Leftrightarrow x = -(p + 2)\).
\[\int u \cdot v' \, dx = u \cdot v - \int u' \cdot v \, dx\]
Choosing: pick \(u\) so that \(u'\) is simpler; pick \(v'\) so it is easy to integrate.
Example: \(\int (x + 1) e^x \, dx\)
Pick \(u = x + 1\), \(v' = e^x\); then \(u' = 1\), \(v = e^x\):
\[\int (x + 1) e^x \, dx = (x + 1) e^x - \int e^x \, dx\]
\[(x + 1) e^x - e^x + C = x \cdot e^x + C\]
For two events \(A\), \(B\) on a population of size \(N\):
| \(A\) | \(\bar{A}\) | Sum | |
|---|---|---|---|
| \(B\) | \(N \cdot P(A \cap B)\) | \(N \cdot P(\bar{A} \cap B)\) | \(N \cdot P(B)\) |
| \(\bar{B}\) | \(N \cdot P(A \cap \bar{B})\) | \(N \cdot P(\bar{A} \cap \bar{B})\) | \(N \cdot P(\bar{B})\) |
| Sum | \(N \cdot P(A)\) | \(N \cdot P(\bar{A})\) | \(N\) |
Definition: \(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\)
Bayes’ theorem:
\[P(A \mid B) = \frac{P(B \mid A) \cdot P(A)}{P(B)}\]
On the exam, you can usually read \(P(A \mid B)\) directly off the contingency table: \[P(A \mid B) = \frac{\text{count in } A \cap B}{\text{count in } B \text{ row/column}}\]
Setting: \(n\) independent trials, each with success probability \(p\).
\[P(X = k) = \binom{n}{k} p^k (1 - p)^{n - k}\]
Common variants:
Using the complement is often faster: e.g. \(P(X \geq 1) = 1 - P(X = 0)\).
Consider \(f(x) = 4x(x - 3)^2 - 8\) and \(g(x) = 4x - 8\).
Expand: \(f(x) = 4x(x^2 - 6x + 9) - 8 = 4x^3 - 24x^2 + 36x - 8\)
Step 1: \(f'(1) = 0\)?
\[f'(x) = 12x^2 - 48x + 36 = 12(x - 1)(x - 3) \qquad f'(1) = 0 \quad \checkmark\]
Step 2: \(f''(1) < 0\)?
\[f''(x) = 24x - 48 \qquad f''(1) = -24 < 0 \quad \checkmark\]
Step 3: maximum value: \(f(1) = 4 \cdot 1 \cdot 4 - 8 = 8\)
\[\boxed{\text{Local maximum at } (1, 8)}\]
\[f(x) = 4x(x^2 - 6x + 9) - 8\]
Replace \(x\) with \(-x\):
\[f_1(x) = f(-x) = 4(-x)(-x - 3)^2 - 8 = -4x(x + 3)^2 - 8\]
Reasoning: every point \((a, f(a))\) becomes \((-a, f(a))\), mirroring the graph horizontally about the \(y\)-axis.
\[\boxed{f_1(x) = -4x(x + 3)^2 - 8}\]
Set \(f(x) = g(x)\):
\[4x(x - 3)^2 - 8 = 4x - 8\]
\[4x(x - 3)^2 - 4x = 0\]
\[4x \big[ (x - 3)^2 - 1 \big] = 0\]
\[4x(x^2 - 6x + 8) = 0 \quad \Rightarrow \quad 4x(x - 2)(x - 4) = 0\]
Intersections: \(x = 0, \quad x = 2, \quad x = 4\)
Sign check: at \(x = 1\): \(h(1) = 4 \cdot 1 \cdot (-1)(-3) = 12 > 0\) (\(f\) above \(g\))
Region 1 (\(0 \leq x \leq 2\)):
\[A_1 = \int_0^2 h(x) \, dx = \left[ x^4 - 8x^3 + 16x^2 \right]_0^2 = 16 - 64 + 64 = 16\]
Region 2 (\(2 \leq x \leq 4\)):
\[A_2 = \left| \left[ x^4 - 8x^3 + 16x^2 \right]_2^4 \right| = \left| (256 - 512 + 256) - 16 \right| = 16\]
\[\boxed{A_1 = A_2 = 16 \quad \checkmark}\]
Consider \(j(x) = (x + p) \cdot e^x - q\) with parameters \(p\), \(q\) shown below:
Two readable points:
System:
\[j(0) = p - q = -3 \quad (I)\]
\[j(1.5) = (1.5 + p) e^{1.5} - q = 0 \quad (II)\]
Round to one decimal: \(\;\boxed{p \approx -1, \quad q \approx 2}\)
For \(j(x) = (x - 1) e^x - 2\):
As \(x \to +\infty\): \((x - 1) \to \infty\) and \(e^x \to \infty\):
\[\lim_{x \to +\infty} j(x) = +\infty\]
As \(x \to -\infty\): exponential decay beats linear growth, so \((x - 1)e^x \to 0\):
\[\lim_{x \to -\infty} j(x) = 0 - 2 = -2\]
\[\boxed{j \to +\infty \text{ at } +\infty; \quad y = -2 \text{ horizontal asymptote at } -\infty}\]
For \(j(x) = (x - 1) e^x - 2\), compute:
\[j'(x) = e^x + (x - 1) e^x = e^x \cdot x \qquad j''(x) = e^x + x \cdot e^x = e^x(x + 1)\]
Set \(j''(x) = 0\): since \(e^x > 0\) always, \(x + 1 = 0 \Rightarrow x = -1\).
\(y\)-coordinate:
\[j(-1) = (-1 - 1) e^{-1} - 2 = -\frac{2}{e} - 2 \approx -2.74\]
\[\boxed{\text{Inflection point at } \left( -1, \; -\tfrac{2}{e} - 2 \right) \approx (-1, -2.74)}\]
A fitness studio offers a workout-tracking app to its members.
Given:
Use \(N = 100{,}000\) people:
| \(M\) | \(\bar{M}\) | Sum | |
|---|---|---|---|
| \(A\) | 15,000 | 8,000 | 23,000 |
| \(\bar{A}\) | 5,000 | 72,000 | 77,000 |
| Sum | 20,000 | 80,000 | 100,000 |
A person uses the app. What is the probability they are a member?
Read directly from the table:
\[P(M \mid A) = \frac{|M \cap A|}{|A|} = \frac{15{,}000}{23{,}000} \approx 0.6522\]
\[\boxed{P(M \mid A) \approx 65.2\%}\]
Even though only 20% of people are members, having the app raises the probability of membership to 65%, because the app is much more common among members.
Use \(p = P(M) = 0.20\).
Exactly 2 are members:
\[P(X = 2) = \binom{8}{2} (0.2)^2 (0.8)^6 = 28 \cdot 0.04 \cdot 0.2621 \approx 0.2936\]
At most 2 are members:
Between 2 and 4 members (inclusive):
\[\boxed{P(2 \leq X \leq 4) \approx 0.4863 \approx 48.6\%}\]
The tasks file for 09-06 has another exam-style problem set covering the same techniques with different numbers.
Session 09-06 - Final Recap: Function Analysis & Probability | Dr. Nikolai Heinrichs & Dr. Tobias Vlćek | Home