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 abdand nis a power of b, then f(n)=C1nd+C2nlogba, where C1=bdc/(bd-a)andC2=f(1)+bd/(a-bd)

Short Answer

Expert verified

The expression f(n)=C1nd+C2nlogbais proved.

Step by step solution

01

Define the Induction formula

Mathematical Induction is a technique of proving a statement, theorem, or formula which is thought to be true, for each and every natural number n

02

Proceed via induction on k

Since nis a power of bso, n=bkand k=logbnfor some constant k.

For our base case, if n=1and k=0then: C1nd+C2nlogba=C1+C2=bdc/(bd-a)+f(1)+bdc/(a-bd)=f(1)

Now, for inductive hypothesis assume true for kwithn=bk.

Next, for n=bk+1:

f(n)=af(n/b)+cndf(n)=(bdc/(bd-a))nd+(f(1)+bdc/(a-bd))nlogbaf(n)=C1nd+C2nlogba

And the induction is complete.

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

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free