AP Precalculus Unit 1 rational-functions guide

AP Precalculus: Rational Functions

This guide teaches rational functions as AP Precalculus actually uses them: domain restrictions, zeros, vertical asymptotes, holes, end behavior, equivalent forms, transformations, graph construction, rational equations and model interpretation. The goal is not to memorize rules in isolation, but to connect each algebraic feature to a graph feature and a clear written explanation.

AP Alignment and Page Intent

Rational functions are part of AP Precalculus Unit 1, Polynomial and Rational Functions. College Board's topic sequence places them after polynomial functions: Rational Functions and End Behavior, Rational Functions and Zeros, Rational Functions and Vertical Asymptotes, Rational Functions and Holes, Equivalent Representations of Polynomial and Rational Expressions, Transformations of Functions, and function model selection/application. That is the structure this page follows.

This page should not compete with the Polynomial Functions page. Polynomial functions are smooth and defined for all real inputs. Rational functions are quotients of polynomials, so they can have excluded inputs, vertical asymptotes, holes and more complex end behavior. This page should also not compete with Polynomial Expressions & Equations, which covers the algebraic mechanics of factoring and polynomial division. Here, those algebra tools are used only when they reveal rational-function behavior.

On the AP exam, Unit 1 contributes 30% to 40% of the multiple-choice section. The rational-function topics matter because they combine all three AP mathematical practices: symbolic fluency, multiple representations and communication with reasoning. A strong answer does not only state "vertical asymptote at \(x=2\)." It explains why the denominator factor remains after simplification, how the graph behaves near that input and what the domain excludes.

Intent split: Use this page for rational-function behavior: domain, zeros, holes, asymptotes, end behavior, graphs, equations and models. Use the Polynomial Division Calculator only as a checking tool for quotient and remainder work, and use the Rational Zeros Calculator only when zero-finding support is needed.

What a Rational Function Is

A rational function is a function that can be written as a quotient of two polynomial functions. The general form is:

\[ f(x)=\dfrac{P(x)}{Q(x)},\qquad Q(x)\ne 0 \]

Here \(P(x)\) and \(Q(x)\) are polynomials. The denominator cannot equal zero because division by zero is undefined. That single restriction creates most of the new behavior students see in rational functions: excluded domain values, vertical asymptotes, removable discontinuities and graph branches that are separated by undefined inputs.

Examples of rational functions include:

\[ f(x)=\dfrac{1}{x},\qquad g(x)=\dfrac{x+3}{x^2-4},\qquad h(x)=\dfrac{x^2+2x+1}{x+1} \]

A polynomial function is also a rational function if the denominator is 1. For example, \(p(x)=x^2-5x+6\) can be written as \(\dfrac{x^2-5x+6}{1}\). But in AP Precalculus, the phrase "rational function" usually points to a quotient with a meaningful denominator, because the denominator controls restrictions and asymptotic behavior.

Function Rational? Reason
\(\dfrac{x^2+1}{x-3}\) Yes Quotient of polynomial functions.
\(\dfrac{\sqrt{x}+1}{x-2}\) No \(\sqrt{x}\) is not a polynomial term.
\(x^3-2x+5\) Yes, technically Can be written over denominator 1.
\(\dfrac{1}{x^2+4}\) Yes Numerator and denominator are polynomials.

Rational functions are important because they model quotient relationships. Average cost, speed, density, concentration and rates per unit can all produce rational forms. The AP skill is to read what the quotient means, not only to perform algebraic simplification.

Domain Restrictions: Start with the Original Denominator

The domain of a rational function is all real numbers except the inputs that make the original denominator equal zero. The word original matters. If a factor cancels later, that input is still not in the domain. A canceled denominator factor creates a hole, not a valid input.

Domain rule \[ \text{Domain of }f(x)=\dfrac{P(x)}{Q(x)}:\quad Q(x)\ne 0 \]

Example: find the domain of \(f(x)=\dfrac{x+3}{x^2-4}\). Set the denominator equal to zero:

\[ x^2-4=0 \]
\[ (x-2)(x+2)=0 \]

The excluded values are \(x=2\) and \(x=-2\). The domain is:

\[ (-\infty,-2)\cup(-2,2)\cup(2,\infty) \]

or, in set notation:

\[ \{x\in\mathbb{R}:x\ne -2,\ x\ne 2\} \]

Now compare \(g(x)=\dfrac{x^2-4}{x^2-x-2}\). The denominator factors as \((x-2)(x+1)\), so the excluded values are \(x=2\) and \(x=-1\). Even though \(x-2\) cancels with a numerator factor, \(x=2\) remains excluded from the domain because it made the original denominator zero.

