Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Equation Visual Explorer


Drag the marble. Solutions are x where the curve hits level n. The sign chart shows where f(x) − n is positive vs negative.
nudge · shift+drag snap · [ ] step · space play · r reset
x=3
y-505n = 3x-8-7-6-5-4-3-2-10123456783
f(x)level nsolution/trail
f(0) = 0, n = 3not a solution (off by 3)
speed0.6×
solutions3
Templates & parameters
f(x) = ax + b ; solve f(x) = n
slope a
+1
-5015
intercept b
0
-808
level n
+3
-100310
Sign chart of f(x) − n
x < 33x > 3
f(x) − n0+
Explanation
at x = 0
f(0)= 00
n= 3+
f(x) \u2212 n= -3
f(x) \u2212 n = -3 \u2260 0 \u2192 not a solution
Here f is below level n = 3 by 3. Solutions are at 3; click any to jump.
A sloped line crosses any level exactly once — here at x=3x = 3, where curve and target agree. Learn more about the basic linear equation · All linear states







Key Terms


  • Equation f(x)=nf(x) = n — a statement that the value of the function ff at some xx equals the constant nn
  • Solution — a value of xx for which f(x)=nf(x) = n holds; geometrically, an xx where the curve y=f(x)y = f(x) crosses the horizontal line y=ny = n
  • Solution set — the set of all xx satisfying the equation, possibly empty, finite, or infinite
  • f(x) − n — the auxiliary function whose zeros are exactly the solutions of f(x)=nf(x) = n
  • Sign chart — a table tracking the sign of f(x)nf(x) - n across intervals separated by its zeros
  • Critical point (in this context) — a zero of f(x)nf(x) - n or a point where ff is undefined; the only places the sign of f(x)nf(x) - n can change
  • Marble — the draggable probe positioned at some xx in the visualizer; lets you read off f(x)f(x) at that point
  • Multiplicity — for polynomial equations, how many times a given solution is repeated as a root of f(x)nf(x) - n
  • Linear equationf(x)=nf(x) = n where ff is a degree-1 polynomial; has exactly one solution unless ff is constant
  • Quadratic equationf(x)=nf(x) = n where ff is a degree-2 polynomial; has zero, one, or two real solutions


Getting Started with the Visualizer

Open the explorer and you see a curve y=f(x)y = f(x) plotted against a horizontal target line y=ny = n. The blue marble sits on the curve at a chosen xx. Solutions of f(x)=nf(x) = n are exactly the points where the curve crosses the line.

The layout has two columns. On the left, the Hero panel shows the equation symbolically and the graph with the marble; the Controls panel below it holds equation parameters, templates, and interaction modes. On the right, the Sign chart panel displays a row-by-row table of signs for f(x)nf(x) - n, and the Explanation panel narrates the current step or live reading.

A type bar at the top of the page lets you switch between equation families — linear, quadratic, cubic, and absolute value — each with its own set of parameter sliders. No setup is needed: pick a type, drag the marble, and watch which intervals satisfy the equation light up.

Selecting an Equation Type

The type bar at the top of the page is a row of tabs, one per equation family the visualizer supports. Each tab carries a tooltip describing what the family looks like (degree, structure, typical solutions). Click a tab to switch families.

Switching the type does three things at once:

• The graph updates to show the new function f(x)f(x)
• The parameter sliders below the graph reconfigure to match the new family (a linear equation has two sliders for slope and intercept; higher-degree equations have more)
• The sign chart rebuilds with a new set of factors and intervals

The currently active type is highlighted in blue. Your last-chosen parameters for each family are preserved when you switch back, so you can compare how the same target nn behaves across different function shapes.

Three Interaction Modes

The Controls panel offers three modes for moving the marble, each grouped behind its own button. Only one mode is active at a time.

Drag — grab the marble with the mouse and slide it along the xx-axis. Hold shift to snap to integer values. The most direct way to probe how f(x)f(x) compares to nn at any chosen xx.
Step — click Previous and Next to jump the marble between stops: critical points, zeros of f(x)nf(x) - n, and other named landmarks. Useful for a guided tour of the equation's structure.
Auto — the marble plays back the sequence of stops automatically. A speed slider controls playback rate; Space toggles play/pause.

