Inequality Grapher
Plot a function and visually identify where it is positive (above the x-axis) or negative.
About the Inequality Grapher
Plot a function and visually identify where it is positive (above the x-axis) or negative.
How to use this calculator
- Enter a function, such as \(f(x)=x^2-4\), into the grapher.
- Choose whether you want the graph to show positive regions, negative regions, or both.
- Look for where the curve crosses the x-axis, because those points usually separate the sign intervals.
- Read the intervals from the graph, then write the answer using interval notation or inequality notation.
The formula explained
The graph shows where \(f(x)\) is positive, meaning \(f(x)>0\), and where it is negative, meaning \(f(x)<0\). The x-axis crossings are the boundary points where the sign can change.
- x = the input value on the horizontal axis
- f(x) = the output of the function being graphed
- 0 = the x-axis level used to test whether the graph is positive or negative
Step by step method
- Set the function equal to \(0\) to find the x-intercepts, because those are the points where the sign can change.
- Test a point in each interval between the intercepts to see whether \(f(x)\) is positive or negative.
- Use the graph to confirm which intervals are above the x-axis and which are below it.
Worked example
Problem. Graph \(f(x)=x^2-4\) and identify where the function is positive and where it is negative.
- Find the x-intercepts by solving \(x^2-4=0\), which gives \(x=-2\) and \(x=2\).
- Check the intervals \((-infty,-2)\), \((-2,2)\), and \((2,infty)\). For \(x=0\), \(f(0)=-4\), so the graph is below the x-axis between \(-2\) and \(2\). For \(x=3\), \(f(3)=5\), so the graph is above the x-axis to the right of \(2\).
- Therefore, \(f(x)>0\) on \((-infty,-2)\cup(2,infty)\) and \(f(x)<0\) on \((-2,2)\).
Answer. Positive on \((-infty,-2)\cup(2,infty)\), negative on \((-2,2)\).
Tips and common mistakes
- Do not include the x-intercepts when the inequality is strict, like \(>0\) or \(<0\), because the function equals \(0\) there.
- If the graph only touches the x-axis and turns around, the sign may not change at that point.
Frequently asked questions
How do I read an inequality from the graph?+
Where the curve is above the x-axis, f(x) > 0; below, f(x) < 0.
Can I shade regions?+
This grapher highlights the curve; sign is read against the x-axis.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Grapher
Plot y = |f(x)| and see the characteristic V-shape and reflections.
Cosine Function Grapher
Plot y = A·cos(Bx + C) + D and compare it with the sine wave.
Cubic Function Grapher
Plot cubic functions y = ax³ + bx² + cx + d, including their inflection and turning points.
Derivative Grapher
Plot a function together with its numerical derivative f'(x) to see slope behavior.
You Might Also Like
Popular tools from other categories
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.