MathGroup Archive 2008

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

Search the Archive

Re: Which function can do this?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86868] Re: Which function can do this?
  • From: Alfred Heiligenbrunner <xxx at yyyy.zz>
  • Date: Mon, 24 Mar 2008 01:44:53 -0500 (EST)
  • References: <fs4rpd$p6n$1@smc.vnet.net>

Elements schrieb am 23.03.2008 07:02:
> Greeting all!
> Now I need a function to transform a polynomial about x to the one about x-1
> eg: x^3+2x^2+3x+4= (x-1)^3+5(x-1)^2+10(x-1)+10
> Does Mathematica supply a function to do this?
> Thanks!
> 

In[1]:=
(x^3+2x^2+3x+4 /. x -> (y+1) // Simplify) /. y -> (x-1)

Out[1]=
10 + 10*(-1 + x) + 5*(-1 + x)^2 + (-1 + x)^3


  • Prev by Date: Drag and drop in the front end
  • Next by Date: Re: Possible values for the Method option for Graphics??
  • Previous by thread: Re: Which function can do this?
  • Next by thread: Converting 3D graphics to 2D polygons