Education
Toolin.io

How to Plot a Math Function

4 min readEducation

Visualising mathematical functions is essential for understanding their behaviour. The Toolin Math Plotter lets you type any equation and see its graph rendered instantly in your browser. It supports polynomials, trigonometric functions, logarithms, exponentials and more, all without installing graphing software.

Quick Steps

  1. 1
    Open the Math Plotter

    Navigate to the Math Plotter tool on Toolin.

  2. 2
    Type your equation

    Enter a function like sin(x) or x^2 - 4 in the expression input field.

  3. 3
    View the graph

    The plot renders immediately, showing the curve on a labelled coordinate grid.

  4. 4
    Adjust the range

    Change the x and y axis bounds to zoom into the area you want to study.

  5. 5
    Add more functions

    Click the add button to plot additional equations on the same axes for comparison.

  6. 6
    Read point values

    Hover over the curve to see exact x and y coordinates at any position.

Math Function Plotter

Graph 2D mathematical functions

Open Tool

Getting Started with the Plotter

1
Enter your function

Type a mathematical expression using standard notation. For example, enter sin(x), x^2 - 4, or log(x) to plot that function.

2
Adjust the viewing window

Set the x-axis and y-axis ranges to zoom in on the region of interest. The default range covers -10 to 10 on both axes.

3
Add multiple functions

Plot several functions on the same graph by adding additional expression rows. Each function is drawn in a distinct colour.

4
Analyse the graph

Hover over the curve to read coordinates at any point. Use this to identify roots, maxima, minima and intersections.

Supported Function Types

  • Polynomials: x^2, 3x^3 - 2x + 1
  • Trigonometric: sin(x), cos(x), tan(x), and their inverses
  • Exponential and logarithmic: e^x, exp(x), log(x), ln(x)
  • Square roots and absolute values: sqrt(x), abs(x)
  • Combinations and compositions: sin(x^2), e^(-x^2)

Example: Plotting a Quadratic

f(x) = x^2 - 3x + 2

Roots: x = 1 and x = 2 (where the curve crosses the x-axis)
Vertex: x = 1.5, y = -0.25 (the minimum point)
Y-intercept: (0, 2)

Use Cases for Students and Teachers

Students can use the plotter to verify homework answers by graphing assigned functions and checking roots or intersections visually. Teachers can project the tool in class to demonstrate how parameter changes affect a graph, for example showing how the coefficient a stretches or compresses a parabola y = ax^2. The instant feedback makes abstract equations tangible and easier to understand.

Frequently Asked Questions

What notation should I use for exponents?
Use the caret symbol (^) for exponents. For example, x^2 for x squared or x^(1/3) for the cube root of x. You can also use sqrt(x) for square roots.
Can I plot parametric or polar equations?
The plotter currently supports standard y = f(x) Cartesian functions. For parametric or polar plots, express them in Cartesian form or check back for future updates.
Is there a limit to how many functions I can plot at once?
You can plot multiple functions simultaneously. While there is no strict limit, keeping it under 10 functions ensures the graph remains readable and performance stays smooth.

100% Private & Secure

This tool runs entirely in your browser. Your files and data never leave your device.

Related How-To Guides

Related Tools