Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2024-05-26 19:11:42

mathxyz
Member
From: Brooklyn, NY
Registered: 2024-02-24
Posts: 1,053

Factorial of Decimal Number

I know that, for example, 3! = 3 x 2 x 1 or 6.
What happens when we take the factorial of a decimal number?

Show how to compute the value of (2.5)!

Offline

#2 2024-05-26 20:04:11

Bob
Administrator
Registered: 2010-06-20
Posts: 10,524

Re: Factorial of Decimal Number

Factorial is only defined for whole numbers.  There is a thing called the gamma function.  See what wolfram says.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#3 2024-05-27 02:52:11

mathxyz
Member
From: Brooklyn, NY
Registered: 2024-02-24
Posts: 1,053

Re: Factorial of Decimal Number

Bob wrote:

Factorial is only defined for whole numbers.  There is a thing called the gamma function.  See what wolfram says.

Bob

Ok. Thanks.

Here is what the AI app tells me:

Unfortunately, you can't calculate the factorial of a decimal number like 2.5. Here's why:

* **What's a factorial?**  The factorial (represented by the symbol "!") means multiplying a whole number by all the whole numbers less than it down to 1. For example: 5! = 5 * 4 * 3 * 2 * 1 = 120

* **Why not decimals?** Factorials are defined based on the concept of counting and arranging whole objects. You can't have 2.5 objects to arrange, which is why the factorial of a decimal number isn't defined.

Offline

#4 2024-08-04 15:26:24

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,995
Website

Re: Factorial of Decimal Number

I don't really recommend taking information from AI agents seriously. Wikipedia, books, blogs and static websites are a much better source.

Yes, the concept of Factorial is related to counting. But for certain purposes, it makes sense to extend it to real numbers (decimal numbers, as you call them). The Gamma Function is one such function.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

Board footer

Powered by FluxBB