AP habit: Find domain restrictions before canceling. Then simplify to identify holes and vertical asymptotes. If you simplify first and forget the original restriction, you may incorrectly include a hole as a valid point.

Range and Output Restrictions

The range of a rational function can be harder than the domain because output restrictions are not always visible from the original formula. For basic transformed reciprocal functions, the horizontal asymptote often reveals a missing output value. For more complicated rational functions, solving \(y=f(x)\) for \(x\) can reveal which \(y\)-values are possible.

Start with the transformed reciprocal family:

\[ f(x)=\dfrac{a}{x-h}+k,\qquad a\ne 0 \]

The vertical asymptote is \(x=h\), and the horizontal asymptote is \(y=k\). Since \(\dfrac{a}{x-h}\) is never equal to 0, the output \(k\) is never reached. The range is:

\[ \{y\in\mathbb{R}:y\ne k\} \]

For example, \(g(x)=\dfrac{3}{x-2}+5\) has range \(y\ne 5\). The graph approaches \(y=5\) as \(x\to\pm\infty\), but it never equals 5 because \(\dfrac{3}{x-2}\ne 0\) for all allowed \(x\).

Finding range by solving for \(x\)

For a rational function such as \(f(x)=\dfrac{2x+1}{x-3}\), let \(y=f(x)\) and solve for \(x\):

\[ y=\dfrac{2x+1}{x-3} \]

Cross-multiply:

\[ y(x-3)=2x+1 \]

Group the \(x\)-terms:

\[ xy-3y=2x+1,\qquad xy-2x=3y+1 \]
\[ x(y-2)=3y+1 \]

Then:

\[ x=\dfrac{3y+1}{y-2} \]

This formula works for every \(y\) except \(y=2\). Therefore the range excludes 2. That matches the horizontal asymptote \(y=2\), which also comes from the ratio of leading coefficients.

Range habit: For reciprocal transformations, read the missing output from \(y=k\). For general rational functions, solve \(y=f(x)\) for \(x\) and identify which \(y\)-values make that process impossible. Then check whether holes remove additional output values.

Holes can affect range when the missing point's \(y\)-value is not achieved anywhere else on the graph. If a rational function has a hole at \(\left(2,\dfrac{4}{3}\right)\), the output \(\dfrac{4}{3}\) may or may not be missing from the range. If another allowed input produces \(\dfrac{4}{3}\), then the output remains in the range. If no allowed input produces it, the range excludes that value. This is why AP questions about range often need graph or algebraic support, not just a single rule.

Equivalent Forms of Rational Functions

Equivalent forms are central to AP Precalculus Topic 1.11. A rational function may be written in factored form, simplified form, standard polynomial quotient form or transformed parent-function form. Each form reveals different information.

Form Example What it reveals
Factored quotient \(\dfrac{(x-2)(x+3)}{(x-2)(x-5)}\) Domain restrictions, holes, vertical asymptotes and zeros.
Simplified quotient \(\dfrac{x+3}{x-5}\), with \(x\ne 2\) Graph shape after removing common factor, plus hole tracking.
Quotient plus remainder \(x+4+\dfrac{6}{x-1}\) End behavior and oblique or polynomial asymptote.
Transformed reciprocal \(\dfrac{2}{x-3}+1\) Vertical shift, horizontal shift, stretch and asymptotes.

For \(f(x)=\dfrac{x^2+3x+2}{x-1}\), polynomial division gives:

\[ \dfrac{x^2+3x+2}{x-1}=x+4+\dfrac{6}{x-1} \]

The quotient-plus-remainder form shows that the graph approaches the line \(y=x+4\) as \(x\) moves far left or far right, because the remainder term \(\dfrac{6}{x-1}\) gets close to 0 for large \(|x|\). The same function in unsimplified quotient form may not show this behavior quickly.

Form choice is not cosmetic. If the question asks for zeros, use factored or simplified numerator information. If it asks for holes, compare factored numerator and denominator before canceling. If it asks for end behavior, use degree comparison or polynomial division. If it asks for transformations, rewrite into a shifted reciprocal form when possible.

Zeros and Intercepts of Rational Functions

A zero of a rational function occurs where the output equals zero. For a simplified rational expression, zeros come from numerator values that equal zero while the denominator is not zero. If a numerator factor cancels with a denominator factor, it creates a hole, not an \(x\)-intercept.

Zero condition \[ f(x)=\dfrac{P(x)}{Q(x)}=0\quad\Longrightarrow\quad P(x)=0\text{ and }Q(x)\ne 0 \]

Example:

\[ f(x)=\dfrac{(x-4)(x+2)}{(x+2)(x-1)} \]

The original denominator excludes \(x=-2\) and \(x=1\). The common factor \((x+2)\) cancels, so \(x=-2\) is a hole, not a zero. The simplified function is:

