ArticleslgStudy

science

Double factorial

Double factorial is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Double factorial rather than just read about it. In short: In mathematics, the double factorial, or semifactorial, n‼ of a positive integer n is the product of all the positive integers up to n that have the same parity (odd or even) as n. That is, n!!=∏k=0⌈n2⌉−1(n−2k)=n(n−2)(n−4)⋯.

Double factorial — main illustration
Double factorial — illustration

Key takeaways

  • Double factorial belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Double factorial to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Double factorial from memory before moving on to harder problems.

Reference excerpt

In mathematics, the double factorial, or semifactorial, n‼ of a positive integer n is the product of all the positive integers up to n that have the same parity (odd or even) as n. That is, n!!=∏k=0⌈n2⌉−1(n−2k)=n(n−2)(n−4)⋯. Restated, this says that for even n, the double factorial is n!!=∏k=1n2(2k)=n(n−2)(n−4)⋯4⋅2, while for odd n it is n!!=∏k=1n+12(2k−1)=n(n−2)(n−4)⋯3⋅1. A few examples are:

1!! = 1 = 1, 2!! = 2 = 2, 3!! = 3 × 1 = 3, 4!! = 4 × 2 = 8, 5!! = 5 × 3 × 1 = 15, 6!! = 6 × 4 × 2 = 48, 7!! = 7 × 5 × 3 × 1 = 105. Often, both 0!! and (−1)!! are considered empty products that evaluate to 1. The sequence of double factorials for even n = 0, 2, 4, 6, 8,... starts as

The sequence of double factorials for odd n = 1, 3, 5, 7, 9,... starts as

The term odd factorial is sometimes used for the double factorial of an odd number. There is another definition of double factorial, which can be evaluated for most complex numbers; see below.

History and usage In a 1902 paper, the physicist Arthur Schuster wrote:

The symbolical representation of the results of this paper is much facilitated by the introduction of a separate symbol for the product of alternate factors, n⋅n−2⋅n−4⋯1, if n be odd, or n⋅n−2⋯2 if n be odd [sic]. I propose to write n!! for such products, and if a name be required for the product to call it the "alternate factorial" or the "double factorial". Meserve (1948) states that the double factorial was originally introduced in order to simplify the expression of certain trigonometric integrals that arise in the derivation of the Wallis product. Double factorials also arise in expressing the volume of a hyperball and surface area of a hypersphere, and they have many applications in enumerative combinatorics. They occur in Student's t-distribution (1908), although Gosset did not use the double exclamation point notation.

Relation to the factorial Because the double factorial only involves about half the factors of the ordinary factorial, its value is not substantially larger than the square root of the factorial n!, and it is much smaller than the iterated factorial (n!)!. The factorial of a positive n may be written as the product of two double factorials: n!=n!!⋅(n−1)!!, and therefore n!!=n!(n−1)!!=(n+1)!(n+1)!!, where the denominator cancels the unwanted factors in the numerator. The last form also applies when n = 0. For an even non-negative integer n = 2k with k ≥ 0, the double factorial may be expressed as (2k)!!=2kk!. For odd n = 2k − 1 with k ≥ 1, combining the two previous formulas yields (2k−1)!!=(2k−1)!2k−1(k−1)!=(2k)!2kk!. The last form also applies when k = 0, and can be written in terms of k-permutations of 2k or a falling factorial as (2k−1)!!=2kPk2k=(2k)k_2k.

Applications in enumerative combinatorics

Double factorials are motivated by the fact that they occur frequently in enumerative combinatorics and other settings. For instance, n‼ for odd values of n counts

