Skip to main content

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

NoteDefinition: Logical Quantifiers
  • 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\).’’

WarningExercise

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?

NoteDefinition: Implication and Equivalence
  • 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\).

WarningExercise

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?

NoteDefinition: Set Notation
  • \(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).

WarningExercise
  1. Write ``every invertible matrix has a nonzero determinant’’ using quantifiers and implication.

  2. State the contrapositive of: ``if \(\bA\) is invertible, then \(\bA\bx = \bzero \Rightarrow \bx = \bzero\).’’

  3. 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

NoteDefinition: Direct Proof

Assume \(P\) is true and derive \(Q\) through a chain of valid logical steps.

NoteDefinition: Proof by Contradiction

Assume \(\neg P\) and derive a logical contradiction (\(R \wedge \neg R\)). Proves \(P\) must hold.

NoteDefinition: Proof by Induction

To prove \(P(n)\) holds for all integers \(n \geq n_0\):

  1. Base case: Verify \(P(n_0)\) directly.

  2. Inductive step: Assume \(P(k)\) and prove \(P(k+1)\).

TipRemark

(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.

WarningExercise
  1. Prove: if \(\bA\) and \(\bB\) are symmetric, then \(\bA + \bB\) is symmetric.

  2. Prove by contradiction: if \(\bA\bx = \bzero \Rightarrow \bx = \bzero\), then \(\bA\) has no zero eigenvalue.

  3. By induction, prove \(\sum_{k=1}^{n} k = \frac{n(n+1)}{2}\).

35.3 Notation Conventions

TipRemark

(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.

TipRemark

(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\).

TipRemark

(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} \]

TipRemark

(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))\).

TipRemark

(Asymptotic Notation) Scaling of algorithms is described using Big-O notation (\(O(n^2), O(n^3)\)). Details in the Computational Complexity section.