background info Flashcards
O(g(n)):
f(n) in O(g(n)) as n->∞ if there exists constant C>0 and an integer n0 such that |f(n)|<=C|g(n)| for n>n0
O(g(x)):
f(x) in O(g(n)) as x->0 if there exists a constant C>0 and a real number ε>0 such that |f(x)|<=C|g(x)| for |x|<ε
Ω(g(n))/Ω(g(x)):
just g(n/x) in O(f(n/x)), everything else the same
o(g(n/x)):
is good for All C
coordinate of a vector:
xi in x basically, digits
e vector:
vector with all coordinates = 1
inner product:
|x,y|=(n)Σ(i=1)xiyi
bilinear:
|x, ay1+by2|=a|x,y1|+b|x,y2|
orthogonal:
|x,y|=0
linear subspace:
subset V in R^n such that for any x,y in V and a,b in R, ax+by in V (so all linear combos in V)
linear combo:
of vectors x1,…,xn in R^n, of the form y=(k)Σ(i=1)λixi, λi in R
span:
set of linear combos, forms a linear subspace in R^n
linearly independent:
(k)Σ(i=1)λixi = 0
basis:
minimal set of vectors that spans a linear subspace, elements are always linearly independent, basically from unique linear combos of these the entire subspace can be described
dimension:
no. of elements in a basis
orthogonal basis:
|bi,bj|=0 (i!=j)
orthonormal basis:
orthogonal and |bi,bi|=1
standard basis:
orthonormal basis {e1,…,en} where ei has 1 in ith column and 0 otherwise
direct sum:
of vector spaces that don’t intersect, V⊕W={v+w: v in V, w in W}
orthogonal complement:
of a subspace V, just all vectors that are orthogonal to smth in V, written V^⊥, V⊕V^⊥=R^n
direct product:
VxW={(v,w) in R^(n+m): v in V, w in W} (V in R^n, W in R^m) where (v,w) is just. w tacked on the end of v
linear map:
a mxn matrix makes a linear map from R^n to R^m with y=Ax, yi=(n)Σ(j=1)aijxj
symmetric:
a matrix is symmetric when A=A^T
matrix multiplication:
C=AB where cij=(p)Σ(k=1)aikbkj
⟨x,y⟩:
x^(T)y
rank of a matrix:
rk(A), max number of linearly independent rows/columns
kernel:
kerA:={x in R^n: Ax=0}, dim(kerA)=n-rk(A)
image:
ImA={Ax: x in R^n}, dim(ImA)=rk(A), (kerA)^⊥=ImA^T
system of linear equations:
aijxj=bi but several systems of sums -> Ax=b where x and b are vectors, if the columns of A are lin independent, there’s at most 1 solution, there’s infinite otherwise
conditions of a matrix that are equivalent:
A is invertible
rk(A)=n
kerA={0}
ImA=R^n
the rows are linearly independent
the columns are linearly independent
det(A)!=0
det(A):
Σsgn(σ)a(↓1σ(1))…a(↓nσ(n)) where Sn is the group of permutations of [n]={1,…,n} with sgn(σ) the sign, the parity of the no. of inversions
example - for A=
(a11 a12
a21 a22)
det(A)=a11a22-a12a21
also all the eigenvalues multiplied together
orthogonal matrix:
⟨qi,qj⟩=δij, δij=1 if i=j and 0 otherwise, alternatively Q^(T)Q=QQ^T=1
⟨Qx,Qy⟩=⟨x,y⟩, det(Q)=1
eigenvector:
u in Au=λu, u!=0, λ is the eigenvalue
characteristic polynomial:
det(λI-A)=0, eigenvalues are the roots
trace:
sum of the diagonal elements, also sum of the eigenvalues
norm:
a function that satisfies:
||x||>=0 and ||x||=0 iff x=0
||λx||=|λ| ||x|| for all λ
||x+y||<=||x||+||y||
||x||1:
1 norm, (n)Σ(i=1)|xi|
||x||2:
2 norm, ((n)Σ(i=1)(xi)^2)^(1/2)
||x||∞:
max(|xi|), 1<=i<=n
(||x||2)^2:
euclidean norm, x^(T)x=⟨x,x⟩ (inner product)
unit sphere (with respect to a norm):
{x in R^n: ||x||=1}
unit ball:
{x in R^n: ||x||<=1}, closed