The current mode is highlighted in blue, with a small detail strip showing extra context (current step number, playback speed, and so on).

Adjusting Parameters and Using Templates

Each equation type has its own parameter sliders, laid out in a three-column grid below the graph. Drag a slider, click a tick to snap to a notable value, or type directly into the numeric input. Sliders that hit invalid combinations (such as a denominator forced to zero) display a red error chip with the reason.

The target value $n$ has its own slider — the horizontal line moves up and down as you drag it. Watching the line sweep across the curve makes the dependence of the solution set on nn visceral: solutions appear, merge at a tangent, and disappear as nn crosses critical levels.

Above the sliders, the Templates strip offers a few preset parameter combinations for the current type — useful as starting points for common shapes (no real solutions, a double root, two distinct roots, and so on). Click a template to load it; click again to clear it.

Reading the Sign Chart

The Sign chart panel on the right is a compact table tracking the sign of f(x)nf(x) - n across the real line. Reading it top to bottom:

Header row — the critical xx-values (zeros of f(x)nf(x) - n and any undefined points), in increasing order, dividing the real line into intervals
Factor rows — for each factor of f(x)nf(x) - n, a row of ++, -, or 00 entries showing the sign of that factor in each interval
Product row — highlighted, gives the sign of f(x)nf(x) - n itself in each interval, computed by multiplying the factor signs
Critical-point columns — show where each factor is zero or where f(x)nf(x) - n itself is undefined (marked in red)

Hovering or clicking an interval or critical point updates the explanation panel with details. The intervals where the product row reads zero are exactly the solution intervals of f(x)=nf(x) = n.

Reading the Explanation Panel

The Explanation panel below the sign chart has two tabs accessed via small buttons.

Steps — a numbered list reconstructing the standard solving procedure: rewrite the equation as f(x)n=0f(x) - n = 0, factor or otherwise reduce, locate the zeros, classify them by multiplicity, and read off the solution set. Each step is short and tied to what is on screen.
Live — a compact table that recomputes whenever the marble moves. It shows the marble's current xx, the value of f(x)f(x), the target nn, the difference f(x)nf(x) - n, and its sign, ending with a verdict: does the equation f(x)=nf(x) = n hold at this xx?

A short verbal summary below the table phrases the conclusion in plain language. The Steps tab is best for understanding *why* a solution is what it is; the Live tab is best for *checking* candidate solutions in real time.

Keyboard Shortcuts

The visualizer supports a small set of keyboard shortcuts that work whenever the page has focus (and you are not typing in an input).

Arrow Left / Arrow Right — nudge the marble in drag mode by 0.10.1; hold Shift to nudge by 11
[ and ] — step the marble to the previous or next named stop in step mode
Space — toggle play/pause in auto mode, or switch to auto mode if you are in another mode
R — reset all parameters, marble position, and mode to their defaults

The shortcut hint appears in the header above the type bar. The shortcuts are designed to let you sweep across the solution set without taking your hands off the keyboard, useful when you want to compare many configurations quickly.

Linear Equations in the Explorer

The Linear tab solves ax+b=nax + b = n — the family where the curve is a straight line and the story is short: one crossing, one solution, as long as the line actually slopes. The templates freeze the three characteristic pictures: the basic line, a steep line, and a falling line. A fourth state is not on the template strip but one slider-drag away: the constant equation, where a=0a = 0 kills the slope and the "one solution" rule breaks down.

Linear equations are where the marble metaphor is easiest to internalize — the curve meets any horizontal level exactly once — which makes this tab the right warm-up before the families where solution counts start to vary.

The Basic Linear Equation

The opening template freezes x=3x = 3 — the identity line f(x)=xf(x) = x against the level n=3n = 3. One clean crossing at x=3x = 3, marked on the axis; the marble waits at x=0x = 0, off by exactly 33.
y-505n = 3x-8-7-6-5-4-3-2-10123456783x = 3
x = 3, frozen

