Math 139 – The Graph of a Rational Function
3 examples
General Steps to Graph a Rational Function
1) Factor the numerator and the denominator
2) State the domain and the location of any holes in the graph
3) Simplify the function by factoring if possible.
4) Find the y-intercept (x = 0) and the x-intercept(s) (y = 0)
5) Identify any existing asymptotes (vertical, horizontal, or
oblique/slant)
General Steps to Graph a Rational Function contd.
6) Identify any points intersecting a horizontal or oblique
asymptote.
7) Use test points between the zeros and vertical asymptotes
to locate the graph above or below the x-axis
8) Analyze the behavior of the graph on each side of an
asymptote
9) Sketch the graph
Example #1
๐ฅ 2 + ๐ฅ − 12
๐ ๐ฅ =
๐ฅ2 − 4
1) Factor the numerator and the denominator
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
2) State the domain and the location of any holes in the graph
Domain: (−∞, −2) ∪ (−2, 2) ∪ (2, ∞)
No holes (They occur where factors cancel)
3) Simplify the function to lowest terms
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
4) Find the y-intercept (x = 0) and the x-intercept(s) (y = 0)
x-intercept(s) (y = 0)
y-intercept (x = 0)
These are the roots of
(0 + 4)(0 − 3)
the numerator.
๐ 0 =
(0 + 2)(0 − 2)
๐ฅ+4=0
๐ฅ−3=0
−12
๐ฅ = −4
๐ฅ=3
๐ 0 =
=3
−4
(−4, 0)
(3, 0)
(0, 3)
5) Identify any existing asymptotes (vertical, horizontal, or
oblique
๐ฅ 2 + ๐ฅ − 12
๐ ๐ฅ =
๐ฅ2 − 4
Horiz. Or Oblique Asymptotes
Examine the largest exponents
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
Vertical Asymptotes
Use denominator factors
Same ∴ Horiz. - use coefficients
๐ฅ+2=0
๐ฅ−2=0
1
๐ฆ=
๐ฅ = −2
๐ฅ=2
1
๐๐ด: ๐ฅ = −2 ๐๐๐ ๐ฅ = 2
๐ป๐ด: ๐ฆ = 1
Oblique Asymptotes occur when degree is 1 greater on top.
Divide using base-x and get rid of denominator to find line.
6) Identify any points intersecting a horizontal or oblique
asymptote. (this is possible because unlike a vertical
asymptote, the function is defined at these types)
๐ฅ 2 + ๐ฅ − 12
๐ฆ = 1 ๐๐๐ ๐ ๐ฅ =
๐ฅ2 − 4
๐ฅ 2 + ๐ฅ − 12
1=
๐ฅ2 − 4
๐ฅ 2 − 4 = ๐ฅ 2 + ๐ฅ − 12
−4 = ๐ฅ − 12
8=๐ฅ
(8,1)
7) Use test points between the zeros and vertical asymptotes
to locate the graph above or below the x-axis
๐๐๐๐๐ค
๐๐๐๐ฃ๐
-4
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
(−5 + 4)(−5 − 3)
๐ −5 =
(−5 + 2)(−5 − 2)
(−)(−)
๐ −5 =
=+
(−)(−)
๐ −5 = ๐๐๐๐ฃ๐
-2
๐๐๐๐ฃ๐
2
3
(+)(−)
๐ −3 =
=−
(−)(−)
๐ −3 = ๐๐๐๐๐ค
(+)(−)
๐ 0 =
=+
(+)(−)
๐ 0 = ๐๐๐๐ฃ๐
7) Use test points between the zeros and vertical asymptotes
to locate the graph above or below the x-axis
๐๐๐๐๐ค
๐๐๐๐ฃ๐
-4
-2
๐๐๐๐ฃ๐
๐๐๐๐๐ค
2
๐๐๐๐ฃ๐
3
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
(+)(−)
๐ 2.5 =
=−
(+)(+)
๐ 2.5 = ๐๐๐๐๐ค
(+)(+)
๐ 4 =
=+
(+)(+)
๐ 4 = ๐๐๐๐ฃ๐
8) Analyze the behavior of the graph on each side of an
asymptote
๐๐๐๐๐ค
๐๐๐๐ฃ๐
-4
๐๐๐๐ฃ๐
-2
๐๐๐๐๐ค
2
3
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
๐ฅ→
−2−
(+)(−)
๐(๐ฅ) → −
(0 )(−)
๐(๐ฅ) → −∞
๐ฅ→
−2+
(+)(−)
๐(๐ฅ) → +
(0 )(−)
๐(๐ฅ) → ∞
๐๐๐๐ฃ๐
8) Analyze the behavior of the graph on each side of an
asymptote
๐๐๐๐๐ค
๐๐๐๐ฃ๐
-4
๐๐๐๐ฃ๐
-2
๐๐๐๐๐ค
2
3
(๐ฅ + 4)(๐ฅ − 3)
๐ ๐ฅ =
(๐ฅ + 2)(๐ฅ − 2)
๐ฅ→
2−
(+)(−)
๐(๐ฅ) →
(+)(0− )
๐(๐ฅ) → ∞
๐ฅ→
2+
(+)(−)
๐(๐ฅ) →
(+)(0+ )
๐ ๐ฅ → −∞
๐๐๐๐ฃ๐
9) Sketch the graph
Example #2
๐ฅ 2 + 3๐ฅ − 10
๐ ๐ฅ = 2
๐ฅ + 8๐ฅ + 15
1) Factor the numerator and the denominator
(๐ฅ + 5)(๐ฅ − 2)
๐ ๐ฅ =
(๐ฅ + 5)(๐ฅ + 3)
2) State the domain and the location of any holes in the graph
Domain: (−∞, −5) ∪ (−5, −3) ∪ (−3, ∞)
Hole in the graph at ๐ฅ = −5
3) Simplify the function to lowest terms
(๐ฅ − 2)
๐ ๐ฅ =
(๐ฅ + 3)
4) Find the y-intercept (x = 0) and the x-intercept(s) (y = 0)
y-intercept (x = 0)
x-intercept(s) (y = 0)
(0 − 2)
๐ 0 =
(0 + 3)
2
๐ 0 =−
3
2
(0, − )
3
Use numerator factors
๐ฅ−2=0
๐ฅ=2
(2, 0)
5) Identify any existing asymptotes (vertical, horizontal, or
oblique
๐ฅ 2 + 3๐ฅ − 10
๐ ๐ฅ = 2
๐ฅ + 8๐ฅ + 15
Horiz. Or Oblique Asymptotes
Examine the largest exponents
Same ∴ Horiz. - use coefficients
1
๐ฆ=
1
๐ป๐ด: ๐ฆ = 1
(๐ฅ − 2)
๐ ๐ฅ =
(๐ฅ + 3)
Vertical Asymptotes
Use denominator factors
๐ฅ+3=0
๐ฅ = −3
๐๐ด: ๐ฅ = −3
6) Identify any points intersecting a horizontal or oblique
asymptote.
๐ฅ−2
๐ฆ = 1 ๐๐๐ ๐ ๐ฅ =
๐ฅ+3
๐ฅ−2
1=
๐ฅ+3
๐ฅ+3=๐ฅ−2
3 = −2
๐๐๐ ๐ก ๐ฃ๐๐๐๐๐๐๐
๐๐ ๐๐๐๐๐ก๐ ๐๐ ๐๐๐ก๐๐๐ ๐๐๐ก๐๐๐ ๐๐ ๐กโ๐ ๐๐ ๐ฆ๐๐๐ก๐๐ก๐
7) Use test points between the zeros and vertical asymptotes
to locate the graph above or below the x-axis
๐๐๐๐๐ค
๐๐๐๐ฃ๐
-3
(๐ฅ − 2)
๐ ๐ฅ =
(๐ฅ + 3)
(−4 − 2)
๐ −4 =
(−4 + 3)
(−)
๐ −4 =
=+
(−)
๐ −4 = ๐๐๐๐ฃ๐
๐๐๐๐ฃ๐
2
(−)
๐ 0 =
=−
(+)
๐ 0 = ๐๐๐๐๐ค
(+)
๐ 3 =
=+
(+)
๐ 3 = ๐๐๐๐ฃ๐
8) Analyze the behavior of the graph on each side of an
asymptote
-3
2
(๐ฅ − 2)
๐ ๐ฅ =
(๐ฅ + 3)
๐ฅ→
−3−
(−)
๐(๐ฅ) → −
(0 )
๐(๐ฅ) → ∞
๐ฅ→
−3+
(−)
๐(๐ฅ) → +
(0 )
๐ ๐ฅ → −∞
9) Sketch the graph
Example #3
๐ฅ 2 + 3๐ฅ + 2
๐ ๐ฅ =
๐ฅ−1
1) Factor the numerator and the denominator
(๐ฅ + 2)(๐ฅ + 1)
๐ ๐ฅ =
๐ฅ−1
2) State the domain and the location of any holes in the graph
Domain: (−∞, 1) ∪ (1, ∞)
No holes
3) Simplify the function to lowest terms
(๐ฅ + 2)(๐ฅ + 1)
๐ ๐ฅ =
(๐ฅ − 1)
4) Find the y-intercept (x = 0) and the x-intercept(s) (y = 0)
y-intercept (x = 0)
x-intercept(s) (y = 0)
(0 + 2)(0 + 1)
๐ 0 =
(0 − 1)
2
๐ 0 =
= −2
−1
(0, −2)
Use numerator factors
๐ฅ+2=0
๐ฅ = −2
๐ฅ+1=0
๐ฅ = −1
(−2, 0)
(−1, 0)
5) Identify any existing asymptotes (vertical, horizontal, or
oblique
๐ฅ 2 + 3๐ฅ + 2
๐ ๐ฅ =
๐ฅ−1
(๐ฅ + 2)(๐ฅ + 1)
๐ ๐ฅ =
(๐ฅ − 1)
Vertical Asymptotes
Use denominator factors
Horiz. or Oblique Asymptotes
Examine the largest exponents
Oblique: Use long division
๐ฅ +4
2
x
๏ซ 3x ๏ซ 2
๐ฅ−1
−๐ฅ 2 −+๐ฅ
4๐ฅ +2
O๐ด: ๐ฆ = ๐ฅ + 4
−4๐ฅ −+4
0
๐ฅ−1=0
๐ฅ=1
๐๐ด: ๐ฅ = 1
6) Identify any points intersecting a horizontal or oblique
asymptote.
(๐ฅ + 2)(๐ฅ + 1)
๐ฆ = ๐ฅ + 4 ๐๐๐ ๐ ๐ฅ =
๐ฅ−1
(๐ฅ + 2)(๐ฅ + 1)
๐ฅ+4=
๐ฅ−1
(๐ฅ + 4)(๐ฅ − 1) = (๐ฅ + 2)(๐ฅ + 1)
๐ฅ 2 + 3๐ฅ − 4 = ๐ฅ 2 + 3๐ฅ + 2
๐๐๐ ๐ก ๐ฃ๐๐๐๐๐๐๐
๐๐ ๐๐๐๐๐ก๐ ๐๐ ๐๐๐ก๐๐๐ ๐๐๐ก๐๐๐ ๐๐ ๐กโ๐ ๐๐ ๐ฆ๐๐๐ก๐๐ก๐
7) Use test points between the zeros and vertical asymptotes
to locate the graph above or below the x-axis
๐๐๐๐๐ค
๐๐๐๐ฃ๐
-2
๐๐๐๐ฃ๐
๐๐๐๐๐ค
-1
1
(๐ฅ + 2)(๐ฅ + 1)
๐ ๐ฅ =
(+)(−)
(๐ฅ − 1)
๐ −1.5 =
=+
(−)
(−)(−)
(+)(+)
๐ −1.5 = ๐๐๐๐ฃ๐
๐ −4 =
=−
๐ 3 =
=+
(−)
(+)
(+)(+)
๐ −4 = ๐๐๐๐๐ค
๐ 3 = ๐๐๐๐ฃ๐
๐ 0 =
=−
(−)
๐ 0 = ๐๐๐๐๐ค
8) Analyze the behavior of the graph on each side of an
asymptote
1
(๐ฅ + 2)(๐ฅ + 1)
๐ ๐ฅ =
(๐ฅ − 1)
๐ฅ→
1−
(+)(+)
๐(๐ฅ) →
(0− )
๐ ๐ฅ → −∞
๐ฅ→
1+
(+)(+)
๐(๐ฅ) →
(0+ )
๐ ๐ฅ →∞
9) Sketch the graph