If the sum of the roots of a quadratic equation is 5 and the product of the roots is also 5, then the equation can be:
x2–5x+5=0
For a quadratic equation ax2+bx+c=0,
sum of roots = −ba
product of roots = ca.
sum of roots = 5 = −ba
product of roots = 5 = ca,
Thus, quadratic equation is x2−5x+5=0.
or
A quadratic equation with roots α and β is of the form x2−(α+β)x+α∗β=0,
sum of roots = 5 = α+β;
product of roots = 5 = α∗β;
so the required equation is x2−5x+5=0.