Algebra
Textbooks
Boundless Algebra
Polynomials and Rational Functions
Rational Functions
Algebra Textbooks Boundless Algebra Polynomials and Rational Functions Rational Functions
Algebra Textbooks Boundless Algebra Polynomials and Rational Functions
Algebra Textbooks Boundless Algebra
Algebra Textbooks
Algebra
Concept Version 13
Created by Boundless

Introduction to Rational Functions

A rational function is one such that f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)}f(x)=​Q(x)​​P(x)​​, where Q(x)≠0Q(x) \neq 0Q(x)≠0; the domain of a rational function can be calculated.

Learning Objective

  • Describe rational functions, including their domains


Key Points

    • A rational function is any function which can be written as the ratio of two polynomial functions, where the polynomial in the denominator is not equal to zero.
    • The domain of f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)}f(x)=​Q(x)​​P(x)​​ is the set of all points xxx for which the denominator Q(x)Q(x)Q(x) is not zero.
    • Domain restrictions of a rational function can be determined by setting the denominator equal to zero and solving. The xxx-values at which the denominator equals zero are called singularities and are not in the domain of the function.

Terms

  • vertical asymptote

    A vertical straight line which a curve approaches arbitrarily closely, as it goes to infinity. 

  • singularities

    The xxx-values at which a rational function is not defined, for which the denominator Q(x)Q(x)Q(x) is zero.

  • rational function

    Any function whose value can be expressed as the quotient of two polynomials (where the polynomial in the denominator is not zero).

  • domain

    The set of all input values (xxx) over which a function is defined.

  • denominator

    The number or expression written below the line in a fraction (thus, 222 in 12\frac {1}{2}​2​​1​​).


Full Text

Rational Functions

A rational function is any function which can be written as the ratio of two polynomial functions. Neither the coefficients of the polynomials, nor the values taken by the function, are necessarily rational numbers.

Any function of one variable, xxx, is called a rational function if, and only if, it can be written in the form:

f(x)=P(x)Q(x)f(x) = \dfrac{P(x)}{Q(x)}f(x)=​Q(x)​​P(x)​​

where PPP and QQQ are polynomial functions of xxx and Q(x)≠0Q(x) \neq 0Q(x)≠0. 

Note that every polynomial function is a rational function with Q(x)=1Q(x) = 1Q(x)=1. A function that cannot be written in the form of a polynomial, such as f(x)=sin(x)f(x) = \sin(x)f(x)=sin(x), is not a rational function. However, the adjective "irrational" is not generally used for functions.

A constant function such as f(x)=πf(x) = \pif(x)=π is a rational function since constants are polynomials. Note that the function itself is rational, even though the value of f(x)f(x)f(x) is irrational for all xxx. 

The Domain of a Rational Function

The domain of a rational function f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)}f(x)=​Q(x)​​P(x)​​ is the set of all values of xxx for which the denominator Q(x)Q(x)Q(x) is not zero. 

For a simple example, consider the rational function y=1xy = \frac {1}{x}y=​x​​1​​. The domain is comprised of all values of x≠0x \neq 0x≠0.

Domain restrictions can be calculated by finding singularities, which are the xxx-values for which the denominator Q(x)Q(x)Q(x) is zero. The rational function is not defined for such xxx-values, and these values are excluded from the domain set of the function. 

Factorizing the numerator and denominator of rational function helps to identify singularities of algebraic rational functions. Singularity occurs when the denominator of a rational function equals 000, whether or not the linear factor in the denominator cancels out with a linear factor in the numerator. 

Example 1

Consider the rational function

 f(x)=(x2−3x−2)(x2−4)f(x) = \dfrac{(x^2 - 3x -2)}{(x^2 - 4)}f(x)=​(x​2​​−4)​​(x​2​​−3x−2)​​

The domain of this function includes all values of xxx, except where x2−4=0x^2 - 4 = 0x​2​​−4=0. 

We can factor the denominator to find the singularities of the function: 

x2−4=(x+2)(x−2)x^2 - 4 = (x + 2)(x - 2)x​2​​−4=(x+2)(x−2)

Setting each linear factor equal to zero, we have x+2=0x+2 = 0x+2=0 and x−2=0x-2 = 0x−2=0. Solving each of these yields solutions x=−2x = -2x=−2 and x=2x = 2x=2; thus, the domain includes all xxx not equal to 222 or −2-2−2. This can be seen in the graph below.

The domain of a function

Graph of a rational function with equation (x2−3x−2)(x2−4)\frac{(x^2 - 3x -2)}{(x^2 - 4)}​(x​2​​−4)​​(x​2​​−3x−2)​​. The domain of this function is all values of xxx except +2+2+2 or −2-2−2.

Note that there are vertical asymptotes at xxx-values of 222 and −2-2−2. This means that, although the function approaches these points, it is not defined at them.

Example 2

Consider the rational function

 f(x)=(x+3)(x2+2)f(x)= \dfrac{(x + 3)}{(x^2 + 2)}f(x)=​(x​2​​+2)​​(x+3)​​

The domain of this function is all values of xxx except those where x2+2=0x^2 + 2 = 0x​2​​+2=0. However, for x2+2=0x^2 + 2=0x​2​​+2=0 , x2x^2x​2​​ would need to equal −2-2−2. Since this condition cannot be satisfied by a real number, the domain of the function is all real numbers.

[ edit ]
Edit this content
Prev Concept
The Rule of Signs
Asymptotes
Next Concept
Subjects
  • Accounting
  • Algebra
  • Art History
  • Biology
  • Business
  • Calculus
  • Chemistry
  • Communications
  • Economics
  • Finance
  • Management
  • Marketing
  • Microbiology
  • Physics
  • Physiology
  • Political Science
  • Psychology
  • Sociology
  • Statistics
  • U.S. History
  • World History
  • Writing

Except where noted, content and user contributions on this site are licensed under CC BY-SA 4.0 with attribution required.