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

Suppose thatf(x),g(x)andh(x) are functions such that f(x)isΘ(g(x))and g(x)isΘ(h(x)). Show that f(x)isΘ(h(x)).

Short Answer

Expert verified

In the question, it is given f(x),g(x)andh(x)and are the functions such that f(x)isΘ(g(x))and g(x)isΘ(h(x)) . We have to prove thatf(x)isΘ(h(x)) .

Step by step solution

01

Step 1:

For f(x)isΘ(g(x)) , applying the definition of Big-theta Notation

|f(x)|a1|g(x)|ifx>b1|f(x)|a2|g(x)|ifx>b2

Where a1,a2,b1andb2are constants.

For g(x)isΘ(h(x)), applying the definition of Big-theta Notation

|g(x)|a3|h(x)|    ifx>b3|g(x)|a4|h(x)|    ifx>b4

Where a3,a4,b3andb4are constants.

02

Step 2:

We can take,b=maxb1,b2,b3,b4

We know that, |f(x)|a1|g(x)|and|g(x)|a3|h(x)|

So, f(x)isO(h(x))withb=maxb1,b2,b3,b4anda=a1a3

Also, |f(x)|a2|g(x)|and|g(x)|a4|h(x)|

So, f(x)isΩ(h(x))withb=maxb1,b2,b3,b4anda=a2a4

03

Step 3:

By using f(x)isO(h(x)),f(x)isΩ(h(x))

Hence, by using the definition of Big-theta Notation, we can conclude thatf(x)isΘ(h(x))

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