Zeros of Rational Functions (College Board AP® Precalculus): Study Guide

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Zeros of rational functions

Where do the real zeros of a rational function occur?

  • Let  r(x)=p(x)q(x) be a rational function

    • i.e. where  p(x) and q(x) are both polynomial functions

  • The real zeros of r correspond to

    • real zeros of  p (the function in the numerator)

    • for such values as are also in the domain of r

  • What this means in practical terms is that the real zeros of r occur at values of xwhere

    •  p(x)=0

    • but q(x)0

      • Remember that any values of x must be excluded from the domain of r that make its denominator equal to zero

  • E.g. the function h(x)=(x+4)(x3)(x+1)(x3)

    • The numerator is equal to zero when x=4 or x=3

      • But the denominator is also equal to zero when x=3

    • So  h has only one real zero, at x=4

What else do the real zeros of its numerator and denominator tell me about a rational function?

  • A rational function can only be equal to zero at one of its real zeros

    • I.e., these are the only points where the graph of the function can touch or cross the x-axis

  • However the real zeros of a rational function's numerator and denominator can help you determine other things about the behavior of the rational function

  • In particular, for a rational function  r(x)=p(x)q(x)

    • The real zeros of  p and q

    • are the endpoints or asymptotes

    • for intervals satisfying the inequalities  r(x)0 and  r(x)0

  • What this means in practical terms is this:

    • The real zeros of a rational function's numerator and denominator divide the function into a number of intervals

    • Within each of those intervals (i.e. not including any endpoints) the rational function is either positive everywhere or negative everywhere

      • So the numerator's and denominator's real zeros are the only points at which a rational function can change sign

      • (It may not change sign at such points, but it cannot change sign anywhere else)

    • And the rational function can only be equal to zero at the endpoint of such an interval which is also a real zero of the rational function

  • E.g. the function h(x)=(x+4)(x3)(x+1)(x3)

    • The numerator is equal to zero when x=4 or x=3

      • and the denominator is equal to zero when x=1 or x=3

    • Those values of x, i.e. x=4, x=1 and x=3

      • divide the domain of h into four intervals

      • x<4,  4<x<1,  1<x<3  and  x>3

    • Test a value of x in the interval x<4

      • h(5)=((5)+4)((5)3)((5)+1)((5)3)=(1)(8)(4)(8)=14>0

        • That is positive, so h(x)>0 for all x<4

    • You can do the same thing for the other intervals

      • h(2)=2<0, so h<0 for all x such that 4<x<1

      • h(0)=4>0, so h>0 for all x such that 1<x<3

      • h(4)=85>0, so h>0 for all x>3

    • We have seen above that the only real zero of h is at x=4

    • Combining the above:

      • h(x)=0 at x=4

      • h(x)<0 on the interval 4<x<1

      • h(x)>0 on the intervals  x<4,  1<x<3, and  x>3

Examiner Tips and Tricks

Considering real zeros of the numerator and denominator of a rational function in more detail can also allow you to identify the position of vertical asymptotes and holes for the function.

Worked Example

The function  f is given by  f(x)=(x+3)(x1)(x5)(x+1)(x1)(x3)2.

Without using a calculator:

(i)  find all values of x at which  f has a zero, or indicate there are no such values;

(ii)  determine all the intervals of x for which  f(x)>0, and for which  f(x)<0.

Answer:

(i)

Zeros of a rational function can only occur at points where the numerator is equal to zero

(x+3)(x1)(x5)=0

x=3,  x=1,  x=5

However those points will only be zeros of the rational function if the denominator is not also equal to zero

(x+1)(x1)(x3)2=0

x=1,  x=1,  x=3

Because the denominator is also equal to zero at x=1, that is not a zero of the rational function  f

The zeros of  f are at x=3 and x=5

(ii)

A rational function can only change sign at a point where its numerator or denominator is equal to zero

  • Those points were identified in part (i)

  • This means you must consider the following six intervals

x<3,  3<x<1,  1<x<1,  1<x<3,  3<x<5  and  x>5

Test the value of  f for a single point in each interval

  • For x<3

 f(4)=((4)+3)((4)1)((4)5)((4)+1)((4)1)((4)3)2=(1)(5)(9)(3)(5)(7)2=(1)(5)(9)(3)(5)(49)=negativepositive<0

  • For 3<x<1

 f(2)=((2)+3)((2)1)((2)5)((2)+1)((2)1)((2)3)2=(1)(3)(7)(1)(3)(5)2=(1)(3)(7)(1)(3)(25)=2175>0

  • For 1<x<1

 f(0)=(0+3)(01)(05)(0+1)(01)(03)2=(3)(1)(5)(1)(1)(3)2=(3)(1)(5)(1)(1)(9)=159<0

  • For 1<x<3

 f(2)=(2+3)(21)(25)(2+1)(21)(23)2=(5)(1)(3)(3)(1)(1)2=(5)(1)(3)(3)(1)(1)=153<0

  • For 3<x<5

 f(4)=(4+3)(41)(45)(4+1)(41)(43)2=(7)(3)(1)(5)(3)(1)2=(7)(3)(1)(5)(3)(1)=2115<0

  • For x>5

 f(6)=(6+3)(61)(65)(6+1)(61)(63)2=(9)(5)(1)(7)(5)(3)2=(9)(5)(1)(7)(5)(9)=positivepositive>0

Collect those results to write your final answer

 f(x)>0  in the intervals  3<x<1  and  x>5

 f(x)<0  in the intervals  x<3,  1<x<1,  1<x<3  and  3<x<5

Examiner Tips and Tricks

In part (ii) of the worked example, note that you don't actually care what the exact values of  f are at the various 'test points'.

  • You only care whether they are positive or negative

  • As shown for  f(4) and  f(6), you can determine the sign of the function at a point without having to work out the exact value

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.