background info Flashcards

1
Q

O(g(n)):

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

O(g(x)):

A

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|<ε

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Ω(g(n))/Ω(g(x)):

A

just g(n/x) in O(f(n/x)), everything else the same

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

o(g(n/x)):

A

is good for All C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

coordinate of a vector:

A

xi in x basically, digits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

e vector:

A

vector with all coordinates = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

inner product:

A

|x,y|=(n)Σ(i=1)xiyi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

bilinear:

A

|x, ay1+by2|=a|x,y1|+b|x,y2|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

orthogonal:

A

|x,y|=0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

linear subspace:

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

linear combo:

A

of vectors x1,…,xn in R^n, of the form y=(k)Σ(i=1)λixi, λi in R

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

span:

A

set of linear combos, forms a linear subspace in R^n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

linearly independent:

A

(k)Σ(i=1)λixi = 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

basis:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

dimension:

A

no. of elements in a basis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

orthogonal basis:

A

|bi,bj|=0 (i!=j)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

orthonormal basis:

A

orthogonal and |bi,bi|=1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

standard basis:

A

orthonormal basis {e1,…,en} where ei has 1 in ith column and 0 otherwise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

direct sum:

A

of vector spaces that don’t intersect, V⊕W={v+w: v in V, w in W}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

orthogonal complement:

A

of a subspace V, just all vectors that are orthogonal to smth in V, written V^⊥, V⊕V^⊥=R^n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

direct product:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

linear map:

A

a mxn matrix makes a linear map from R^n to R^m with y=Ax, yi=(n)Σ(j=1)aijxj

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

symmetric:

A

a matrix is symmetric when A=A^T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

matrix multiplication:

A

C=AB where cij=(p)Σ(k=1)aikbkj

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

⟨x,y⟩:

A

x^(T)y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

rank of a matrix:

A

rk(A), max number of linearly independent rows/columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

kernel:

A

kerA:={x in R^n: Ax=0}, dim(kerA)=n-rk(A)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

image:

A

ImA={Ax: x in R^n}, dim(ImA)=rk(A), (kerA)^⊥=ImA^T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

system of linear equations:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

conditions of a matrix that are equivalent:

A

A is invertible
rk(A)=n
kerA={0}
ImA=R^n
the rows are linearly independent
the columns are linearly independent
det(A)!=0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

det(A):

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

orthogonal matrix:

A

⟨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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

eigenvector:

A

u in Au=λu, u!=0, λ is the eigenvalue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

characteristic polynomial:

A

det(λI-A)=0, eigenvalues are the roots

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

trace:

A

sum of the diagonal elements, also sum of the eigenvalues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

norm:

A

a function that satisfies:
||x||>=0 and ||x||=0 iff x=0
||λx||=|λ| ||x|| for all λ
||x+y||<=||x||+||y||

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

||x||1:

A

1 norm, (n)Σ(i=1)|xi|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

||x||2:

A

