I have a polynomial, say a random polynomial of degree 3. Is there a way to turn it into another equivalent polynomial in ascending powers of x?
see attached file
with text ? (no other polynomial)
Thanks for your help.
But when some of the coefficients are zero or one, your expression is not good enough for me.
When f(x)=x^3-x+4, I need another polynomial g(x)=4-x+x^3. Nothing more, nothing less.
Sorry your method seems work only in CAS environment. In normal Graphic View, the zeros and ones still appear. I try to avoid CAS methods like Simplify, Expand, etc.
See attached file.
is TaylorPolynomial(f, 0, Degree(f)) enough?
Not exactly. Thanks.
más detalles corren por cuenta del proximo autor
Maybe something like that
Thanks. But Simplify() invokes CAS, which is not preferred.
me gusta este ultimo
Correction of my answer: r(x)=a+Polynomial(b*x)+Polynomial(c*x^2)+Polynomial(d*x^3)
but I agree that Jozef's answer is better :)
Thanks. This is nearly perfect, except when a=b=0 and c=5, it gives result 0+5x^2 instead of 5x^2.
Hope other users can benefit.
or If(a^2+b^2==0,Polynomial(c x^2),r(x))
but it works only for quadratic function
Comments have been locked on this page!