The Square Root Function: Understanding the Difference

  • Context: Undergrad 
  • Thread starter Thread starter TheDemx27
  • Start date Start date
  • Tags Tags
    Factorials Fractions
Click For Summary

Discussion Overview

The discussion revolves around the concept of factorials, particularly the extension of factorials to non-integer values through the Gamma function, and the implications of this extension. Participants explore definitions, properties, and the nature of functions, including the square root function and its characteristics.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about the identity involving factorials of fractions and seeks clarification on how to handle such cases mathematically.
  • Another participant notes that factorials of fractions are traditionally defined using the Gamma function, but questions the rationale behind this definition.
  • Concerns are raised about the properties of the Gamma function, including its log-convexity and its relationship to factorials, with some participants noting that it has poles at certain points.
  • There is a discussion about the definition of a function, with participants debating whether the square root function can be considered a function due to its two-valued nature.
  • One participant proposes a definition of a function based on the ability to reverse the operation, while others clarify the distinction between "the square root of x" as a function and "square roots (two values)" as not being a function.

Areas of Agreement / Disagreement

Participants express differing views on the definition and properties of the Gamma function, particularly regarding its poles and the implications for its definition. There is also disagreement on the classification of the square root operation as a function, indicating that the discussion remains unresolved.

Contextual Notes

Limitations include varying definitions of what constitutes a function and the implications of poles in the Gamma function, which are not fully resolved in the discussion.

TheDemx27
Gold Member
Messages
169
Reaction score
13
I went to splash at MIT a while back, and I took a class on cesaro summation. We were promised to go over an interesting identity but we never did: ##4(\frac{1}{2}!)^2=\pi##. Now, this doesn't make any sense to me, since I thought you could only do factorials with integers, like in the famous example of recursive code:
Code:
int fact(int n)
{
    int result;

    if(n==1)
    {
        return 1;
    }

    result = fact(n-1)* n;
    return result;
}

This was my only concept of factorials. How would one make a separate function to handle the fractions and what would the maths be?
 
Mathematics news on Phys.org
Factorials of fractions are (tranditionally) defined in terms of the values of the Gamma function.

As to why this is a good way to do things, I haven't seen any simple explanation. In particular, I haven't seen any explanation of why computing the gamma function is, in any sense, an extension of the algorithm used to compute factorials of positive integers.
 
Stephen Tashi said:
In particular, I haven't seen any explanation of why computing the gamma function is, in any sense, an extension of the algorithm used to compute factorials of positive integers.

The only property gamma has that other extensions do not is log-convexity (Bohr-Mollerup theorem). As to why that is related to the factorial, your guess is as good as mine.
 
Γ(n+1) = n!. Γ(z) is defined for all complex z, while factoral is only for integers.
 
mathman said:
Γ(n+1) = n!. Γ(z) is defined for all complex z, while factoral is only for integers.
That is not true. Gamma has poles at 0, -1, -2 etc.
 
Convexity is nice. Log-convexity is even nicer. Convexity basically means that the function in question has a second derivative that is never negative - that is to say, the function always curves "up". Log-convexity means that even the logarithm of the function is convex, and is a stronger condition than convexity. Thus, since the Gamma Function is equal to the factorials on all integers*, is analytic, and is log-convex, and is the only function that satisfies all three of these properties, it is considered the "best" extension of the factorials to all complex numbers excepting the negative reals.

*: Well, not quite true. The Gamma Function is shifted by 1. I share the opinion of Euler and many others that this shift was a dumb one.
 
pwsnafu said:
That is not true. Gamma has poles at 0, -1, -2 etc.
You are quibbling. Yes it has poles. So does this mean it is not defined or is it defined by the poles?
 
  • Like
Likes   Reactions: Ryuu
mathman said:
You are quibbling. Yes it has poles. So does this mean it is not defined or is it defined by the poles?
Gamma is not defined at 0 and negative integers. A pole is a type of singularity. You don't say ##\frac{1}{x}## is defined at x=0 by a pole for the same reason.
 
pwsnafu said:
Gamma is not defined at 0 and negative integers. A pole is a type of singularity. You don't say ##\frac{1}{x}## is defined at x=0 by a pole for the same reason.
The quibble is in the definition of the word "define". Does it mean to have a specific value or does it mean it can be described (a pole at that point)?
 
  • #10
The function switches concavity at each pole. The reason why it isn't defined at each pole is because on the right side it would approach negative infinity and on the left side it would approach positive infinity (or vice versa).
 
  • #11
The description you gave is the definition. The quibble is over what it means to "define" something.
 
  • #12
mathman said:
The quibble is in the definition of the word "define". Does it mean to have a specific value or does it mean it can be described (a pole at that point)?
To say that a function is or is not defined at a point has a very specific meaning- it means that there is a unique value for the function at that point.
 
  • #13
HallsofIvy said:
To say that a function is or is not defined at a point has a very specific meaning- it means that there is a unique value for the function at that point.
Does this mean that square roots (two valued) are not defined?
 
  • #14
mathman said:
Does this mean that square roots (two valued) are not defined?
"square roots (two valued)" is not a function. That's irrelevant.
 
  • #15
I guess the term "function" needs to be defined. So what do you call the square root of x?
 
  • #16
Perhaps "function" could be defined as any operation whose outputs could be entered into an inverse form of that operation and have an output that was the same as the input of the original operation. Hence, both (-x) and (x) could be squared and you would get x2, which was the input to the original operation of "taking the square root". If, however, you were to input "negative infinity" or "positive infinity" into an inverse gamma function, you would get an infinite number of possible outputs.
 
  • #17
mathman said:
I guess the term "function" needs to be defined.

A function is a triple ##(A, B, \Gamma)## where
  1. A is a set called the domain,
  2. B is a set called the co-domain,
  3. ##\Gamma \subset A \times B## is called the graph,
  4. for all ##x \in A## there exists ##(x,y) \in \Gamma##,
  5. if ##(x,y) \in \Gamma## and ##(x,z) \in \Gamma## then ##x = z##.
In words, a function is a relation that is defined on its domain and satisfies the horizontal line test.

So what do you call the square root of x?
Do you understand that "the square root of x" is not the same thing as "square roots (two values)"?
And if you were wondering, the former is a function. The latter is not.
 
  • Like
Likes   Reactions: David Carroll

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 27 ·
Replies
27
Views
6K
  • · Replies 28 ·
Replies
28
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K