Unit 1 Topic 1.8

Rational Functions and Zeros

see every function move

3 min readfreeNot practiced

A rational function is zero where its numerator is zero, with one catch: the input has to be in the domain. Its sign can change at its zeros and also at the inputs where it is undefined. Together these facts let you solve inequalities like x−4x+2≥0\frac{x - 4}{x + 2} \ge 0 without a graph, and read them from a graph when you have one.

Zeros of a rational function

A fraction is 00 exactly when its numerator is 00 and its denominator is not. So the real zeros of r(x)=p(x)q(x)r(x) = \frac{p(x)}{q(x)} are the real zeros of pp that are in the domain of rr.

Worked example 1. Find the real zeros of h(x)h(x)=x2−9x2+3x= \frac{x^2 - 9}{x^2 + 3x}.

Numerator: x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3), zero at 33 and −3-3.

Denominator: x(x+3)x(x + 3), zero at 00 and −3-3, so those are excluded.

−3-3 is excluded, so the only real zero is x=3x = 3.

Sign charts

Between consecutive "special" inputs, a rational function keeps one sign. The special inputs are the zeros of the numerator and the zeros of the denominator. At either kind, the sign may change, since a factor in the top or the bottom changes sign there (unless its power is even).

A sign chart records this: mark the special inputs on a number line, pick one test input in each interval, and find the sign there.

Interval(−∞,−3)(-\infty, -3)(−3,−1)(-3, -1)(−1,2)(-1, 2)(2,∞)(2, \infty)
Test input−4-4−2-20033
r(x)r(x)=(x−2)(x+3)x+1= \frac{(x - 2)(x + 3)}{x + 1}−2-244−6-61.51.5
Sign−-++−-++
The graph of r(x) = (x + 1)(x − 3)/(x − 1). Its zeros are x = −1 and x = 3; the dashed line x = 1 marks the input that is not in the domain. The output is negative for x < −1, positive for −1 < x < 1, negative for 1 < x < 3 and positive for x > 3.
Figure 1. The sign of (x+1)(x−3)x−1\frac{(x + 1)(x - 3)}{x - 1} changes at its zeros and at x=1x = 1, where it is undefined. LevlPrep original diagram.

Rational inequalities

A rational inequality, such as r(x)>0r(x) > 0 or r(x)≤0r(x) \le 0, is solved by reading the sign chart.

  • For >0> 0 or <0< 0: take the intervals with the right sign, endpoints left out.
  • For ≥0\ge 0 or ≤0\le 0: add the zeros, with brackets.
  • An excluded input never belongs to the solution: it always gets a parenthesis.

Worked example 2. Solve x−4x+2≥0\frac{x - 4}{x + 2} \ge 0.

Special inputs: 44 (zero) and −2-2 (excluded). Test: x=−3x = -3 gives −7−1=7>0\frac{-7}{-1} = 7 > 0; x=0x = 0 gives −2<0-2 < 0; x=5x = 5 gives 17>0\frac{1}{7} > 0.

Solution: (−∞,−2)∪[4,∞)(-\infty, -2) \cup [4, \infty). Bracket at the zero 44, parenthesis at the excluded −2-2.

Do not multiply both sides of a rational inequality by a denominator whose sign you do not know; the direction of the inequality depends on it. In context it is often known: for C(t)=12tt+2C(t) = \frac{12t}{t + 2} with t>0t > 0, the denominator is positive, so C(t)≥8C(t) \ge 8 becomes 12t≥8t+1612t \ge 8t + 16, or t≥4t \ge 4.

With a calculator

When the numerator does not factor nicely, graph the function and find every zero. For q(x)q(x)=x3−4x+1x2+2= \frac{x^3 - 4x + 1}{x^2 + 2} the denominator is never 00, and the graph crosses the axis near −2.115-2.115, 0.2540.254 and 1.8611.861. Check a wide window so no zero is missed, keep three decimal places, and read the signs between the zeros: q(x)>0q(x) > 0 on (−2.115,0.254)∪(1.861,∞)(-2.115, 0.254) \cup (1.861, \infty).

Spot a mistake on this page?