Let f(x) = ax^2 + bx + c is a quadratic function such
that x1 and x2 are the roots.
==> Given
that:
x1 + x2 = 5
x1*x2 =
6
But we know that:
x1+ x2 =
-b/a = 5 ==> b= -5 a
Also, we know
that:
x1*x2 = c/a = 6 ==> c = 6
a
==> f(x) = ax^2 -5a x +
6a
We need to find the
roots.
==> ax^2 - 5a x + 6 a =
0
We will divide by
a:
==> x^2 -5x + 6 =
0
==> (x -2)(x-3) =
0
Then, the roots are : x = { 2,
3}
No comments:
Post a Comment