Math for economyMM1005

How to find your way

  1. 1Search for the word that confuses you — the box at the top searches the whole course.
  2. 2Look it up in Concepts. Every concept links to the section that explains it. Concepts →
  3. 3Read the Watch out and Common error boxes: they show the mistakes that are actually made.
  4. 4Still stuck? Bring the question to the exercise session or send an email.

Lecturer: Eric Ahlqvist, [email protected] · Put “MM1005” in the subject line.

Facts

Every Fact of the course in one place. The reason for a Fact is in the section it belongs to, behind the button “Why is this true?”.

1 Linear, quadratic and polynomial functions

Fact 1.3Interpretation of the slope

If $f(x)=ax+b$, then increasing $x$ by one unit changes $f(x)$ by exactly $a$, no matter where you start: $$ \begin{aligned} &f(x+1)-f(x) \\ &\quad= \bigl(a(x+1)+b\bigr) - (ax+b) \\ &\quad= a\,. \end{aligned} $$ So $a>0$ gives a graph rising to the right, the steeper the larger $a$ is; $a<0$ one falling to the right, with steepness $|a|$; and $a=0$ the horizontal line $y=b$.

To the section: Linear functions: the slope is a rate →
Fact 1.4Slope, and the equation of a line

Let $P=(x_1,y_1)$ and $Q=(x_2,y_2)$ be distinct points on a non-vertical straight line $\ell$. Then the slope of $\ell$ is $$ a = \frac{y_2-y_1}{x_2-x_1}\,, \tag{1.1} $$ independently of which two points of $\ell$ are chosen; and the line through $(x_1,y_1)$ with slope $a$ has equation $$ y - y_1 = a\,(x-x_1)\,. \tag{1.2} $$

To the section and the reason: Linear functions: the slope is a rate →
Fact 1.7Trichotomy for two lines

A system of two linear equations in two unknowns has either

  1. exactly one solution — the lines cross at a single point;
  2. no solution — the lines are parallel and distinct;
  3. infinitely many solutions — the two equations describe the same line.

In particular, it is impossible for such a system to have exactly two solutions.

To the section: Linear functions: the slope is a rate →
Fact 1.10Vertex form

For $a\ne 0$, $$ ax^2+bx+c = a\left(x+\frac{b}{2a}\right)^{\!2} - \frac{b^2-4ac}{4a}\,. \tag{1.4} $$

To the section and the reason: Quadratic functions: where is the top? →
Fact 1.11Maximum and minimum of a quadratic

Let $f(x)=ax^2+bx+c$ with $a\ne0$, and set $x^{*} = -\dfrac{b}{2a}$.

  • If $a>0$, then $f$ has a minimum at $x^{*}$, and no maximum.
  • If $a<0$, then $f$ has a maximum at $x^{*}$, and no minimum.

In both cases the extreme value is $$ f(x^{*}) = c - \frac{b^2}{4a} = -\frac{b^2-4ac}{4a}\,, $$ and the parabola is symmetric about the vertical line $x=x^{*}$: for every $t$, $f(x^{*}+t) = f(x^{*}-t)$.

To the section and the reason: Quadratic functions: where is the top? →
Fact 1.17Factor theorem

Let $P$ be a polynomial and $a$ a number. Then $$ x-a \text{ is a factor of } P(x) \;\Longleftrightarrow\; P(a)=0\,. $$

To the section and the reason: Polynomials: degree, roots and factors →
Fact 1.18Integer root test

Suppose all the coefficients $a_n,\ldots,a_1,a_0$ in (1.5) are integers. Then every integer root of $P$ is a factor of the constant term $a_0$.

To the section and the reason: Polynomials: degree, roots and factors →
Fact 1.22Division with remainder

Let $P$ have degree $m$ and $Q$ have degree $n$, with $m\ge n$. Then there is exactly one pair of polynomials $q$ (of degree $m-n$) and $r$ (of degree less than $n$) with $$ \begin{aligned} &P(x) = q(x)\,Q(x) + r(x)\,, \\ &\text{equivalently} \\ &\frac{P(x)}{Q(x)} = q(x) + \frac{r(x)}{Q(x)} \end{aligned} \tag{1.6} $$ wherever $Q(x)\ne0$. We call $q$ the quotient and $r$ the remainder; if $r$ is the zero polynomial, $Q$ is a factor of $P$.

To the section: Division with remainder, and rational functions →

2 Powers, exponentials, logarithms, and the derivative

Fact 2.2The shape of $y=x^{r}$

Every power function $y=x^{r}$ passes through $(1,1),$ since $1^{r}=1,$ and its shape on $x>0$ depends only on $r{:}$ for $r>1$ it increases and bends upwards $(y=x^2);$ for $r=1$ it is the line $y=x;$ for $0<r<1$ it increases and bends downwards $(y=\sqrt{x});$ for $r=0$ it is the constant $y=1;$ and for $r<0$ it decreases, with $y\to\infty$ as $x\to 0$ and $y\to0$ as $x\to\infty$ $(y=1/x).$

