Is the Summation of lg k in log(n!) Equal to Theta (n lgn)?

Click For Summary

Homework Help Overview

The discussion revolves around proving that the summation of lg k from 1 to n is equal to Θ(n log n), where lg denotes the logarithm base 2. Participants are exploring the properties of logarithms and their application to the summation of logarithmic terms.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the relationship between the summation of logarithms and the logarithm of factorials, with some noting that there is no arithmetic or geometric progression applicable. Others attempt to express the summation in terms of lg(n!) and question how to demonstrate that the summation is Θ(n log n).

Discussion Status

The discussion is active, with participants providing insights into the properties of logarithms and factorials. Some guidance has been offered regarding the relationship between the summation and lg(n!), but there is no explicit consensus on the proof or the necessary steps to establish Θ notation.

Contextual Notes

Participants are working under the constraints of a homework assignment, with an emphasis on understanding rather than providing direct solutions. There are questions about the definition of Θ notation and the need to establish bounds for the summation.

MzLeeTooFresh
Messages
3
Reaction score
0

Homework Statement


Prove that the following is true:
n
\Sigma lg k = \Theta (n lgn)
k=1

Homework Equations



the lg in this case is base 2

The Attempt at a Solution


i don't kno how to apply geometric or arithmetic progression to the 1st part
i was trying to substitute for k but that wasnt working out.
i'm not looking for the answer but for some guidance as to how to deal with the summation
 
Last edited:
Physics news on Phys.org
it helps a lot to know that log(a)+ log(b)= log(ab)!

There is NO artihmetic or geometric progression here.
 
Sum(lg k) = lg (n!)

we have n! < nn therefore

Sum(lg k) = lg (n!) < lg (nn) = nlg(n)
 
so it would then be:
n
lg \Pi k
k=1
?
 
yes, just like HallsofIvy suggested lg 1 + lg 2 + ... + lg (n) = lg 1*2*3...*n = lg (n!)
 
ok thank you
 
MzLeeTooFresh said:
ok thank you

Two things, another, equivelant way to look at it is this:

The biggest term in: Sum(log k) is log n, since there are n terms, sum(log k) < n log n

Second, all you have shown is that sum(log k) = O(n log n), but you need to show it is BigTheta.
 
That is, you need to find an absolute constant K and an N(K) such that if n > N(K) then K n log n < log(n!).
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
11K
Replies
3
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
2K