Rational Functions and Their Graphs

Rational Functions and Their Graphs

Definition of Rational Functions

  • Rational functions are defined as quotients of polynomial functions.

  • They can be expressed in the form f(x)=p(x)q(x)f(x) = \frac{p(x)}{q(x)}.

  • In this form, p(x)p(x) and q(x)q(x) are polynomial functions.

  • A crucial condition is that the denominator q(x)q(x) cannot be equal to zero, i.e., q(x)0q(x) \neq 0.

Domain of Rational Functions

  • The domain of a rational function consists of all real numbers for which the denominator is not zero.

  • To find the domain, set the denominator equal to zero and solve for xx. These xx-values are excluded from the domain.

  • Example 1: Find the domain of each rational function:

    1. f(x)=1x3f(x) = \frac{1}{x-3}

      • Denominator: x3=0    x=3x-3 = 0 \implies x=3

      • Domain: All real numbers except x=3x=3, or (,3)(3,)(-\infty, 3) \cup (3, \infty).

    2. g(x)=(x+3)(x3)x3g(x) = \frac{(x+3)(x-3)}{x-3}

      • Denominator: x3=0    x=3x-3 = 0 \implies x=3

      • Domain: All real numbers except x=3x=3.

      • Note: While (x3)(x-3) is a common factor, the original function is undefined at x=3x=3.

    3. h(x)=xx29h(x) = \frac{x}{x^2-9}

      • Denominator: x29=0    (x3)(x+3)=0    x=3 or x=3x^2-9 = 0 \implies (x-3)(x+3) = 0 \implies x=3 \text{ or } x=-3

      • Domain: All real numbers except x=3x=3 and x=3x=-3, or (,3)(3,3)(3,)(-\infty, -3) \cup (-3, 3) \cup (3, \infty).

    4. k(x)=x+3x2+9k(x) = \frac{x+3}{x^2+9}

      • Denominator: x2+9=0    x2=9x^2+9 = 0 \implies x^2 = -9

      • There are no real solutions for xx since x2x^2 cannot be negative.

      • Domain: All real numbers, or (,)(-\infty, \infty).

Reciprocal Function

  • The simplest rational function is the reciprocal function.

  • It is defined by f(x)=1xf(x) = \frac{1}{x}.

Graphing Rational Functions

  • Example 2: Graph the function f(x)=1x2f(x) = \frac{1}{x^2}

    • This function has a vertical asymptote at x=0x=0 and a horizontal asymptote at y=0y=0.

    • The graph is symmetric with respect to the y-axis.

  • Example 3: Graph the function f(x)=1(x2)2+1f(x) = \frac{1}{(x-2)^2} + 1

    • This is a transformation of f(x)=1x2f(x) = \frac{1}{x^2}. It is shifted 2 units to the right and 1 unit up.

    • Vertical asymptote at x=2x=2. Horizontal asymptote at y=1y=1.

Vertical Asymptotes of Rational Functions

  • The line x=ax = a is a vertical asymptote of the graph of a function ff if f(x)f(x) increases or decreases without bound as xx approaches aa (from either side).

  • Condition for Rational Functions:

    • For a rational function f(x)=p(x)q(x)f(x) = \frac{p(x)}{q(x)} (where p(x)p(x) and q(x)q(x) have no common factors other than constants):

      • If (xa)(x-a) is a factor of q(x)q(x) but not a factor of p(x)p(x), then x=ax=a is a vertical asymptote of the graph of ff.

    • Holes in the Graph:

      • If (xa)(x-a) is a common factor of both p(x)p(x) and q(x)q(x), and if there is a reduced form of the function's equation where x=ax=a does not make the denominator zero, then x=ax=a corresponds to a hole in the graph, not a vertical asymptote.

  • Example 4: Find the vertical asymptotes, if any, and the values of xx corresponding to holes, if any, of the graph of each rational function:

    1. f(x)=xx29=x(x3)(x+3)f(x) = \frac{x}{x^2-9} = \frac{x}{(x-3)(x+3)}

      • Denominator factors are (x3)(x-3) and (x+3)(x+3). Neither is a factor of the numerator.

      • Vertical asymptotes: x=3x=3 and x=3x=-3.

      • No holes.

    2. g(x)=x+3x29=x+3(x3)(x+3)g(x) = \frac{x+3}{x^2-9} = \frac{x+3}{(x-3)(x+3)}

      • Common factor: (x+3)(x+3). Reduced form: g(x)=1x3g(x) = \frac{1}{x-3} for x3x \neq -3.

      • Vertical asymptote: x=3x=3 (from (x3)(x-3)).

      • Hole: At x=3x=-3.

    3. h(x)=x+3x2+9h(x) = \frac{x+3}{x^2+9}

      • Denominator: x2+9x^2+9 has no real roots.

      • No vertical asymptotes.

      • No holes.

    4. k(x)=x29x+3=(x3)(x+3)x+3k(x) = \frac{x^2-9}{x+3} = \frac{(x-3)(x+3)}{x+3}

      • Common factor: (x+3)(x+3). Reduced form: k(x)=x3k(x) = x-3 for x3x \neq -3.

      • No vertical asymptotes (the denominator of the reduced form is 1, which is never zero).

      • Hole: At x=3x=-3.

