
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.
Question
\(f: \mathbb{R} \to \mathbb{R}\), \(f(x) = x^2 + 1\). Which set is the range of \(f\)?
| (a) \(\mathbb{R}\) | (b) \([0, \infty)\) |
| (c) \([1, \infty)\) | (d) \((1, \infty)\) |
(c): \(x^2 \geq 0\), so \(x^2 + 1 \geq 1\), and the value \(1\) is reached at \(x = 0\): square bracket.
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\)?”
Question
Again \(f(x) = x^2 - 2x\). What is \(f(-2)\)? Type the number. Bonus: simplify \(f(x + 1)\).
\[f(-2) = (-2)^2 - 2 \cdot (-2) = 4 + 4 = 8\]
\[f(x + 1) = (x + 1)^2 - 2(x + 1) = x^2 + 2x + 1 - 2x - 2 = x^2 - 1\]
Common Mistake
\(f(-2) = 0\) comes from dropping a sign: either \((-2)^2 = -4\) or \(-2 \cdot (-2) = -4\). Both minus signs matter.
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.
Question
A linear cost function gives \(C(10) = 250\) and \(C(30) = 350\). What are the slope \(m\) and the intercept \(b\)? Type both numbers.
\[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 = -1200/(2 \cdot (-20)) = 30\) is the revenue-maximal price.
Question
Another product has revenue \(R(p) = 800p - 10p^2\). Does the parabola open upward or downward, and at which price is the vertex? Type the number.
\[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 \(C(x)/x = 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.
Question
A delivery van’s resale value follows \(V(t) = 50000 \cdot 0.8^t\) (in €, after \(t\) years). Which statement is true?
| (a) The value grows by \(20\%\) per year | (b) The value shrinks by \(20\%\) per year |
| (c) The value shrinks by €10000 per year | (d) The value reaches €0 after \(5\) years |
(b): base \(0.8 < 1\) means decay, and each year keeps \(80\%\) of the previous value.
Common Mistake
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
Which expression equals \(\;\ln(x^2 y)\;\) for \(x, y > 0\)?
| (a) \(2 \ln x + \ln y\) | (b) \(2 \ln x \cdot \ln y\) |
| (c) \(\ln(x^2) \cdot \ln y\) | (d) \(2\,(\ln x + \ln y)\) |
(a): the product rule splits \(\ln(x^2 y) = \ln(x^2) + \ln y\), then the power rule gives \(\ln(x^2) = 2 \ln x\).
When the unknown sits in the exponent, take \(\ln\) on both sides and pull it down.
Question: a warehouse’s throughput grows \(8\%\) per year. After how many years has it tripled?
The same three steps handle every “how long until” question with exponential growth.
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 maths:
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}\]
Question
Let \(f(x) = 3x - 6\). For which \(x\) is \(f(x) = 9\), i.e. what is \(f^{-1}(9)\)? Type the number.
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.
Question
Which of these functions is not one-to-one on \(\mathbb{R}\), and therefore has no inverse there?
| (a) \(f(x) = 2x + 1\) | (b) \(f(x) = e^x\) |
| (c) \(f(x) = x^2 - 4\) | (d) \(f(x) = x^3\) |
(c): \(f(2) = f(-2) = 0\), one output from two inputs, so it fails the horizontal line test.
The other three are strictly increasing on all of \(\mathbb{R}\), and strictly monotone functions are always invertible.
\(f\) is bounded above if some \(M\) satisfies \(f(x) \leq M\) for all \(x\): bounded below works with \(\geq m\).

Question
Which of these functions is concave on its domain?
| (a) \(x^2\) | (b) \(e^x\) |
| (c) \(\sqrt{x}\) | (d) \(\lvert x \rvert\) |
(c): \(\sqrt{x}\) rises ever more slowly, its chords lie below the graph: diminishing returns.
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