Ctrl+k

Determine intervals where a function is positive or negative

Positive and negative intervals are the subsets of a function’s domain on which f(x)>0f(x)>0 or f(x)<0f(x)<0, represented graphically by portions above or below the xx-axis and algebraically through zeros, domain restrictions, and sign analysis. Correct interval notation excludes zeros and undefined inputs, and a zero does not necessarily mark a sign change. The focus is on polynomial and rational functions in familiar forms, rather than advanced generalized or parameterized sign analysis.

Detailed Explanation: Determine intervals where a function is positive or negative

To find where a function is positive or negative:

  • Positive: f(x)>0f(x)>0, so the graph is above the xx-axis.
  • Negative: f(x)<0f(x)<0, so the graph is below the xx-axis.
  • Zeros and undefined inputs cannot be included in positive or negative intervals.

Example

Determine where

f(x)=(x2)2x+1f(x)=\frac{(x-2)^2}{x+1}

is positive and negative.

Step 1: Find zeros

A function is zero when its numerator is zero:

(x2)2=0(x-2)^2=0

So,

x=2x=2

The value x=2x=2 is a zero, so it cannot be included in a positive or negative interval.

Step 2: Find values excluded from the domain

The denominator cannot equal zero:

x+1=0x+1=0

Thus,

x=1x=-1

The function is undefined at x=1x=-1, so this value also cannot be included.

These critical values divide the number line into three intervals:

(,1),(1,2),(2,)(-\infty,-1), \qquad (-1,2), \qquad (2,\infty)

Step 3: Test the sign in each interval

Choose one test value from each interval.

IntervalTest valueSign of f(x)f(x)
(,1)(-\infty,-1)x=2x=-2Negative
(1,2)(-1,2)x=0x=0Positive
(2,)(2,\infty)x=3x=3Positive

For example,

f(2)=(22)22+1=161<0f(-2)=\frac{(-2-2)^2}{-2+1} =\frac{16}{-1}<0

and

f(0)=(02)20+1=41>0f(0)=\frac{(0-2)^2}{0+1} =\frac{4}{1}>0

The value f(3)f(3) is also positive.

Step 4: Write the intervals

The function is negative on

(,1)\boxed{(-\infty,-1)}

The function is positive on

(1,2)(2,)\boxed{(-1,2)\cup(2,\infty)}

Use parentheses because x=1x=-1 is undefined and x=2x=2 makes the function equal to zero. Notice that the function is positive on both sides of x=2x=2, but the intervals must still be separated because f(2)=0f(2)=0.

Learn by doing: Determine intervals where a function is positive or negative

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Polynomial Inequalities - Expanded Quadratic - Intervals


    ?