MathGroup Archive 2007

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

Search the Archive

Re: express a quadratic, in the form (x+a)^2 + b

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84380] Re: express a quadratic, in the form (x+a)^2 + b
  • From: dh <dh at metrohm.ch>
  • Date: Thu, 20 Dec 2007 00:18:19 -0500 (EST)
  • References: <fkan3b$d6k$1@smc.vnet.net>


Hi Joseph,

I am assuming you want the values of a anb b and not the procedure how 

to do it manually in Mathematica.

You may e.g. say:

  Reduce[{ForAll[x, x^2+4x+7==(x+a)^2+b]},{a,b}]

hope this helps, Daniel



Joseph Fagan wrote:

> I'm a Mathematica beginner.

> I wish to express a quadratic, in the form (x+a)^2 + b

> eg to express x^2 + 4x + 7 as (x+2)^2 + 3

> Is there an easy way?

> Thanks

> Joe

> 

> 

> 




  • Prev by Date: Re: express a quadratic, in the form (x+a)^2 + b
  • Next by Date: Re: express a quadratic, in the form (x+a)^2 + b
  • Previous by thread: Re: express a quadratic, in the form (x+a)^2 + b
  • Next by thread: Re: express a quadratic, in the form (x+a)^2 + b