The identity line against level 3: one crossing, marked at x = 3. The marble waits at 0, its amber bar measuring the gap of 3 still to close.

No equation is more transparent, which is precisely its value as a first frame: the curve *is* the xx-value, so asking "where does f(x)f(x) reach 33?" answers itself. The sign chart underneath is correspondingly minimal — negative left of 33, zero at 33, positive right of it.

Every other state on this page is a complication of this picture: steeper slopes rescale it, negative slopes mirror it, higher degrees bend the line into curves that can cross a level more than once — or not at all. Compare the steep line for the first complication.

The Steep Line

The second template freezes 3x2=43x - 2 = 4: a slope-3 line meeting the level at the single solution x=2x = 2.
y-30-20-1001020n = 4x-8-7-6-5-4-3-2-101234567823x − 2 = 4
3x − 2 = 4, frozen

Slope 3 makes the line race through the level at x = 2. Steepness changes the sensitivity of the solution, never the count.

Steepness changes the *sensitivity*, not the count: there is still exactly one solution, but each unit the level moves shifts it by only a third. Algebraically that is the division step x=(nb)/ax = (n - b)/a — the steeper the line, the smaller the correction.

The frozen marble at x=0x = 0 reads f(0)=2f(0) = -2, a gap of 66 to the target — the amber bar in the frame measures exactly that vertical shortfall. Watching the bar shrink as the marble slides right is the graphical version of "closing in on the solution". The mirrored orientation is next, in the falling line.

The Falling Line

The third template freezes x+5=0-x + 5 = 0: a downhill line crossing level zero at x=5x = 5.
y0510n = 0x-8-7-6-5-4-3-2-10123456785−x + 5 = 0
−x + 5 = 0, frozen

The downhill line: still one crossing, at x = 5, but the sign chart flips — positive left, negative right.

A negative slope flips the geometry — the line now descends through the level — but not the arithmetic: one slope, one crossing, one solution. The sign chart is the giveaway detail: f(x)nf(x) - n is now *positive* on the left and *negative* on the right, the reverse of the rising templates.

That sign reversal matters more than it seems: for equations it changes nothing, but for the companion inequality tool it swaps which side of the crossing satisfies f(x)<nf(x) < n. The explorer's shared layout makes the comparison one click away.

The Constant Equation

Not a template, but one slider-drag away: set a=0a = 0 and the line goes flat. The frozen frame shows 2=32 = 3 — a horizontal line at height 22 that never touches the level 33. No solution markers appear anywhere.
y024n = 3x-8-7-6-5-4-3-2-10123456782 = 3
2 = 3 (a = 0), frozen

The degenerate line: slope zero, two parallel horizontals, no crossing anywhere. Zero solutions — or infinitely many if b = n.

This is the linear family's degenerate boundary, and the tool's own slider tooltip calls it out: when a=0a = 0 the equation has no solution unless b=nb = n. The dichotomy is total. If bnb \neq n, the two horizontal lines are parallel and distinct — the equation b=nb = n is simply false, and the solution set is empty. If b=nb = n, they coincide and *every* xx is a solution — the equation has become an identity.

Nothing in between is possible: a constant equation has zero solutions or infinitely many, never one. It is the first stop in a theme the other families continue — solution counts are governed by geometry, and degenerate geometry produces degenerate counts. Try it live: load the basic line and drag the slope slider to 00.

Quadratic Equations in the Explorer

The Quadratic tab solves ax2+bx+c=nax^2 + bx + c = n, and its four templates are a complete tour of what a parabola can do against a horizontal line: cross twice (two solutions), touch once (the tangent case), miss entirely (no solution), or be revisited with the level pushed up (raising the level).

The quartet is the discriminant of f(x)nf(x) - n made visible: positive, zero, negative — two, one, or zero real roots. Dragging the nn slider between the frozen states shows the transitions live: two solutions slide together, merge at the tangent, and vanish.

A Parabola with Two Solutions

The first quadratic template freezes x24=0x^2 - 4 = 0: an upward parabola sliced by the zero level at x=2x = -2 and x=2x = 2, both marked with dashed drop-lines to the axis.
y0204060n = 0x-8-7-6-5-4-3-2-1012345678-22x² − 4 = 0
x² − 4 = 0, frozen