2 norm, ((n)Σ(i=1)(xi)^2)^(1/2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

||x||∞:

A

max(|xi|), 1<=i<=n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

(||x||2)^2:

A

euclidean norm, x^(T)x=⟨x,x⟩ (inner product)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

unit sphere (with respect to a norm):

A

{x in R^n: ||x||=1}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

unit ball:

A

{x in R^n: ||x||<=1}, closed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

norms relations:

A

||x||∞<=||x||2<=root(n)||x||∞
||x||∞<=||x||1<=n||x||∞

44
Q

cauchy-swartz inequality:

A

⟨x,y⟩<=||x||2||y||2, with equality iff x and y are linearly dependent
also -1<=⟨x,y⟩/||x||2||y||2<=1

45
Q

angle:

A

angle between vectors x and y is θ such that cos(θ)=|x,y|/||x||2||y||2
if x and y are orthogonal, cosθ=0

46
Q

matrix norm:

A

fits all the vector norm conditions and also ||AB||<=||A||||B||

47
Q

matrix and vector norm relation:

A

given ||x||, ||A||=max(||Ax||/||x||)=max(||Ax||), x:||x||<=1

48
Q

||A||1:

A

maxj((n)Σ(i=1)|aij|)

49
Q

||A||∞:

A

maxi((n)Σ(j=1)|aij|)

50
Q

||A||2:

A

root(λ(max)(A^(T)A)), where λ(max) is the largest eigenvalue of A^(T)A
so when A is symmetric, ||A||2=λ(max)(A)

51
Q

dual norm:

A

||x||*=max⟨x,y⟩, y:||y||<=1

52
Q

frobenius norm:

A

||A||F=root((n)Σ(i,j=1)(aij)^2)

53
Q

orthogonal invariant:

A

2 norm and frobenius norm are, so for any Q in O(n), ||QA||2=||AQ||2=||A||2, same with F instead of 2

54
Q

positive semidefinite:

A

A is symmetric, x^(T)Ax>=0, written A⪰0, is positive definite if that’s >0, also all eigenvalues are nonnegative (and positive for definite)

55
Q

⟨x,y⟩A:

A

⟨x,Ay⟩=x^(T)Ay

56
Q

||x||A:

A

root(⟨x,x⟩A)

57
Q

QR decomposition:

A

A is mxn, A=QR where Q is orthogonal and mxm and R is upper triangular and mxn

58
Q

LU decomposition:

A

A is nxn, A=LU where L is lower triangular nxn and U is upper triangular nxn

59
Q

symmetric eigenvalue decomposition:

A

A is symmetric, A=QΛQ^T where Q is orthogonal with eigenvectors as rows, and Λ is diagonal with eigenvalues on the diagonal

60
Q

cholesky decomposition:

A

A is positive definite symmetric, A=LL^T, L is nxn lower triangular with strictly positive diagonal entries

61
Q

singular value decomposition:

A

A is mxn, A=UΣV^T, where U is mxm orthogonal, V is nxn orthogonal, and Σ is a diagonal matrix with singular values σ1>=…>=σ↓min{m,n}, these are the square roots of the eigenvalues of A^(T)A

62
Q

singular values and norms:

A

||A||2=σ1(A)
||A||F=root((n)Σ(i=1)(σi(A)^2))
if A is symmetric, the singular values are the absolute values of the eigenvalues

63
Q

C^(k)([a,b]):

A

the set of functions continuous on [a,b] and whose first k derivatives exist and are continuous on (a,b)

64
Q

infimum:

A

inf(f(x))=max{y in R: for all x in [a,b], f(x)>=y} (largest y such that any f(x) is larger, a lower bound essentially)

65
Q

supremum:

A

sup(f(x))=min{y in R: for all x in [a,b], f(x)<=y} (smallest y such that any f(x) is smaller, an upper bound essentially)

66
Q

intermediate value theorem:

A

f in C([a,b]) and y satisfies inf(f(x))<=y<=sup(f(x)), then there exists ξ in [a,b] such that f(ξ)=y
basically because f is continuous and y is between the lowest and highest value f(x) can take, f must pass through y

67
Q

mean value theorem:

A

f in C^1([a,b]), x,x0 in (a,b) with x!=x0, then there exists ξ in (x0,x) (or (x,x0) whatever works) such that f(x)=f(x0)+f’(ξ)(x-x0)
rearranges to f’(ξ)=(f(x)-f(x0))/(x-x0)

68
Q

taylor expansion:

A

f in C^n([a,b]), x,x0 in (a,b) with x!=x0, then there exists ξ in (x,x0) or (x0,x) such that f(x)=(n)Σ(i=0)((f^(i)(x0)/i!)(x-x0)^i) + (f^(n+1)(ξ)/(n+1)!)(x-x0)^(n+1)
f^(n) meaning nth derivative

69
Q

rolle’s theorem:

A

special case of the mvt, f in C^1([a,b]) with f(a)=f(b), then there exists ξ in (a,b) such that f’(ξ)=0
if you start and end at the same elevation, there must be a flat part at the top or bottom of a hill (or the whole walk ig)

70
Q

integral mean value theorem

A

f,g in C([a,b]), f does not change sign on [a,b], then there exists ξ in (a,b) such that:
(b)∫(a)f(x)g(x)dx=g(ξ) (b)∫(a)f(x)dx

71
Q

open ball:

A

radius ε around point p in R^n, B^n(p,ε)={x: ||x-p||2<ε}

72
Q

open subset:

A

for every p in subset U, there exists ε>0 such that B(p,ε) entirely within U (can’t have overlapping boundaries)
a set C is closed if R^n\C is open

73
Q

closure:

A

clS of a set S within R^n, the intersection of all closed sets containing S

74
Q

interior:

A

intS of a set S within R^n, the union of all open sets contained in S

75
Q

boundary:

A

bdS=clS\intS

76
Q

unit sphere:

A

{x in R^n: ||x||2=1}, also the boundary of the unit ball

77
Q

neighbourhood:

A

a neighbourhood of a point x is a set N such that there exists an open set U with x in U within N

78
Q

span(S):

A

{(k)Σ(i=1)λixi, λ1,…,λk real and x1,…,xk in S}

79
Q

relatively open/closed:

A

S is relatively open/closed if it is open/closed in the induced topology on span
there also exists relative interior/closure

80
Q

compact:

A

a set is compact if it’s closed and bounded

81
Q

lipschitz continuous:

A

f:S->R, for all x,y in S, ||f(x)-f(y)||2<=L||x-y||2, L>0

82
Q

limit point:

A

a point x that is the limit of a subsequence

83
Q

cauchy sequence:

A

for every ε>0 there exists k0>0 such that for all k,l>k0, ||xk-xl||2<ε

84
Q

banach space:

A

a vector space where every cauchy sequence contains a convergent subsequence

85
Q

sets and limit points:

A

a set C is closed iff every sequence has all its limit points in C
the closure of C is the set of all limit points in C
a set C is compact iff every sequence of points has A limit point in C (so only at least 1, not all)

86
Q

differentiation (first principles):

A

lim(h->0)(||f(x0+h)-f(x0)-Jf(x0)h||2/||h||2)=0

87
Q

jacobian matrix:

A

Jf(x0)=(∂f1/∂x1……..∂fm/∂xn) (is a matrix you get it), the partial derivatives are evaluated at x0

88
Q

gradient:

A

∇f(x0)={∂f/∂x1,…,∂f/∂fxn}^T

89
Q

level set:

A

{x in R^2: f(x)=c}, the curve on which the function value does not change (the contour lines on a map)

90
Q

hessian matrix:

A

∇^(2)f(x0)={∂^(2)f/∂x1∂x1……∂^(2)f/∂xn∂xn) but matrix you get it, symmetric therefore square

91
Q

directional derivative:

A

Dx0f(x0) of f:R^n->R^m in direction v in R^n at x0 is Dvf(x0)=lim(h->0)(f(x0+hv)-f(x0)/h)

92
Q

directional derivative special cases:

A

v=ei, Deif(x0)=(∂f/∂xi)(x0), the partial derivative of xi at x0
if f:R^n->R with continuous derivative near x0, Dvf(x0)=∇f(x0)^(T)v=⟨∇f(x0),v⟩

93
Q

chain rule:

A

h=g(f(x)), Jh(x0)=Jg(f(x0))Jf(x0)

94
Q

chain rule and directional derivative:

A

if f’(x0)=v, then the derivative of g(f(x)) is the directional derivative of g in the direction of v, ⟨∇g(f(x0)),v⟩

95
Q

multivariate mean value theorem:

A

f in C^(1)(U), x0,x in U, x!=x0, then there exists t in (0,1) such that f(x)-f(x0)=⟨∇f(tx+(1-t)x0),x-x0⟩

96
Q

higher order partial derivative:

A

D^(a)f(x)=∂^(|a|)f(x)/∂^(a1)x1…∂^(an)xn, |a|=(n)Σ(i=1)ai
x^a=(x1)^(a1)…(xn)^(an)

97
Q

taylor expansion:

A

f(x)=(|a|<=k)ΣD^(a)f(x0)(x-x0)^a + (|a|=k)Σra(x)(x-x0)^a, ra(x)->0 as x->x0

98
Q

lagrange multipliers:

A

let x* be a maximum of f(x) under the constraint g(x)=c (so a max among all points x such that g(x)=c), then there exists a λ in R such that ∇f(x)=∇λg(x)

99
Q

lagrangian:

A

the lagrangian of a function f(x) with the constraint g(x)=c is the function Λ:R^(n)xR->R defined by Λ(x,λ)=f(x)-λ(g(x)-c)

100
Q

jacobian with respect to coordinates:

A

Jx(x0,y0)=the jacobian regular but all with (x0,y0) on the right to show with respect to
basically means we are considering f as a function only at (x0,y0) and taking all other coordinates (only the y’s are important?) as parameters

101
Q

implicit function theorem:

A

f:R^mxR^n->R^n and k times continually differentiable, assume f(x0,y0) is 0 and that the jacobian at (x0,y0) is nonsingular, then there exists an open neighbourhood y0 in Uy and function h in C^(k)(Uy,R^(n), such that h(y0)=x0, f(h(y),y)=0 for y in Uy
Jh(y)=-Jfy(h(y),y)(Jxf(h(y),y))^(-1) for all y in Uy

102
Q

absolute error:

A

Eabs(x^)=|x-x^| (x^ is an approximation and also an x with a hat)

103
Q

relative error:

A

Erel(x^)=|x-x^|/|x|

104
Q

floating point arithmetic:

A

x=+-f*2^e, f is a fraction in [0,1] and e is the exponent (not the 2.72 thing), f gets 52 bits e 11 and 1 for the sign for total 64 bits

105
Q

significant figures:

A

ikyk what these are but we are working with 4, also Important Note the final 0 counts as one if it’s to the right of the decimal point, so 1.2040 is Five significant figures, 1.204 is assumed to have stuff after that has been rounded to the 4