35 Mathematical Notation and Proof Techniques
This section establishes the logical, set-theoretic, and matrix notation used throughout these notes, together with the standard proof structures.
35.1 Logic and Set Notation
Universal (\(\forall\)): ``For all.’’
Existential (\(\exists\)): ``There exists.’’
Example:
$\forall \varepsilon > 0,\;\exists \delta > 0$'' reads asfor every positive \(\varepsilon\) there is a positive \(\delta\).’’
Compare for every real $x$ there exists a real $y$ with $y>x$'' withthere exists a real \(y\) such that \(y>x\) for every real \(x\).’’ Which statement is true? Explain why reversing the quantifiers changes the assertion. In an error estimate, what changes if its constant is allowed to depend on the problem size?
Implication (\(P \Rightarrow Q\)): \(P\) implies \(Q\).
Equivalence (\(P \Leftrightarrow Q\)): \(P\) if and only if \(Q\) (iff).
Contrapositive: \(\neg Q \Rightarrow \neg P\). Logically equivalent to \(P \Rightarrow Q\).
For a square matrix, compare the statements if $\bA$ is invertible, then $\bA\bx=\bb$ has a solution'' andif \(\bA\bx=\bb\) has a solution, then \(\bA\) is invertible.’’ Give a counterexample to the second statement for one right-hand side. How must the solvability statement be strengthened to become equivalent to invertibility?
\(x \in S\): \(x\) is an element of \(S\).
\(S \subseteq T\): \(S\) is a subset of \(T\).
\(S \cup T\) (union), \(S \cap T\) (intersection), and \(S \setminus T\) (set difference).
\(\{x \in S : P(x)\}\): Set builder notation.
Number Sets: \(\fZ\) (integers), \(\fR\) (reals), \(\fC\) (complex), \(\fR^n\) (vectors), \(\fR^{m \times n}\) (matrices).
Write ``every invertible matrix has a nonzero determinant’’ using quantifiers and implication.
State the contrapositive of: ``if \(\bA\) is invertible, then \(\bA\bx = \bzero \Rightarrow \bx = \bzero\).’’
Let \(S = \{1, 2, 3, 4\}\) and \(T = \{3, 4, 5, 6\}\). Compute \(S \cup T, S \cap T, S \setminus T\).
35.2 Proof Techniques
Assume \(P\) is true and derive \(Q\) through a chain of valid logical steps.
Assume \(\neg P\) and derive a logical contradiction (\(R \wedge \neg R\)). Proves \(P\) must hold.
To prove \(P(n)\) holds for all integers \(n \geq n_0\):
Base case: Verify \(P(n_0)\) directly.
Inductive step: Assume \(P(k)\) and prove \(P(k+1)\).
(Proof and numerical evidence) A proof establishes a claim for every input satisfying its hypotheses. A finite experiment can test an implementation or expose a counterexample, but agreement on a sample does not prove a universal claim. In an error bound, state the norm, the limiting parameter, and which quantities the constant may depend on.
Prove: if \(\bA\) and \(\bB\) are symmetric, then \(\bA + \bB\) is symmetric.
Prove by contradiction: if \(\bA\bx = \bzero \Rightarrow \bx = \bzero\), then \(\bA\) has no zero eigenvalue.
By induction, prove \(\sum_{k=1}^{n} k = \frac{n(n+1)}{2}\).
35.3 Notation Conventions
(Scalars, Vectors, and Matrices)
Scalars: Lowercase italic (\(a, b, x\)).
Vectors: Lowercase bold (\(\bx, \by, \ba\)). Default is column vector.
Matrices: Uppercase bold (\(\bA, \bB, \bQ\)).
Indexing: Usually begins at one, unlike Python. The Fourier sections explicitly begin at zero. Here \(x_i\) denotes a vector entry and \(a_{ij}\) a matrix entry.
(Transpose and Inverse)
\(\bA^T\): Transpose. The notation \(\bA^*\) denotes the conjugate transpose, which agrees with \(\bA^T\) for real entries.
\(\bA^{-1}\): Matrix inverse (square, nonsingular matrices).
\(\bA^{-T}\): Transpose of the inverse \((\bA^{-1})^T\).
\(\bA^k\): \(k\)-th power. \(\bA^0 = \bI\).
(Sums and Products) \[ \begin{align} \sum_{i=1}^{n} a_i = a_1 + ... + a_n, \qquad \prod_{i=1}^{n} a_i = a_1 ... a_n. \end{align} \]
(Functions)
\(f : \fR^n \to \fR^m\): Maps \(n\)-vectors to \(m\)-vectors.
\(f \circ g\): Function composition \((f \circ g)(\bx) = f(g(\bx))\).
(Asymptotic Notation) Scaling of algorithms is described using Big-O notation (\(O(n^2), O(n^3)\)). Details in the Computational Complexity section.