مرکزی مواد پر جائیں
Learning LoftInstitute

مفت اوزار

Quadratic Equation Solver With Full Working

Solve ax² + bx + c = 0 and see the working a mark scheme wants: the discriminant, exact surd roots, brackets where they exist, and the completed square.

مختصر جواب

This solver takes a, b and c — whole numbers, decimals or fractions — and shows the discriminant, the roots in exact surd form as well as to 3 significant figures, the factorised brackets where they exist, and the completed square with its turning point. It will not invent brackets that do not exist, and it gives no complex roots.

Whole numbers, decimals or fractions: 3, −0.75 and 1/2 all work. Up to four digits each, and decimals to three places.

Your equation

x² − 5x + 6 = 0

Discriminant

b² − 4ac = 25 − 24 = 1

Positive, so there are two different real roots and the curve crosses the x-axis twice.

It is a perfect square — 1² = 1 — so the roots are whole numbers or fractions and the expression factorises.

Roots

Exact
x = 2x = 3
To 3 significant figures
x = 2.00x = 3.00

Auto chose factorising: the discriminant is a perfect square, so whole-number brackets exist and that is the working an examiner expects to see first.

Factorised form

x² − 5x + 6 = (x − 2)(x − 3)

Set each bracket to zero: x − 2 = 0 gives x = 2, and x − 3 = 0 gives x = 3.

Completed square

  1. Half of −5 is −5/2, so the bracket is (x − 5/2)².
  2. Expanding (x − 5/2)² brings in an extra 25/4 that was not in the original, so it has to be taken away again.
  3. That leaves:(x − 5/2)² − 1/4 = 0
Turning point
(5/2, −1/4)
Line of symmetry
x = 5/2

a is positive, so the parabola opens upwards and that point is the minimum.

The formula, term by term

x = (−b ± √(b² − 4ac)) / 2ax = (−(−5) ± √((−5)² − 4(1)(6))) / (2 × 1)
  1. −b = 5
  2. b² = 25
  3. 4ac = 24
  4. b² − 4ac = 25 − 24 = 1
  5. 2a = 2
  6. √1 = 1, a whole number or a fraction, so no surd is needed.
x = 2 or x = 3

Exact fractions and surds throughout — nothing is rounded before the 3 significant figure line

How to use it

Write your equation in the form ax² + bx + c = 0 first, with everything on one side, then type the three coefficients. Signs matter: in x² − 5x + 6 = 0 the value of b is −5, not 5. Fractions are accepted as they are written, so 1/2 goes in as 1/2 and is kept exact rather than turned into 0.5.

The method box decides which working is shown first, not what is calculated — every applicable route is shown underneath in any case. Auto picks factorising when the discriminant is a perfect square, the formula when it is not, and completing the square when there are no real roots, which is the order an examiner would work in.

If you ask for factorising on an equation that has no whole-number brackets, the tool says so plainly instead of rounding something into brackets that do not exist.

  • a — the number in front of x². It cannot be 0, or the equation is not quadratic.
  • b — the number in front of x, carrying its sign.
  • c — the constant left over once everything is on one side.

How the calculation works

Everything is done in exact fractions. The coefficients are parsed into rationals and stay that way through the discriminant, the roots, the brackets and the completed square, so no rounding error can creep in. A decimal appears only on the last line, and it is labelled as 3 significant figures.

The discriminant b² − 4ac comes first, because it decides everything that follows. Positive means two real roots; zero means one repeated root and a curve that touches the axis; negative means no real roots. If it is a perfect square, the roots are rational, which is exactly the condition for whole-number brackets to exist — that is why the tool can tell you an equation does not factorise rather than leaving you to guess.

For the surd form, the discriminant is split into its largest square factor and a squarefree remainder, so √8 becomes 2√2 and the roots are written over a single denominator the way a mark scheme writes them: (−3 ± √17)/2. Completing the square uses a(x + b/2a)² + (c − b²/4a), which is where the turning point (−b/2a, c − b²/4a) and the line of symmetry come from.

What it deliberately does not do

It gives no complex roots. When the discriminant is negative, the answer at GCSE, IGCSE and Digital SAT level is that there are no real solutions, and the completed square is shown as the proof: a square cannot be negative, so the whole expression has a minimum above the axis or a maximum below it. A pair of numbers with an i in them would be a wrong answer on every one of those papers.

It does not force a factorisation. Plenty of solvers will hand back brackets with decimals in them, which are not brackets any exam would accept and cannot be checked by expanding. If the discriminant is not a perfect square, this tool says there are no whole-number brackets and moves to the formula.

It does not sketch the curve, and it does not claim to know which method your teacher wants. Auto follows the discriminant, which is the mathematical rule rather than a house style.

Where students lose the marks

The most common loss is not the answer but the form of it. A question that says "leave your answer in surd form" wants (−3 ± √17)/2; 0.562 and 3.56 are the same numbers and score less, because the accuracy mark is for the exact value. The reverse also happens — a question asking for 2 decimal places gets a surd and drops the final mark.

The second is a sign error inside the formula. With b = −5, the numerator opens −(−5) = 5, and b² = 25 whether b is 5 or −5. Writing −5² instead of (−5)² turns 25 into −25 and the discriminant with it, which is why the tool prints −b, b² and 4ac as separate lines before combining them.

The third is the turning point read off the completed square with the wrong sign. In (x + 3)² − 4 the turning point is (−3, −4): the x-coordinate is the number that makes the bracket zero, so its sign flips, while the constant outside carries straight through. Reading it as (3, −4) is one of the most reliably lost marks on the higher paper.

عام سوالات

Is the quadratic formula given to me in the exam?

It depends on the board and the series, and both Edexcel and AQA publish exactly what is provided for each set of papers — the pages are linked below and are worth checking for your own series rather than trusting a rule of thumb. Learn it regardless: a formula you have to look up is a formula you use slowly.

How do I know whether an equation factorises before I start?

Work out b² − 4ac. If it is a perfect square — 1, 4, 9, 16, 25 and so on — the roots are rational and whole-number brackets exist. If it is not, no amount of searching will find them, and the formula or completing the square is the route. This tool shows that check every time.

Why does the answer come out as a surd instead of a decimal?

Because the exact value is the answer and the decimal is an approximation of it. √17 is not 4.12; it is a number whose square is exactly 17. Mark schemes ask for the surd wherever the question does not specify rounding, and the decimal is offered here only as a sense check on the exact line above it.

What does the completed square give me that the formula does not?

The turning point and the line of symmetry, which the formula never produces. If a question asks for the minimum value of an expression, or for the coordinates of the vertex, or to prove an expression is always positive, completing the square is the method that answers it — the roots are almost incidental.

حوالہ جات

  1. Edexcel GCSE Mathematics (2015) — qualification pagePearson Edexcel
  2. AQA GCSE Mathematics (8300) — appendix: mathematical formulaeAQA
  3. Important information on the provision of formulae in GCSE MathematicsPearson

آخری تازہ کاری

کوئی سوال جس کا جواب یہ اوزار نہ دے سکے؟

ہم سے براہِ راست پوچھیں۔ ہم اُسی زبان میں جواب دیتے ہیں جس میں آپ لکھیں، اور پہلی کلاس بہرحال مفت ہے۔

اختیاری
اختیاری
مضامین

جو کچھ بھی پڑھوانا چاہتے ہیں سب منتخب کریں

کلاس کی نوعیت
اختیاری
اختیاری

آپ جتنی واضح تفصیل دیں گے، ہم اتنا ہی بہتر ٹیوٹر منتخب کر سکیں گے۔

WhatsApp پر پیغام بھیجیں