
Mathematics for Master Students
Which tasks gave you trouble? Bring them up now: we take the time to go through them before we move on to today’s topic.
Question
Let \(A = \{1, 2, 3, 4\}\) and \(B = \{3, 4, 5\}\). Compute \(\;(A \cup B) \setminus (A \cap B)\).
A function \(f: A \to B\) is a rule that assigns to each element \(x \in A\) exactly one element \(f(x) \in B\).
Common Mistake
“Exactly one” restricts the outputs per input. Two different inputs may share the same output: that is perfectly fine.
\[f: \mathbb{R} \to \mathbb{R}, \quad x \mapsto 2x + 5\]
\(f\) and \(f(x)\) are different things: \(f\) is the rule, \(f(x)\) is a number: the value at \(x\).
For \(f: A \to B\), three sets matter:
Example: \(f: \mathbb{R} \to \mathbb{R}\), \(f(x) = x^2\): codomain \(\mathbb{R}\), but range \([0, \infty)\): no square is negative.
To evaluate, substitute the input everywhere the variable appears, take \(f(x) = x^2 - 2x\):
Put negative inputs in parentheses before squaring: \((-1)^2 = 1\), not \(-1\).
The input can be an expression: substitute all of it, in parentheses. Again \(f(x) = x^2 - 2x\):
\[f(a + h) = (a + h)^2 - 2(a + h) = a^2 + 2ah + h^2 - 2a - 2h\]
Common Mistake
\(f(a + h) \neq f(a) + f(h)\), check: \(f(1 + 1) = f(2) = 0\), but \(f(1) + f(1) = -1 - 1 = -2\).
Expressions like \(f(a + h)\) are the raw material of Session 4: “how much does \(f\) change when the input moves by \(h\)?”
The graph of \(f\) is the set \(\{(x, f(x)) : x \in A\} \subseteq \mathbb{R}^2\): ordered pairs, as in Session 2.

Question
Which of the two graphs shows \(y\) as a function of \(x\)?
Only Graph B: A fails the vertical line test: \(x = 1\) gives both \(y = 1\) and \(y = -1\). The kink in B is fine.
Functions map decisions to outcomes, the core of every quantitative model:
Whenever a spreadsheet column is computed from another column, there is a function behind it.
\[f(x) = mx + b\]

\(C(x) = 200 + 5x\): the fixed costs are the intercept, the variable cost per unit is the slope.
\[f(x) = ax^2 + bx + c, \quad a \neq 0\]

Demand \(D(p) = 1200 - 20p\) gives revenue \(R(p) = p \cdot D(p) = 1200p - 20p^2\): the vertex \(p = -\frac{1200}{2 \cdot (-20)} = 30\) is the revenue-maximal price.
\[f(x) = a_n x^n + \dots + a_1 x + a_0 \qquad \text{degree } n = \text{highest power}\]

Degree \(n\) allows up to \(n\) roots and up to \(n - 1\) turning points: far from the origin the leading term \(a_n x^n\) dominates (\(f(x) = x^3 - 3x\) above behaves like \(x^3\)).
Cubic cost curves \(C(x) = ax^3 + bx^2 + cx + d\) are the classic economics example: costs rise steeply, flatten, then steepen again.
\[f(x) = \frac{p(x)}{q(x)} \qquad \text{a quotient of two polynomials}\]

Both axes are asymptotes. Business example: with \(C(x) = 200 + 5x\), the cost per unit is \(\frac{C(x)}{x} = \frac{200}{x} + 5\): it falls toward 5 as volume grows: economies of scale.
\[f(x) = a \cdot b^x, \quad b > 0\]

Both stay strictly positive and pass through \((0, 1)\): an exponential never reaches zero.
Deposit \(K_0\) at annual rate \(r\), each year multiplies the balance by \((1 + r)\):
\[K_t = K_0 \cdot \underbrace{(1+r)(1+r) \dots (1+r)}_{t \text{ factors}} = K_0 \cdot (1+r)^t\]
The natural logarithm \(\ln x\) answers: which exponent produces \(x\)?
\[y = \ln x \;\, \Leftrightarrow \;\, x = e^y\]

\[\ln(xy) = \ln x + \ln y \qquad \ln\frac{x}{y} = \ln x - \ln y \qquad \ln(x^k) = k \ln x\]
Common Mistake
\(\ln(x + y) \neq \ln x + \ln y\): the rules work for products, not sums.
Question
With continuous growth at rate \(r\), capital follows \(K_t = K_0 \cdot e^{rt}\). When has it doubled?
\[e^{rt} = 2 \quad \Rightarrow \quad rt = \ln 2 \quad \Rightarrow \quad t = \frac{\ln 2}{r} \approx \frac{0.693}{r}\]
If no domain is stated, take the maximal domain: the largest set of reals on which the formula is defined.
Three red flags:
Everything else (polynomials, exponentials) is safe on all of \(\mathbb{R}\).
| Function | Restriction | Maximal domain |
|---|---|---|
| \(\dfrac{1}{x - 3}\) | \(x - 3 \neq 0\) | \(\mathbb{R} \setminus \{3\}\) |
| \(\sqrt{2x + 6}\) | \(2x + 6 \geq 0\) | \([-3, \infty)\) |
| \(\ln(5 - x)\) | \(5 - x > 0\) | \((-\infty, 5)\) |
The results are intervals. Session 1’s notation pays off: square bracket at \(-3\) (\(\sqrt{0}\) is fine), round bracket at \(5\) (\(\ln 0\) is not).
Question
What is the maximal domain of \(\;f(x) = \dfrac{\sqrt{x - 2}}{x - 4}\;\)?
Collect every restriction first, then combine: one forgotten condition is the typical exam slip.
Business adds its own restrictions on top of the math:
Chaining two functions, apply \(g\) first, then \(f\) to the result:
\[(f \circ g)(x) = f(g(x))\]
A webshop applies a €10 voucher \(v(p) = p - 10\) and 19% VAT \(t(p) = 1.19p\) to a net price \(p\):
Common Mistake
Assuming \(f \circ g = g \circ f\): in general, the order cannot be swapped. Always check which function acts first.
Question
Let \(f(x) = x^2\) and \(g(x) = x + 1\). Compute \(\;(f \circ g)(2)\;\) and \(\;(g \circ f)(2)\).
The inverse \(f^{-1}\) undoes \(f\):
\[f(a) = b \quad \Leftrightarrow \quad f^{-1}(b) = a\]
Write \(y = f(x)\), solve for \(x\), then read the result as a function of the output.
Demand example: \(q = D(p) = 1200 - 20p\):
\[q = 1200 - 20p \quad \Rightarrow \quad 20p = 1200 - q \quad \Rightarrow \quad p = 60 - \frac{q}{20}\]
Common Mistake
Reading \(f^{-1}\) as “one over \(f\)”: for functions, the exponent \(-1\) means undo, not divide.

Swapping input and output reflects the graph across \(y = x\): the point \((3, 4)\) on \(f\) becomes \((4, 3)\) on \(f^{-1}\): exactly how \(\ln x\) mirrored \(e^x\).
\(f\) is increasing if \(x_1 < x_2 \Rightarrow f(x_1) \leq f(x_2)\): strictly increasing with \(<\). Decreasing works the same way, flipped.
\(f\) is bounded above if some \(M\) satisfies \(f(x) \leq M\) for all \(x\): bounded below works with \(\geq m\).

That’s it for today.
Any Questions?
When a function confuses you, sketch it: five plotted points reveal more than ten minutes of staring at the formula.
See you there, and bring your questions!
Session 03 - Functions | Dr. Tobias Vlcek | Home