A Cartesian product A×B is defined as the set {(a,b)∣a∈A,b∈B}. A relation f⊆A×B is a function f:A→B if for every element a∈A, there exists a unique element b∈B such that f(a)=b. The set A is the domain, B is the co-domain, and the set f(A)={f(a)∣a∈A}⊆B is the range.
A function f:A→B is an injection (one-to-one) if f(a1)=f(a2)⟹a1=a2 for all a1,a2∈A. It is a surjection (onto) if the range f(A)=B. It is a bijection if it is both an injection and a surjection. If f:A→B is a bijection, its inverse f−1:B→A exists as a bijection satisfying f−1(b)=a⟺f(a)=b.
The composition of f:A→B and g:B→C is the function (g∘f):A→C defined by (g∘f)(a)=g(f(a)). If f and g are bijections, then (g∘f)−1=f−1∘g−1. A function is even if f(−x)=f(x) and odd if f(−x)=−f(x).
Mathematical Induction
The Well-Ordering Principle states that any non-empty set of positive integers contains a least element. This serves as the foundation for the Principle of Finite Mathematical Induction.
To prove a statement P(n) for all natural numbers n∈N, three core steps are executed:
Basis of Induction: Prove that P(1) is true.
Inductive Hypothesis: Assume that P(k) is true for an arbitrary positive integer k≥1
Inductive Step: Prove that P(k+1) is true based on the inductive hypothesis P(k).
Under Complete Mathematical Induction, the inductive hypothesis assumes that P(1),P(2),…,P(k) are all true to show that P(k+1) holds.
Matrices
A matrix is an ordered rectangular array of numbers or functions. A matrix with m rows and n columns has order m×n. The trace of a square matrix A, denoted Tr(A), is the sum of its principal diagonal elements ∑i=1naii.
Matrix addition is commutative (A+B=B+A) and associative ((A+B)+C=A+(B+C)). Matrix multiplication AB requires the number of columns of A to equal the number of rows of B; it is associative ((AB)C=A(BC)) and distributive (A(B+C)=AB+AC), but generally non-commutative (AB=BA).
The transpose A′ satisfies (A′)′=A, (A+B)′=A′+B′, and (AB)′=B′A′. A matrix A is symmetric if A′=A and skew-symmetric if A′=−A (with diagonal elements equal to 0). Every square matrix A can be written uniquely as the sum of a symmetric matrix 21(A+A′) and a skew-symmetric matrix 21(A−A′).
A square matrix A is non-singular if its determinant det(A)=0, and singular if det(A)=0. If A is non-singular, its multiplicative inverse is A−1=det(A)Adj(A), where Adj(A) is the transpose of the cofactor matrix of A. Inverse matrices satisfy (AB)−1=B−1A−1 and (A′)−1=(A−1)′.
A system of linear equations AX=D is consistent if rank(A)=rank([A∣D]). It possesses a unique solution if rank(A)=rank([A∣D])=n, and infinitely many solutions if rank(A)=rank([A∣D])<n. If rank(A)=rank([A∣D]), the system is inconsistent.
Addition of Vectors
A vector is a directed line segment possessing both magnitude and direction. A position vector r=OP=xi+yj+zk locates a point P(x,y,z) relative to origin O(0,0,0), with magnitude ∣r∣=x2+y2+z2. The direction cosines l=cos(α), m=cos(β), n=cos(γ) satisfy l2+m2+n2=1.
Vector addition follows the Triangle Law (AB+BC=AC) and the Parallelogram Law. Vector addition is commutative (a+b=b+a) and associative ((a+b)+c=a+(b+c)).
The position vector of a point P dividing the segment joining A(a) and B(b) in the ratio m:n is m+nmb+na for internal division, and m−nmb−na for external division. The centroid of a triangle with vertices a,b,c is 3a+b+c, and the centroid of a tetrahedron is 4a+b+c+d.
The vector equation of a straight line through a parallel to b is r=a+tb. The line passing through two points a and b is r=(1−t)a+tb. Three points a,b,c are collinear if and only if xa+yb+zc=0 with x+y+z=0 for scalars x,y,z not all zero.
Product of Vectors
The scalar (dot) product of two vectors a and b is a⋅b=∣a∣∣b∣cos(θ). In component form, a⋅b=a1b1+a2b2+a3b3. Two non-zero vectors are perpendicular if and only if a⋅b=0. The orthogonal projection vector of b on a is ∣a∣2(a⋅b)a, with magnitude ∣a∣∣a⋅b∣. The vector equation of a plane in normal form is r⋅n^=p.
The vector (cross) product is a×b=(∣a∣∣b∣sin(θ))n^, where n^ forms a right-handed system with a and b. Cross product is anti-commutative (b×a=−(a×b)). In component form, a×b=ia1b1ja2b2ka3b3. The vector area of a triangle with vertices a,b,c is 21(a×b+b×c+c×a), and the vector area of a parallelogram with adjacent sides a,b is a×b.
The scalar triple product is [abc]=(a×b)⋅c=a1a2a3b1b2b3c1c2c3. It satisfies cyclic symmetry [abc]=[bca]=[cab]. Non-zero vectors a,b,c are coplanar if and only if [abc]=0. The volume of a parallelopiped with coterminus edges a,b,c is ∣[abc]∣, and the volume of a tetrahedron is \frac{1}{6}|[\mathbf{a}\;\mathbf{b}\;\mathbf{c}]|$.\n\nThe shortest distance between skew lines \mathbf{r} = \mathbf{a_1} + \lambda\mathbf{b_1}and\mathbf{r} = \mathbf{a_2} + \mu\mathbf{b_2}isd = \frac{|(\mathbf{a_2} - \mathbf{a_1}) \cdot (\mathbf{b_1} \times \mathbf{b_2})|}{|\mathbf{b_1} \times \mathbf{b_2}|}.Thevectortripleproductexpansionis\mathbf{a} \times (\mathbf{b} \times \mathbf{c}) = (\mathbf{a} \cdot \mathbf{c})\mathbf{b} - (\mathbf{a} \cdot \mathbf{b})\mathbf{c}$$.