\[ f(x)=\dfrac{x-4}{x-1},\qquad x\ne -2,\ x\ne 1 \]

The zero is \(x=4\), giving the \(x\)-intercept \((4,0)\). The \(y\)-intercept comes from evaluating \(f(0)\) if \(0\) is in the domain:

\[ f(0)=\dfrac{0-4}{0-1}=4 \]

So the \(y\)-intercept is \((0,4)\). Notice the sequence: identify restrictions, simplify while remembering restrictions, then find intercepts from the simplified expression.

Vertical Asymptotes

A vertical asymptote occurs at an excluded input where the simplified denominator is zero. In factored form, vertical asymptotes come from denominator factors that do not cancel with numerator factors.

Vertical asymptote rule \[ \text{After canceling common factors, solve the remaining denominator }=0. \]

For:

\[ f(x)=\dfrac{x^2-4}{x^2-x-2} \]

factor both numerator and denominator:

\[ f(x)=\dfrac{(x-2)(x+2)}{(x-2)(x+1)} \]

The common factor \((x-2)\) cancels, so it creates a hole at \(x=2\). The remaining denominator factor \((x+1)\) gives a vertical asymptote at:

\[ x=-1 \]

Vertical-asymptote behavior is about the output becoming unbounded as \(x\) approaches the excluded input from one or both sides. In AP Precalculus, you can describe this informally with arrows or with notation such as \(f(x)\to\infty\) or \(f(x)\to-\infty\) as \(x\to a^+\) or \(x\to a^-\).

Do not say a graph "never crosses an asymptote" as an absolute rule. A vertical asymptote itself is not crossed because the function is undefined at that \(x\)-value. But horizontal or slant asymptotes can sometimes be crossed. The safer definition is that an asymptote describes approached behavior, especially near excluded inputs or as \(|x|\) becomes large.

One-Sided Behavior Near Vertical Asymptotes

Finding a vertical asymptote is only the first step. AP-style graphing may also ask what happens as the input approaches the asymptote from the left and from the right. The two sides can both go up, both go down, or go in opposite directions. The direction depends on the signs of the numerator and denominator near the asymptote.

Use one-sided notation when it helps:

\[ x\to a^- \quad\text{means }x\text{ approaches }a\text{ from the left} \]
\[ x\to a^+ \quad\text{means }x\text{ approaches }a\text{ from the right} \]

Example:

\[ f(x)=\dfrac{2}{x-3} \]

The vertical asymptote is \(x=3\). If \(x\to 3^+\), then \(x-3\) is a small positive number, so \(\dfrac{2}{x-3}\) becomes very large positive. Therefore:

\[ f(x)\to\infty\text{ as }x\to 3^+ \]

If \(x\to 3^-\), then \(x-3\) is a small negative number, so \(\dfrac{2}{x-3}\) becomes very large negative:

\[ f(x)\to-\infty\text{ as }x\to 3^- \]

Now compare:

\[ g(x)=\dfrac{2}{(x-3)^2} \]

The vertical asymptote is still \(x=3\), but the denominator is positive on both sides because it is squared. Therefore both sides go upward:

\[ g(x)\to\infty\text{ as }x\to 3^-,\qquad g(x)\to\infty\text{ as }x\to 3^+ \]

This is the same sign-behavior logic used with polynomial multiplicity. A denominator factor with odd multiplicity usually makes the sign change across the asymptote. A denominator factor with even multiplicity usually keeps the sign behavior the same, assuming the numerator does not also change sign there.

Remaining denominator factor Near the restricted input Typical branch behavior
\((x-a)\) Changes sign across \(a\) Branches often go opposite directions.
\((x-a)^2\) Same sign on both sides Branches often go the same direction.
\(-\,(x-a)^2\) Same negative sign on both sides Branches often both go downward.

Do not memorize this table without checking the numerator. The numerator's sign near the asymptote can flip the direction. The most reliable method is to choose test values just to the left and right of the vertical asymptote and determine the sign of the whole simplified expression.

Holes and Removable Discontinuities

A hole occurs when a factor is common to the numerator and denominator. The factor cancels algebraically, but the original function remains undefined at the corresponding \(x\)-value. The graph matches the simplified function except for one missing point.

Use this routine:

  1. Factor numerator and denominator completely.
  2. Identify common factors.
  3. Set each common factor equal to zero to find the \(x\)-coordinate of the hole.
  4. Cancel the common factor and use the simplified expression to find the \(y\)-coordinate.
  5. State the hole as an ordered pair and keep that input excluded from the domain.

Example:

\[ f(x)=\dfrac{x^2-4}{x^2-x-2} \]