To the section: Power functions →
Fact 2.5Interpretation of the base

If $f(t)=Aa^{t},$ then for every $t,$ $$ f(t+1) = A a^{t+1} = a\cdot Aa^{t} = a\,f(t)\,. $$ So increasing $t$ by one unit multiplies the value by $a,$ no matter where you start, and $A=f(0).$ Hence $a>1$ gives growth, $0<a<1$ decay and $a=1$ a constant; writing $a = 1+p/100$ with $p>0,$ the function grows by $p\%$ per unit, and $a=1-p/100$ with $0<p<100$ makes it fall by $p\%$ per unit.

To the section: Exponential functions →
Fact 2.9Rules for logarithms

For all $x,y>0$ and all real $p,$ $$ \begin{aligned} \ln(xy) &= \ln x + \ln y\,,\\ \ln\frac{x}{y} &= \ln x - \ln y\,,\\ \ln x^{p} &= p\,\ln x\,, \end{aligned} $$ and $\ln$ and $\exp$ undo each other: $\ln e^{x}=x$ for all real $x,$ and $e^{\ln x}=x$ for all $x>0.$

To the section and the reason: Logarithms →
Fact 2.13Doubling time

Let $a>1$ and $A>0.$ The exponential function $f(t)=Aa^{t}$ has a unique doubling time $t^{*},$ the solution of $a^{t^{*}}=2,$ namely $$ t^{*} = \frac{\ln 2}{\ln a}\,. $$ It does not depend on $A,$ nor on the moment from which you start measuring.

To the section and the reason: Logarithms →
Fact 2.20Derivative of a quadratic
$$ \begin{aligned} f(x)&=ax^{2}+bx+c\\ \ \Longrightarrow\ f'(x)&=2ax+b\,. \end{aligned} $$
To the section and the reason: Quadratics, the tangent line and rates of change →
Fact 2.21Derivative as rate of change

The Newton quotient is the average rate of change of $f$ between $a$ and $a+h,$ so its limit $f'(a)$ is the instantaneous rate of change at $a;$ and for small $h,$ $f(a+h)-f(a)\approx f'(a)\cdot h.$

To the section: Quadratics, the tangent line and rates of change →
Fact 2.23The sign of the derivative

Let $f$ be differentiable on an interval $I.$ Then $$ \begin{aligned} &f'(x)\ge 0 \text{ for all } x\in I\\ &\qquad\iff f \text{ is increasing on } I\,,\\ &f'(x)\le 0 \text{ for all } x\in I\\ &\qquad\iff f \text{ is decreasing on } I\,,\\ &f'(x)= 0 \text{ for all } x\in I\\ &\qquad\iff f \text{ is constant on } I\,. \end{aligned} $$ Moreover $f'(x)>0$ for all $x\in I$ implies that $f$ is strictly increasing on $I,$ and similarly $f'(x)<0$ implies strictly decreasing.

To the section: Increasing and decreasing functions →

3 The rules of differentiation

Fact 3.4Rules for limits

Suppose $\lim_{x\to a}f(x)=A$ and $\lim_{x\to a}g(x)=B.$ Then $$ \begin{aligned} \lim_{x\to a}\bigl(f(x)\pm g(x)\bigr) &= A\pm B\,,\\ \lim_{x\to a} f(x)g(x) &= AB\,,\\ \lim_{x\to a}\frac{f(x)}{g(x)} &= \frac{A}{B}\ \ (B\ne0)\,, \end{aligned} $$ together with $\lim_{x\to a}c=c$ for a constant $c,$ and $\lim_{x\to a}x=a.$

To the section: Limits →
Fact 3.5The elementary rules

Let $A$ be a constant and let $g$ and $h$ be differentiable. Then $$ \begin{aligned} f(x) = A &\Longrightarrow f'(x) = 0\\ f(x) = A + g(x) &\Longrightarrow f'(x) = g'(x)\\ f(x) = A\cdot g(x) &\Longrightarrow f'(x) = A\,g'(x)\\ f(x) = x^{a} &\Longrightarrow f'(x) = a\,x^{a-1}\\ f(x) = g(x)+h(x) &\Longrightarrow f'(x) = g'(x)+h'(x)\\ f(x) = g(x)-h(x) &\Longrightarrow f'(x) = g'(x)-h'(x) \end{aligned} $$ In words: additive constants disappear, multiplicative constants survive.

To the section: The rules that need no thought →
Fact 3.8The product rule

If $f$ and $g$ are differentiable, then $$ (fg)'(x) = f'(x)g(x) + f(x)g'(x)\,. \tag{3.1} $$

To the section and the reason: Products and quotients →
Fact 3.11The quotient rule

If $f$ and $g$ are differentiable and $g(x)\ne0,$ then $$ \left(\frac{f}{g}\right)'(x) = \frac{f'(x)g(x)-f(x)g'(x)}{g(x)^{2}}\,. \tag{3.2} $$

To the section and the reason: Products and quotients →
Fact 3.15Relative rates

