Factorials & Series - im a little lost here

Click For Summary

Discussion Overview

The discussion revolves around the calculation of factorials and their relationship to series and logarithmic properties. Participants explore methods for summing integers and approximating factorials, including the use of logarithms and potential shortcuts similar to those used for summing integers.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a method for summing integers and attempts to apply a similar approach to factorials using logarithms.
  • Another participant corrects the notation regarding the sum of logarithms and discusses properties of logarithms in relation to factorials.
  • There is a mention of a fast method for calculating the sum of positive integers, prompting a search for a similar shortcut for factorials.
  • A participant introduces Stirling's approximation as a good approximation for logarithms of factorials, noting its accuracy improves with larger n.
  • Another suggestion is made to look into Euler-Maclaurin summation as a potential method related to the discussion.
  • A participant provides a representation involving exponentials and logarithms that relates back to factorials, cautioning about the undefined nature of ln(0).

Areas of Agreement / Disagreement

Participants express various viewpoints on the methods for calculating factorials and their approximations, with no consensus reached on a singular approach or formula. Multiple competing views and methods remain present in the discussion.

Contextual Notes

Some participants express uncertainty regarding the application of certain mathematical properties and the existence of shortcuts for factorials, indicating a lack of established methods or consensus on the topic.

Who May Find This Useful

This discussion may be of interest to those exploring mathematical series, factorial calculations, and logarithmic properties, particularly in the context of approximations and summation techniques.

3trQN
Messages
337
Reaction score
1
I Have a small problem.

I know the following:

The series:
<br /> S_{n} = 1 + 2 + 3 + 4 + 5 = \sum_{i=1}^{n=5}i<br />

<br /> 2S_{n} = 1 + 2 + 3 + 4 + 5 + 1 + 2 + 3 + 4 + 5 = n(n+1) = n^{2} + n<br />

Therefor:
<br /> S_{n} = \frac{2S_{n}}{2} = \frac{n^{2} + n}{2}<br />

<br /> \sum_{i=1}^{n=5}i = \frac{n^{2} + n}{2} = \frac{25 + 5}{2} = 15<br />

Ok, that's simple.
But i was attempting to do the same with the factorials, where:<br /> ln(n!) = ln(5!) = ln(1) + ln(2) + ... + ln(5) = \sum_{i=1}^{n=5}log(i)<br />

Is it possible to apply the same method, or something similar here? I did try a few but got a bit cheesed off.

In the first case, you just duplicate and reverse the sequence and add to get a constant sequence.
 
Last edited:
Mathematics news on Phys.org
ln(n!) = ln(5!) = ln(1) + ln(2) + ... + ln(5) = \sum_{i=1}^{n=5}ln(i)

Don't you mean that? Sum of Ln(i) ?

2\sum_{i=1}^{n=5}i can also be written as \sum_{i=1}^{n=5}2i if I'm not mistaking. Your algebration wrote it as \sum_{i=1}^{n=5}i + \sum_{i=1}^{n=5}i which is correct but not necessarily useful.

Now...If I recall the Logaritmic properties, Log(a)+Log(b)=Log(ab)

So ln(n!)= Ln(1*2*3*4*5...n) = Ln(1)+Ln(2)+Ln(3)...+Ln(n)=\sum_{i=1}^{n=oo}ln(i)

From what I can tell you are correct. Well except n=5 part. If you have
ln(n!) without any other condition it will equal \sum_{i=1}^{n=oo}ln(i)
 
Last edited:
Yes, thanks.

Now...If I recall the Logaritmic properties, Log(a)+Log(b)=Log(ab)

Erm, yeah, working the other way though :P

The idea is, one fast method for calculating the sum of the positive integers to a given value, say 10, is to take 0.5(10^2 + 10).

Well i was wondering if there is a shortcut for factorials in a similar manner.

Its late, and the coffee has stopped working...
 
3trQN said:
The idea is, one fast method for calculating the sum of the positive integers to a given value, say 10, is to take 0.5(10^2 + 10).

That is true...but all I got in my Pre-Calculus about sums is some basic ways to do them, no explanations.

(n^2+n)/2 if you have a sum of an unknown with power of 1 starting at 1, (n^2-n)/2 if it starts at zero I think...and some formulas for situations when you make a Sum of...n^2 and n^3 etc...But never why.

They showed some substraction between terms, double substraction if its quadratic until the difference is the same...something about a 3x4 matrix for quadratics...If I stretch my brain i may be able to reproduce it but it didn't explain most of anything. That is one area of Mathematics that I'd like to revisit in the future.
 
there is no exact formula, but there is a very good approximation for \log(n!) that gets better as n gets large. it's called Stirling's approximation and is:

\frac{1}{12 n + 1} &lt; \log \left( \frac{n!}{\sqrt{2 \pi n}} \right) - n \left( \log(n) - 1 \right)&lt; \frac{1}{12 n}

or

n \left( \log(n) - 1 \right) + \frac{\log(2 \pi n)}{2} + \frac{1}{12 n + 1} &lt; \log(n!) &lt; n \left( \log(n) - 1 \right) + \frac{\log(2 \pi n)}{2} + \frac{1}{12 n}

i would suggest to Google or Wikipedia it to find out why this is true.
 
Last edited:
You might want to look up Euler-Maclaurin summation.
 
Thanks, got a fresh day and a new cup of coffee. Ill read up on those two topics.
 
You can get back to the nth factorial with this representation:

e^{\sum_{k=1}^n ln(k)}

Not sure if this is at all helpful to you, but there's a statement that returns you to n!

Try it out, I assure you it works, except if you let k= 0 as ln(0) is undefined.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K