Exhaustive Guide to Factorials and Permutations

Properties of Factorials and Permutations - Second Secondary Grade

Introductory Information

  • Subject: Algebra (فرع الجبر).
  • Academic Level: Second Year of Secondary School (الصف الثاني الثانوي).
  • Instructor: Osama Saad Allah (أسامة سعد الله).
  • Website/Platform: OSAMASAADALLAIL.COM (referred to as SPICY).
  • General Scope: Detailed study of factorials of positive integers and permutations.

Factorial of a Positive Integer (n!n!)

  • Definition: The factorial of a positive integer nn is the product of all positive integers less than or equal to nn.
  • Mathematical Representation: It is written as n!n! (or using the Arabic corner symbol).
  • Formula:n!=nimes(n1)imes(n2)imesimes3imes2imes1n! = n imes (n-1) imes (n-2) imes \dots imes 3 imes 2 imes 1
  • Visualizing Factors:   - The number of factors in the expansion of n!n! is exactly nn factors.   - The smallest factor is always 11.   - The largest factor is always the number itself, nn.
Core Properties of Factorials
  • Base Case:   - 1!=11! = 1   - 0!=10! = 1 (By definition/convention).
  • Equality with 1: If n!=1n! = 1, then the value of nn must be either 00 or 11.
  • Recursive Expansion (The Extraction Rule):   - A factorial can be expressed in terms of a smaller factorial by "pulling out" the largest terms.   - n!=n×(n1)!n! = n \times (n-1)!   - n!=n×(n1)×(n2)!n! = n \times (n-1) \times (n-2)!   - n!=n×(n1)×(n2)×(n3)!n! = n \times (n-1) \times (n-2) \times (n-3)!
  • Divisibility: The factorial of any positive integer is divisible by the factorial of any positive integer smaller than it.   - n!n! is divisible by k!k! if knk \le n.
Factorial Table of Common Values
  • 1!=11! = 1
  • 2!=1×2=22! = 1 \times 2 = 2
  • 3!=1×2×3=63! = 1 \times 2 \times 3 = 6
  • 4!=1×2×3×4=244! = 1 \times 2 \times 3 \times 4 = 24
  • 5!=1×2×3×4×5=1205! = 1 \times 2 \times 3 \times 4 \times 5 = 120
  • 6!=1×2×3×4×5×6=7206! = 1 \times 2 \times 3 \times 4 \times 5 \times 6 = 720

Permutations (nPr^n P_r)

  • Definition: Permutations represent the number of ways to arrange rr distinct items taken from a set of nn distinct items, where the order of arrangement is significant.
  • Notation:   - English: nPr^n P_r   - Arabic Context: nLr_n L_r (ن ل ر), where "ن" is the "Alam" (Total items) and "ر" is the "Dalil" (Items chosen).
  • Constraints:   - nn must be a non-negative integer (nZ+0n \in \mathbb{Z}^+ \cup {0}).   - rr must be a non-negative integer (rZ+0r \in \mathbb{Z}^+ \cup {0}).   - nrn \ge r.
  • The Sequential Multiplication Rule:   Permutations can be defined as the product of rr consecutive integers starting from nn and descending.   - nPr=n×(n1)×(n2)××(nr+1)^n P_r = n \times (n-1) \times (n-2) \times \dots \times (n-r+1)
  • Permutations in Terms of Factorials:   - nPr=n!(nr)!^n P_r = \frac{n!}{(n-r)!}
Special Cases of Permutations
  • Ordering All Items: nPn=n!^n P_n = n!
  • Ordering All But One: nPn1=n!^n P_{n-1} = n!
  • Zero Arrangements: nP0=1^n P_0 = 1
  • Ordering One Item: nP1=n^n P_1 = n

Solved Examples: Factorials

Example 1: Basic Evaluation
  • Question: Find 5!5! without a calculator.
  • Solution: 5×4×3×2×1=1205 \times 4 \times 3 \times 2 \times 1 = 120.
Example 2: Fraction Simplification
  • Question: Evaluate 9!8!+7!\frac{9!}{8! + 7!}.
  • Solution:9×8×7!(8×7!)+(1×7!)=72×7!(8+1)×7!=729=8\frac{9 \times 8 \times 7!}{(8 \times 7!) + (1 \times 7!)} = \frac{72 \times 7!}{(8+1) \times 7!} = \frac{72}{9} = 8.
