Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

  • The two parts of this exercise describe

the relationship between little-o and big-O notation.

a) Show that if f (x) and g(x) are functions such that

f (x) is o(g(x)), then f (x) is O(g(x)).

b) Show that if f (x) and g(x) are functions such that

f (x) is O(g(x)), then it does not necessarily follow

that f (x) is o(g(x)).

Short Answer

Expert verified

Subpart (a):Show that if f (x) and g(x) are functions such that f (x) is o(g(x)), then f (x) is O(g(x)).

Step by step solution

01

Step 1:

As we know, xlimf(x)/g(x) = 0, |f (x)|/|g(x)| < 1 for sufficiently large x.

02

Step 2:

Hence, |f (x)| < |g(x)| for x>k for some constant k. Therefore, f (x) is O(g(x)).

03

Subpart (b): Show that if f (x) and g(x) are functions such that f (x) is O(g(x)), then it does not necessarily follow that f (x) is o(g(x)).Step 1:

Let f (x) = g(x) = x.

04

Step 2:

Then f (x) is O(g(x)), but f (x) is not o(g(x)) because f (x)/g(x) = 1.

So, these are the answers.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free