Wherever the quantities are nonzero, $$ \begin{aligned} \frac{(fg)'}{fg} &= \frac{f'}{f} + \frac{g'}{g}\,,\\ \frac{(f/g)'}{f/g} &= \frac{f'}{f} - \frac{g'}{g}\,. \end{aligned} $$ Relative rates add for products and subtract for quotients.

To the section and the reason: Relative rates: growth in per cent →
Fact 3.16The chain rule

Let $F(x) = g\bigl(f(x)\bigr),$ with $f$ differentiable at $x$ and $g$ differentiable at $f(x).$ Then $$ F'(x) = g'\bigl(f(x)\bigr)\cdot f'(x)\,. \tag{3.3} $$ Writing $z=g(y)$ and $y=f(x),$ the same statement in Leibniz's notation is $$ \frac{dz}{dx} = \frac{dz}{dy}\cdot\frac{dy}{dx}\,. $$

To the section: The chain rule →
Fact 3.22What the second derivative says

On an interval where $f$ is twice differentiable,

  • $f''>0{:}$ the slope is increasing, the curve bends upwards, and its tangents lie below it;
  • $f''<0{:}$ the slope is decreasing, the curve bends downwards, and its tangents lie above it.
To the section: Higher-order derivatives →

4 Exponentials, logarithms, and approximation

Fact 4.2The derivative of the exponential

$\displaystyle\frac{d}{dx}e^{x} = e^{x}$, and by the chain rule (Fact 3.16), $\displaystyle\frac{d}{dx}e^{g(x)} = e^{g(x)}\,g'(x)$.

To the section: The exponential function, and why $e$ →
Fact 4.4Every other base reduces to $e$

Since $a=e^{\ln a}$ we have $a^{x}=e^{x\ln a}$, and therefore $$ \frac{d}{dx}a^{x} = a^{x}\ln a\,. $$

To the section: The exponential function, and why $e$ →
Fact 4.5The derivative of the logarithm