Factor:

\[ f(x)=\dfrac{(x-2)(x+2)}{(x-2)(x+1)} \]

The common factor \((x-2)\) gives a hole at \(x=2\). The simplified expression is:

\[ f(x)=\dfrac{x+2}{x+1},\qquad x\ne 2,\ x\ne -1 \]

Find the \(y\)-coordinate of the hole by substituting \(x=2\) into the simplified expression:

\[ y=\dfrac{2+2}{2+1}=\dfrac{4}{3} \]

The hole is:

\[ \left(2,\dfrac{4}{3}\right) \]

College Board specifically includes rational functions and holes in Unit 1, so students should be able to distinguish a removable discontinuity from a vertical asymptote. The difference is not the excluded input alone. Both holes and vertical asymptotes happen at excluded inputs. The difference is whether the denominator factor cancels.

End Behavior and Horizontal Asymptotes

AP Precalculus Topic 1.7 focuses on Rational Functions and End Behavior. End behavior describes what the function does as \(x\to\infty\) and as \(x\to-\infty\). For rational functions, degree comparison and polynomial division are the main tools.

Let \(f(x)=\dfrac{P(x)}{Q(x)}\), where \(P\) has degree \(n\) and \(Q\) has degree \(m\).

Degree comparison End behavior Asymptote
\(n\lt m\) \(f(x)\to 0\) Horizontal asymptote \(y=0\)
\(n=m\) Ratio of leading coefficients \(y=\dfrac{a_n}{b_m}\)
\(n=m+1\) Approaches a line from division Oblique asymptote
\(n\gt m+1\) Approaches a polynomial from division Polynomial asymptote

For \(f(x)=\dfrac{3x+1}{x^2-4}\), the numerator degree is 1 and the denominator degree is 2, so \(f(x)\to 0\) as \(x\to\pm\infty\). The horizontal asymptote is \(y=0\).

For \(g(x)=\dfrac{2x^2+1}{5x^2-3}\), the degrees are equal. Compare leading coefficients:

\[ y=\dfrac{2}{5} \]

The horizontal asymptote is \(y=\dfrac{2}{5}\). This means the graph approaches that output level as \(x\) becomes very large in magnitude. It does not necessarily mean the graph never crosses that line.

AP wording: Say "as \(x\to\infty\), \(f(x)\) approaches..." or "as \(x\to-\infty\), \(f(x)\) approaches..." This connects the algebraic asymptote to end behavior rather than treating it as a rule to memorize.

Oblique and Polynomial Asymptotes

When the numerator degree is greater than the denominator degree, horizontal-asymptote rules are not enough. Use polynomial division to rewrite the rational function as a quotient plus a remainder over the denominator.

\[ \dfrac{P(x)}{Q(x)}=\text{quotient}+\dfrac{\text{remainder}}{Q(x)} \]

If the numerator degree is exactly one more than the denominator degree, the quotient is linear, and the graph has an oblique asymptote. Example:

\[ f(x)=\dfrac{x^2+3x+2}{x-1} \]

Divide \(x^2+3x+2\) by \(x-1\):

\[ \dfrac{x^2+3x+2}{x-1}=x+4+\dfrac{6}{x-1} \]

Since \(\dfrac{6}{x-1}\to 0\) as \(x\to\pm\infty\), the graph approaches:

\[ y=x+4 \]

If the numerator degree is two or more greater than the denominator degree, the quotient is a higher-degree polynomial. The graph approaches that polynomial for large \(|x|\). For example, if division gives:

\[ \dfrac{x^3+2x^2-5}{x-1}=x^2+3x+3-\dfrac{2}{x-1} \]

then the graph approaches the polynomial \(y=x^2+3x+3\) as \(x\to\pm\infty\).

The Polynomial Division Calculator can help check the quotient and remainder, but the written explanation should still identify why the remainder term becomes small for large \(|x|\).

Graphing Routine for Rational Functions

A rational-function graph should be built from features, not from guesswork. Use the following sequence for AP-style graphing or graph interpretation.

  1. Factor the numerator and denominator.
  2. Find the domain restrictions from the original denominator.
  3. Cancel common factors only after recording the restrictions.
  4. Identify holes from canceled factors and compute their coordinates.
  5. Identify vertical asymptotes from remaining denominator factors.
  6. Find zeros from the simplified numerator, excluding holes.
  7. Find the \(y\)-intercept by evaluating \(f(0)\), if \(0\) is in the domain.
  8. Determine end behavior using degree comparison or polynomial division.
  9. Use test points or technology to place branches correctly.
  10. Write conclusions using domain, asymptote, hole and intercept language.

Apply the routine to:

\[ f(x)=\dfrac{2x}{x^2-1} \]

