Math App For Graphing

What are the roots, vertex, and intercepts of your equation?

Type any function — linear, quadratic, exponential, or trigonometric — and this tool calculates the key values you need: roots, vertex, slope, y-intercept, and domain behavior. No plotting software required.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Most people think graphing means drawing a curve. The actual value is in the numbers the curve encodes — roots tell you where a quantity hits zero, the vertex tells you where it peaks or bottoms out, and the y-intercept tells you the starting value. These three facts answer most homework and real-world function questions without ever plotting a single point.

For a quadratic ax² + bx + c, the vertex x-coordinate is always -b/(2a). This is not a coincidence — it is the midpoint between the two roots, and it is where the derivative of the function equals zero, meaning the slope is flat. Once you have the vertex x-coordinate, substituting it back into the equation gives the y-coordinate directly.

The discriminant (b² - 4ac) is a single number that summarizes the entire root situation. Positive: two distinct real roots. Zero: one repeated root (the parabola just touches the x-axis). Negative: no real roots. Experienced teachers use the discriminant as a fast filter before doing any other calculation — it tells them immediately how many solutions to expect.

When To Use This
Right tool, right situation

Use this tool when you need to extract specific properties — vertex, roots, intercepts, or a point value — from a known function type. It is well suited for checking homework answers, setting up optimization problems, or quickly evaluating what a function equals at a particular x.

This tool is appropriate when your equation fits cleanly into ax² + bx + c, ax + b, or a·b^x format. If your equation involves multiple terms of different degrees, nested functions, trigonometric components, or logarithms, the results here will not apply. Do not use this tool to analyze piecewise functions or parametric equations.

When the discriminant is negative and you are modeling a physical situation, stop and reconsider your equation before concluding the scenario is impossible — sometimes the model itself is wrong rather than the scenario. This tool gives you the math; interpreting whether the math fits the physical reality is a separate judgment.

Common Mistakes
Why results sometimes look wrong

The most common mistake is confusing the coefficient positions for quadratic versus linear functions. In quadratic form ax² + bx + c, b is the middle coefficient — not the y-intercept. The y-intercept is c. But in linear form ax + b, b is the y-intercept. Mixing these up causes wrong vertex calculations and wrong intercept reads.

A second mistake is assuming every quadratic has two roots. Students often try to factor or apply the quadratic formula without checking the discriminant first. If the discriminant is negative, no real factoring will work — the roots are complex, and the graph never crosses the x-axis. Checking discriminant sign first saves wasted algebra.

For exponential functions, the most frequent error is setting the base to a negative number or zero, expecting the function to model decay. Exponential decay requires a positive base less than 1 — something like 0.85 — not a negative base. A negative base produces oscillating values that are not real for non-integer x values, which is why this tool flags it as a boundary condition.

The Math
Worked examples and deeper derivation

Quadratic root formula: x = (-b ± √(b² - 4ac)) / (2a). This comes from completing the square on the general form. The ± is why you usually get two roots — adding the square root and subtracting it give two separate x values.

Vertex formula: x_v = -b / (2a), then y_v = a(x_v)² + b(x_v) + c. This is equivalent to converting from standard form to vertex form: a(x - h)² + k, where h = x_v and k = y_v.

For linear functions y = ax + b, the x-intercept (root) is where y = 0, so x = -b/a. The slope a controls rise over run — for every 1 unit you move right on the x-axis, y increases by a units. For exponential functions y = a · b^x, the y-intercept is always a (since b^0 = 1), and the base b determines whether the function grows (b greater than 1) or decays (0 less than b less than 1).

Homework problem: find where a ball hits the ground
Quadratic: a = -4.9, b = 20, c = 0
The roots come out to x = 0 and x = 4.08 seconds. The ball hits the ground at roughly 4.08 seconds. The vertex at (2.04, 20.4) tells you the ball peaks at about 20.4 meters — useful for checking whether it clears an obstacle.
Edge case: parabola that never crosses the x-axis
Quadratic: a = 1, b = 0, c = 9
The discriminant is -36, so the tool correctly flags no real roots. The vertex sits at (0, 9), meaning the lowest point of this upward parabola is still 9 units above the x-axis. This matters in optimization problems where you need to confirm a minimum exists above zero.
Small business owner modeling revenue growth
Exponential: a = 5000, b = 1.12, x = 5
f(5) = 8,811.71, meaning if revenue grows at 12% per period starting at $5,000, it reaches roughly $8,812 by period 5. The y-intercept confirms the starting value, and the base above 1 confirms this is growth not decay — something easy to misread from raw data.
Expert Unlock
The thing most explanations skip

The quadratic formula assumes the equation is fully expanded into standard form. If your equation comes from factored form — like (x - 3)(x + 2) — multiplying it out first is mandatory, not optional. Feeding factored coefficients directly into the a, b, c fields as if they were standard form is a silent error this tool cannot detect. At the edges, extremely large coefficients combined with small discriminants produce catastrophic cancellation in floating-point arithmetic — the formula subtracts nearly equal numbers, losing precision. In those cases, the numerically stable alternative is the Citardauq formula: compute roots as 2c / (-b ± √(b² - 4ac)) for the smaller root.

What do these function properties actually tell you?

How do I find the vertex of a quadratic equation?
The vertex x-coordinate is -b divided by 2a. Plug that back into the equation to get the y-coordinate. For f(x) = x² - 6x + 8, the vertex is at x = 3, y = -1 — the lowest point of the parabola. This is the minimum (or maximum if a is negative) of the function.
What does it mean when a quadratic has no real roots?
It means the parabola never crosses the x-axis. The discriminant (b² - 4ac) is negative, so the solutions involve imaginary numbers. In practical terms — if modeling a physical situation — it often means the scenario you are testing never happens, like a ball that never lands.
Can I use this tool to graph trig functions like sin or cos?
This tool covers quadratic, linear, and exponential functions only. Trigonometric functions have a different structure and require separate handling of period, amplitude, and phase shift. For sin and cos, look for a dedicated trig graphing tool where those parameters are explicit inputs.

Need something this doesn't cover?

Suggest a tool — we'll build it →