How do I solve a quadratic equation?

To solve a quadratic equation we need to find the value of x for which a*x2+b*x+c=0,where a,b,c are constants.There are some well known formulas which you should get accustomed with.However,in this answer,I'll try to make you understand where from this formulas actually come from,and make you understand how to solve a quadratic equation.

If we take the common factor a,we get a*(x2+(b/a)*x+c/a)=0.(Note that a must be different from 0,otherwise the equation becomes b*x+c)

We try to write this equation of order 2 as a product of two equations of order 1.

Therefore,a*(x2+(b/a)*x+c/a)=a*(x-t)(x-s)=0. If we can find s and t for which the first equality holds true, we solved the initial equation,and we would have solutions s and t.

So (x-s)(x-t)=x2-x(s+t)+s*t,and must be equal with our equation(we divide by a),so:

x2-x(s+t)+s*t=x2+(b/a)*x+c/a. If we are able to find s and t such that s+t=-b/a and s*t=c/a then the equality mult be true and we solved our initial equation.(This 2  relations are also called Vieté relations.)

So we square the first relation and get   s2+t2+2*s*t=b2/a2.We subtract 4*s*t=4*c/a and get:

(s-t)2=s2+t2-2*s*t=b2/a2-4*c/a.=b2/a2-4*a*c/a2(we amplified a/c with a). So :

(s-t)2=(b2-4*a*c)/a2,so if we take the square root of this we get:

|s-t|=(b2-4*a*c)1/2/a. The expression b2-4*a*c got the name of determinant and is noted with a triangle. However,I'll note it with p.So, s-t = p1/2/a or s-t = -p1/2/a.

For the first case :

If we add s+t=-b/a,we obtain:

s=(-b+p1/2)/(2*a). and t=(-b-p1/2)/(2*a). Make yourself the calculations and find that

s=(-b-p1/2)/2*a  and t+(-b+p1/2)/2*a for the seond case as well. This is in fact the same case.(As both tells us the same thing, x2+(b/a)*x+c/a=( x- (-b-p1/2) / (2*a) ) ( x- ( b - p1/2) / ( 2*a) )  )  with the first one.

Now we can verify it by calculations,and get that the equality is indeed true.(a necessary step as we made a lot of assumptions along the way.However,as long as we can verify this by direct calculation,nothing else matters anymore.)

Therefore,we found out the values of s and t in terms of a,b and c,so therefore we found the solutions we were looking for.


The solutions are: s=(-b+p1/2) / (2*a). and

t=(-b-p1/2) / (2*a) , where p=b2-4*a*c.(Only in the case where this solutions exist and are real)

Challenge: Use this to solve the following:

1.) x2+8*x+7=0


Good luck!


1.) The solutions are -1 and -7.

2.) The solutions are -4 and -7.

Marco-Iulian G. GCSE Maths tutor, Uni Admissions Test .MAT. tutor, A ...

1 year ago

Answered by Marco-Iulian, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£20 /hr

Sara D.

Degree: Computer Science and Mathematics (Bachelors) - Edinburgh University

Subjects offered:Maths, Physics+ 2 more

Further Mathematics

“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

£20 /hr

Iebad A.

Degree: Aerospace Engineering (Masters) - Sheffield University

Subjects offered:Maths, Italian


“About me: Hello, my name is Iebad and I am an aerospace engineering student at The University of Sheffield. As an engineer, maths is the key to unlock all the solutions to our problems in this field. Since the early years I had a broad...”

£20 /hr

Samuel J.

Degree: Physics (Masters) - Manchester University

Subjects offered:Maths, Physics


“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

About the author

Marco-Iulian G. GCSE Maths tutor, Uni Admissions Test .MAT. tutor, A ...

Marco-Iulian G.

Currently unavailable: for regular students

Degree: Mathematics&Computer Science (Masters) - Bristol University

Subjects offered:Maths, Further Mathematics + 2 more

Further Mathematics

“I'm in my first year at University of Bristol, studying Mathematics and Computer Science MEng. From an early age I started to participate in lots of contests and maths olympiads, and the experience I achieved along the way enriched bo...”

You may also like...

Posts by Marco-Iulian

How can I find x and y?

How do I make calculations with percentages?

How do I solve a quadratic equation?

How do you solve this problem?

Other A Level Maths questions

The radius of a circular disc is increasing at a constant rate of 0.003cm/s. Find the rate at which the area is increasing when the radius is 20cm.

Rationalise the complex fraction: (8 + 6i)/(6 - 2i)

Edexcel C3 June 2015 Q1: tan(x)=p, where p is a constant. Using standard trigonometric identities, find the following in terms of p. a) tan(2x). b) cos(x). c) cot(x-45).

give the coordinates of the stationary points of the curve y = x^4 - 4x^3 + 27 and state with reason if they are minumum, maximum, or points of inflection.

View A Level Maths tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss