Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10259

Re: Sqrt of complex number

From Andrzej Kozlowski <akozlowski@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Sqrt of complex number
Date 2012-05-30 08:10 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jq4klv$fsf$1@smc.vnet.net> (permalink)
References <jpspgr$hdj$1@smc.vnet.net> <201205290948.FAA06757@smc.vnet.net>

Show all headers | View raw


On 29 May 2012, at 11:48, Richard Fateman wrote:

>
> What you ask for is an expression that includes all answers: the
> algebraic solution to the equation x^2-(3-4 I)=0.
>
> Notice that you can create the set of the 2 roots of a quadratic, that
> is, both square roots, by typing this.
>
>
> Table[Root[#^2 - (3 - 4 I)&, n], {n, 1, 2}]
>
> but this is a list, not "an algebraic number".
>
> If you want to manipulate "an arbitrary root", that is -2+I OR 2-I
> without specifying which one, it seems that Mathematica could provide
> this facility by allowing you to type, for a symbol n,
>
> y = Root[#^2- (3-4I)&,n]
>
> (actually,  Root[x^2-3+4I,n]  might do just a well and be less obscure).

Objects of the kind  Root[#^2-3+4I&,n], where n is a symbol would be mathematically meaningless and very unlikely to be of any serious use. The reason is that there is no canonical ordering of the complex roots of a polynomial and thus there is nothing "mathematical" that can be said about the "n-th root of a polynomial".

The only orderings that exist are specific to programs like Mathematica (and even Mathematica uses two different methods of root isolation with different resulting orderings so Root[f,n] has a different in general  a different meaning for each ordering). So any statement about Root[f,n] is a statement about a particular ordering using by Mathematica, and not,in general, a universal mathematical statement. For example, the statement that Root[f,1] is always real if f is a polynomial of odd degree is a statement about Mathematica (although it does imply the mathematical statement that every polynomial of odd degree has a real root).

It would be at best very clumsy to have to use an artificial ordering of roots to make general statements that have nothing to do with any orderings. The entire sense of these orderings is that you first perform "root isolation" before you order them. Isolating roots when you do not need to isolate them (in order to make a statement about all roots) would be wasteful and pointless. If you want to make a general statement about all roots of a polynomial there are at least two ways of doing it, both better than using artificial orderings. One way is to compute all the roots using Solve (better than using Table and Root). The other method is to use Reduce and quantifiers.


>
> For example,  we would know the unambiguous single value for y^2, and
> we could perhaps compute  y*Conjugate[y].

For example:

Reduce[
 ForAll[y, y^2 - (3 - 4 I) == 0,
  Element[a, Reals] && a == y*Conjugate[y]]]

a == 5

Reduce[ForAll[y, y^2 - (3 - 4 I) == 0, a == y^2]]

a == 3 - 4 I



>
> Unfortunately, Mathematica's designers/programmers do not allow you to
> write Root[x^2-3+4I,n]  unless n is a specific integer, namely 1 or 2.
>

Because when you evaluate Root[#^2-3+4I&,1]  or Root[#^2-3+4I&,2] Mathematica isolates the roots of the equation x^2-3+4I==0. When you write Root[#^2-3+4I&,n] there is nothing for Mathematica to do. You are thinking of using root ordering as a just a dumb notation, which it is not. If it were meant to me just notation it would be a very clumsy one.

Andrzej Kozlowski


Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Sqrt of complex number Jacare Omoplata <walkeystalkey@gmail.com> - 2012-05-27 08:44 +0000
  Re: Sqrt of complex number Helen Read <readhpr@gmail.com> - 2012-05-28 09:12 +0000
  Re: Sqrt of complex number Erik Max Francis <max@alcyone.com> - 2012-05-28 09:13 +0000
  Re: Sqrt of complex number Richard Fateman <fateman@cs.berkeley.edu> - 2012-05-29 09:51 +0000
  Re: Sqrt of complex number Andrzej Kozlowski <akozlowski@gmail.com> - 2012-05-30 08:10 +0000
    Re: Sqrt of complex number Richard Fateman <fateman@cs.berkeley.edu> - 2012-05-31 06:50 +0000
    Re: Sqrt of complex number Andrzej Kozlowski <akozlowski@gmail.com> - 2012-05-31 06:51 +0000
  Re: Sqrt of complex number Murray Eisenberg <murray@math.umass.edu> - 2012-05-30 08:15 +0000
    Re: Sqrt of complex number Richard Fateman <fateman@cs.berkeley.edu> - 2012-05-31 06:49 +0000
  Re: Sqrt of complex number danl@wolfram.com - 2012-06-01 09:22 +0000
    Re: Sqrt of complex number Richard Fateman <fateman@cs.berkeley.edu> - 2012-06-02 09:43 +0000

csiph-web