Perfect matchings of the complete graph Kn + 1 for odd n. In such a graph, any single vertex v has n possible choices of vertex that it can be matched to, and once this choice is made the remaining problem is one of selecting a perfect matching in a complete graph with two fewer vertices. For instance, a complete graph with four vertices a, b, c, and d has three perfect matchings: ab and cd, ac and bd, and ad and bc. Perfect matchings may be described in several other equivalent ways, including involutions without fixed points on a set of n + 1 items (permutations in which each cycle is a pair) or chord diagrams (sets of chords of a set of n + 1 points evenly spaced on a circle such that each point is the endpoint of exactly one chord, also called Brauer diagrams). The numbers of matchings in complete graphs, without constraining the matchings to be perfect, are instead given by the telephone numbers, which may be expressed as a summation involving double factorials. Stirling permutations, permutations of the multiset of numbers 1, 1, 2, 2, ..., k, k in which each pair of equal numbers is separated only by larger numbers, where k = ⁠n + 1/2⁠. The two copies of k must be adjacent; removing them from the permutation leaves a permutation in which the maximum element is k − 1, with n positions into which the adjacent pair of k values may be placed. From this recursive construction, a proof that the Stirling permutations are counted by the double permutations follows by induction. Alternatively, instead of the restriction that values between a pair may be larger than it, one may also consider the permutations of this multiset in which the first copies of each pair appear in sorted order; such a permutation defines a matching on the 2k positions of the permutation, so again the number of permutations may be counted by the double permutations. Heap-ordered trees, trees with k + 1 nodes labeled 0, 1, 2, ... k, such that the root of the tree has label 0, each other node has a larger label than its parent, and such that the children of each node have a fixed ordering. An Euler tour of the tree (with doubled edges) gives a Stirling permutation, and every Stirling permutation represents a tree in this way. Unrooted binary trees with ⁠n + 5/2⁠ labeled leaves. Each such tree may be formed from a tree with one fewer leaf, by subdividing one of the n tree edges and making the new vertex be the parent of a new leaf. Rooted binary trees with ⁠n + 3/2⁠ labeled leaves. This case is similar to the unrooted case, but the number of edges that can be subdivided is even, and in addition to subdividing an edge it is possible to add a node to a tree with one fewer leaf by adding a new root whose two children are the smaller tree and the new leaf. Callan (2009) and Dale & Moon (1993) list several additional objects with the same counting sequence, including "trapezoidal words" (numerals in a mixed radix system with increasing odd radixes), height-labeled Dyck paths, height-labeled ordered trees, "overhang paths", and certain vectors describing the lowest-numbered leaf descendant of each node in a rooted binary tree. For bijective proofs that some of these objects are equinumerous, see Rubey (2008) and Marsh & Martin (2011). The even double factorials give the numbers of elements of the hyperoctahedral groups (signed permutations or symmetries of a hypercube)

… excerpt ends here. Continue reading the full article.

Illustrations

Double factorial: The fifteen different chord diagrams on six points, or equivalently the fifteen different perfect matchings on a six-vertex complete graph.  These are counted by the double factorial .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}15 = (6 − 1)‼.
The fifteen different chord diagrams on six points, or equivalently the fifteen different perfect matchings on a six-vertex complete graph. These are counted by the double factorial .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}15 = (6 − 1)‼.
Double factorial: The fifteen different rooted binary trees (with unordered children) on a set of four labeled leaves, illustrating 15 = (2 × 4 − 3)‼ (see article text).
The fifteen different rooted binary trees (with unordered children) on a set of four labeled leaves, illustrating 15 = (2 × 4 − 3)‼ (see article text).

Worked examples

Example 1 — a first encounter with Double factorial

Start with the simplest possible case. Write down what Double factorial claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Double factorial before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Double factorial ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Double factorial

In research
Double factorial appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Double factorial in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Double factorial is common in secondary-school and first-year university syllabi. It links to neighbouring topics Enumerative combinatorics, Factorial and binomial topics, Integer sequences, so understanding it makes those chapters shorter.
In everyday life
Look for Double factorial outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Double factorial” →

How to study Double factorial in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Double factorial means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Double factorial out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Double factorial in simple terms?

In mathematics, the double factorial, or semifactorial, n‼ of a positive integer n is the product of all the positive integers up to n that have the same parity (odd or even) as n. That is, n!!=∏k=0⌈n2⌉−1(n−2k)=n(n−2)(n−4)⋯.

Why does Double factorial matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Double factorial?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Double factorial.

Tags

  • Enumerative combinatorics
  • Factorial and binomial topics
  • Integer sequences

Keep exploring