The generic parabola picture: two symmetric crossings at ±2, dashed drop-lines marking both. Positive discriminant, drawn.

Two is the generic count for a parabola: any level strictly above the vertex is crossed exactly twice, once on each arm. Here the vertex sits at (0,4)(0, -4), the level runs at 00, and the two crossings land symmetrically at ±2\pm 2 — the symmetry of the picture reflecting the absence of a linear term.

The sign chart shows the signature quadratic pattern: positive, zero, negative, zero, positive — the parabola dips below the level between its two roots. Slide nn downward and watch the two solutions walk toward each other; where they meet is the next state, the tangent case.

The Tangent Case: One Solution

The second template freezes x2=0x^2 = 0: the level line grazes the parabola exactly at its vertex. One marker, at x=0x = 0 — and this time the marble happens to sit on it.
y0204060n = 0x-8-7-6-5-4-3-2-10123456780x² = 0
x² = 0, frozen

Tangency: the level grazes the vertex, one repeated root at 0 — and the marble happens to sit on it. Touch without crossing.

Tangency is the boundary case of the discriminant — zero, in this configuration — and the root it produces is *repeated*: x=0x = 0 counts twice as a root of x2x^2. The sign chart betrays the multiplicity: the product row reads positive, zero, positive, with no sign change across the root. The curve touches the level and retreats without crossing.

That failure to change sign is the visual definition of even multiplicity, and it is why the tangent case is fragile: nudge nn up and the single solution splits into two; nudge it down and both vanish into none. One slider unit in either direction changes the count.

A Parabola with No Solution

The third template freezes x2+4=0x^2 + 4 = 0: the parabola floats entirely above the level, its vertex at height 44, and the frame shows no solution markers at all.
y0204060n = 0x-8-7-6-5-4-3-2-1012345678x² + 4 = 0
x² + 4 = 0, frozen

The parabola floats above the level with nothing to mark. The picture of a negative discriminant — the roots have left the real line.

An empty solution set drawn honestly: the curve and the level line simply never meet, because x2+44>0x^2 + 4 \geq 4 > 0 for every real xx. The sign chart collapses to a single all-positive row — no zeros, no sign changes, no columns to inspect.

This is also the doorway to complex numbers: x2+4=0x^2 + 4 = 0 has no *real* solutions, but it has two imaginary ones, ±2i\pm 2i. The explorer draws the real story only — the picture of "no crossing" is exactly what "the roots moved off the real line" looks like from the real axis.

Raising the Level

The fourth template freezes x22x3=5x^2 - 2x - 3 = 5: a shifted parabola against a raised level, crossing at x=2x = -2 and x=4x = 4.
y020406080n = 5x-8-7-6-5-4-3-2-1012345678-24x² − 2x − 3 = 5
x² − 2x − 3 = 5, frozen

Off-center crossings at −2 and 4: the level absorbed into the constant term, the symmetry axis shifted to x = 1.

This state makes the page's central rearrangement concrete: subtract the level and solve x22x8=0x^2 - 2x - 8 = 0, which factors as (x4)(x+2)(x - 4)(x + 2). The two frozen markers are those factors' roots — the target n=5n = 5 has been absorbed into the constant term, exactly as the "solve f(x)=nf(x) = n via f(x)n=0f(x) - n = 0" recipe prescribes.

Unlike the symmetric two-solution state, the crossings here are off-center — the linear term 2x-2x pushes the vertex to x=1x = 1, and the two solutions sit symmetrically around *that* axis instead of around zero. Same count, same mechanism, less symmetry: a useful step away from special cases.

Cubic Equations in the Explorer

The Cubic tab solves ax3+bx+c=nax^3 + bx + c = n. A cubic's ends run to opposite infinities, so it can never miss a horizontal line — the question is only *how many times* it crosses: three (three roots), one (one root), or three again after the level moves off the symmetric zero (the shifted cubic).

The guaranteed crossing is the family's headline fact: every cubic equation has at least one real solution, a direct consequence of the intermediate value theorem. The local hills and valleys created by a negative linear coefficient are what open the door to three.

