Jump to content

Talk:Sign function

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mathieu Perrin (talk | contribs) at 13:19, 3 March 2020 (Explanation for sign change in the Fourier transform). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconMathematics C‑class Low‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-priority on the project's priority scale.

Undefined?

The textbook "Calculus- a complete course" by Robert A. Adams says that sgn(x) is equal to 1 if x > 0; equal to -1 if x < 0 and that it is undefined when x is equal to 0; that is to say that:

The explanation is verbatim "The value of the sgn(x) tells whether x is positive or negative. Since 0 is neither positive nor negative, sgn(0) is not defined." This makes sense seeing as how the sign function is x/(abs(x)), and when x = 0 one would get 0/0. This directly contradicts this article, which both has a dot at (0,0) and states that:

Someone mentioned above that since the signum function is a generalized function, sgn(0)=0 can apply but that doesn't mean that it is true. If somebody knows anything about this, I'd like this to be disambiguated and (if wrong) fixed. A small explanation about 'why' it isn't undefined would also be nice if somebody understands that. --BiT (talk) 14:25, 10 November 2008 (UTC)[reply]

This, this, this and this page from Matlab are sources that sgn(0) is defined, but isn't a published textbook more reliable than some articles on the internet? --BiT (talk) 14:32, 10 November 2008 (UTC)[reply]

Leaving it undefined at 0 makes the derivative make more sense (as it too would be undefined at x=0). —Preceding unsigned comment added by 142.162.24.209 (talk) 04:59, 5 February 2009 (UTC)[reply]

Leaving it undefined at 0 makes no difference for the derivative since limits are defined to require an approach from both sides. Defining the sgn to be 0 at 0 allows for a more fluid definition of the matrix determinant in terms of the Leibniz formula. Doing so allows the sum to be taken over all arrangements up to N, and not just all permutations. It makes more sense from a combinatorial point of view. Antares5245 (talk) 00:20, 14 December 2009 (UTC)[reply]

Ancient post, but here goes, first the complicated answer: The two functions are equivalent under the L2 norm since they differ in only one point. This implies for example that the fourier series for both is the same. One possible reason to favor the sgn(0)=0 convention is that the fourier series for sgn(x) converges (pointwise) to 0 in x=0. Making a distinction though between the two functions is mostly irrelevant. Almost everyone uses the zero convention or states explicitly what the behaviour at zero is.--217.84.27.165 (talk) 11:13, 13 November 2011 (UTC)[reply]

math on Wikipedia

Is it just me or is math on Wikipedia either exceedingly complicated it's not worth trying to understand, or such within the realm of basic common sense it is laughable? "Any real number can be expressed as the product of its absolute value and its sign function"

173.183.79.81 (talk) 23:45, 15 March 2011 (UTC)[reply]

It's not just you and not just Wikipedia; all mathematics falls into one of these two categories. --catslash (talk) 22:12, 18 March 2011 (UTC)[reply]
173, sign in and help make it better. Cliff (talk) 05:20, 1 June 2011 (UTC)[reply]
It may be common sense, but it is well worth stating basic mathematical axioms in an encyclopedia. You may as well say "I could have thought of the whole concept of signum, and therefore it doesn't need an article." Indeed, signum is very very simple, and anyone with common sense could have come up with its definition, drawn the simple graph on the article, worked out the axioms and its relationship to the absolute value function, etc. But it is still useful to have such simple definitions available, so we can derive more complex things from then. The axiom you quote is used in this article to show a few other interesting properties. —MattGiuca (talk) 07:04, 25 August 2011 (UTC)[reply]

Algebraic representation

As far as I can tell, the entire point of the section on algebraic representation is "couldn't we express the signum function without using a conditional?" In other words, the basic definition of signum has a three-way switch using the condition brace; can we do it using normal (non-conditional) mathematics?

It seems like it could be simplified as or , but I suppose that would be undefined when x is 0. (This would lend credence to the above suggestion that signum be undefined when x is 0.)

Failing that, I don't really see the point of this section. It doesn't cite any sources to show where this complicated formula came from. The fact that it requires n be a certain number of decimal digits is mathematically messy and requires more special cases than the simple definition of signum in the first place. What is the point / use of this formula? —MattGiuca (talk) 07:17, 25 August 2011 (UTC)[reply]

I thought just the same. Your comment got no response in 3 months, so I deleted the section. Stephanwehner (talk) 07:01, 3 December 2011 (UTC)[reply]

Citation needed?

Really? Is a citation really needed for the derivative? Surely this is a basic calculation. It follows trivially from the line below it about the Heaviside step function(which doesn't say citation needed).--217.84.27.165 (talk) 11:21, 13 November 2011 (UTC)[reply]

The same thought occurred to me - that this is essentially the definition of the delta function. However, it could be that mathematicians have scruples about differentiating a discontinuous function, which I lack. Perhaps KlappCK [1] could explain the problem? --catslash (talk) 00:05, 14 November 2011 (UTC)[reply]
The purpose of a citation here is to increase the reliability of the article and to solidify it's relation to other functions. I have had to derive the result myself, starting with the Heaviside step function, so I am comfortable with the definition, but this page isn't just for me, or either of you, for that matter. Furthermore, the derivative is not universally defined (if you have ever used Mathematica, D[Sign[x],x] returns Sign'[x] because it does not "know" the derivative of the sign function). However, one could point to the definition for the sign function in terms of the Heaviside step function [2] and then to the definition of the Heaviside step function's derivative [3] in a footnote showing how these two pieces of information and simple differentiation yield the result with a link to said footnote next to definition in the body of the article. This would seem satisfactory to me, anyway. KlappCK (talk) 20:09, 27 December 2011 (UTC)[reply]
As an aside here, I believe that it may be beneficial for overall readability to move the definition of the sign function in terms of the step function up about the definition of the derivative of the sign function and use the former definition to derive the latter.KlappCK (talk) 20:29, 27 December 2011 (UTC)[reply]
I made the changes I had proposed. See what you think.KlappCK (talk) 21:25, 27 December 2011 (UTC)[reply]

Article title

Isn't "signum function" the original and still most common name for this function? I think the lead section of the article should be changed to something like: "In mathematics, the signum function (from signum, Latin for "sign") is an odd mathematical function that extracts the sign of a real number. This function is also sometimes called the sign function, although this may lead to confusion with the sine function. In mathematical expressions, the signum function is often represented as sgn."

Also, I think the article title should be "Signum function", not "Sign function". Isheden (talk) 16:59, 7 March 2012 (UTC)[reply]

Fourier transform

I introduced a minus sign in the Fourier transform of the function. The former redaction was

I have crossed several sources showing this is incorrect and that k should be changed to -k either on the left hand side or on the right hand side. For instance Wolfram[1] tells us the Laplace transform is , so replacing s by -ik and doubling the value to extend the integral to gives the correct result. I also checked from a French course giving a complete derivation for the Fourier transform of the Heaviside distribution and chose to change the convention for the Fourier transform on the left hand side. I do not have access to the article given as a reference. If indeed the former result was correct, please revert. Mathieu Perrin (talk) 13:19, 3 March 2020 (UTC)[reply]