next up previous contents index
suivant: Compute with the exact monter: Polynomials précédent: Evaluate a polynomial :   Table des matières   Index

Rewrite in terms of the powers of (x-a) : ptayl

ptayl is used to rewrite a polynomial P depending of x in terms of the powers of (x-a) (ptayl means polynomial Taylor)
ptayl takes two arguments: a polynomial P given by a symbolic expression or by the list of it's coefficients and a number a.
ptayl returns the polynomial Q such that Q(x-a)=P(x)
Input :
Output, the polynomial Q:
Input :
Output :
i.e. for the example :
x2 + 2x + 1 = (x - 2)2 + 6(x - 2) + 9

giac documentation written by Renée De Graeve and Bernard Parisse