Factor the denominator:

\[ f(x)=\dfrac{2x}{(x-1)(x+1)} \]

There are no common factors, so there are no holes. The domain excludes \(x=1\) and \(x=-1\). The vertical asymptotes are \(x=1\) and \(x=-1\). The numerator degree is less than the denominator degree, so the horizontal asymptote is \(y=0\). The \(x\)-intercept and \(y\)-intercept are both \((0,0)\).

Those features do not draw every point, but they create the structure of the graph. A graphing calculator can confirm branch placement, but the important AP reasoning is that each feature came from a specific algebraic source.

Tables and Rates of Change for Rational Functions

Rational functions are not only formulas and asymptotes. AP Precalculus also asks students to move among tables, graphs, formulas and verbal descriptions. A table can show an approaching pattern near a vertical asymptote or horizontal asymptote even before the equation is fully analyzed.

Consider:

\[ f(x)=\dfrac{1}{x-2} \]

As \(x\) approaches 2 from the right, the denominator becomes a small positive number, and \(f(x)\) grows without bound. As \(x\) approaches 2 from the left, the denominator becomes a small negative number, and \(f(x)\) decreases without bound.

\(x\) \(x-2\) \(f(x)=\dfrac{1}{x-2}\)
1.9-0.1-10
1.99-0.01-100
2.010.01100
2.10.110

This table supports the vertical asymptote \(x=2\). It also shows why a rational graph can have separated branches. The input value \(2\) is not part of the domain, so the graph cannot be drawn through that vertical line.

Average rate of change

Average rate of change still uses the same formula as other functions:

\[ \dfrac{f(b)-f(a)}{b-a} \]

For \(f(x)=\dfrac{1}{x}\), the average rate of change on \([1,2]\) is:

\[ \dfrac{f(2)-f(1)}{2-1}=\dfrac{\dfrac{1}{2}-1}{1}=-\dfrac{1}{2} \]

On \([2,4]\), the average rate of change is:

\[ \dfrac{f(4)-f(2)}{4-2}=\dfrac{\dfrac{1}{4}-\dfrac{1}{2}}{2}=-\dfrac{1}{8} \]

The output is still decreasing, but the magnitude of the average rate is smaller on the second interval. This matches the graph: as \(x\) grows, the reciprocal function flattens toward the horizontal asymptote \(y=0\). The rate-of-change language connects numerical evidence to graphical behavior.

Recognizing rational behavior from a table

A table may suggest rational behavior when outputs grow very large near a particular input, or when outputs level off toward a long-run value. For example, if values near \(x=5\) become \(100\), \(1000\), \(-1000\), \(-100\), the table suggests an excluded input or vertical asymptote near \(x=5\). If values settle closer and closer to 3 for large positive and negative inputs, the table suggests a horizontal asymptote near \(y=3\).

Tables alone do not prove a unique rational formula. Many functions can match a finite table. In AP Precalculus, table evidence should be paired with an equation, graph, context or technology output before making a final claim.

Transformations of Rational Functions

Rational functions often appear as transformations of the reciprocal parent function \(f(x)=\dfrac{1}{x}\). Understanding transformations helps students identify asymptotes quickly without factoring a complicated expression every time.

\[ g(x)=\dfrac{a}{x-h}+k \]

This form has vertical asymptote \(x=h\) and horizontal asymptote \(y=k\). The value of \(a\) controls vertical stretch, compression and reflection. If \(a\lt 0\), the graph reflects across the horizontal asymptote compared with the basic reciprocal shape.

Example:

\[ g(x)=\dfrac{-3}{x-2}+5 \]

The vertical asymptote is \(x=2\). The horizontal asymptote is \(y=5\). The graph is shifted right 2, up 5, vertically stretched by 3 and reflected because \(a=-3\). This is the same transformation language used in Function Transformations, now applied to rational functions.

Some rational functions can be rewritten in this form by division or algebra. For example:

\[ \dfrac{2x+7}{x-3}=2+\dfrac{13}{x-3} \]

So the vertical asymptote is \(x=3\), and the horizontal asymptote is \(y=2\). Rewriting into transformed reciprocal form makes the graph behavior visible.

Inverse Rational Functions and Domain Restrictions

Many rational functions are one-to-one on their full domain or on a restricted domain, so inverse functions can appear naturally. The important AP habit is to track domain and range restrictions during the inverse process. A formula can look correct algebraically while still missing a restriction inherited from the original function.

To find an inverse algebraically, use the same routine taught in the Inverse Functions guide:

  1. Replace \(f(x)\) with \(y\).
  2. Swap \(x\) and \(y\).
  3. Solve for \(y\).
  4. State the inverse with domain and range restrictions.
  5. Check by composition if needed.

