lecture 5 (big-oh)

Flashcard Icon

Flashcard

Learn Mode Icon

Learn Mode

Match Icon

Match

Coming Soon!
Library Icon

Library

View Library
Match Icon

Create

Create More Decks
Flashcard Icon Flashcards
Flashcard Icon Flashcards
Library Icon Library
Match Icon Match (Coming Soon)

Calculus - Geometry

View Results
Full Screen Icon

user_hodr Created by 6 mon ago

Cards in this deck(15)
a = b^c
Blur Image
log(a) + log(c)
Blur Image
log(a) - log(c)
Blur Image
c log(a)
Blur Image
log c (a) / log c (b)
Blur Image
c is the constant of g(n) n0 is the n in which f(n) <= cg(n) for all n after n0
Blur Image
find a g(n) such that f(n) <= g(n) and use that to find c and n0 - lim n->infinity (f(n) / g(n)) = 0 or C
Blur Image
can prove by multiplying d(n) <= f(n) by constant a and setting ac = c so that ????????(????) <= ????(????)
Blur Image
can prove by adding inequalities d(n) <= c1f(n) and e(n) <= c2g(n) to get d(n) + e(n) <= c1c2 f(n)+g(n)
Blur Image
similar technique to prev
Blur Image
d(n) <= c1f(n) <= c2g(n) so ????(????) <= c3????(????)
Blur Image
d is the highest power of f(n) and since g(n) is of the same degree, f(n) <= cg(n)
Blur Image
find a g(n) such that f(n) >= g(n) and use that to find c and n0 - lim n->infinity (f(n) / g(n)) = c or infinity
Blur Image
find a g(n) such that f(n) = g(n) and use that to find c and n0 - lim n->infinity (f(n) / g(n)) = 0
Blur Image
O(1) O(loglogn) O(logn) O(sqrt n) O(n) O(nlogn) O(n^k) O(a^n) O(n!) O(n^n)
Blur Image

Ask Our AI Tutor

Get Instant Help with Your Questions

Need help understanding a concept or solving a problem? Type your question below, and our AI tutor will provide a personalized answer in real-time!

How it works

  • Ask any academic question, and our AI tutor will respond instantly with explanations, solutions, or examples.
Flashcard Icon
  • Browse questions and discover topic-based flashcards
  • Practice with engaging flashcards designed for each subject
  • Strengthen memory with concise, effective learning tools