For $x>0$, $$ \frac{d}{dx}\ln x = \frac{1}{x}\,, $$ and consequently, wherever $h(x)>0$, $$ \frac{d}{dx}\ln h(x) = \frac{h'(x)}{h(x)}\,. \tag{4.2} $$

To the section and the reason: The logarithm →
Fact 4.14The power rule, in general

For every real number $a$ and every $x>0$, $$ \frac{d}{dx}x^{a} = a\,x^{a-1}\,. $$

To the section and the reason: Logarithmic differentiation, and the power rule in general →
Fact 4.15Linear approximation

If $f$ is differentiable at $a$, then for $x$ near $a$, $$ f(x) \;\approx\; f(a) + f'(a)(x-a)\,. \tag{4.3} $$

To the section: Linear approximation →
Fact 4.20What the Taylor polynomial does

$P_{n}$ is the unique polynomial of degree at most $n$ whose value and first $n$ derivatives at $a$ agree with those of $f$: $$ P_{n}^{(k)}(a) = f^{(k)}(a)\qquad\text{for } k=0,1,\ldots,n\,, $$ and $f(x)\approx P_{n}(x)$ for $x$ near $a$. The case $n=1$ is (4.3).

To the section and the reason: Taylor polynomials →

5 The error term, limits, and $0/0$

Fact 5.1Taylor's formula

Let $f$ be $n+1$ times differentiable on an interval containing $a$ and $x$. Then $$ \begin{aligned} &f(x) = p_{n}(x) + R_{n+1}(x)\,, \\ &R_{n+1}(x) = \frac{f^{(n+1)}(z)}{(n+1)!}\,(x-a)^{n+1} \tag{5.1} \end{aligned} $$ for some number $z$ strictly between $a$ and $x$. In the case $a=0$, which is the one normally used, $R_{n+1}(x) = f^{(n+1)}(z)\,x^{n+1}/(n+1)!$ with $z$ between $0$ and $x$.

To the section: The price of an approximation →
Fact 5.4The error bound

If $\bigl|f^{(n+1)}(t)\bigr| \le M$ for every $t$ between $a$ and $x$, then $$ \bigl|R_{n+1}(x)\bigr| \;\le\; \frac{M}{(n+1)!}\,|x-a|^{\,n+1}\,. \tag{5.2} $$

To the section and the reason: The price of an approximation →
Fact 5.8Two-sided means both sides

$\lim_{x\to a}f(x)$ exists if and only if both one-sided limits exist and are equal, in which case all three agree.

To the section: Limits, properly →
Fact 5.17Continuity licenses substitution

If $f$ is continuous at $a$ then $\lim_{x\to a}f(x)=f(a)$: you simply substitute. Moreover anything built from constants and $x$ using addition, subtraction, multiplication, division and composition is continuous wherever it is defined — so polynomials are continuous everywhere, rational functions off the zeros of the denominator, and $e^{x}$, $\ln x$ and powers on their domains.

To the section: Continuity, and the licence to substitute →
Fact 5.19l'Hôpital's rule

Let $f$ and $g$ be differentiable near $a$ with $f(a)=g(a)=0$, and suppose $g'(a)\ne0$. Then $$ \lim_{x\to a}\frac{f(x)}{g(x)} = \frac{f'(a)}{g'(a)}\,. \tag{5.5} $$ More generally, and for $\tfrac{\infty}{\infty}$ as well, $\lim_{x\to a} f/g = \lim_{x\to a} f'/g'$ whenever the right-hand limit exists. If that limit is again indeterminate, apply the rule again.

To the section and the reason: Reading the signal: l'Hôpital's rule →

6 Existence, and where to look

Fact 6.1Intermediate value theorem

Let $f$ be continuous on the closed interval $[a,b]$. Then $f$ takes every value between $f(a)$ and $f(b)$ somewhere on $[a,b]$. In particular, if $f(a)$ and $f(b)$ have opposite signs, there is at least one $c$ in $(a,b)$ with $f(c)=0$.

To the section: A sign change forces a root →
Fact 6.9Extreme value theorem

If $f$ is continuous on a closed and bounded interval $[a,b]$, then $f$ attains both a maximum and a minimum on $[a,b]$.

To the section: Existence again: the extreme value theorem →
Fact 6.13The first-order condition

Let $c$ be an interior point of an interval on which $f$ is defined, let $f$ be differentiable at $c$, and let $c$ be a maximum or minimum point. Then $f'(c)=0$.

To the section and the reason: Where to look →
Fact 6.18First-derivative test

Let $f$ be differentiable on an interval $I$ and let $c\in I$. If $f'(x)\ge0$ for all $x<c$ in $I$ and $f'(x)\le0$ for all $x>c$ in $I$, then $c$ is a maximum point for $f$ over the whole of $I$. If the inequalities are reversed, $c$ is a minimum point.

To the section: When a candidate is the answer →
Fact 6.20Concavity, and what it decides

Let $f$ be twice differentiable on an interval $I$.

  1. $f$ is concave on $I$ if and only if $f''(x)\le0$ throughout $I$, and convex if and only if $f''(x)\ge0$ throughout. If $f''<0$ throughout then $f$ is strictly concave, though not conversely.
  2. If $f$ is concave on $I$ and $c$ is an interior point with $f'(c)=0$, then $c$ is a maximum point for $f$ over the whole of $I$. If $f$ is convex, such a $c$ is a minimum point over the whole of $I$.
To the section and the reason: When a candidate is the answer →

7 Shape, and then turning round

Fact 7.3Second-derivative test

Let $c$ be an interior point with $f'(c)=0$, and let $f$ be twice differentiable near $c$. Then $$ \begin{aligned} &f''(c)<0 \;\Longrightarrow\;\\ &\qquad c \text{ is a local maximum point}\,,\\ &f''(c)>0 \;\Longrightarrow\;\\ &\qquad c \text{ is a local minimum point}\,. \end{aligned} $$ Alternatively, and always reliably, use the sign of $f'$: if $f'$ goes from $+$ to $-$ at $c$ then $c$ is a local maximum, from $-$ to $+$ a local minimum, and if the sign does not change, neither.

To the section: Local extreme points →
Fact 7.7Necessary condition

If $c$ is an inflection point of $f$ and $f''$ is continuous at $c$, then $f''(c)=0$.

To the section: Inflection points →
Fact 7.13Antiderivatives differ by a constant

If $F'=G'=f$ on an interval, then $F-G$ is constant there. So the $+C$ in Definition 7.12 describes all the freedom there is. The two antiderivatives to know at once are $$ \begin{aligned} &\int x^{a}\,dx = \frac{x^{a+1}}{a+1}+C \quad (a\ne-1)\,, \\ &\int \frac{1}{x}\,dx = \ln|x|+C\,, \end{aligned} $$ the second being the case the first cannot reach.

To the section and the reason: Turning round: antiderivatives →
Fact 7.17The area function is an antiderivative

Let $f$ be continuous and non-negative on $[a,b]$, and let $A(t)$ be the area under the graph of $f$ between $a$ and $t$. Then $$ A'(t) = f(t)\,, $$ so $A$ is an antiderivative of $f$ with $A(a)=0$. Consequently the area under the graph between $a$ and $b$ is exactly $\int_{a}^{b}f(x)\,dx$.

To the section and the reason: The surprise: it measures area →
Fact 7.18Properties

For continuous $f$ and $g$ and constants $\alpha,\beta$, $$ \begin{aligned} &\int_{a}^{a}f = 0\,,\\ &\int_{b}^{a}f = -\int_{a}^{b}f\,,\\ &\int_{a}^{b}(\alpha f+\beta g) = \alpha\!\int_{a}^{b}\!f + \beta\!\int_{a}^{b}\!g\,, \end{aligned} $$ $$ \int_{a}^{b}f = \int_{a}^{c}f + \int_{c}^{b}f\,. $$ Each is immediate from (7.1).

To the section: The surprise: it measures area →
Fact 7.21Integration by parts

For differentiable $u$ and $v$, $$ \begin{aligned} &\int u(x)\,v'(x)\,dx\\ &\quad= u(x)v(x) - \int u'(x)\,v(x)\,dx\,. \end{aligned} \tag{7.2} $$

To the section and the reason: Integration by parts →

8 Infinite totals, and a second variable

Fact 8.1Integration by substitution

If $F'=f$, then differentiating $F(g(x))$ by the chain rule gives $F'(g(x))g'(x)$, so $$ \int f\bigl(g(x)\bigr)g'(x)\,dx = F\bigl(g(x)\bigr) + C\,. \tag{8.1} $$ In practice one writes $u=g(x)$ and $du = g'(x)\,dx$, turning the left-hand side into $\int f(u)\,du$.

To the section: Substitution: the last integration rule →
Fact 8.7Geometric series

For $|k|<1$, $$ a + ak + ak^{2} + ak^{3} + \cdots = \frac{a}{1-k}\,, $$ and for $|k|\ge1$ (with $a\ne0$) the series diverges.

To the section and the reason: Infinite totals →
Fact 8.11When does a tail converge?

$$ \begin{aligned} &\int_{1}^{\infty} x^{-a}\,dx \text{ converges} \iff a>1\,, \\ &\sum_{n=1}^{\infty} n^{-p} \text{ converges} \iff p>1\,. \end{aligned} $$ Geometric decay — shrinking by a constant factor — always converges. Power decay converges only above the exponent $1$.

To the section: Infinite totals →
Fact 8.9Annuities and loans

Write $r$ for the interest rate per period and $k = 1/(1+r)$ for the discount factor. A payment of $a$ at the end of each of the next $n$ periods has total present value $$ \begin{aligned} \mathrm{PV} &= \frac{a}{1+r} + \frac{a}{(1+r)^{2}} + \cdots\\ &\qquad + \frac{a}{(1+r)^{n}}\\ &= a\,\frac{1-(1+r)^{-n}}{r}\,. \end{aligned} $$ A loan of $L$ repaid by $n$ such payments is the statement that these are the same sum of money seen from the two ends: $$ \begin{aligned} &a\,\frac{1-(1+r)^{-n}}{r} = L\\ &\qquad\Longleftrightarrow\qquad a = L\,\frac{r}{1-(1+r)^{-n}}\,. \end{aligned} $$

To the section and the reason: Present value: perpetuities, annuities and loans →
Fact 8.21The order does not matter

If the second-order partial derivatives of $f$ are continuous, then $$ \begin{aligned} &f''_{12} = f''_{21}\,, \qquad\text{that is}\\ &\frac{\partial^{2}f}{\partial y\,\partial x} = \frac{\partial^{2}f}{\partial x\,\partial y}\,. \end{aligned} $$ This holds for essentially every function met in economics.

To the section: Differentiating twice →

9 Contour maps, and walking on them

Fact 9.2Reading a contour map
  1. Crowded contours mean steep ground. Neighbouring contours differ by a fixed rise, so the less horizontal distance between them, the faster the climb.
  2. Which way is uphill is settled by the labels, not by the shape of the curves.
  3. Two level curves at different heights never cross. A point cannot be at two heights at once.
To the section: The map →
Fact 9.10The chain rule in two variables

If $f$ is differentiable and $x=g(t)$, $y=h(t)$ are differentiable, then $$ \frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt}\,. \tag{9.1} $$ One contribution per variable, and they add.