Example: find the inverse of:

\[ f(x)=\dfrac{2x+1}{x-3} \]

Let \(y=\dfrac{2x+1}{x-3}\). Swap \(x\) and \(y\):

\[ x=\dfrac{2y+1}{y-3} \]

Cross-multiply and solve for \(y\):

\[ x(y-3)=2y+1 \]
\[ xy-3x=2y+1 \]
\[ xy-2y=3x+1 \]
\[ y(x-2)=3x+1 \]
\[ y=\dfrac{3x+1}{x-2} \]

So:

\[ f^{-1}(x)=\dfrac{3x+1}{x-2} \]

The original function has domain \(x\ne 3\) and range \(y\ne 2\). Therefore the inverse has domain \(x\ne 2\) and range \(y\ne 3\). This domain-range swap is not optional; it is part of what makes the inverse a function with the correct restrictions.

Verifying inverse rational functions

If \(f(x)=\dfrac{2x+1}{x-3}\) and \(g(x)=\dfrac{3x+1}{x-2}\), verify one composition:

\[ f(g(x))= \dfrac{2\left(\dfrac{3x+1}{x-2}\right)+1} {\left(\dfrac{3x+1}{x-2}\right)-3} \]

Simplify numerator and denominator separately:

\[ 2\left(\dfrac{3x+1}{x-2}\right)+1 = \dfrac{6x+2+x-2}{x-2} = \dfrac{7x}{x-2} \]
\[ \left(\dfrac{3x+1}{x-2}\right)-3 = \dfrac{3x+1-3x+6}{x-2} = \dfrac{7}{x-2} \]

Therefore:

\[ f(g(x))=\dfrac{\dfrac{7x}{x-2}}{\dfrac{7}{x-2}}=x \]

This verifies one direction for allowed inputs. A full inverse verification should also check \(g(f(x))=x\) on the original function's domain. In AP writing, mention restrictions rather than treating composition as valid for every real number.

Solving Rational Equations

A rational equation contains one or more rational expressions. The standard method is to identify restrictions, multiply by the least common denominator and solve the resulting equation. Every solution must be checked against the original denominators.

  1. State restrictions from every denominator.
  2. Find the least common denominator.
  3. Multiply every term by the least common denominator.
  4. Solve the resulting polynomial equation.
  5. Reject any solution that violates an original restriction.

Example:

\[ \dfrac{1}{x}+2=\dfrac{3}{x} \]

The restriction is \(x\ne 0\). Multiply every term by \(x\):

\[ 1+2x=3 \]

So \(2x=2\), and \(x=1\). This does not violate the restriction, so \(x=1\) is the solution.

Now consider:

\[ \dfrac{x}{x-2}=\dfrac{2}{x-2}+1 \]

The restriction is \(x\ne 2\). Multiply by \(x-2\):

\[ x=2+(x-2) \]

This simplifies to \(x=x\), which is true for every allowed \(x\). The solution is all real numbers except \(x=2\). The excluded value is not allowed even though the cleared equation is true there.

Rational Inequalities and Sign Charts

A rational inequality asks where a rational function is positive, negative, nonnegative or nonpositive. The method is similar to polynomial sign charts, but denominator zeros must be treated as excluded boundary points. Holes can also be excluded boundary points even if they do not cause vertical asymptotes.

Solve:

\[ \dfrac{x-3}{x+2}\ge 0 \]

The zero is \(x=3\). The denominator restriction is \(x=-2\). These values split the number line into intervals: \((-\infty,-2)\), \((-2,3)\) and \((3,\infty)\). Test each interval:

Interval Test value Sign of \(\dfrac{x-3}{x+2}\) Included?
\((-\infty,-2)\) \(-3\) Positive Yes
\((-2,3)\) 0 Negative No
\((3,\infty)\) 4 Positive Yes

Because the inequality is \(\ge 0\), include \(x=3\), where the numerator is zero. Do not include \(x=-2\), where the expression is undefined. The solution is:

\[ (-\infty,-2)\cup[3,\infty) \]

For broader nonlinear sign-chart practice, use the Nonlinear Inequalities guide.

Rational Models and Practical Interpretation

Rational functions often model quantities that are ratios: cost per item, concentration, density, speed, efficiency, average value or reciprocal relationships. In AP Precalculus, model interpretation requires more than calculating an output. Students should state what the input and output represent, identify practical domain restrictions and discuss limitations.

Example: A fixed setup cost of 500 dollars plus 8 dollars per item gives total cost \(C(n)=500+8n\). The average cost per item is:

\[ A(n)=\dfrac{500+8n}{n}=8+\dfrac{500}{n} \]

