Question

Growth of functions. Using the definitions of Θ, Ο, and Ω show that: a. 5 −...

Growth of functions. Using the definitions of Θ, Ο, and Ω show that:

a. 5 − 2 = Θ( )

b. 2 + 6 = O( )

c. 3 = Ω()

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Required definitions -

1. “f(x) is O(g(x))”, if there are positive constants C and k such that

|f(x)| ≤ C |g(x)| for all x>k

2. "f(x) is Ω(g(x))", if there are positive constants C and k such that

|f(x)| ≥ C |g(x)| for all x>k

3. "f(x) is Θ(g(x))", if f(x) is both O(g(x)) and Ω(g(x)).

a. 5 - 2

Find for O(.)

5 - 2 = 3 = f(x)

Take g(x) = 1, C = 4

=> 3 ≤ 4

=> 5 - 2 = O(1)

Find for Ω(.)

Take g(x) = 1, C = 1

=> 3 ≥ 1

=> 5 - 2 = Ω(1)

=> 5 - 2 = Θ(1)

b. 2 + 6

2 + 6 = 8 = f(x)

Take g(x) = 1, C = 8

=> 8 ≤ 8

=> 2 + 6 = O(1)

c. 3

3 = f(x)

Take g(x) = 1, C = 1

=> 3 ≥ 1

=> 3 = Ω(1)

Add a comment
Know the answer?
Add Answer to:
Growth of functions. Using the definitions of Θ, Ο, and Ω show that: a. 5 −...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT