Skip to content

Inequalities: from a graph and by intervals

Inequalities: from a graph and by intervals

Solving from a graph

The inequality f(x)>g(x)\displaystyle f(x)>g(x) holds exactly where the graph of f\displaystyle f is above the graph of g\displaystyle g. The ends of the intervals are the points where the graphs meet.

The board below shows f(x)=x3\displaystyle {f(x)}={x^3} and g(x)=x\displaystyle {g(x)}={x}. They meet where x3=x\displaystyle {x^3}={x}: at x=−1\displaystyle {x}={-1}, x=0\displaystyle {x}={0}, x=1\displaystyle {x}={1}.

f(x)=x3\displaystyle f(x)=x^{3}
g(x)=x\displaystyle g(x)=x
  • The graph of x3\displaystyle x^3 is above the line where −1<x<0\displaystyle -1<x<0 and where x>1\displaystyle x>1: these are the solutions of x3>x\displaystyle x^3>x.
  • Everywhere else, apart from the meeting points, it is below it: x3<x\displaystyle x^3<x where x<−1\displaystyle x<-1 and where 0<x<1\displaystyle 0<x<1.
The interval method

An inequality of a polynomial written as a product of factors is solved by the interval method:

  1. Bring everything to one side, so that the other side is 0, and factor.
  2. Mark the zeros on the number line. They divide the line into intervals.
  3. In each interval the sign does not change: substitute one number from the interval, or count how many factors are negative there.
  4. Choose the intervals with the sign asked for. With ≤\displaystyle \leq and ≥\displaystyle \geq the zeros are solutions too.

The example below solves (x+2)(x−1)(x−4)≤0\displaystyle (x+2)(x-1)(x-4)\leq0:

x\displaystyle xx<−2\displaystyle x<-2−2<x<1\displaystyle -2<x<11<x<4\displaystyle 1<x<4x>4\displaystyle x>4
the sign−+−+

The solution: x≤−2\displaystyle x\leq-2 or 1≤x≤4\displaystyle 1\leq x\leq4.

A squared factor

A factor of even multiplicity does not change sign, so the sign is the same on both sides of its zero.

The example below solves (x−3)2(x+1)>0\displaystyle (x-3)^2(x+1)>0:

  • (x−3)2≥0\displaystyle (x-3)^2\geq0, so the sign is that of x+1\displaystyle x+1, apart from x=3\displaystyle {x}={3}, where the product is 0.
  • x+1>0\displaystyle x+1>0 where x>−1\displaystyle x>-1.
  • The solution: −1<x<3\displaystyle -1<x<3 or x>3\displaystyle x>3. The point x=3\displaystyle {x}={3} is not a solution: there the product is 0, not greater than 0.
The biquadratic equation

A biquadratic equation ax4+bx2+c=0\displaystyle {ax^4+bx^2+c}={0} has only the powers x4\displaystyle x^4 and x2\displaystyle x^2. Substituting t=x2\displaystyle {t}={x^2} gives a quadratic equation in t\displaystyle t.

The example below solves x4−5x2+4=0\displaystyle {x^4-5x^2+4}={0}:

  • t=x2\displaystyle {t}={x^2}: t2−5t+4=0\displaystyle {t^2-5t+4}={0}, that is (t−1)(t−4)=0\displaystyle {(t-1)(t-4)}={0}, so t=1\displaystyle {t}={1} or t=4\displaystyle {t}={4}.
  • x2=1\displaystyle {x^2}={1}: x=±1\displaystyle {x}={\pm1}. x2=4\displaystyle {x^2}={4}: x=±2\displaystyle {x}={\pm2}.
  • A negative value of t\displaystyle t would give no x\displaystyle x, since x2≥0\displaystyle x^2\geq0.

The same factoring solves an inequality: x4−5x2+4=(x2−1)(x2−4)=(x−1)(x+1)(x−2)(x+2)\displaystyle {x^4-5x^2+4}={(x^2-1)(x^2-4)}={(x-1)(x+1)(x-2)(x+2)}, and by the interval method x4−5x2+4<0\displaystyle x^4-5x^2+4<0 where −2<x<−1\displaystyle -2<x<-1 or 1<x<2\displaystyle 1<x<2.

A rational inequality

The sign of a quotient is like the sign of a product: positive when the numerator and the denominator have the same sign. So an inequality f(x)g(x)≥0\displaystyle \frac{f(x)}{g(x)}\geq0 is solved by the interval method too, with two differences:

  • The zeros of the denominator are marked on the line as well.
  • A zero of the denominator is never a solution: the quotient is not defined there.

The example below solves 2xx−1≤1\displaystyle \frac{2x}{x-1}\leq1:

  • We do not multiply by x−1\displaystyle x-1, since its sign is not known. We bring everything to one side: 2xx−1−1≤0\displaystyle \frac{2x}{x-1}-1\leq0.
  • A common denominator: 2x−(x−1)x−1=x+1x−1≤0\displaystyle {\frac{2x-(x-1)}{x-1}}={\frac{x+1}{x-1}\leq0}.
  • The zero of the numerator is x=−1\displaystyle {x}={-1}, and of the denominator x=1\displaystyle {x}={1}.
  • The quotient is negative where −1<x<1\displaystyle -1<x<1. At x=−1\displaystyle {x}={-1} it is 0, and at x=1\displaystyle {x}={1} it is not defined.
  • The solution: −1≤x<1\displaystyle -1\leq x<1.
Exercise 1

The functions are f(x)=x2−4\displaystyle {f(x)}={x^2-4} and g(x)=2x−1\displaystyle {g(x)}={2x-1}.

a

Mark on the board the points where the two graphs meet.

f(x)=x2−4\displaystyle f(x)=x^{2}-4
g(x)=2x−1\displaystyle g(x)=2x-1

b

Solve the inequality f(x)<g(x)\displaystyle f(x)<g(x).
Check on the board: where is the parabola below the line?

    Exercise 2

    Solve the inequalities by the interval method.

    a
      b
        c
          Exercise 3

          The function is f(x)=x4−10x2+9\displaystyle {f(x)}={x^4-10x^2+9}.

          a

          Find the zeros of f\displaystyle f.

            b

            Solve the inequality f(x)>0\displaystyle f(x)>0.

              Exercise 4

              Solve the inequalities.

              a
                b
                  Exercise 5

                  Solve the inequality.
                  Careful: multiplying by x−2\displaystyle x-2 would reverse the inequality where x<2\displaystyle x<2.