Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg84357] Re: express a quadratic, in the form (x+a)^2 + b
  • From: Camille JORDAN <ynceraj at gmail.com>
  • Date: Thu, 20 Dec 2007 00:06:17 -0500 (EST)
  • References: <fkan3b$d6k$1@smc.vnet.net>

On Dec 19, 4:08 am, "Joseph Fagan" <noemailple... at nowhere.ru> 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

You can do
Series[x^2 + 4 x + 7, {x, -2, 2}]

the answer will be
3+(x+2)^2 +O[x+2]^3


  • Prev by Date: Collapsing animation output
  • 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