A Cubic with Three Roots

The first cubic template freezes x33x=0x^3 - 3x = 0: an S-shaped curve crossing the zero level three times — at 3-\sqrt{3}, 00, and 3\sqrt{3}.
y-400-2000200400n = 0x-8-7-6-5-4-3-2-1012345678-1.7301.73x³ − 3x = 0
x³ − 3x = 0, frozen

The full S: hill and valley straddling the level, three crossings at −1.73, 0, 1.73. The cubic’s maximum count.

Three is the cubic's maximum, and the frame shows what it takes: the negative linear term carves a local hill and valley, and the level line passes *between* their heights, meeting each monotone stretch once. The crossings at ±3±1.73\pm\sqrt{3} \approx \pm 1.73 land at irrational positions — the axis labels read 1.731.73, a quiet reminder that solution sets don't respect integer grids.

The sign chart alternates through all four intervals: negative, positive, negative, positive. That alternation — sign change at every root — certifies all three roots as simple. Compress the hill and valley away and you get the one-root cubic.

A Cubic with One Root

The second template freezes x3=0x^3 = 0: the pure cube, monotone from -\infty to ++\infty, crossing the level exactly once — at the origin, where the marble sits.
y-600-400-2000200400600n = 0x-8-7-6-5-4-3-2-10123456780x³ = 0
x³ = 0, frozen

The monotone cube crosses every level exactly once — here at its flattened triple root through the origin.

With no linear term to fight it, the cubic never turns back: it rises through every level exactly once, so *every* target nn yields exactly one real solution. This is the intermediate value theorem in its cleanest costume — a continuous curve from one infinity to the other cannot skip a level.

The root at 00 is triple (x3x^3 has x=0x = 0 with multiplicity three), and the sign chart records it with a change of sign — odd multiplicity crosses, unlike the quadratic's tangent touch. The flattened shelf around the origin is the picture of that tripled root: the curve crosses, but reluctantly.

The Shifted Cubic

The third template freezes x34x=3x^3 - 4x = 3: a cubic with pronounced hill and valley, against a level pushed up to 33. Three crossings again — at 1.30-1.30, 1-1, and 2.302.30.
y-400-2000200400n = 3x-8-7-6-5-4-3-2-1012345678-1.30-12.30x³ − 4x = 3
x³ − 4x = 3, frozen

The raised level still threads between hill and valley: three crossings, one exact (−1) and two irrational.

The raised level breaks the symmetry of the three-root state without changing the count — the level still threads between the local maximum and minimum. One root is exact: x=1x = -1 satisfies 1+4=3-1 + 4 = 3, and factoring it out leaves x2x3=0x^2 - x - 3 = 0, whose roots 1±132\tfrac{1 \pm \sqrt{13}}{2} are the two decimal markers in the frame.

The state is a working demonstration of how cubics are actually solved by hand: find one rational root, divide it out, and finish with the quadratic formula. The frozen frame shows all three answers before any algebra starts — the graph as an answer key.

Absolute-Value Equations in the Explorer

The Absolute value tab solves xh+k=n|x - h| + k = n — the V-shape family. The three templates mirror the parabola's trichotomy with sharper geometry: the level line cuts both arms (two solutions), passes exactly through the vertex (one solution), or runs below the vertex and never meets the graph (no solution).

The V makes the solution-count logic purely visual: the vertex sits at height kk, so everything depends on whether nn is above, at, or below kk. It is the same above/at/below story as the quadratic's discriminant — told without any algebra at all.

The V with Two Solutions

The first absolute-value template freezes x=3|x| = 3: the V-shape with its vertex at the origin, cut by the level line at x=3x = -3 and x=3x = 3.
y02468n = 3x-8-7-6-5-4-3-2-1012345678-33|x| = 3
|x| = 3, frozen

The V cut across both arms: two symmetric solutions at ±3 — two linear equations wearing one symbol.

The absolute-value equation is really two linear equations wearing one symbol: on the right arm x=3x = 3, on the left arm x=3-x = 3. The two frozen markers are those two answers, placed symmetrically because the V's arms have slopes ±1\pm 1.

