Basic Analysis Flashcards

1
Q

inverses addition and subtraction
𝑥 + 𝑎 − 𝑎
𝑥 − 𝑎 + 𝑎

A

x

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

inverses multiplication and division
(𝑥 ⋅ 𝑎)/𝑎
(𝑥/𝑎) ⋅ 𝑥

A

x

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

Inverses Logarithms
a^loga(x)
loga(a^x)

A

x

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

Definition Big O

A

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

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

Proof that n = O(n^2)

A

For all 𝑛 ≥ 1, 𝑛 ≤ 1 ⋅ 𝑛^2 (divide both sides by n get 1<= n)

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

Proof 2𝑛 + 8 = 𝑂(n^2)

A

For all 𝑛 ≥ 4, 2𝑛 + 8 ≤ 1 ⋅ 𝑛^2. (subtract 2n -8 from both sides, get n^ - 2n - 8 >= 0 (n+2)(n-2) >=0)

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

proof 2𝑛 + 8 = 𝑂 (𝑛)

A

For all 𝑛 ≥ 8, 2𝑛 + 8 ≤ 3 ⋅ 𝑛. (subtract 2ns from both sides, get 8<=n)

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

𝑛” ≠ 𝑂(𝑛)

A

No matter how you choose 𝑐 and 𝑛0, I can find an 𝑛 ≥ 𝑛! such that
𝑛^2 > 𝑐 ⋅ 𝑛.

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

big omega of 𝑔(𝑛)”)

A

Definition: 𝑓 𝑛 = Ω 𝑔 𝑛 (“𝑓(𝑛) is big omega of 𝑔(𝑛)”) if
𝑔 𝑛 = 𝑂 𝑓 𝑛 .

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

big theta of 𝑔(𝑛)”)

A

Definition: 𝑓 𝑛 = Θ(𝑔 𝑛 ) (“𝑓(𝑛) is big theta of 𝑔(𝑛)”) if
𝑓 𝑛 = 𝑂 𝑔 𝑛 and 𝑔 𝑛 = 𝑂(𝑓 𝑛 ).

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

is 5𝑛 Ω(𝑛)?

A

5𝑛 = Ω(𝑛)

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

is 𝑛! + 3𝑛 Ω(𝑛)

A

𝑛! + 3𝑛 = Ω( 𝑛)

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

is 5𝑛 Ω(𝑛!)

A

5𝑛 ≠ Ω(𝑛!)

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

is 5𝑛 Θ(𝑛)?

A

5𝑛 = Θ(𝑛)

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

is 𝑛! + 3𝑛 Θ (𝑛)?

A

𝑛! + 3𝑛 ≠ Θ (𝑛)

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

is 5𝑛 Θ(𝑛^2)

A

5𝑛 ≠ Θ(𝑛^2)

17
Q

Multiplying and Adding with Big O
You will

A

𝑂 𝑓 𝑛 ⋅ 𝑂 𝑔 𝑛 = 𝑂(𝑓 𝑛 ⋅ 𝑔 𝑛 )
If 𝑓 𝑛 = 𝑂 𝑔 𝑛 , then
𝑂 𝑓 𝑛 + 𝑂 𝑔 𝑛 = 𝑂(𝑔 𝑛 ).

18
Q

a^m

A

a….a
m times

19
Q

a^-m

A

1/a^m

20
Q

a^ma^n

A

a^m+n

21
Q

(a^m)^n

A

a^mn

22
Q

a^m/a^n

A

a^m-n

23
Q

loga(xy)

A

loga(x) + loga(y)

24
Q

a^loga(xy)

A

xy= a^loga(x)*a^loga(y) = a^logax+loga(y)

25
Q

loga(x^n)

A

n*loga(x)

26
Q

a^log(x^n)

A

x^n = (a^logax)^n = a^nlogax

27
Q

log(x/y)

A

loga(x) - loga(y)

28
Q

a^loga(x/y)

A

x/y = a^logax/a^logay = a^logax-logay

29
Q

change log to base b from base a

A