how do you prove the quadratic equation?

the proof is simply to complete the square for a generalised quadratic equation. Like this:

ax2(xsquared) + bx + c = 0
Take 'a' outside:
a[x2 + bx/a + c/a] = 0
Divide through by 'a':
x2 + bx/a + c/a = 0
Complete the square:
(x + b/2a)2 - b2/4a2 + c/a = 0
Rearrange to find x:
(x + b/2a)2 = b2/4a2 - c/a
x + b/2a = (+/-)sqrt[b2/4a2 - c/a]
x = -b/2a (+/-) sqrt[b2/4a2 - c/a]
Finally, fiddle around so that (1/2a) can be taken out as a common factor:
x = -b/2a (+/-) sqrt[b2/4a2 - 4ac/4a2]
x = -b/2a (+/-) sqrt[(1/4a2)(b2 - 4ac)]
x = -b/2a (+/-) sqrt(1/4a2)sqrt(b2 - 4ac)
x = -b/2a (+/-) (1/2a)sqrt(b2 - 4ac)
x = [ -b (+/-) sqrt(b2 - 4ac) ] / 2a.

a bit easier to read ....

divide by a

x^2 + (b/a)x = -c/a
complete the square , add b^2/(2a^2) to both sides

x^2 + (b/a)x + b^2/(4a^2) = b^2/(4a^2) - c/a
write the left side as a square and add the two terms on the right
(x + b/(2a) )^2 = (b^2 - 4ac)/(4a^2)
take √ of both sides

x + b/(2a) = ± √(b^2 - 4ac)/(2a)
x = -b/(2a) ± √(b^2 - 4ac)/(2a)
= (-b ± √(b^2 - 4ac)/(2a)

To prove the quadratic equation, you need to demonstrate that it reliably produces the solutions for quadratic equations. The general form of a quadratic equation is:

ax^2 + bx + c = 0

To prove the quadratic equation, you can use the method of completing the square, which involves transforming the equation into a perfect square trinomial. Here's how you can do it:

1. Start with the general form of a quadratic equation: ax^2 + bx + c = 0.

2. Divide both sides of the equation by 'a' to make the coefficient of x^2 equal to 1:

x^2 + (b/a)x + c/a = 0

3. Move the constant term, c/a, to the right side of the equation:

x^2 + (b/a)x = -c/a

4. To complete the square, take half of the coefficient of x (b/a) and then square it [(b/2a)^2]. Add this value to both sides of the equation:

x^2 + (b/a)x + (b/2a)^2 = -c/a + (b/2a)^2

5. Simplify the right side of the equation:

x^2 + (b/a)x + (b^2/4a^2) = (-4ac + b^2)/(4a^2)

6. Factor the left side of the equation (it should be a perfect square):

(x + b/2a)^2 = (-4ac + b^2)/(4a^2)

7. Take the square root of both sides of the equation:

x + b/2a = ±√((-4ac + b^2)/(4a^2))

8. Isolate x by subtracting b/2a from both sides of the equation:

x = (-b ± √(b^2 - 4ac))/(2a)

This is the quadratic formula, which gives you the solutions to any quadratic equation in the general form. By following these steps, you have proven the quadratic equation.