To the section: Walking across the map →
Fact 9.14The chain rule in relative terms

Dividing (9.1) through by $z$, $$ \frac{\dot z}{z} = \mathrm{El}_{x}z\cdot\frac{\dot x}{x} + \mathrm{El}_{y}z\cdot\frac{\dot y}{y}\,, $$ where a dot denotes $d/dt$. The growth rate of $z$ is the elasticity-weighted sum of the growth rates of $x$ and $y$.

To the section and the reason: Walking across the map →
Fact 9.15The slope of a level curve

Along a level curve of $f$, wherever $f'_{2}\ne0$, $$ \frac{dy}{dx} = -\,\frac{f'_{1}}{f'_{2}}\,. \tag{9.2} $$

To the section and the reason: Walking along a contour →

10 Two directions are not enough

Fact 10.1First-order conditions

Let $f$ have a maximum or a minimum at an interior point $(x_{0},y_{0})$ of its domain, and let both partial derivatives exist there. Then $$ \begin{aligned} &f'_{1}(x_{0},y_{0}) = 0 \\ &\qquad\text{and}\qquad f'_{2}(x_{0},y_{0}) = 0\,. \end{aligned} $$

To the section and the reason: Where a maximum can be →
Fact 10.11The two-variable concavity criterion

Let $f$ have continuous second-order partial derivatives on a convex set $S$. Then $f$ is concave on $S$ if and only if, at every point of $S$, $$ \begin{aligned} &f''_{11}\le0\,, \\ &f''_{22}\le0\,, \\ &f''_{11}f''_{22} - \bigl(f''_{12}\bigr)^{2} \ge 0\,. \end{aligned} \tag{10.2} $$ Reversing the first two inequalities, and keeping the third, characterises convexity.

To the section: Concavity in two variables →
Fact 10.13Concavity decides, globally

If $f$ is concave on a convex set $S$ and $(x_{0},y_{0})$ is an interior critical point, then $(x_{0},y_{0})$ is a maximum point for $f$ over the whole of $S$. If $f$ is convex, such a point is a minimum over the whole of $S$.

To the section and the reason: Concavity decides, globally →

11 Local extrema, existence, and constrained optimisation

Fact 11.3

An interior local extreme point of a differentiable $f$ is a critical point: $f'_{1}=f'_{2}=0$ there.

To the section: Local extreme points →
Fact 11.4Second-derivative test

With $A,B,C$ as above:

  1. if $A<0$ and $AC-B^{2}>0$, then $(x_{0},y_{0})$ is a strict local maximum point;
  2. if $A>0$ and $AC-B^{2}>0$, then $(x_{0},y_{0})$ is a strict local minimum point;
  3. if $AC-B^{2}<0$, then $(x_{0},y_{0})$ is a saddle point;
  4. if $AC-B^{2}=0$, the test gives no information.
To the section and the reason: The second-derivative test →
Fact 11.9Extreme value theorem

If $f$ is continuous on a nonempty compact set $S\subseteq{\mathbb R}^{2}$, then there exist points $(a,b)$ and $(c,d)$ in $S$ with $$ \begin{aligned} &f(a,b)\le f(x,y)\le f(c,d)\\ &\qquad\text{for all }(x,y)\in S\,. \end{aligned} $$

To the section: Existence: the extreme value theorem →
Fact 11.18Tangency

At a solution of $\max u(x,y)$ subject to $px+qy=m$ with $u'_{y}\ne0$, $$ \frac{u'_{x}(x,y)}{u'_{y}(x,y)} = \frac{p}{q}\,. $$ Equivalently, the slope $-u'_{x}/u'_{y}$ of the level curve of $u$ equals the slope $-p/q$ of the budget line: at the optimum the budget line is tangent to an indifference curve.

To the section: The Lagrange multiplier method →
Fact 11.21Interpretation of the multiplier

Under the assumptions of Definition 11.20, $$ \frac{df^{*}(c)}{dc} = \lambda(c)\,. $$ In particular, for a small change $dc$ in the constraint level, $$ f^{*}(c+dc) - f^{*}(c) \;\approx\; \lambda(c)\,dc\,. $$

To the section and the reason: Interpreting the multiplier →

12 Matrices, vectors, and the algebra of linear systems

Fact 12.10Rules for addition and scalars

Let $\mathbf{A},\mathbf{B},\mathbf{C}$ be $m\times n$ matrices, let $\alpha,\beta$ be scalars, and let $\mathbf{0}$ be the $m\times n$ zero matrix, all of whose entries are $0$. Then $$ \begin{array}{l} (\mathbf{A}+\mathbf{B})+\mathbf{C}=\mathbf{A}+(\mathbf{B}+\mathbf{C})\,, \\ \mathbf{A}+\mathbf{B}=\mathbf{B}+\mathbf{A}\,,\\[4pt] \mathbf{A}+\mathbf{0}=\mathbf{A}\,, \\ \mathbf{A}+(-\mathbf{A})=\mathbf{0}\,,\\[4pt] (\alpha+\beta)\mathbf{A}=\alpha\mathbf{A}+\beta\mathbf{A}\,, \\ \alpha(\mathbf{A}+\mathbf{B})=\alpha\mathbf{A}+\alpha\mathbf{B}\,. \end{array} $$

To the section: Addition and scalar multiples →
Fact 12.16Rules for the inner product

For $n$-vectors $\mathbf{a},\mathbf{b},\mathbf{c}$ and a scalar $\alpha$:

  1. $\mathbf{a}\cdot\mathbf{b}=\mathbf{b}\cdot\mathbf{a}$;
  2. $(\alpha\mathbf{a})\cdot\mathbf{b} =\mathbf{a}\cdot(\alpha\mathbf{b}) =\alpha(\mathbf{a}\cdot\mathbf{b})$;
  3. $\mathbf{a}\cdot(\mathbf{b}+\mathbf{c}) =\mathbf{a}\cdot\mathbf{b}+\mathbf{a}\cdot\mathbf{c}$;
  4. $\mathbf{a}\cdot\mathbf{a}\ge 0$, with equality if and only if $\mathbf{a}=\mathbf{0}$.
To the section and the reason: Vectors and the inner product →
Fact 12.21A system is one equation

Let $\mathbf{A}$ be the coefficient matrix of the system (12.1), let $\mathbf{x}$ be the column vector of unknowns and $\mathbf{b}$ the column vector of constant terms. Then (12.1) says exactly $$ \mathbf{A}\mathbf{x}=\mathbf{b}\,. $$

To the section and the reason: A system is one equation →

13 Rules, the transpose, and solving the system

Fact 13.1Rules for matrix multiplication

Let $\mathbf{A},\mathbf{B},\mathbf{C}$ be matrices and $\alpha$ a scalar. Whenever the orders are such that the products written down exist, $$ \begin{array}{l} (\mathbf{A}\mathbf{B})\mathbf{C} = \mathbf{A}(\mathbf{B}\mathbf{C})\,,\\ \quad\text{(associative law)}\\[4pt] \mathbf{A}(\mathbf{B}+\mathbf{C}) = \mathbf{A}\mathbf{B}+\mathbf{A}\mathbf{C}\,,\\ \quad\text{(left distributive law)}\\[4pt] (\mathbf{A}+\mathbf{B})\mathbf{C} = \mathbf{A}\mathbf{C}+\mathbf{B}\mathbf{C}\,,\\ \quad\text{(right distributive law)}\\[4pt] (\alpha\mathbf{A})\mathbf{B} = \mathbf{A}(\alpha\mathbf{B}) = \alpha(\mathbf{A}\mathbf{B})\,. \end{array} $$

To the section and the reason: Rules for matrix multiplication, and the identity →
Fact 13.4

If $\mathbf{A}$ is $m\times n$ then $\mathbf{A}\mathbf{I}_{n}=\mathbf{A}$ and $\mathbf{I}_{m}\mathbf{A}=\mathbf{A}$. In particular $\mathbf{A}\mathbf{I}=\mathbf{I}\mathbf{A}=\mathbf{A}$ for every square $\mathbf{A}$, and $\mathbf{I}$ is the only matrix with this property.

To the section and the reason: Rules for matrix multiplication, and the identity →
Fact 13.9Rules for transposition

For matrices $\mathbf{A},\mathbf{B}$ and a scalar $\alpha$, whenever the operations written down are defined, $$ \begin{aligned} (\mathbf{A}^{\top})^{\top}&=\mathbf{A}\,,\\ (\mathbf{A}+\mathbf{B})^{\top}&=\mathbf{A}^{\top}+\mathbf{B}^{\top}\,,\\ (\alpha\mathbf{A})^{\top}&=\alpha\mathbf{A}^{\top}\,,\\ (\mathbf{A}\mathbf{B})^{\top}&=\mathbf{B}^{\top}\mathbf{A}^{\top}\,. \end{aligned} $$

To the section: The transpose →
Fact 13.14

An elementary row operation produces an equivalent system: the set of solutions is unchanged.

To the section and the reason: Gaussian elimination →
Fact 13.20The three outcomes

A system of linear equations has either no solution, exactly one solution, or infinitely many. There is no fourth possibility, and Gaussian elimination decides which occurs:

  • a row $(0\;\cdots\;0\mid c)$ with $c\ne0$ — no solution;
  • otherwise, a leading entry in every one of the $n$ unknown columns — exactly one solution;
  • otherwise — infinitely many, with one degree of freedom for each column without a leading entry.
To the section: No solution, one, or infinitely many →
Fact 13.23Structure of the solution set

Suppose $\mathbf{s}$ is one solution of $\mathbf{A}\mathbf{x}=\mathbf{b}$. Then the solutions of $\mathbf{A}\mathbf{x}=\mathbf{b}$ are exactly the vectors $\mathbf{s}+\mathbf{h}$, where $\mathbf{h}$ is a solution of the corresponding homogeneous system $\mathbf{A}\mathbf{x}=\mathbf{0}$. In words: $$ \begin{aligned} &\text{all solutions}\\ &=\text{one particular solution}\\ &\quad+\text{all homogeneous solutions}\,. \end{aligned} $$

To the section and the reason: The shape of the solution set →

14 Determinants and the inverse

Fact 14.4Cramer's rule, order 2

Write $\mathbf{A}_{j}$ for the matrix $\mathbf{A}$ with its $j$th column replaced by $\mathbf{b}$. If $|\mathbf{A}|\ne0$, the system $\mathbf{A}\mathbf{x}=\mathbf{b}$ has exactly one solution, namely $$ \begin{aligned} x_{1}&=\frac{|\mathbf{A}_{1}|}{|\mathbf{A}|} =\frac{\begin{vmatrix} b_{1} & a_{12}\\ b_{2} & a_{22}\end{vmatrix}} {|\mathbf{A}|}\,, \\ x_{2}&=\frac{|\mathbf{A}_{2}|}{|\mathbf{A}|} =\frac{\begin{vmatrix} a_{11} & b_{1}\\ a_{21} & b_{2}\end{vmatrix}} {|\mathbf{A}|}\,. \end{aligned} $$

To the section and the reason: Determinants of order 2 →
Fact 14.11Cramer's rule, order 3

With $\mathbf{A}_{j}$ again denoting $\mathbf{A}$ with column $j$ replaced by $\mathbf{b}$: if $|\mathbf{A}|\ne0$ then $\mathbf{A}\mathbf{x}=\mathbf{b}$ has exactly one solution, and $$ x_{j}=\frac{|\mathbf{A}_{j}|}{|\mathbf{A}|}\,,\qquad j=1,2,3\,. $$

To the section: Cramer's rule of order 3, and the determinant of a product →
Fact 14.13The determinant of a product

For square matrices $\mathbf{A},\mathbf{B}$ of the same order, $$ \begin{aligned} |\mathbf{A}\mathbf{B}| &= |\mathbf{A}|\cdot|\mathbf{B}|\,, \\ |\mathbf{A}^{\top}| &= |\mathbf{A}|\,, \\ |\mathbf{I}_{n}| &= 1\,. \end{aligned} $$

To the section: Cramer's rule of order 3, and the determinant of a product →
Fact 14.16

A matrix has at most one inverse.

To the section and the reason: The inverse, and when it exists →
Fact 14.18The criterion

A square matrix $\mathbf{A}$ has an inverse if and only if $|\mathbf{A}|\ne0$. A square matrix is called singular when $|\mathbf{A}|=0$ and non-singular when $|\mathbf{A}|\ne0$; so invertible and non-singular mean the same thing.

To the section and the reason: The inverse, and when it exists →
Fact 14.20The inverse of order 2

If $|\mathbf{A}|=ad-bc\ne0$, then $$ \begin{aligned} &\mathbf{A}=\begin{pmatrix} a & b\\ c & d\end{pmatrix} \quad\Longrightarrow\quad \\ &\mathbf{A}^{-1}=\frac{1}{ad-bc} \begin{pmatrix} d & -b\\ -c & a\end{pmatrix}\,. \end{aligned} $$ Swap the diagonal entries, change the sign of the other two, divide by the determinant.

To the section and the reason: The inverse of order 2, and its rules →
Fact 14.21One side is enough

For square $\mathbf{A}$ and $\mathbf{X}$ of the same order, $$ \begin{aligned} &\mathbf{A}\mathbf{X}=\mathbf{I} \;\Longleftrightarrow\; \mathbf{X}=\mathbf{A}^{-1}\\ &\;\Longleftrightarrow\; \mathbf{X}\mathbf{A}=\mathbf{I}\,. \end{aligned} $$

To the section and the reason: The inverse of order 2, and its rules →
Fact 14.22Properties of the inverse

Let $\mathbf{A},\mathbf{B}$ be invertible of order $n$ and $c\ne0$ a scalar. Then $\mathbf{A}^{-1}$, $\mathbf{A}\mathbf{B}$, $\mathbf{A}^{\top}$ and $c\mathbf{A}$ are all invertible, and $$ \begin{aligned} (\mathbf{A}^{-1})^{-1}&=\mathbf{A}\,,\\ (\mathbf{A}\mathbf{B})^{-1}&=\mathbf{B}^{-1}\mathbf{A}^{-1}\,,\\ (\mathbf{A}^{\top})^{-1}&=(\mathbf{A}^{-1})^{\top}\,,\\ (c\mathbf{A})^{-1}&=c^{-1}\mathbf{A}^{-1}\,. \end{aligned} $$

To the section and the reason: The inverse of order 2, and its rules →
Fact 14.24

Let $\mathbf{A}$ be of order $n$ with $|\mathbf{A}|\ne0$. Then $$ \begin{aligned} &\mathbf{A}\mathbf{X}=\mathbf{B} \iff \mathbf{X}=\mathbf{A}^{-1}\mathbf{B} \\ &\quad(\mathbf{B}\text{ with }n\text{ rows})\,, \\ &\mathbf{Y}\mathbf{A}=\mathbf{B} \iff \mathbf{Y}=\mathbf{B}\mathbf{A}^{-1} \\ &\quad(\mathbf{B}\text{ with }n\text{ columns})\,. \end{aligned} $$ In particular $\mathbf{A}\mathbf{x}=\mathbf{b}$ has the unique solution $\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}$, for every right-hand side $\mathbf{b}$.

