2. Functions

Rational Functions

Rational Functions

students, imagine trying to model how a car’s fuel efficiency changes as its speed increases 🚗📈. At first, small changes in speed might improve efficiency, but after a point the relationship may level off or even get worse. In mathematics, some real-world relationships are best described by rational functions, which can show sharp changes, limits, and values that are impossible at certain inputs. These functions are very useful in IB Mathematics: Applications and Interpretation HL because they connect algebra, graphs, and modeling in realistic situations.

Introduction: What you will learn

In this lesson, students, you will learn how to:

  • explain the main ideas and terminology behind rational functions,
  • identify key features such as domain, intercepts, asymptotes, and holes,
  • analyze graphs and transformations of rational functions,
  • connect rational functions to modeling and technology-supported investigation,
  • interpret rational functions in context using IB-style reasoning.

Rational functions are part of the broader topic of functions, so they fit into the study of how one quantity depends on another. They are especially important in applications where a quantity is divided by another quantity that changes, such as cost per item, concentration, speed, or efficiency. They also appear in regression and curve fitting when data have a shape that rises, falls, or levels off in a way that a simple line cannot capture.

What is a rational function?

A rational function is a function that can be written as a ratio of two polynomials:

$$f(x)=\frac{p(x)}{q(x)}$$

where $p(x)$ and $q(x)$ are polynomials and $q(x)\neq 0$.

That condition matters because division by zero is undefined. So any $x$-value that makes $q(x)=0$ is not allowed in the domain. This is one of the biggest ideas in rational functions.

A very simple example is:

$$f(x)=\frac{1}{x}$$

Here, the denominator is $x$, so the function is undefined at $x=0$. The graph has two branches and gets closer and closer to the axes without touching them. This kind of behavior is common in rational functions.

Rational functions are different from polynomial functions because the variable appears in the denominator. This creates special graph features such as asymptotes and possible holes. These features make rational functions useful for modeling situations with limits or restrictions.

Key terminology and graph features

To understand rational functions, students, you need to know several important terms.

Domain

The domain is the set of all allowed input values. For a rational function, the domain excludes any value that makes the denominator zero.

For example, in

$$f(x)=\frac{x+2}{x-3},$$

the denominator is zero when $x=3$, so the domain is all real numbers except $x=3$.

Intercepts

An $x$-intercept happens when $f(x)=0$. For a rational function, this occurs when the numerator is zero and the denominator is not zero.

For example, in

$$f(x)=\frac{x-5}{x+1},$$

the $x$-intercept is at $x=5$, so the intercept is $(5,0)$.

The $y$-intercept is found by substituting $x=0$, if the function is defined there. For the same function,

$$f(0)=\frac{-5}{1}=-5,$$

so the $y$-intercept is $(0,-5)$.

Vertical asymptotes

A vertical asymptote is a vertical line that the graph approaches but never reaches. It usually happens where the denominator is zero and the factor does not cancel.

For example,

$$f(x)=\frac{1}{x-2}$$

has a vertical asymptote at

$$x=2.$$

As $x$ gets close to $2$, the values of $f(x)$ grow very large in magnitude.

Horizontal asymptotes

A horizontal asymptote describes what happens to the function as $x$ becomes very large or very negative.

For many rational functions, the degrees of the numerator and denominator help determine the horizontal asymptote. If the numerator and denominator have the same degree, the horizontal asymptote is the ratio of the leading coefficients.

For example,

$$f(x)=\frac{3x+1}{2x-4}$$

has horizontal asymptote

$$y=\frac{3}{2}.$$

Holes

A hole is a missing point in the graph. It happens when a factor cancels from the numerator and denominator.

For example,

$$f(x)=\frac{(x-1)(x+2)}{(x-1)(x-4)}$$

simplifies to

$$f(x)=\frac{x+2}{x-4},$$

but the original function is still undefined at $x=1$ and $x=4$. The canceled factor creates a hole at $x=1$, while $x=4$ is a vertical asymptote.

This distinction is important in IB work because simplifying algebraic expressions does not always mean the original function has the same graph everywhere.

How to analyze a rational function

students, when you are given a rational function, a strong analysis usually follows these steps:

  1. Find the domain.
  2. Factor numerator and denominator if possible.
  3. Check for common factors and identify holes.
  4. Find $x$- and $y$-intercepts.
  5. Find vertical asymptotes.
  6. Find horizontal asymptotes or other end behavior.
  7. Sketch or interpret the graph.

Let’s look at an example:

$$f(x)=\frac{x^2-4}{x-2}$$

Factor the numerator:

$$f(x)=\frac{(x-2)(x+2)}{x-2}$$

