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

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

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

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))

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