The practical domain is \(n\gt 0\), and if \(n\) counts whole items, then \(n\) is a positive integer. The horizontal asymptote is \(y=8\), which means average cost approaches 8 dollars per item as the number of items becomes large. It does not mean the average cost equals 8 for any finite \(n\).

Another rational model may have a vertical asymptote that represents a real limitation. If \(T(s)=\dfrac{120}{s-20}\) models time after subtracting a 20 mph current effect, then \(s=20\) is not a meaningful input because it makes the denominator zero. Values near that input may produce very large times, and values below it may not make sense depending on the context.

Model response frame: "The model predicts [output with units] when [input with units]. The domain is restricted because [reason]. The asymptote means [long-run or boundary behavior], not an exact value at a finite input."

Technology and AP Explanation

AP Precalculus includes calculator-required work, and graphing technology is useful for rational functions. Technology can help locate intercepts, verify asymptotes, compare branches and inspect end behavior. It can also reveal when a simplified graph appears continuous but has a hidden hole.

Technology should not replace algebraic explanation. A graphing calculator may show a vertical-looking break near \(x=4\), but the written answer should explain whether that break is a vertical asymptote or a hole by factoring the numerator and denominator. A calculator may show the graph approaching a line, but polynomial division explains the asymptote exactly.

For AP-style work, combine both:

"Factoring gives \(f(x)=\dfrac{(x-2)(x+1)}{(x-2)(x-5)}\), so \(x=2\) is a hole and \(x=5\) is a vertical asymptote. The graphing calculator confirms a missing point near \(x=2\) and unbounded behavior near \(x=5\)."

After timed practice, the AP Precalculus Score Calculator can help estimate your score. For written-response practice, use AP Precalculus FRQs.

Always, Sometimes, Never Claims for Rational Functions

College Board materials use "always true, sometimes true, never true" reasoning for polynomial and rational functions. This is a valuable AP habit because it prevents memorized rules from becoming false statements. Rational functions have many rules with conditions, and the condition is often the difference between a correct answer and a trap.

Claim Classification Reason
Every rational function has a vertical asymptote. Sometimes true \(\dfrac{1}{x}\) has one, but \(\dfrac{x^2+1}{x^2+4}\) has no real denominator zero.
Every excluded input creates a vertical asymptote. Sometimes true A canceled denominator factor creates a hole instead.
A rational function can have a hole. Sometimes true It happens when numerator and denominator share a factor.
A horizontal asymptote can be crossed. Sometimes true Horizontal asymptotes describe end behavior, not a forbidden line.
A rational function is undefined where its original denominator is zero. Always true Division by zero is undefined, even if a factor cancels later.
A zero of the denominator is always a zero of the function. Never true A denominator zero makes the function undefined, not equal to zero.

When answering these questions, avoid one-word responses. State the classification and give either a counterexample or a condition. For example, "The claim is sometimes true. A rational function has a vertical asymptote at a real zero of the denominator only if that factor does not cancel with the numerator. If it cancels, the graph has a hole instead."

Counterexamples are powerful because they disprove "always" claims. The claim "all rational functions have holes and vertical asymptotes" is false. The function \(f(x)=\dfrac{1}{x}\) has a vertical asymptote but no hole. The function \(g(x)=\dfrac{x-2}{x-2}\), with \(x\ne 2\), has a hole but no vertical asymptote. The function \(h(x)=\dfrac{x^2+1}{x^2+4}\) has neither real holes nor real vertical asymptotes because the denominator has no real zeros.

This section also helps with multiple-choice questions. If an answer choice uses absolute language such as "always," "never," or "must," test it against a simple rational function before accepting it. The simplest examples, like \(\dfrac{1}{x}\), \(\dfrac{x}{x-1}\), and \(\dfrac{x-2}{x-2}\), often expose the flaw.

Written-Response Frames for Rational Functions

Rational-function questions are often graded on explanation, not only on a final asymptote or intercept. A strong AP response names the feature, ties it to the correct algebraic condition and interprets the graph behavior. These short frames help students write complete answers without becoming vague.

Feature Useful response frame Why it works
Domain The original denominator is zero at \(x=a\), so \(a\) is excluded from the domain. It uses the original function, not only the simplified form.
Hole The factor \((x-a)\) cancels, so the graph has a hole at \(x=a\). Substituting into the simplified function gives the missing point. It distinguishes removable discontinuity from asymptote.
Vertical asymptote The denominator factor \((x-a)\) remains after simplification, so \(x=a\) is a vertical asymptote. It states the condition that creates unbounded behavior.
End behavior After division, the remainder term approaches 0 as \(|x|\) becomes large, so the graph approaches the quotient. It explains why the asymptote describes long-run behavior.

