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 ...

10 months 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


PremiumTom J. A Level Economics tutor, IB Economics tutor, GCSE Economics tu...
View profile
£24 /hr

Tom J.

Degree: MSc Ecological Economics (Masters) - Edinburgh University

Subjects offered: Maths, Philosophy+ 2 more


“I have fostered a passion for teaching ever since taking the opportunity to travel to China and teach at an English language school for Chinese pupils.  This experience not only massively broadened my horizons culturally, but also gav...”

Oliver W. A Level Chemistry tutor, GCSE Chemistry tutor, A Level Math...
View profile
£22 /hr

Oliver W.

Degree: Physical Natural Sciences (Chemistry) (Masters) - Cambridge University

Subjects offered: Maths, Chemistry


“Second year chemist, from the University of Cambridge, with several years experience tutoring in Chemistry and Core Mathematics.”

Julia L. A Level Maths tutor, A Level Economics tutor, A Level Russia...
View profile
£22 /hr

Julia L.

Degree: Economics L100 (Bachelors) - Durham University

Subjects offered: Maths, Sociology+ 2 more


“Hi! My name is Julia, and I am Durham University student. I have just been through the stress of A level exams - I've been in your shoes, so now, my goal is to make your exam time as smooth and painless as it can be. I can help you wi...”

About the author

Marco-Iulian G. GCSE Maths tutor, Uni Admissions Test .MAT. tutor, A ...
View profile
£20 /hr

Marco-Iulian G.

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

If y = 5x^3 - 2x^2 + 2, what is dy/dx?

How will you simplify (3 xsquare root of 2) to the square?

A is a function of P . It is known that A is the sum of two parts, one part varies as P and the other part varies as the square of P . When P = 24 , A = 36 and when P = 18 , A = 9. Express A in terms of P .

How to get A and A* in Maths?

View A Level Maths tutors


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