Wednesday, March 4, 2020

The Factorial (!) in Mathematics and Statistics

The Factorial (!) in Mathematics and Statistics In mathematics, symbols that have certain meanings in the English language can mean very specialized and different things. For example, consider the following expression: 3! No, we did not use the exclamation point to show that we’re excited about three, and we shouldn’t read the last sentence with emphasis. In mathematics, the expression 3! is read as three factorial and is really a shorthand way to denote the multiplication of several consecutive whole numbers. Since there are many places throughout mathematics and statistics where we need to multiply numbers together, the factorial is quite useful. Some of the main places where it shows up are combinatorics and probability calculus. Definition The definition of the factorial is that for any positive whole number n, the factorial: n! n x (n -1) x (n - 2) x . . . x 2 x 1 Examples for Small Values First we will look at a few examples of the factorial with small values of n: 1! 12! 2 x 1 23! 3 x 2 x 1 64! 4 x 3 x 2 x 1 245! 5 x 4 x 3 x 2 x 1 1206! 6 x 5 x 4 x 3 x 2 x 1 7207! 7 x 6 x 5 x 4 x 3 x 2 x 1 50408! 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 403209! 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 36288010! 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 3628800 As we can see the factorial gets very large very quickly. Something that may seem small, such as 20! actually has 19 digits. Factorials are easy to compute, but they can be somewhat tedious to calculate. Fortunately, many calculators have a factorial key (look for the ! symbol). This function of the calculator will automate the multiplications. A Special Case One other value of the factorial  and one for which the standard definition above does not hold is that of zero factorial. If we follow the formula, then we would not arrive at any value for 0!. There are no positive whole numbers less than 0. For several reasons, it is appropriate to define 0! 1. The factorial for this value shows up particularly in the formulas for combinations and permutations. More Advanced Calculations When dealing with calculations, it is important to think before we press the factorial key on our calculator. To calculate an expression such as 100!/98! there are a couple of different ways of going about this. One way is to use a calculator to find both 100! and 98!, then divide one by the other. Although this is a direct way to calculate, it has some difficulties associated with it. Some calculators cannot handle expressions as large as 100! 9.33262154 x 10157. (The expression 10157 is a scientific notation that means that we multiply by 1 followed by 157 zeros.) Not only is this number massive, but it is also only an estimate to the real value of 100! Another way to simplify an expression with factorials like the one seen here does not require a calculator at all. The way to approach this problem is to recognize that we can rewrite 100! not as 100 x 99 x 98 x 97 x . . . x 2 x 1, but instead as 100 x 99 x 98! The expression 100!/98! now becomes (100 x 99 x 98!)/98! 100 x 99 9900.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.