# OpenStax_CNX

You are here: Home » Content » Rational Functions

### Lenses

What is a lens?

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

#### In these lenses

• Lens for Engineering

This module is included inLens: Lens for Engineering
By: Sidney Burrus

Click the "Lens for Engineering" link to see all content selected in this lens.

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

# Rational Functions

Module by: Michael Haag. E-mail the author

Summary: This module will introduce rational functions and describe some of their properties. In particular, it will discuss how rational functions relate to the z-transform and provide a useful tool for characterizing LTI systems.

Note: You are viewing an old version of this document. The latest version is available here.

## Introduction

When dealing with operations on polynomials, the term rational function is a simple way to describe a particular relationship between two polynomials.

Definition 1: rational function
For any two polynomials, A and B, their quotient is called a rational function.

### Example

Below is a simple example of a basic rational function, fx fx. Note that the numerator and denominator can be polynomials of any order, but the rational function is undefined when the denominator equals zero.

fx=x242x2+x3 fx x 2 4 2 x 2 x 3
(1)

If you have begun to study the Z-transform, you should have noticed by now they are all rational functions. Below we will look at some of the properties of rational functions and how they can be used to reveal important characteristics about a z-transform, and thus a signal or LTI system.

## Properties of Rational Functions

In order to see what makes rational functions special, let us look at some of their basic properties and characteristics. If you are familiar with rational functions and basic algebraic properties, skip to the next section to see how rational functions are useful when dealing with the z-transform.

### Roots

To understand many of the following characteristics of a rational function, one must begin by finding the roots of the rational function. In order to do this, let us factor both of the polynomials so that the roots can be easily determined. Like all polynomials, the roots will provide us with information on many key properties. The function below shows the results of factoring the above rational function, Equation 1.

fx=(x+2)(x2)(2x+3)(x1) fx x 2 x 2 2 x 3 x 1
(2)

Thus, the roots of the rational function are as follows:

Roots of the numerator are: -22 -2 2

Roots of the denominator are: -31 -3 1

#### note:

In order to understand rational functions, it is essential to know and understand the roots that make up the rational function.

### Discontinuities

Because we are dealing with division of two polynomials, we must be aware of the values of the variable that will cause the denominator of our fraction to be zero. When this happens, the rational function becomes undefined, i.e. we have a discontinuity in the function. Because we have already solved for our roots, it is very easy to see when this occurs. When the variable in the denominator equals any of the roots of the denominator, the function becomes undefined.

#### Example 1

Continuing to look at our rational function above, Equation 1, we can see that the function will have discontinuities at the following points: x=-31 x -3 1

In respect to the Cartesian plane, we say that the discontinuities are the values along the x-axis where the function in undefined. These discontinuities often appear as vertical asymptotes on the graph to represent the values where the function is undefined.

### Domain

Using the roots that we found above, the domain of the rational function can be easily defined.

Definition 2: domain
The group, or set, of values that are defined by a given function.

#### Example

Using the rational function above, Equation 1, the domain can be defined as any real number xx where xx does not equal 1 or negative 3. Written out mathematical, we get the following:

xR (x-3)(x1) x x -3 x 1
(3)

### Intercepts

The x-intercept is defined as the point(s) where fx fx , i.e. the output of the rational functions, equals zero. Because we have already found the roots of the equation this process is very simple. From algebra, we know that the output will be zero whenever the numerator of the rational function is equal to zero. Therefore, the function will have an x-intercept wherever xx equals one of the roots of the numerator.

The y-intercept occurs whenever xx equals zero. This can be found by setting all the values of xx equal to zero and solving the rational function.

## Rational Functions and the Z-Transform

As we have stated above, all z-transforms can be written as rational functions, which have become the most common way of representing the z-transform. Because of this, we can use the properties above, especially those of the roots, in order to reveal certain characteristics about the signal or LTI system described by the z-transform.

Below is the general form of the z-transform written as a rational function:

Xz= b 0 + b 1 z-1++ b M zM a 0 + a 1 z-1++ a N zN Xz b 0 b 1 z -1 b M z M a 0 a 1 z -1 a N z N
(4)
If you have already looked at the module about Understanding Pole/Zero Plots and the Z-transform, you should see how the roots of the rational function play an important role in understanding the z-transform. The equation above, Equation 4, can be expressed in factored form just as was done for the simple rational function above, see Equation 2. Thus, we can easily find the roots of the numerator and denominator of the z-transform. The following two relationships become apparent:

### Relationship of Roots to Poles and Zeros

• The roots of the numerator in the rational function will be the zeros of the z-transform
• The roots of the denominator in the rational function will be the poles of the z-transform

## Conclusion

Once we have used our knowledge of rational functions to find its roots, we can manipulate a z-transform in a number of useful ways. We can apply this knowledge to representing an LTI system graphically through a Pole/Zero Plot, or to analyze and design a digital filter through Filter Design from the Z-Transform.

## Content actions

### Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

### Reuse / Edit:

Reuse or edit module (?)

#### Check out and edit

If you have permission to edit this content, using the "Reuse / Edit" action will allow you to check the content out into your Personal Workspace or a shared Workgroup and then make your edits.

#### Derive a copy

If you don't have permission to edit the content, you can still use "Reuse / Edit" to adapt the content by creating a derived copy of it and then editing and publishing the copy.