To the section and the reason: Solving the system with the inverse →
Fact 14.26What it all comes to

For a square matrix $\mathbf{A}$ of order $n$, the following say the same thing:

  1. $|\mathbf{A}|\ne0$;
  2. $\mathbf{A}$ has an inverse;
  3. $\mathbf{A}\mathbf{x}=\mathbf{b}$ has exactly one solution for every $\mathbf{b}\in{\mathbb R}^{n}$;
  4. Gaussian elimination on $\mathbf{A}$ produces a leading entry in every column.
To the section: Solving the system with the inverse →

15 One array, four questions

Fact 15.7The four questions, and their answers

Let $\mathbf{A}$ be $n\times n$.

  • Has $\mathbf{A}\mathbf{x}=\mathbf{b}$ exactly one solution? Compute $|\mathbf{A}|$. Non-zero: yes, for every $\mathbf{b}$. Zero: not for any $\mathbf{b}$ — and the determinant says nothing further.
  • What are the solutions? Eliminate. This works whatever $|\mathbf{A}|$ is, and whether or not the system is square.
  • How many are there, when $|\mathbf{A}|=0$? Eliminate and read the last row: $(0\;\cdots\;0\mid 0)$ gives infinitely many, $(0\;\cdots\;0\mid c)$ with $c\ne0$ gives none.
  • What is $\mathbf{A}^{-1}$? Order $2$: the formula of Fact 14.20. Any order: Method 15.3.
To the section: Which tool for which question →