Inequality Grapher
Shade the region that satisfies one or more inequalities in x and y, with the boundary traced and the sampling grid stated. PNG and SVG download.
What this page draws
Draws the boundary of each inequality and shades the side that satisfies it, so y ≥ x² and 2x + y < 6 are visible regions rather than a list of steps.
How to use it
Type one inequality per line, for example y >= x^2 or 2x + y < 6. Set the rectangle, then press Draw. Each inequality gets its own colour and legend entry.
Worked example: y >= x^2 over −6 to 6 on both axes becomes a parabola with the region above it shaded and one legend entry.
What the picture states
Domain: x and y over the rectangle you type (default −6 to 6 on both axes).
Sampling: The boundary is traced on a 180 × 180 grid; the shading is sampled on a 180 × 140 grid of cell centres.
The caption under the picture repeats both, so the drawing and the facts cannot disagree.
How it works
Each inequality is split at its comparison sign into a left and a right expression. The difference is evaluated on a grid: the boundary is the zero contour traced by marching squares, and a cell is shaded when its centre satisfies the inequality.
What it refuses
A line with no comparison, an unreadable expression, a variable other than x or y, or an empty axis range is refused by name. A strict inequality shades the open side; the boundary is still drawn.
Where it runs
The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
Draws the boundary of each inequality and shades the side that satisfies it, so y ≥ x² and 2x + y < 6 are visible regions rather than a list of steps.
Each inequality is split at its comparison sign into a left and a right expression. The difference is evaluated on a grid: the boundary is the zero contour traced by marching squares, and a cell is shaded when its centre satisfies the inequality. The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
Domain: x and y over the rectangle you type (default −6 to 6 on both axes). Sampling: The boundary is traced on a 180 × 180 grid; the shading is sampled on a 180 × 140 grid of cell centres.
Worked example: y >= x^2 over −6 to 6 on both axes becomes a parabola with the region above it shaded and one legend entry.
How to use the inequality grapher
Type one inequality per line, for example y >= x^2 or 2x + y < 6. Set the rectangle, then press Draw. Each inequality gets its own colour and legend entry.
The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
- Inequalities, one per line — one value or one rule per line
- x from — a number
- x to — a number
- y from — a number
- y to — a number
What the picture states
Draws the boundary of each inequality and shades the side that satisfies it, so y ≥ x² and 2x + y < 6 are visible regions rather than a list of steps.
Each inequality is split at its comparison sign into a left and a right expression. The difference is evaluated on a grid: the boundary is the zero contour traced by marching squares, and a cell is shaded when its centre satisfies the inequality.
- Domain: x and y over the rectangle you type (default −6 to 6 on both axes).
- Sampling: The boundary is traced on a 180 × 180 grid; the shading is sampled on a 180 × 140 grid of cell centres.
- The caption under the picture repeats the domain and the sample count, so the drawing and the facts cannot disagree.
What it refuses, and what it leaves out
A line with no comparison, an unreadable expression, a variable other than x or y, or an empty axis range is refused by name. A strict inequality shades the open side; the boundary is still drawn.
- Not the right page for: the intersection of several inequalities, which has its own page
- Not the right page for: solving for the boundary algebraically
What to Expect
Best for
- a single two-variable inequality
- seeing which side of a curve satisfies a condition
- a quick sketch for a systems exercise
Not ideal for
- the intersection of several inequalities, which has its own page
- solving for the boundary algebraically
What this tool keeps
- The rectangle and the grid size in the caption
- One colour per inequality
- The strict/non-strict distinction
What may need cleanup
- Writing the variable names x and y
- Using the comparison sign the question uses
Common errors
- The comparison must be present: y > x, not y - x
- Implicit multiplication is accepted, so 2x means 2 times x
Example use cases
- A quadratic inequality
- A linear half-plane
- A feasibility sketch
Sample input
y >= x^2 over −6 to 6 on both axes
Sample output
a parabola with the region above it shaded and one legend entry
Who this is for
- Students
- Teachers
- Anyone checking a region
Frequently asked questions
Is my data sent anywhere?
The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
What can I download?
Two files from the same drawing: a PNG captured from the canvas and an SVG built from the same drawing operations. Both are produced in your browser, and neither is uploaded.
Why does the page state the domain and the sample count?
Because a picture is a finite sample of a mathematical object. Saying where it was sampled and how many points were used is the difference between a plot and a guess. x and y over the rectangle you type (default −6 to 6 on both axes). The boundary is traced on a 180 × 180 grid; the shading is sampled on a 180 × 140 grid of cell centres.
Is the boundary included?
The boundary line is always drawn. For a non-strict sign (≤ or ≥) it is part of the region; for a strict sign (< or >) the shading stops on the open side, which is what the sign means.
How is the shading sampled?
Cell centres on a 180 × 140 grid are tested against each inequality. A feature narrower than one cell can therefore be missed; the caption states the grid so the limit is visible rather than hidden.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.