Graphing Calculator
Plot up to 6 functions or parametric curves with roots, extrema, intersections and SVG/PNG export.
How it works
Graphs y = f(x) for up to six functions (or parametric curves x(t), y(t)) over the range you choose, lists the roots, local minima and maxima and the intersection points numerically, prints a table of values and offers the graph as SVG and PNG downloads.
- Each function is parsed by the shared CAS core and evaluated in double precision at 600 points; jumps across vertical asymptotes are broken instead of joined, and extreme values are clipped unless you set y min/max.
- Roots: sign changes on a 4,000-point grid refined by bisection, plus touching roots (local minima of |f| that reach zero). Poles are excluded because |f| must be tiny at a root.
- Extrema: the derivative is computed symbolically and its roots are found the same way; each critical point is classified by comparing neighbouring values (inflection points are skipped).
- Intersections: roots of f_i − f_j for every pair of functions. All of these are numeric approximations (about 10 significant digits) and only cover the plotted range.
- The graph is an accessible SVG (title, description, data table); the PNG is rasterised from the same SVG with ImageMagick.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Proofline Math notebook
Solve, graph, test and visualise in one notebook — with data, findings and a report.
Related tools
- Math Workbench – Simplify, factor, differentiate, integrate, solve, take limits, series and plots in one box.
- Step-by-Step Equation Solver – Solve linear, quadratic, rational and radical equations or linear systems with every step shown.
How to use the Graphing Calculator
Plot up to six functions or parametric curves and get roots, minima, maxima, intersections and a table of values, with SVG and PNG export.
What it is for
You want to see what a function looks like, where it crosses zero, where it peaks or where two curves meet, without installing software or fiddling with a handheld calculator's window settings. Type up to six functions, one per line (y = x^2 - 2 or just x^2 - 2), choose the x range, and the calculator draws them. It also lists the roots, local minima and maxima, the intersection points of every pair of functions, and a table of values. Parametric curves such as cos(t), sin(t) are supported too. The graph comes as an accessible SVG and a PNG for worksheets, slides or homework.
All the results are numeric approximations (about ten significant digits) found inside the plotted range. For exact symbolic answers like x = √3, use the Step-by-Step Equation Solver or the Math Workbench.
Worked example
Example 1: y = sin(x) and y = x^2/4 - 1 on [−5, 5].
Result: "roots found: 5, extrema: 5, intersections: 2."
- sin(x) has roots at −π, 0 and π (−3.14159…, 0, 3.14159…), maxima of 1 at −4.712 and 1.571, and minima of −1 at −1.571 and 4.712.
- The parabola has roots at −2 and 2 and a minimum of −1 at x = 0. Its derivative is shown as
x/2. - The curves intersect at x ≈ −0.9132 (y ≈ −0.7915) and x ≈ 2.5175 (y ≈ 0.5844).
Example 2: x^3 - 3x on [−3, 3] with table step 0.5 gives roots at ±1.7320508 (√3) and 0, a maximum of 2 at x = −1 and a minimum of −2 at x = 1. The table runs from (−3, −18) to (3, 18) in 13 rows.
Example 4 shows asymptotes: 1/(x - 1) and x/2 on [−4, 4] with y fixed to [−6, 6]. The hyperbola is broken at x = 1 instead of being joined by a vertical line. It has no root (correct: the curve never reaches zero), and the two curves intersect at (−1, −0.5) and (2, 1).
How to read the result
- Curves: each function as parsed (check that
2x^2means what you meant), its derivative, roots, extrema and y-intercept. - Intersections: pairs of functions with x and y. Only pairs inside the plotted range are found.
- Table of values: x with each f(x). Use the table step to get round x values.
- Graph: the SVG scales without blur. The PNG is rendered from the same SVG.
Tips and common mistakes
- Angles are in radians.
sin(90)isn't 1. Writesin(pi/2)or convert degrees withx*pi/180. - Write powers with
^and use brackets generously:1/(x - 1)is not1/x - 1. - If a curve shoots off to infinity and flattens everything else, set y min/max. Asymptotes are clipped automatically, but a fixed window often reads better.
- Widen the x range if you expect more roots or intersections. Nothing outside the range is searched.
tan(x)on [−3, 3] reports only the root at 0, because ±π lie just outside. - Inflection points (like x = 0 for x³) aren't listed as extrema, by design.
- Up to six curves fit in one graph, but three or four are usually the readable maximum.
FAQ
Can it solve equations?
Indirectly. To solve f(x) = g(x), plot both and read the intersections, or plot f(x) − g(x) and read the roots. The answers are numeric. Use the Step-by-Step Equation Solver for exact solutions.
How do I plot a circle?
Use parametric mode with cos(t), sin(t) and t from 0 to 2π (the default). x^2 + y^2 = 1 can't be entered as y = f(x).
Why are roots shown with so many decimals?
They are numeric results to about ten significant digits, so √3 appears as 1.7320508075688772. Round them to what your task needs.
How accurate is the graph near asymptotes?
Each function is evaluated at 600 points, and jumps across vertical asymptotes are broken rather than joined. Very narrow features between sample points can still be smoothed over.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://graphingcalculator.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://graphingcalculator.usefulweb.site/mcp· tool namegraphing_calculator
Example request
curl -s -X POST https://graphingcalculator.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"functions":"y = sin(x)\ny = x^2/4 - 1","xMin":-5,"xMax":5}'