Dears, suppose I define a polynomial
u:= 5+3*x+4*x^2;
I would like for this polynomial to substitute x with a specific value, say 0, only when it takes degree one. Do you know how this can be achieved?
Many thanks in advance Manuele
Is this what you are looking for?
u = 5 + 3 x + 4 x^2; u /. {x^n_ -> x^n, x -> 0}
It will produce 5 + 4 x^2.