Horizontal Asymptotes of Rational Functions

  • The line y=by = b is a horizontal asymptote of the graph of a function ff if f(x)f(x) approaches bb as xx increases or decreases without bound (xx \to \infty or xx \to -\infty).

  • Rules for finding Horizontal Asymptotes for f(x)=a<em>nxn+a</em>n1xn1++a<em>1x+a</em>0b<em>mxm+b</em>m1xm1++b<em>1x+b</em>0f(x) = \frac{a<em>n x^n + a</em>{n-1} x^{n-1} + \cdots + a<em>1 x + a</em>0}{b<em>m x^m + b</em>{m-1} x^{m-1} + \cdots + b<em>1 x + b</em>0} (where a<em>n0a<em>n \neq 0 and b</em>m0b</em>m \neq 0):

    1. If the degree of the numerator (n) is less than the degree of the denominator (m) (n < m):

      • The x-axis, or y=0y=0, is the horizontal asymptote of the graph of ff.

    2. If the degree of the numerator (n) is equal to the degree of the denominator (m) (n=mn = m):

      • The line y=a<em>nb</em>my = \frac{a<em>n}{b</em>m} (ratio of the leading coefficients) is the horizontal asymptote of the graph of ff.

    3. If the degree of the numerator (n) is greater than the degree of the denominator (m) (n > m):

      • The graph of ff has no horizontal asymptote.

  • Example 5: Find the horizontal asymptotes, if any, of the graph of each rational function:

    1. f(x)=4x2x2+1f(x) = \frac{4x}{2x^2+1}

      • Numerator degree n=1n=1. Denominator degree m=2m=2. (n < m)

      • Horizontal asymptote: y=0y=0.

    2. g(x)=4x22x2+1g(x) = \frac{4x^2}{2x^2+1}

      • Numerator degree n=2n=2. Denominator degree m=2m=2. (n=mn = m)

      • Horizontal asymptote: y=42=2y = \frac{4}{2} = 2.

    3. h(x)=4x32x2+1h(x) = \frac{4x^3}{2x^2+1}

      • Numerator degree n=3n=3. Denominator degree m=2m=2. (n > m)

      • No horizontal asymptote.

Graphing Rational Functions (Advanced Examples)

  • Example 6: Graph f(x)=2x1x1f(x) = \frac{2x-1}{x-1}

    • Vertical asymptote at x=1x=1.

    • Horizontal asymptote at y=2y=2 (degree of numerator = degree of denominator, ratio of leading coefficients is 2/1=22/1=2).

  • Example 7: Graph f(x)=3x2x24f(x) = \frac{3x^2}{x^2-4}

    • Vertical asymptotes at x=2x=2 and x=2x=-2 (from x24=0x^2-4=0).

    • Horizontal asymptote at y=3y=3 (degree of numerator = degree of denominator, ratio of leading coefficients is 3/1=33/1=3).

Slant (Oblique) Asymptotes

  • The graph of a rational function has a slant (or oblique) asymptote if the degree of the numerator is exactly one more than the degree of the denominator.

  • To find the equation of a slant asymptote, perform polynomial long division of the numerator by the denominator. The quotient (excluding the remainder) is the equation of the slant asymptote.

  • Example 8: Find the slant asymptote of the graph of the rational function f(x)=x2+1x1f(x) = \frac{x^2+1}{x-1}

    • Degree of numerator (22) is one more than the degree of the denominator (11).

    • Using polynomial long division ((x2+1)÷(x1)(x^2+1) \div (x-1)):
      x + 1 x-1 | x^2 + 0x + 1 -(x^2 - x) ---------- x + 1 -(x - 1) --------- 2

    • The quotient is x+1x+1 with a remainder of 22. So, f(x)=x+1+2x1f(x) = x+1 + \frac{2}{x-1}.

    • As xx \to \infty or xx \to -\infty, the term 2x1\frac{2}{x-1} approaches 00.

    • The slant asymptote is y=x+1y = x+1.

Writing the Equation of a Rational Function from Given Properties

  • Example 9: If ff has a vertical asymptote given by x=7x=7, a horizontal asymptote y=0y=0, y-intercept at 2-2, and no x-intercept, then write the equation of a rational function f(x)=p(x)q(x)f(x) = \frac{p(x)}{q(x)} having the indicated properties, in which the degrees of pp and qq are as small as possible.

    • Vertical Asymptote x=7x=7: This implies (x7)(x-7) is a factor of the denominator q(x)q(x).

    • Horizontal Asymptote y=0y=0: This implies the degree of the numerator (n) must be less than the degree of the denominator (m) (n < m).

    • No x-intercept: This means p(x)p(x) never equals zero. If p(x)p(x) is a constant, it won't have x-intercepts.

    • y-intercept at 2-2: This means f(0)=2f(0) = -2.

    • Let's try the simplest form: p(x)p(x) is a constant and q(x)q(x) has (x7)(x-7) as a factor.

      • Let f(x)=Cx7f(x) = \frac{C}{x-7}. Here, n=0n=0 and m=1m=1, so n < m satisfies y=0y=0 horizontal asymptote.

      • No x-intercept is satisfied since a constant numerator never equals zero.

      • Use the y-intercept: f(0)=C07=2f(0) = \frac{C}{0-7} = -2

      • C7=2    C=14\frac{C}{-7} = -2 \implies C = 14

    • Therefore, the function is f(x)=14x7f(x) = \frac{14}{x-7}.

Application of Rational Functions: Population Modeling

  • Example 10: The following rational function, in hundreds, models the population of a certain species of animal, where xx is in days. What number does the population approach in the long run? p(x)=10x3+2002x3+1.6p(x) = \frac{10x^3 + 200}{2x^3 + 1.6}