Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Positive and Negative Intervals Calculator

How to use
  1. Type the function in the box f(x)=f(x) =.
  2. Read Positive on and Negative on: the intervals of xx where the graph is above and below the axis. Learn more about reading the answer
  3. Read the zeros, and the points where the function is not defined, if any.
  4. On the graph, green stretches are where the function is positive and amber stretches where it is negative. The dots are the zeros.
  5. How it was found tests one point in every interval. Learn more about the method

Positive and negative intervals
Positive on
(−1.7321, 0)∪(1.7321, ∞)\displaystyle (-1.7321,\ 0) \cup (1.7321,\ \infty)
Negative on
(−∞, −1.7321)∪(0, 1.7321)\displaystyle (-\infty,\ -1.7321) \cup (0,\ 1.7321)
Zeros at
x=−1.7321,x=0,x=1.7321\displaystyle x = -1.7321,\quad x = 0,\quad x = 1.7321
How it was found

The sign of f(x)=x3−3xf(x) = {x}^{3}-3 x can change only where the function is 00 or is not defined. Everywhere else it keeps the sign it has.

Solve f(x)=0f(x) = 0: x=−1.7321x = -1.7321, x=0x = 0, x=1.7321x = 1.7321.

On (−∞, −1.7321)(-\infty,\ -1.7321) try x=−6x = -6: f(−6)=−198f(-6) = -198, so ff is negative on the whole interval.

On (−1.7321, 0)(-1.7321,\ 0) try x=−1x = -1: f(−1)=2f(-1) = 2, so ff is positive on the whole interval.

On (0, 1.7321)(0,\ 1.7321) try x=1x = 1: f(1)=−2f(1) = -2, so ff is negative on the whole interval.

On (1.7321, ∞)(1.7321,\ \infty) try x=6x = 6: f(6)=198f(6) = 198, so ff is positive on the whole interval.

A zero where the sign does not change, as for x2x^2 at 00, is a point where the graph touches the axis without crossing it.

f(x)=x3−3xf\left(x\right)={x}^{3}-3 x


Finding where a function is positive or negative

DemoWhere a function is positive and negative
Step 0 of 3
Type a function and the calculator finds the values of xx for which f(x)>0f(x) > 0 and those for which f(x)<0f(x) < 0.

On a graph this is simply where the curve lies above the xx-axis and where it lies below. For f(x)=x2−4f(x) = x^2 - 4 the function is negative on (−2,2)(-2, 2) and positive on (−∞,−2)∪(2,∞)(-\infty, -2) \cup (2, \infty).

Reading the answer

  • Positive on and Negative on list the intervals of xx, joined by ∪\cup when there are several.
  • Zeros at lists the solutions of f(x)=0f(x) = 0. At a zero the function is neither positive nor negative, so the intervals are open.
  • Not defined at appears when the function has breaks, such as a zero of a denominator.

  • "Nowhere" means there is no such interval: x2+1x^2 + 1 is negative nowhere.

Building a sign chart

    A function that is continuous on an interval cannot pass from positive to negative without being 00 in between. So the sign can change only at

  • a zero of the function, or
  • a point where the function is not defined.

  • Mark these points on the number line. They cut it into intervals, and on each interval the sign is constant. Pick any one point inside each interval and work out the value there: its sign is the sign on the whole interval.

    This table of intervals and signs is the sign chart. It is the standard way to solve inequalities such as f(x)>0f(x) > 0.
Three zeros give four intervals; the sign alternates here because every zero is a crossing.

Zeros that do not change the sign

DemoBreaks and touching zeros
Step 0 of 3
A zero does not always change the sign. f(x)=(x−1)2f(x) = (x - 1)^2 is 00 at x=1x = 1, but positive on both sides: the graph touches the axis and turns back.

This happens at a zero of even multiplicity, such as a squared factor. At a zero of odd multiplicity the graph crosses the axis and the sign does change. Testing a point in each interval, rather than assuming that signs alternate, covers both cases.
(x−1)2(x - 1)^2 is 00 at x=1x = 1 and positive on both sides.

Points where the function is not defined

For a quotient such as x−1x+2\dfrac{x - 1}{x + 2} the sign depends on the numerator and the denominator together. It can change at the zero of the numerator, x=1x = 1, and also at the zero of the denominator, x=−2x = -2, where the function has no value at all.

Such a point is never part of an answer, whatever the inequality: the function is not positive, negative or zero there. It still has to be marked on the chart.

Common mistakes

  • Assuming the signs alternate. They do not at a zero of even multiplicity.
  • Leaving out the breaks. The zeros of a denominator separate intervals too.
  • Including a zero in a strict inequality. At a zero, f(x)>0f(x) > 0 is false.
  • Testing a boundary point. Test a point strictly inside each interval.
  • Mixing up sign and direction. Positive does not mean increasing.