# Function Equation Plotter

Plot one or more y=f(x) expressions, mark roots and extrema, and generate SVG-ready graph output

> Canonical page: https://elysiatools.com/en/tools/function-equation-plotter

- **Category:** Math & Numbers

- **Keywords:** function, equation, plotter, math, graph

## Overview

Parses one or more equations such as sin(x)/x or x^2-2x, samples them over a shared domain, identifies approximate roots and local extrema, and can estimate an integral area for one selected series.

## Inputs

- **Expressions** (textarea): x^2 - 2*x sin(x)
- **X Minimum** (number)
- **X Maximum** (number)
- **Y Minimum** (number)
- **Y Maximum** (number)
- **Sample Count** (number)
- **Integral From** (number)
- **Integral To** (number)

## When to use

- When you need to visualize and compare multiple mathematical functions on a single set of axes.
- When you want to identify critical points like roots and local extrema without manual calculation.
- When you need to estimate the definite integral area under a curve and export the resulting graph.

## How it works

- Enter one or more mathematical expressions, such as x^2 - 2*x or sin(x), with each equation on a new line.
- Define the X and Y axis limits and set the sample count to control the resolution of the plotted curves.
- Specify the integration range to highlight and calculate the area under the curve for the selected function.
- Generate the interactive SVG graph displaying the curves, roots, extrema, and shaded integral area.

## Use cases

- Plotting a parabola alongside a sine wave to find their intersection trends and roots.
- Visualizing the definite integral area of a trigonometric function over a specific interval.
- Generating clean SVG graphs of mathematical functions for academic reports or presentations.

## Frequently asked questions

### How do I input multiple equations?

Enter each equation on a new line in the Expressions text area.

### What mathematical functions are supported?

Standard algebraic operators and trigonometric functions like sin(x), cos(x), and basic powers are supported.

### Can I customize the resolution of the graph?

Yes, you can adjust the Sample Count option between 40 and 1200 to change the plotting resolution.

### How does the tool calculate the integral area?

It estimates the definite integral between the 'Integral From' and 'Integral To' values for the plotted series.

### What format is the output graph?

The tool generates an SVG-ready HTML graph that displays the curves, roots, extrema, and shaded integral area.

## Related tools

- [Accessibility Checker](https://elysiatools.com/en/tools/accessibility-checker): Detect common WCAG 2.1 accessibility issues in HTML, fetched pages, or design images and return fix-ready guidance
- [Data URI Generator](https://elysiatools.com/en/tools/data-uri-generator): Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown
- [PDF Brand Guidelines](https://elysiatools.com/en/tools/pdf-brand-guidelines-pdf): Generate a brand guidelines PDF with logo, palette, typography, and spacing rules
- [SVG Favicon Generator](https://elysiatools.com/en/tools/svg-favicon-generator): Turn an SVG or raster logo into a complete favicon pack with ICO, PNG variants, Apple touch icon, and web manifest
- [Citation Generator](https://elysiatools.com/en/tools/citation-generator): Generate APA 7, MLA 9, Chicago, IEEE, BibTeX, and RIS citations from a DOI, ISBN, URL, or manually-entered metadata.
- [JWK Generator & Parser](https://elysiatools.com/en/tools/jwk-generator): Generate JSON Web Keys (JWK) for RSA, EC (P-256/P-384/P-521/secp256k1), and OKP (Ed25519/Ed448/X25519/X448), or parse an existing JWK to inspect its parameters, thumbprint, and metadata
- [SSH Key Pair Generator](https://elysiatools.com/en/tools/ssh-key-generator): Generate an SSH key pair (Ed25519 recommended, RSA 4096, or ECDSA P-256) with an OpenSSH-format public key ready for ~/.ssh/authorized_keys, a SHA256 fingerprint, and a PEM private key. Optional passphrase encryption. Runs locally.
- [SVG Chart to Data Extractor](https://elysiatools.com/en/tools/svg-chart-to-data-extractor): Reverse engineer SVG charts into data points for line, bar, scatter, and pie-style SVG structures

## Samples

- [SVG Samples](https://elysiatools.com/en/samples/svg-samples): Scalable Vector Graphics (SVG) samples demonstrating various SVG features and techniques
- [D3.js Data Visualization Samples](https://elysiatools.com/en/samples/d3js-data-visualization): Comprehensive D3.js data visualization examples including charts, maps, animations, and interactive visualizations
- [SVG Viewer Samples](https://elysiatools.com/en/samples/svg-viewer-samples): Sample SVG vector graphics (scene, icon set, diagram) for the in-browser SVG Viewer
- [XML Samples](https://elysiatools.com/en/samples/xml-samples): XML (eXtensible Markup Language) format examples from simple to complex structures

## Related content

- [SVG, Favicon, and Icon Asset Workflow Tools](https://elysiatools.com/en/hubs/svg-favicon-icon-workflows): Build favicon packs, optimize SVG assets, convert icons across ICO, PNG, JPG, WebP, and SVG, and prepare web-ready image assets in one hub.
- [JSON Schema, Mock Data, and API Fixture Generators](https://elysiatools.com/en/hubs/json-generate): Curated tools for JSON schema generation, mock payload building, and API fixture preparation in one hub.
- [CSS Effects, Palettes, and Design Token Generators](https://elysiatools.com/en/hubs/design-generate): Curated tools for CSS visual effects, palette building, and design token generation in one hub.
- [Printable PDF Layout and Template Generators](https://elysiatools.com/en/hubs/pdf-generate): Curated tools for printable PDF layout generation and reusable document templates in one hub.
