form a polynomial whose zeros and degree are given degree 4
form a polynomial whose zeros and degree are given degree 4 zeros -2, -1 ,4,5:. What is f(x)?
Solution
zeros of the polynomial are -2,-1,4,5
so we need to find the factors of the polynomial
factors can be calculated as \"x - root\"
therefore factors are (x-(-2)), (x-(-1)), (x-4) and (x-5)
=> (x+2) . (x+1) ,(x-4) and (x-5) // x - (-a) = x + a
now the polynomial can be obtained as multiplication of these factors
(x+2) * (x+1) * (x-4) * (x-5) = x^4 -6 x^3 -5x^2 +42x +40
