Skip to content
/ Function grapher

Function grapher

Type one or more functions: curves plot instantly, with the derivative, tangent, integral and key points. Drag to move the view, scroll or pinch to zoom.

Axes and grid

Window x …   y …
Tick spacing on x on y
Grid Subdivisions

Table of values

from x = step
Export:

How do I type a function?

  • Operations: + - * / ^; multiplication can be implied: 2x, 3sin(x), (x+1)(x-1).
  • Functions: sqrt, abs, exp, ln, log (base 10), sin cos tan (radians), asin acos atan, sinh cosh tanh, floor ceil sign. Constants pi (or π) and e.
  • Any other letter (a, b, k…) is a parameter, adjustable with a slider.

How is it computed?

The derivative is exact (differentiation rules, then simplification) and shown in maths notation. Zeros, extrema and intersections are found from sign changes of f, f′ or f − g, then refined by bisection. The integral uses Simpson's rule with 2,000 intervals.

Interpolation

Enter points (or take them from a plotted function) and pick a method: Lagrange or Newton polynomial (the same polynomial written differently, with the divided-difference table), Hermite polynomial that also matches given slopes, piecewise cubic Hermite, natural cubic spline or linear interpolation. Taking 11 equally spaced points of 1/(1 + x²) between −5 and 5 shows Runge's phenomenon; with Chebyshev nodes or a spline, the gap drops.

Frequently asked questions

How do I put the graph in a LaTeX document?

The “TikZ (pgfplots)” button gives code to paste into your document (trig functions are converted to degrees for pgfplots). See also the LaTeX assistant and TikZ to SVG.

Are my graphs saved?

They stay in your browser, and the share link holds the functions and the visible window.

Example: a full function study

Type x^2 - 2x - 3. The tool plots the parabola and gives:

To check hand-worked exercises, compare each result; to prepare a lesson, export the figure as TikZ (pgfplots) or SVG.

Using parameters

Any letter other than x and e becomes a parameter with a slider. Type a*x^2 + b and vary a: the parabola widens, narrows or flips when a goes negative; b shifts it vertically. With a*sin(b*x) you can see amplitude and period (2π/b). It is a great way to let students form conjectures before the proof.

Interpolation: for university

Printing to scale

For an exact paper document (1 unit = 1 cm), turn on “fixed units” and print at 100%, without fit-to-page. SVG and TikZ keep the same scale; PNG is saved at 300 dpi. The table of values starts from the step you choose, ready for an exercise.

Common input mistakes

Guide written and checked by Erwan Hautot · updated 3 November 2026.