Ekuation

Math

Graphing Calculator

An interactive graphing calculator that lets you plot and explore mathematical functions visually. Enter any function using standard math notation, add multiple functions with different colors, and interact with the graph using zoom, pan, and pinch gestures. Analyze roots, extrema, and y-intercepts automatically. Share your graphs via URL.

f1(x) =

How to Use

  1. Type a mathematical expression in the input field (e.g., sin(x))
  2. The graph updates in real-time as you type
  3. Click + Add Function to plot multiple functions simultaneously
  4. Drag to pan, scroll to zoom, or pinch on mobile
  5. Use the color picker to change curve colors
  6. Toggle visibility with the eye icon

Supported Functions

Basic

  • x^2 + 3x - 1 — polynomials
  • 2x + 5 — linear functions
  • abs(x) — absolute value
  • sqrt(x) — square root

Trigonometric

  • sin(x), cos(x), tan(x)
  • asin(x), acos(x), atan(x)
  • 2*sin(3x) — amplitude and frequency

Exponential & Log

  • e^x — natural exponential
  • 2^x — exponential with base 2
  • log(x) — natural logarithm
  • log(x, 10) — log base 10

Constants

  • piπ3.14159\pi \approx 3.14159
  • ee2.71828e \approx 2.71828
  • 1/x — reciprocal

Example Functions

Parabola:x^2 - 4
f(x)=x24f(x) = x^2 - 4

Opens upward, crosses x-axis at x = -2 and x = 2

Sine wave:2*sin(3x)
f(x)=2sin(3x)f(x) = 2\sin(3x)

Amplitude 2, period 2π/3

Gaussian:e^(-x^2)
f(x)=ex2f(x) = e^{-x^2}

Bell curve centered at origin

Tips

  • Use * for multiplication: 2*x not 2x (though both work in most cases)
  • Use ^ for exponents: x^2 means x squared
  • Parentheses matter: sin(2*x) is different from sin(2)*x
  • Zoom in near roots and extrema to see more detail
  • Share your graph by copying the URL — it encodes all your functions

Frequently Asked Questions

What types of functions can I graph?

You can graph polynomials, trigonometric functions (sin\sin, cos\cos, tan\tan and their inverses), exponential functions (exe^x, 2x2^x), logarithms (ln(x)\ln(x), log10(x)\log_{10}(x)), absolute value, square root, and compositions of all of these.

How many functions can I plot at once?

You can plot up to 10 functions simultaneously, each with a distinct color. Use the + Add Function button to add additional curves.

Why does my graph show gaps or discontinuities?

Some functions are undefined for certain values of xx. For example, log(x)\log(x) is undefined for x0x \leq 0, and tan(x)\tan(x) has vertical asymptotes at odd multiples of π/2\pi/2. The grapher correctly omits these undefined regions.

How do I share my graph with someone?

Your expressions are automatically encoded in the page URL. Simply copy the URL from your browser's address bar and share it. The recipient will see the same functions when they open the link.

What is the difference between roots and x-intercepts?

They are the same thing. A root (or zero) of a function f(x)f(x) is any value x0x_0 where f(x0)=0f(x_0) = 0. Geometrically, these are the points where the graph crosses or touches the x-axis.

How accurate are the root and extrema detections?

The calculator uses numerical methods (sign-change bisection for roots, three-point comparison for extrema) with high resolution sampling. Results are typically accurate to 4+ decimal places within the visible viewport. For exact analytical solutions, use a computer algebra system.


Disclaimer

This graphing calculator is provided for educational and exploratory purposes only. While the underlying math engine (mathjs) is well-tested, numerical methods for root-finding and extrema detection are approximate and may miss features in certain edge cases (e.g., very narrow roots, functions with high-frequency oscillations, or near-tangent x-axis crossings). Results should not be used as the sole basis for academic submissions, engineering decisions, or professional work without independent verification.

Related Calculators

6 Calculators

More Math calculators

Calculator Search

Search and find calculators