Let V be a set of elements on which vector addition and scalar multiplication are defined. V is a vector space if the following axioms are satisfied:
Axioms for Vector Addition
If x,y∈V, then x+y∈V
For all x,y∈V, x+y=y+x
For all x,y,z∈V, (x+y)+z=x+(y+z)
There is a unique vector 0∈V such that 0+x=x+0=x
For each x∈V, there exists a vector −x such that x+(−x)=(−x)+x=0
Axioms for Scalar Multiplication
If k is any scalar and x∈V, then kx∈V
k(x+y)=kx+ky
(k1+k2)x=k1x+k2x
k1(k2x)=(k1k2)x
1x=x
Concepts
Subspace - A subset W of a vector space V that is itself a vector space under the operations of vector addition and scalar multiplication defined in V.
Criteria for a subspace
Closed vector addition satisfied: If x, y∈W, then x+y∈W
Closed scalar multiplication satisfied: If x∈W and k is a scalar, then kx∈W
Linearly independent - a set of vectors where k1x1+k2x2+⋯+knxn=0 can only satisfied by k1=k2=⋯=kn=0
Linearly dependent - a set of vectors that are not linearly independent
Basis - a set of vectors B∈V that is linearly independent and every vector in V can be expressed as a linear combination of vectors in B, i.e. span(B)=V
Standard basis in Rn
e1=⟨1,0,0,…,0⟩
e2=⟨0,1,0,…,0⟩
⋯
en=⟨0,0,0,…,1⟩
Coordinates ci of v relative to the basis B=x1,x2,…,xn
v=c1x1+c2x2+⋯+cnxn
Dimension - number of vectors in a basis B for a vector space V
the number of vectors in the spanning set S
Span - the set of all linear combinations of the any set of vectors S=x1,x2,…,xn in V, where span(S)=c1x1+c2x2+…+cnxn
Spanning set - S where V=span(S)
Gram-Scmidt orthogonalization
Coordinates of u relative to an orthogonal basis B=w1,w2,…,wn
u=(u⋅w1)w1+(u⋅w2)w2+⋯+(u⋅wn)wn
Gram-Scmidt Orthogonalization
Given B=u1,u2,…,un is a set of basis,
then B′=v1,v2,…,vn is a set of orthogonal basis where
v1=u1
v2=u2−proju2v1
v3=u3−proju3v1−proju3v2
⋯
vn=un−projunv1−projunv2−⋯−projunvn−1
Note: projuavb=(vb⋅vbua⋅vb)vb
and B′′=w1,w2,…,wn is a set of orthonormal basis where
wi=∥vi∥vi
Matrices
Systems of linear equations
Consistent - system with at least one solution
Unique solution
Infinitely many solution
Inconsistent - system with no solutions
Homogeneous - all constants are zero Ax=0
Nonhomogeneous - not all constants are zero Ax=b
Elementary row operations
cRi - Multiply a row by a nonzero constant
Ri↔Rj - Interchange any two rows
cRi+Rj - Add a nonzero multiple of one row to any other row
Row equivalent - matrix obtained by a sequence of elementary row operations on another matrix
Row reduction - procedure of carrying out elementary row operations on a matrix
Row-echelon form - augmented matrix which…
Rows consisting of all zeros are at the bottom of the matrix
In consecutive nonzero rows, the first entry nonzero entry (pivot) in the lower row appears to the right of the pivot in the higher row
The first nonzero entry in a nonzero row is a 1
(depend on text, could be definition of reduced row-echelon form)
Note: row-echelon form is non-unique
Reduced row-echelon form - augmented matrix which…
Is in row-echelon form
A column containing a first entry 1 has zeros everywhere else
column of leading entries are standard vectors
Note: reduced row-echelon form is unique
Gaussian elimination - row-reduce the augmented matrix until arrive at row-echelon form
Gauss-Jordan elimination - row-reduce the augmented matrix until arrive at reduced row-echelon form
Overdetermined - linear systems with more equations than variables
Underdetermined - linear systems with fewer equations than variables
Trivial solution - solution consisting of all zeros, i.e. x=0
Nontrivial solution - solution with at least one nonzero entry, i.e. x=0
Existence of nontrivial solutions
An underdetermiend homogeneous system has nontrivial solutions
Superposition principle
If x1,x2 are solutions of homogeneous system Ax=0
then their linear combination is also a solution: x=c1x1+c2x2
Rank of a matrix
Row vector - 1×n matrices that are rows of a matrix
Row space - the span of all row vectors
Column vector - n×1 matrices that are columns of a matrix
Column space - the span of all column vectors
Rank - maximum number of linearly independent row vector in a matrix
Rank by row reduction: A is row equivalent to a row-echelon form B
Row space of A = Row space of B
Nonzero rows of B form a basis for the row space of A
rank(A) = number of nonzero rows in B
Consistency of nonhomogeneous systems
Ax=b is consistent ⟺rank(A)=rank(A∣B)
If Ax=b with m equations and n variables is consistent with rank(A)=r
then the solution contains n−r parameters
Ax=0⟹Always consistent{Unique solution: x=0Infinity of solutions: rank(A)<n,n−r params
Ax=b⎩⎪⎨⎪⎧Consistent: rank(A)=rank(A∣B){Unique solution: rank(A)=nInfinity of solutions: rank(A)<n,n−r paramsInconsistent: rank(A)<rank(A∣B)