Purchase Solution

Asymptotically tight bounds on lg(n!)

Not what you're looking for?

Ask Custom Question

Obtain asymptotically tight bounds (Big-Oh and Big-Omega) on lg(n!) without using Stirling's approximation. Instead, evaluate these using the expansion of lg(n!) as a summation.

Attachments
Purchase this Solution

Solution Summary

The solution computes the Big-Oh and Big-Omega bounds in stepwise manner with sufficient explanations.

Solution Preview

lg(n!) can be expanded as

lg(n!) = lg{n*(n-1)*(n-2)* ... *1}
= lg(n) + lg(n-1) + lg(n-2) + ... + lg(1)

Finding upper bound (Big-Oh) for lg(n!)
---------------------------------------------

lg(i) <= lg(n) , for each i such that i>=1 and i<=n

Hence we can also write -

lg(n!) <= lg(n) + lg(n) + lg(n) + ... + lg(n)

OR

lg(n!) <= n*lg(n)

which is true for n>0 ...

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Basic Networking Questions

This quiz consists of some basic networking questions.