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

Show that if b>1and cand dare positive,then(logbn)c isO(nd)butndis notO(logbn)c

Short Answer

Expert verified

Hence,logbncisOndbutndis notOlogbnc

Step by step solution

01

Step 1:

We know Big-O notation definitionlimxf(x)g(x)=C<

Let role="math" localid="1668532882506" f(n)=logbncandg(n)=nd

Applying the above

limnlogbncnd

It is given that and are positive

Let c=d=1and b = 2

limnlog2n1n1limnlog2nn1log2n<n1logbncisOnd

02

Step 2:

We know Big-O notation definitionlimxf(x)g(x)=C<

Letf(n)=ndandg(n)=logbnc

Applying the above

limnndlogbnc

It is given that and are positive

Let c = d = 1 and b = 2

role="math" localid="1668532759674" limnn1log2n1log2n<nndis notOlogbnc

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