The factor $x-2$ cancels, so the simplified form is

$$f(x)=x+2,$$

but only for $x\neq 2$.

So the graph is the line $y=x+2$ with a hole at $x=2$. The missing point is

$$\left(2,4\right).$$

This example shows why rational functions are not just about simplifying expressions. The original function’s restrictions still matter.

Transformations of rational functions

Rational functions also fit into the study of transformations. A common parent function is

$$f(x)=\frac{1}{x}.$$

From this parent graph, you can create many other rational functions by shifting, stretching, or reflecting.

For example,

$$g(x)=\frac{1}{x-3}+2$$

shifts the graph right 3 units and up 2 units. The vertical asymptote becomes

$$x=3$$

and the horizontal asymptote becomes

$$y=2.$$

Transformations are useful because they help you predict a graph without plotting every point. This is a major skill in IB Mathematics: Applications and Interpretation HL, where understanding the shape and behavior of functions matters more than memorizing isolated graphs.

You may also see functions like

$$h(x)=\frac{a}{x-b}+c,$$

where $a$, $b$, and $c$ control the graph’s stretch, shift, and reflection. The values of $b$ and $c$ move the asymptotes to

$$x=b$$

and

$$y=c.$$

Rational functions in real-world contexts

Rational functions appear naturally in many contexts because they model quantities formed by division. Here are some examples.

Average cost

If the total cost of producing $x$ items is modeled by

$$C(x)=500+20x,$$

then the average cost per item is

$$A(x)=\frac{C(x)}{x}=\frac{500+20x}{x}=\frac{500}{x}+20.$$

As $x$ increases, $\frac{500}{x}$ gets smaller, so the average cost approaches $20$. This is an example of a rational function with a horizontal asymptote.

Chemistry and concentration

If a fixed amount of solute is divided by a changing volume of solution, concentration can be modeled with a rational expression. As volume increases, concentration decreases. This is useful in lab settings and can be interpreted through graphs.

Motion and efficiency

In some situations, time per task or fuel use per distance can be modeled by ratios. Rational functions help describe how performance changes as conditions change.

When using rational functions in context, students, always check that the domain makes sense in the real situation. For example, negative time or zero division may not be meaningful.

Technology-supported analysis and regression

IB Mathematics: Applications and Interpretation HL emphasizes technology-supported work. Rational functions can be explored using graphing calculators, spreadsheets, or software like Desmos or GeoGebra 📱.

Technology helps you:

  • plot graphs quickly,
  • identify asymptotes and holes,
  • compare a model with data,
  • test how well a rational function fits a set of values.

For regression, data may sometimes follow a curve that levels off or has a sharp change. A rational model can be a better choice than a linear model if the relationship changes rapidly near a restriction or approaches a limit.

For example, if data for reaction rate versus concentration starts large and then flattens, a rational model might capture the trend. However, choosing a model should be based on evidence from the data, not guesswork. In IB, the quality of fit should be discussed using graph shape, residuals, and the meaning of parameters.

Conclusion

Rational functions are an important part of Functions because they combine algebraic structure with meaningful graph behavior. students, they help you understand domain restrictions, intercepts, asymptotes, holes, and transformations. They are powerful for modeling real-world relationships where division creates limits or changing rates. In IB Mathematics: Applications and Interpretation HL, rational functions also support technology-based analysis and interpretation of data. Mastering them will strengthen your ability to analyze functions as tools for describing the world around you 🌍.

Study Notes

  • A rational function has the form $f(x)=\frac{p(x)}{q(x)}$, where $p(x)$ and $q(x)$ are polynomials and $q(x)\neq 0$.
  • The domain excludes values that make the denominator zero.
  • $x$-intercepts come from zeros of the numerator, as long as the denominator is not zero there.
  • The $y$-intercept is found by evaluating $f(0)$, if defined.
  • Vertical asymptotes usually occur where the denominator is zero and the factor does not cancel.
  • Holes occur when a factor cancels from both numerator and denominator.
  • Horizontal asymptotes describe end behavior as $x\to\infty$ or $x\to-\infty$.
  • The graph of $f(x)=\frac{1}{x}$ is the parent rational function.
  • Transformations like $f(x)=\frac{1}{x-b}+c$ shift the graph and move asymptotes to $x=b$ and $y=c$.
  • Rational functions are useful in modeling average cost, concentration, efficiency, and other real-world relationships.
  • Technology helps graph, fit, and interpret rational models in IB Mathematics: Applications and Interpretation HL.

Practice Quiz

5 questions to test your understanding

Rational Functions — IB Mathematics Applications And Interpretation HL | A-Warded