For example, instead of writing only "hole at \(x=2\)," write: "The factor \((x-2)\) appears in both the numerator and denominator, so \(x=2\) is excluded from the original domain but cancels in the simplified expression. Therefore the graph has a removable discontinuity at \(x=2\). Using the simplified expression gives the hole's \(y\)-coordinate." This kind of wording is concise, but it shows the reason behind the answer.

For asymptotes, avoid unsupported statements such as "the denominator is zero, so there is an asymptote." That is incomplete because a common factor might cancel. A better statement is: "After common factors are removed, the simplified denominator is zero at \(x=-1\), so \(x=-1\) is a vertical asymptote." The phrase "after common factors are removed" is doing important mathematical work.

Worked AP-Style Rational Function Examples

Example 1: Domain, hole and vertical asymptote

Analyze:

\[ f(x)=\dfrac{x^2-9}{x^2-x-6} \]

Factor:

\[ f(x)=\dfrac{(x-3)(x+3)}{(x-3)(x+2)} \]

The original denominator excludes \(x=3\) and \(x=-2\). The common factor \((x-3)\) creates a hole at \(x=3\). The simplified function is:

\[ f(x)=\dfrac{x+3}{x+2},\qquad x\ne 3,\ x\ne -2 \]

The hole's \(y\)-coordinate is:

\[ y=\dfrac{3+3}{3+2}=\dfrac{6}{5} \]

So the hole is \(\left(3,\dfrac{6}{5}\right)\), and the vertical asymptote is \(x=-2\).

Example 2: End behavior by division

Find the end behavior of:

\[ g(x)=\dfrac{2x^2+5x-1}{x+3} \]

Divide:

\[ \dfrac{2x^2+5x-1}{x+3}=2x-1+\dfrac{2}{x+3} \]

Since \(\dfrac{2}{x+3}\to 0\) as \(x\to\pm\infty\), the graph approaches the oblique asymptote:

\[ y=2x-1 \]

Example 3: Solve a rational equation with restrictions

Solve:

\[ \dfrac{2}{x-1}+\dfrac{3}{x+1}=1 \]

Restrictions: \(x\ne 1\), \(x\ne -1\). Multiply by \((x-1)(x+1)\):

\[ 2(x+1)+3(x-1)=x^2-1 \]
\[ 2x+2+3x-3=x^2-1 \]
\[ 5x-1=x^2-1 \]
\[ x^2-5x=0 \]
\[ x(x-5)=0 \]

The candidates are \(x=0\) and \(x=5\). Neither violates the restrictions, so both are solutions.

Example 4: Graph features from transformed form

For \(h(x)=\dfrac{4}{x+2}-3\), the vertical asymptote is \(x=-2\), the horizontal asymptote is \(y=-3\), and the domain is all real numbers except \(-2\). The graph is a vertical stretch of the reciprocal parent function by factor 4, shifted left 2 and down 3.

Common Rational Function Mistakes

Canceling before recording restrictions

A canceled denominator factor still creates a domain exclusion and usually a hole.

Calling every excluded value an asymptote

Excluded values from canceled factors are holes. Excluded values from remaining denominator factors are vertical asymptotes.

Finding zeros from the original numerator only

If a numerator factor cancels, that input is a hole, not an \(x\)-intercept.

Forgetting to check rational equations

Clearing denominators can create candidate values that make the original equation undefined.

Misreading horizontal asymptotes

A horizontal asymptote describes end behavior. A graph may cross it at finite input values.

Ignoring model domain

A rational model may be algebraically defined on several intervals but meaningful only for positive time, distance, cost or count values.

Official Sources Used

Rational Functions FAQs

What is a rational function?

A rational function is a function that can be written as \(f(x)=\dfrac{P(x)}{Q(x)}\), where \(P\) and \(Q\) are polynomial functions and \(Q(x)\ne 0\).

How do you find the domain of a rational function?

Set the original denominator equal to zero and exclude those input values. Record these restrictions before simplifying or canceling factors.

What is the difference between a hole and a vertical asymptote?

A hole comes from a denominator factor that cancels with a numerator factor. A vertical asymptote comes from a denominator factor that remains after simplification.

How do you find a horizontal asymptote?

Compare numerator and denominator degrees. If the numerator degree is less, the horizontal asymptote is \(y=0\). If the degrees are equal, use the ratio of leading coefficients.

Can a graph cross a horizontal asymptote?

Yes. A horizontal asymptote describes end behavior as \(x\to\infty\) or \(x\to-\infty\). The graph may cross that line at finite input values.

Why do rational equations need solution checks?

Multiplying by a denominator can create candidate solutions that make the original denominator zero. Those candidates must be rejected because the original equation is undefined there.