Basic Analysis Flashcards
(29 cards)
inverses addition and subtraction
π₯ + π β π
π₯ β π + π
x
inverses multiplication and division
(π₯ β
π)/π
(π₯/π) β
π₯
x
Inverses Logarithms
a^loga(x)
loga(a^x)
x
Definition Big O
f(n) = O(g(n)) if there exist positive constants n0 and c such that for all n >_n0 f(n) <= c g(n) informally f is eventually at most a constant multiple of g
Proof that n = O(n^2)
For all π β₯ 1, π β€ 1 β π^2 (divide both sides by n get 1<= n)
Proof 2π + 8 = π(n^2)
For all π β₯ 4, 2π + 8 β€ 1 β π^2. (subtract 2n -8 from both sides, get n^ - 2n - 8 >= 0 (n+2)(n-2) >=0)
proof 2π + 8 = π (π)
For all π β₯ 8, 2π + 8 β€ 3 β π. (subtract 2ns from both sides, get 8<=n)
πβ β π(π)
No matter how you choose π and π0, I can find an π β₯ π! such that
π^2 > π β
π.
big omega of π(π)β)
Definition: π π = Ξ© π π (βπ(π) is big omega of π(π)β) if
π π = π π π .
big theta of π(π)β)
Definition: π π = Ξ(π π ) (βπ(π) is big theta of π(π)β) if
π π = π π π and π π = π(π π ).
is 5π Ξ©(π)?
5π = Ξ©(π)
is π! + 3π Ξ©(π)
π! + 3π = Ξ©( π)
is 5π Ξ©(π!)
5π β Ξ©(π!)
is 5π Ξ(π)?
5π = Ξ(π)
is π! + 3π Ξ (π)?
π! + 3π β Ξ (π)
is 5π Ξ(π^2)
5π β Ξ(π^2)
Multiplying and Adding with Big O
You will
π π π β
π π π = π(π π β
π π )
If π π = π π π , then
π π π + π π π = π(π π ).
a^m
aβ¦.a
m times
a^-m
1/a^m
a^ma^n
a^m+n
(a^m)^n
a^mn
a^m/a^n
a^m-n
loga(xy)
loga(x) + loga(y)
a^loga(xy)
xy= a^loga(x)*a^loga(y) = a^logax+loga(y)