Between the arms, the sign chart dips negative — x3<0|x| - 3 < 0 for x<3|x| < 3 — and the pattern negative-between, positive-outside is the V's standing signature, shared with the parabola's two-solution state. The difference is the corner: where a parabola turns smoothly, the V has a kink, and the kink is where the solution count pivots — see the vertex case.

The V at Its Vertex

The second template freezes x+3=3|x| + 3 = 3: the vertex is lifted to exactly the level height, and the line touches the V at the single point x=0x = 0 — the marble's own position.
y24681012n = 3x-8-7-6-5-4-3-2-10123456780|x| + 3 = 3
|x| + 3 = 3, frozen

Vertex meets level: a single touching point at x = 0, with a kink where the parabola would have a smooth turn.

The V's version of tangency: level and vertex agree, and the equation x=0|x| = 0 has the unique solution x=0x = 0. But the analogy to the parabola's tangent case has a limit worth stating — there is no multiplicity here in the polynomial sense, because x|x| is not a polynomial. The curve is not flat at the touching point; it comes in at slope 1-1 and leaves at slope +1+1.

The sign chart still shows the even-multiplicity *pattern* — positive, zero, positive, no sign change — proving the pattern belongs to the geometry (touch without crossing) rather than to polynomial algebra. One nudge of nn resolves the state into two solutions or none.

The V That Never Reaches

The last template freezes x+5=2|x| + 5 = 2: the V floats with its vertex at height 55, far above the level line at 22. No markers, no solutions.
y2468101214n = 2x-8-7-6-5-4-3-2-1012345678|x| + 5 = 2
|x| + 5 = 2, frozen

The V floats three units above the level it can never reach: a distance asked to be negative. Empty, with no complex rescue.

The inequality behind the emptiness is one line: x+55>2|x| + 5 \geq 5 > 2 for every xx, so nothing to solve. The explorer's result pill states it directly — *no real solutions* — and the sign chart is one all-positive stripe, the same degenerate chart the parabola's no-solution state produces.

One difference from the quadratic case deserves the closing word: there is no complex-number rescue here. x2+4=0x^2 + 4 = 0 has imaginary roots, but x+5=2|x| + 5 = 2 has no solutions in any number system where absolute value means distance — the equation is not hiding its answers off the real line; it simply asks for a negative distance. Empty can mean *empty*.

What Does f(x)=nf(x) = n Mean?

The equation f(x)=nf(x) = n asks for every xx at which the function ff takes the specific value nn. Geometrically, this is asking where the graph y=f(x)y = f(x) crosses the horizontal line y=ny = n — each crossing point gives one solution.

The number of solutions depends entirely on how the curve and the line interact:

• If they never meet, the equation has no solution — the solution set is empty
• If they meet at a single point, the equation has one solution — often the case for linear equations
• If the line crosses the curve cleanly at several places, the equation has several distinct solutions — common for polynomial equations of degree two or more
• If the line is tangent to the curve at a point, that point is a repeated solution (multiplicity at least two)

Solving f(x)=nf(x) = n is exactly the same as finding the zeros of f(x)nf(x) - n — that single rearrangement is what the sign chart and explanation panel both rely on.

For comprehensive theory on equations and solution sets, see algebra equations theory.

Why the Sign Chart Helps Even for Equations

Sign charts are most often associated with inequalities, but they are equally useful for equations. The reason: the zeros of f(x)nf(x) - n are exactly the points where its sign changes (or fails to change, in the case of repeated roots).

A sign chart for f(x)nf(x) - n presents the structure of the equation visually:

• Every column header in the chart marks a candidate solution
• Sign-change columns identify single (odd-multiplicity) solutions
• Columns where the sign does not change identify even-multiplicity solutions where the curve touches the line without crossing
• Columns labeled "undefined" mark points where ff itself blows up — these are not solutions of the equation but may be boundary points of the domain

Reading the sign chart, you get the complete solution structure at a glance without needing to plug values back into ff.

For the inequality version of the same idea, see inequalities visualizer.