b2KIT

Function Plotter

Plot mathematical functions with zoom, pan, and trace. Supports polynomial, trigonometric, exponential, and logarithmic functions with derivative overlay.

Tested tool guide Tested browser tools Checked August 16, 2026

What Function Plotter does, with a checked example

Function Plotter turns an expression in x into an interactive Cartesian graph. Zoom and pan expose different intervals, while trace lets you inspect coordinates along the displayed curve. Enabling the derivative overlay places the function's rate of change on the same view. It is intended for polynomial, trigonometric, exponential, and logarithmic functions. The important surprise is that the window controls what you can see: a root, turning point, or asymptote outside the current range has not ceased to matter.

Worked example

A concrete input and expected output from the current implementation.

Input

x

Expected output

A straight line y = x through (0, 0). Tracing the curve at x = 2 gives y = 2.

For f(x) = x, the vertical coordinate always equals the horizontal coordinate. Its slope is 1, so enabling the derivative overlay adds the horizontal line y = 1.

How the result is produced

1

Expression to curve

The entered expression defines y = f(x): each horizontal coordinate x is paired with the function value f(x), which determines vertical position. Polynomial, trigonometric, exponential, and logarithmic expressions can be inspected on Cartesian axes. Panning shifts the visible coordinate region, and zooming changes its scale. Neither operation changes the expression or its mathematical domain.

2

Trace and derivative

Trace follows the plotted function so you can inspect an approximate coordinate in the current view. The derivative overlay adds f'(x) for comparison with f(x). A point where the derivative curve meets y = 0 marks zero slope when the derivative exists, but zero slope alone does not prove that f has a local maximum or minimum.

Good uses

  • Locating approximate zeros and turning regions of a polynomial before solving or differentiating it symbolically.
  • Inspecting several periods of a trigonometric function and checking the spacing of its zeros and steep regions.
  • Comparing an exponential or logarithmic curve with its derivative to judge how its rate of change varies across the visible interval.

Limits and checks

  • Trace coordinates are approximate screen readouts. Do not copy them as exact roots, intercepts, or extrema without separate verification.
  • A logarithmic expression is real-valued only where its argument is positive. A missing segment can indicate a domain restriction or an off-screen value, not zero.
  • Near a discontinuity such as one in tan(x), a branch may look nearly vertical. The vertical asymptote itself is not part of the function's graph.

Common questions

Does a plotted crossing prove an exact root?

No. A displayed x-axis crossing and its trace coordinate can estimate or bracket a root, but plotted pixels do not establish an exact solution. If the required answer is an exact value, confirm it algebraically. Zoom around suspected roots because a curve that only touches the axis may be easy to overlook in a wide window.

Why does the derivative overlay not match the height of the original curve?

The overlay represents slope, not another copy of f. For f(x) = x, the original height changes while the derivative stays at 1. Over an interval where the derivative remains positive, the function increases; where it remains negative, it decreases. A crossing of the two curves only indicates f(x) = f'(x) there, not a turning point.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools