Re: how can I return nothing?



Michal Nazarewicz <mina86@xxxxxxx> writes:
richard@xxxxxxxxxxxxxxx (Richard Tobin) writes:
In article <1xgzve9ftnef0.qkfno80gbnsf.dlg@xxxxxxxxxx>,
Coos Haak <chforth@xxxxxxxxx> wrote:

i nor -i is the square root of -1.

What makes you think that?

The same thing I've pointed. In real number domain a square root of
x is defined to be _nonnegative_ number which squared gives x. You
cannot apply analogical definitions to complex numbers since there is no
such think as nonnegative complex number (or nonpositive for that
matter).

If the square root function is defined simply as the number (or a
number) whose square is the argument, then every non-zero number,
real, imaginary, or complex, has two possible square roots.

By convention, for positive real values, the positive value is
considered to be the principle square root (I think that's the right
terminology); sqrt(4) == 2, sqrt(4) != -2.

I *think* there's also a mathematical convention for choosing the
principle square root for imaginary and complex operands. I'm not
certain of that, and the convention could vary among different
branches of mathematics, or even among different mathematicians. But
C defines a csqrt() function that yields the complex square root of a
complex operand, and that function definitely defines a convention for
choosing one value when there are two possibilities. C99 7.3.8.3:

The csqrt functions compute the complex square root of z, with a
branch cut along the negative real axis.

The csqrt functions return the complex square root value, in the
range of the right halfplane (including the imaginary axis).

I *think* that's consistent with conventional mathematical usage; that
certainly should be the intent.

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.



Relevant Pages

  • Re: what is etymology? (linguistics and biology)
    ... The Non-European Roots of Mathematics_, ... Egyptians and Babylonians had on the Greeks; ... Babylonian value for the square root of 2 was found. ... of Pythagoras long before the time of Pythagoras, ...
    (sci.lang)
  • Re: (OT) Re: Object identity
    ... I don't remember any way to make the square root of a negative number a real ... ultimately a branch of mathematics. ... I remember you said in another post "Platonism is the root of all evil" ... Formal systems with self-contradictions allow you to deduce that false ...
    (comp.object)
  • Re: Does this mean anything?
    ... Try learning from what's being said. ... customs. ... Is it possible that mathematics could employ some ... about the square root of -1? ...
    (rec.puzzles)
  • Re: Coding of ordered pairs
    ... part of mathematics, but it is in the field of numerical mathematics. ... actual facts (long ago I did analyse them with truncating arithmetic). ... truncating arithmetic and N-R for the calculation of the square root. ... N-R does not converge. ...
    (sci.math)
  • Re: ** says: Definition: sum{i in N} i = 0
    ... a principle square root of x, in any setting which both allows ... As WM's mathematics is heavily heterodox, he has no right to criticize. ... converging to this limit. ... Which finished infinity, outside of WM's MathUnreality, is quite ...
    (sci.math)

Loading