background info Flashcards
(105 cards)
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