Graph each function defined in 1-8. \(f(x)=3^{x}\) for all real numbers x Text Transcription: f(x)=3^x
Read more
Table of Contents
Textbook Solutions for Discrete Mathematics with Applications
Question
Let n be a variable that takes positive integer values.
a. Show that n! is \(O\left(n^{n}\right)\).
b. Use part (a) to show that \(\log _{2}(n !)\) is \(O\left(n \log _{2} n\right)\).
c. Show that \(n^{n} \leq(n !)^{2}\) for all integers \(n \geq 2\).
d. Use part (c) to show that \(\log _{2}(n !)\) is \(\Omega\left(n \log _{2} n\right)\).
e. Use parts (b) and (d) to find an order for \(\log _{2}(n !)\).
Text Transcription:
O(n^n)
log _2(n !)
O(n log _2 n)
n^n leq(n !)^2
n geq 2
log _2(n !)
(n log _2 )
log _2(n !)
Solution
The first step in solving 11.4 problem number 49 trying to solve the problem we have to refer to the textbook question: Let n be a variable that takes positive integer values.a. Show that n! is \(O\left(n^{n}\right)\).b. Use part (a) to show that \(\log _{2}(n !)\) is \(O\left(n \log _{2} n\right)\).c. Show that \(n^{n} \leq(n !)^{2}\) for all integers \(n \geq 2\).d. Use part (c) to show that \(\log _{2}(n !)\) is \(\Omega\left(n \log _{2} n\right)\).e. Use parts (b) and (d) to find an order for \(\log _{2}(n !)\).Text Transcription:O(n^n)log _2(n !)O(n log _2 n)n^n leq(n !)^2n geq 2log _2(n !)(n log _2 )log _2(n !)
From the textbook chapter Exponential and Logarithmic Functions: Graphs and Orders you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution