CS344 Recitation 1: Songhua He

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

CS344 Recitation 1

Songhua He
Asymptotic Notations
Notations Corresponding to Precise Definition
where is some positive constant.

where is some positive constant.

where are some positive


constants.
Some logarithm rules

• [Exercise] Try to simplify the following to the form of some power of :


Some logarithm rules

• [Exercise] Try to simplify the following to the form of some power of :


Exercise
• For each of the following functions, figure out which of the following
can correctly describe their relations: ; ; ; ; .

• 1. and
• 2. and
• 3. and
• 4. and
Exercise
• 1. and

• or

• 2. and

• or
Exercise
• 3. and

• 4. and

• or
Induction
• How to simplify , and prove it.
• How to simplify , and prove it.

• Solution 1:
• Let
• Then (by )

• Finally we get

• And a lot of other approaches.


By induction
• We get the answer but don’t know how to prove it induction.

• Base case: when ,


• Inductive hypothesis: for every , we have
• Inductive step:

You might also like