Re: minimize with complex numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg91272] Re: minimize with complex numbers
- From: Torsten Hennig <Torsten.Hennig at umsicht.fhg.de>
- Date: Wed, 13 Aug 2008 04:38:36 -0400 (EDT)
> hi , > when i use minimize command with real numbers i get > the required answer but > with complex number it doesnt give me any answer or > r error > > Syntax::sntxb : Expression cannot begin with "(1+1 i) > ` x[1]+(1-1 i) ` x[2]". > Syntax::tsntxi : "(1+1 i) ` x[1]" is incomplete; more > input is needed. > Syntax::sntxi : Incomplete expression; more input is > needed. > > > My minimize expression is > > ((1+1i)*x[1] +(1-1i)*x[2] )^2 +(x[1]+x[2])^2 > > in methamatica it becomes > > Minimize[{( x[1]+x[2])2 > +((1+1i)x[1]+(1-1 i)x[2])2},{x[1],x[2]}] > > > i want my answer to be in complex number come > somebody tell me where i am wrong > > thanx > The complex number field can not be ordered ; so minimization of a complex expression does not make sense. Maybe you want to minimize the norm of a complex expression ? Best wishes Torsten.