Example 3: Solving for Variable nn
  • Question: Find the value of nn if (n+1)!(n1)!=42\frac{(n+1)!}{(n-1)!} = 42.
  • Solution:   - Expand the numerator: (n+1)×n×(n1)!(n1)!=42\frac{(n+1) \times n \times (n-1)!}{(n-1)!} = 42   - Simplify: (n+1)×n=42(n+1) \times n = 42   - Since 42=7×642 = 7 \times 6, then (n+1)=7(n+1) = 7 and n=6n = 6.
Example 4: Finding nn from a Large Factorial
  • Question: Find nn if n!=720n! = 720.
  • Solution: Through successive division or knowledge of the factorial table:   - 720/6=120720 / 6 = 120   - 120/5=24120 / 5 = 24   - 24/4=624 / 4 = 6   - 6/3=26 / 3 = 2   - 2/2=12 / 2 = 1   - Therefore, n=6n = 6.
Example 5: Equation with Factorial Sums
  • Question: Find nn if (n+2)!+(n+1)!n!=56\frac{(n+2)! + (n+1)!}{n!} = 56.
  • Solution:   - (n+2)(n+1)n!+(n+1)n!n!=56\frac{(n+2)(n+1)n! + (n+1)n!}{n!} = 56   - (n+2)(n+1)+(n+1)=56(n+2)(n+1) + (n+1) = 56   - Factor out (n+1)(n+1): (n+1)[(n+2)+1]=56(n+1)[(n+2) + 1] = 56   - (n+1)(n+3)=56(n+1)(n+3) = 56   - Finding two numbers with a difference of 22 whose product is 5656: There are no such integers (7×8=567 \times 8 = 56 has a difference of 11).   - Note: If the result were to be an integer (e.g., if the sum was 4848), n=5n=5 would satisfy (6)(8)=48(6)(8)=48. Based on the slide handwritten note, assuming a typo and solving for the logic: n=5n=5 results in (6)(8)=48(6)(8) = 48.

Solved Examples: Permutations

Example 1: Evaluation of Partial Arrangements
  • Question: Evaluated 5P2^5 P_2.
  • Solution: Start from 55 and multiply two factors: 5×4=205 \times 4 = 20.
Example 2: Permutation and Factorials
  • Question: Evaluate 9P3^9 P_3.
  • Solution: 9×8×7=5049 \times 8 \times 7 = 504.
Example 3: Finding Unknown in nPr^n P_r
  • Question: If nP2=72^n P_2 = 72, find nn.
  • Solution:   - n(n1)=72n(n-1) = 72   - Since 9×8=729 \times 8 = 72, then n=9n = 9.
Example 4: Solving for rr
  • Question: If 6Pr=120^6 P_r = 120, find rr.
  • Solution:   - Start with 66: 6×5=306 \times 5 = 30 (two factors)   - 30×4=12030 \times 4 = 120 (three factors)   - Therefore, r=3r = 3.
Example 5: Complex Algebra with Permutations
  • Question: If nP3=10×nP2^n P_3 = 10 \times ^n P_2, find nn.
  • Solution:   - Expand both sides: n(n1)(n2)=10×n(n1)n(n-1)(n-2) = 10 \times n(n-1)   - Cancel (n)(n1)(n)(n-1) (where n0,1n \neq 0, 1): n2=10n-2 = 10   - n=12n = 12.

Mathematical Challenges and Training

  • Condition for Factorial Partition: n!=k!n=kn! = k! \Rightarrow n = k, or if k!=1k! = 1, then n=0,1n=0, 1.
  • Training Task 1: If nPn2=60^n P_{n-2} = 60, solve for nn.
  • Training Task 2: If nPr=504^n P_r = 504, find nn and rr.
  • Training Task 3: If nPr=5040^n P_r = 5040, find nn and rr.

Textbook References

  • Page 45: Problems 1, 2, 3, 6, 8.
  • Page 46: Problem 12.
  • Page 48: Problems 35, 39, 48.