Home / Learn / Maths / Quadratic explorerTool #L68 (formerly #1151)

Quadratic equations explorer: parabola, roots, discriminant and completing the square

Slide a, b and c and watch the parabola move: vertex, roots and the discriminant update live, completing the square is drawn with tiles, and the middle term is split for you. With fresh practice questions.

Keep it one tap away for everyday use.

Bookmark Quadratic explorer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Slide a b c
  2. See curve
  3. Discriminant
  4. Practise
Nothing is uploadedWorks offline once open

Move the parabola

Level

y = x² − 5x + 6

Drag the blue vertex dot to move the curve, or use the sliders. Dots on the x axis are the roots.

a
b
c

The discriminant decides

Completing the square with tiles

    Split the middle term

    Try this

    • Keep a = 1 and b = −4. Slide c from 0 up to 6. Watch the two roots move together, meet at c = 4, then vanish. What is D at that moment?
    • Make a negative. The parabola turns upside down and the vertex becomes the highest point.
    • Drag the vertex left and right. The axis of symmetry x = −b/2a follows it, and b changes while a stays the same.
    • Find three different values of c that give whole-number roots when a = 1 and b = −6, then check them with "Split the middle term".

    Check yourself

    Fresh questions every time. Type numbers like 3, −2.5 or 3/2. Nothing is saved.

    What it does

    A quadratic equation ax² + bx + c = 0 is the place where the parabola y = ax² + bx + c crosses the x axis. This explorer puts the picture and the algebra side by side, so you can see why there are sometimes two roots, sometimes one and sometimes none. It follows the Class 10 maths topic quadratic equations (solving by factorisation, the quadratic formula and the nature of roots), and with the Class 11 level it also shows complex roots, from the Class 11 chapter on complex numbers and quadratic equations.

    Draw several curves together on the graphing calculator, or expand and factor bigger expressions with symbolic algebra.

    How to use it

    1. Move the sliders for a, b and c, or type values in the boxes beside them. The equation at the top and the graph change at once.
    2. Drag the blue dot (the vertex) around the graph. The curve slides with it; a stays the same, while b and c change to match.
    3. Read the facts under the graph: the vertex, the axis of symmetry, whether the curve opens up or down, the roots and where the curve meets the y axis.
    4. The discriminant card shows D = b² − 4ac with your numbers in it and says what kind of roots you have. The quadratic formula is filled in below it.
    5. Completing the square draws the x² tile, two strips of half of b each and the missing corner square, then lists every step of the algebra.
    6. Split the middle term looks for two whole numbers that add to b and multiply to a × c, then shows the factors.
    7. The quick buttons give a curve with two roots, one that just touches the axis, one that misses it and one upside down.

    What each setting does

    • a sets how steep the parabola is and which way it opens. Positive a opens upwards, negative a opens downwards. a cannot be 0 (then there is no x² term and the graph is a straight line).
    • b slides the vertex sideways and down, because the axis of symmetry is x = −b/2a.
    • c moves the whole curve up and down; it is where the curve meets the y axis.
    • Level: Class 10 says “no real roots” when D < 0. Class 11 also gives the complex roots p ± qi and the sum and product of roots, −b/a and c/a.

    A worked example

    Start with the page’s first example, x² − 5x + 6 = 0.

    • D = (−5)² − 4 × 1 × 6 = 25 − 24 = 1. D is positive, so there are two different real roots.
    • Formula: x = (5 ± 1) / 2, so x = 2 or x = 3. The two green dots sit at 2 and 3 on the x axis.
    • Vertex: x = −b/2a = 2.5, and y = 2.5² − 5 × 2.5 + 6 = −0.25, so the lowest point is (2.5, −0.25).
    • Splitting the middle term: two numbers that add to −5 and multiply to 6 are −3 and −2, so x² − 5x + 6 = (x − 2)(x − 3).
    • Completing the square: x² − 5x = −6; add (2.5)² = 6.25 to both sides; (x − 2.5)² = 0.25; x − 2.5 = ± 0.5.

    Now press Touches (x² − 4x + 4): D = 0 and the vertex sits on the axis at x = 2. Press Misses (x² + 2x + 5): D = −16, so there is no real root; switch to Class 11 to see −1 ± 2i.

    Check yourself

    The last card gives four fresh questions each time: solve a quadratic, find a discriminant, find a vertex and build a quadratic from its roots. Type your answer and press Check. If it is wrong you can try again or open the worked answer. Nothing you type is saved or sent.

    FAQ

    Why does the curve sometimes run off the graph? The graph shows x from −8 to 8 and y from −10 to 10 so that you can compare curves on the same grid. The vertex dot stays on the edge so you can drag it back.

    Why does splitting the middle term sometimes fail? It only works when the roots are rational, which happens when D is a perfect square. Otherwise use the quadratic formula.

    Is this the same as the NCERT book? It covers the same topics but is written by fibub. It is not part of NCERT. Use it next to your textbook.

    Where the numbers come from

    • Standard school algebra: the quadratic formula, the discriminant b² − 4ac, the vertex at x = −b/2a, completing the square and splitting the middle term. Written for fibub; not taken from any textbook.
    • Roots checked against numpy.roots and hand-worked examples; every whole-number split checked by expanding the factors back.

    Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

    Last updated 2026-11-09.

    Change log for Quadratic explorer

    1. Add #1151 Quadratic explorer Details on GitHub

    Every change to fibub

    Related tools

    Graphing calculator #T369 Plot y = f(x), any equation in x and y, polar r(θ) and parametric (x(t), y(t)) curves together, with sliders, zoom, tap-to-trace, roots, turning points and crossings, plus 3D surfaces z = f(x, y). Download PNG, SVG or CSV. Runs in your browser. Symbolic algebra #T370 Type an expression and simplify, expand or factor it, differentiate it, integrate it (with definite integrals), or substitute values. Exact fractions, answers you can copy as SymPy or LaTeX, and an honest 'could not integrate' when it is out of reach. Checked against sympy. Pythagoras proof playground #L69 Drag a right triangle and watch the squares on its sides add up. Slide through four visual proofs (rearrangement, Bhaskara, similar triangles, Baudhayana) with your own side lengths, and list Pythagorean triples. Polynomial zeros #L73 Slide the coefficients of a linear, quadratic or cubic polynomial and see its zeros where the graph meets the x axis. Drag a zero and the polynomial rebuilds itself. The sum and product of zeros are checked against the coefficients live. Linear pairs #L74 Type two equations and see their lines cross, run parallel or lie on top of each other. The ratio test says how many solutions there are, and the substitution and elimination methods are worked step by step with exact fractions. Algebraic identity tiles #L75 See each algebraic identity as a picture: slide a and b and the square or rectangle splits into its pieces with the identity filled in. Watch a² − b² turn into (a + b)(a − b), and pull the cube (a + b)³ apart into eight blocks. Arithmetic progression staircase #L79 Slide the first term a and the common difference d and watch the terms grow as a staircase of bars. The nth term and the sum of n terms are worked with your numbers, and Gauss's pairing trick is drawn as the staircase plus its upside-down copy. Sequence explorer #L161 Watch dot and matchstick patterns grow step by step, read their differences in a table, and get the rule for step n with the reason it works. Type any list of numbers to find its linear, quadratic or doubling rule and the next term. Factorising steps #L165 Type whole-number coefficients and watch the expression factorised step by step: the common factor, the identity that fits (a² − b², (a ± b)², a³ ± b³) or the split middle term, an area picture of the two brackets, and a check by expanding and by putting in a number. Linear word problems #L192 Pick a story (ages, tickets, a boat in a stream, a rectangle or banknotes) with fresh numbers, then reveal step by step how to name the unknowns, write the two equations, solve them by elimination or substitution and check the answer, with both lines drawn crossing at it. Inequality shader #L231 Type an inequality such as −2x + 5 ≥ 1 and see each step, the solution on a number line with open or filled dots, and its interval notation. Solve double inequalities, then shade up to three inequalities in x and y as half-planes and find where they overlap, with corner points and a tap-to-test point.