MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug in Coefficient[ ]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16348] Re: Bug in Coefficient[ ]
  • From: Bart De Boeck <deboeck at ruca.ua.ac.be>
  • Date: Thu, 11 Mar 1999 02:16:32 -0500
  • Organization: UA-Ruca
  • References: <7bt48t$n23@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Mahoro,

    Coefficient needs a polynomial as input.
    I checked x[1]*x[2]^2 with PolynomialQ[x[1]*x[2]^2,x[1]*x[2]] and
mathematica replies with General::"ivar": x[1]*x[2] is not a valid
variable. I suppose this means that your 'function' is no polynomial for
mathematica.


regards, Bart


Mahoro Shimura wrote:

> Does anyone know why Coefficient[ ] does not work in
> the follwing case?
>
> In[1]:= Coefficient[x[1]*x[2]^2,x[1]*x[2]^2]
>
> Out[1]= 0
>
> Of course, this value must be 1.
>
> (I use Matematica Ver.3.0 for SPARC.)
>
> Thanks,
> Mahoro Shimura
> e-mail:shimshim at mse.waseda.ac.jp



  • Prev by Date: What is the greatest known Fibonacci number?
  • Next by Date: Re: Sqrt[Sin^2(x)]=Sin(x)....????
  • Previous by thread: Re: Bug in Coefficient[ ]
  • Next by thread: Re: Bug in Coefficient[ ]