Calculatrice.ma
Quote & Invoice

Online graphing calculator

Plot and compare two functions f(x) and g(x), zoom, move the axes and read the coordinates. The table of values fills in automatically.

Function f(x):

Table of Values

xf(x)g(x)
x: 0.00, y: 0.00

How to plot a function

  1. Type your function in the f(x) field, for example x^2 - 4.
  2. Optionally add a second function g(x) to compare two curves (in purple).
  3. Zoom with the mouse wheel or the buttons, and drag to move the axes.
  4. Hover over the curve to read coordinates and check the table of values.

Syntax to use

WriteMeaningExample
^Powerx^3
* and /Multiplication and division2*x/3
sqrt( )Square rootsqrt(x)
sin cos tanTrigonometry (radians)sin(x)
log( ) / ln( )Common / natural logarithmln(x)
exp( )Exponentialexp(-x)
abs( )Absolute valueabs(x-2)

Always write the multiplication sign: 2*x, not 2x.

Reading a graph: what to look for

  • Roots: the points where the curve crosses the horizontal axis (f(x) = 0). For x^2 - 4: x = −2 and x = 2.
  • y-intercept: the value of f(0), where the curve crosses the vertical axis.
  • Intersection points: with f and g shown, the shared points are the solutions of f(x) = g(x).
  • Variation: the curve rises (increasing function) or falls (decreasing).

Example: solving an equation graphically

To solve x² = x + 2, plot f(x) = x^2 and g(x) = x + 2. The curves cross at x = −1 and x = 2: these are the solutions. Check: (−1)² = 1 = −1 + 2 and 2² = 4 = 2 + 2.

For a single calculation (sine of an angle in degrees, a logarithm…), use the scientific calculator.

Frequently asked questions

How do I write x squared?
Type x^2. For x cubed, x^3. For a square root, sqrt(x).
Can I plot two functions at once?
Yes: enter the first in f(x) and the second in g(x). Both curves appear in different colours on the same axes.
Are trigonometric functions in degrees?
No, on the graph sin, cos and tan use radians, as in calculus. One period of sin(x) is therefore 2π ≈ 6.28.
How do I find a function's roots?
Look for the points where the curve crosses the horizontal axis, then zoom in for a more precise reading or check the table of values.

Related tools