Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you solve $y = {x^2} - 4x + 4$ using the quadratic formula?

Answer
VerifiedVerified
558.3k+ views
Hint: We have given a quadratic equation of the form $a{x^2} + bx + c = 0$ . To find the roots of the above quadratic equation, we use quadratic formula, which is given as $x = \dfrac{{ - b \pm \sqrt {{b^2} - 4ac} }}{{2a}}$ .
Here $a$ is the coefficient of ${x^2}$ , $b$ is the coefficient of $x$ and $c$ is the constant term.
To solve the given quadratic equation, first, we need to determine the values of$a,b$ and $c$. Then we need to substitute the values in the quadratic formula and simplify it.

Complete step-by-step answer:
Step 1: Here the quadratic equation is given as $y = {x^2} - 4x + 4$. In above equation, the coefficient of ${x^2}$ is $1$ so the value of$a = 1$, coefficient of $x$ is $ - 4$ so the value of $b = - 4$ and the constant term is $4$ so the value of $c = 4$ .
Step 2: Now we substitute the values in quadratic formula to solve the given quadratic equation, we get
$x = \dfrac{{ - \left( { - 4} \right) \pm \sqrt {{{\left( { - 4} \right)}^2} - 4\left( 1 \right)\left( 4 \right)} }}{{2\left( 1 \right)}}$
Step 3: Simplifying the above equation, we get
$x = \dfrac{{4 \pm \sqrt {16 - 16} }}{2}$
Step 4: On further simplification, we get
$x = \dfrac{{4 \pm 0}}{2}$
Step 5: Since the value of discriminant $D = 0$ so both the roots are having the same value. Now the value of $x$ is given as
$x = 2$

Hence, the solution of the above equation is $x = 2$

Note:
In the solution of a quadratic equation, there exist two roots.
The discriminant in the quadratic formula is given as $D = {b^2} - 4ac$ .
If the value of discriminant is greater than zero, then we get two different roots, if discriminant is equal to zero, then we get the same roots, and if discriminant is less than zero, then we get imaginary roots.