Skip to content

u/toebox

In this archive from Jul 2011 to Dec 2014

0
posts
81
comments
0
media
218
score

Top comments

There's a difference between talking about "a square root" and sqrt(x) or √x, the latter two are mathematical functions which can only have one output. By convention, the √ function is defined as the principle (positive) square root.

If you want both values, you have to specify ±√:

f(x) = ±√x is not a function in the proper sense, but a multi-valued function: it assigns to each positive real number x two values: the (positive) square root of x (√x), and -√x.

As for why (0,inf) was chosen as the domain, it just makes things neater (same reason pi isn't 2*pi):

Consider the very simple rule √(ab) = √(a) * √(b), that wouldn't work if the function returned a negative, and it's FUBAR if each of the 3 instances could be either positive or negative!

9 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.