symbolipoint said:
The discriminant occurs when you use Completing the Square to generally solve a quadratic equation; as well as if you use Completing the Square to solve a particular quadratic equation.
The discriminant shows up in the Quadratic Formula, which is derived by completing the square. If you solve a quadratic equation by completing the square, you won't see the discriminant.
For example, solve ##x^2 - 4x - 1 = 0##
1. By Quadratic Formula
##\Rightarrow x = \frac{4 \pm \sqrt{4^2 - (4\cdot 1 \cdot (-1)}}{2} = \frac{4 \pm \sqrt{20}}{2} = 2 \pm \sqrt{5}##
Here the discriminant is ##b^2 - 4ac## = 16 - (-4) = 20
2. By completing the square
##x^2 - 4x - 1 = 0##
##\Rightarrow x^2 - 4x + 4 = 1 + 4##
##\Rightarrow (x - 2)^2 = 5##
##\Rightarrow x - 2 = \pm \sqrt{5}##
##\Rightarrow x = 2 \pm \sqrt{5}##
Notice that the discriminant (20) never explicitly appears in completing the square.