Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Sign function
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Smooth approximations and limits === The signum function can be given as a number of different (pointwise) limits: <math display="block">\begin{align} \sgn x &= \lim_{n\to\infty}\frac{1-2^{-nx}}{1+2^{-nx}}\\ &= \lim_{n\to\infty}\frac{2}{\pi}\operatorname{arctan}(nx)\\ &= \lim_{n\to\infty}\tanh(nx)\\ &= \lim_{\varepsilon\to 0} \frac{x}{\sqrt{x^2 + \varepsilon^2}}. \end{align}</math> Here, <math>\tanh</math> is the [[hyperbolic tangent]], and <math>\operatorname{arctan}</math> is the [[arctan|inverse tangent]]. The last of these is the derivative of <math>\sqrt{x^2+\varepsilon ^2}</math>. This is inspired from the fact that the above is exactly equal for all nonzero <math>x</math> if <math>\varepsilon=0</math>, and has the advantage of simple generalization to higher-dimensional analogues of the sign function (for example, the partial derivatives of <math>\sqrt{x^2+y^2}</math>). See ''{{section link|Heaviside step function#Analytic approximations}}''.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)