AP Precalculus · Unit 1

Rational Functions for AP Precalculus

Factor the numerator and denominator to find zeros, holes, and vertical asymptotes. Then use signs and end behavior to sketch the graph.

Scientific calculator, pencil, and wooden ruler beside an open grid-paper notebook

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)=P(x)Q(x)Q(x)≠0

Both P and Q are polynomials. Choose a denominator that is not identically zero, then exclude the inputs where Q(x)=0. A quotient can model an average or a rate per unit, such as cost per item.

Examples of rational functions include:

f(x)=1xg(x)=x+3x2−4h(x)=x2+2x+1x+1

A polynomial function is also a rational function if the denominator is 1. For example, p(x)=x2−5x+6 can be written as x2−5x+61. 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
x2+1x−3 Yes Quotient of polynomial functions.
x+1x−2 No x is not a polynomial term.
x3−2x+5 Yes, technically Can be written over denominator 1.
1x2+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

Find the real zeros of the original denominator before you cancel any factors. Each zero is excluded from the domain. Simplifying the expression helps classify each exclusion as a hole or a vertical asymptote.

Hole

The original denominator is zero at x=a. After reducing, the denominator is nonzero at a. Substitute a into the reduced rule to find the hole's height.

Vertical asymptote

The reduced denominator is still zero at x=a. A factor can cancel partially and leave a pole. Check the sign of the reduced quotient on each side.

Domain rule {x∈ℝ:Q(x)≠0}

Example: find the domain of f(x)=x+3x2−4. Set the denominator equal to zero:

x2−4=0
(x−2)(x+2)=0

The excluded values are x=2 and x=−2. The domain is:

(−∞,−2)∪(−2,2)∪(2,∞)

or, in set notation:

{x∈ℝ:x≠−2, x≠2}

Now compare g(x)=x2−4x2−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)=ax−h+ka≠0

The vertical asymptote is x=h, and the horizontal asymptote is y=k. Since ax−h is never equal to 0, the output k is never reached. The range is:

{y∈ℝ:y≠k}

For example, g(x)=3x−2+5 has range y≠5. The graph approaches y=5 as x→±∞, but it never equals 5 because 3x−2≠0 for all allowed x.

Finding range by solving for x

For a rational function such as f(x)=2x+1x−3, let y=f(x) and solve for x:

y=2x+1x−3

Cross-multiply:

y(x−3)=2x+1

Group the x-terms:

xy−3y=2x+1xy−2x=3y+1
x(y−2)=3y+1

Then:

x=3y+1y−2

When y=2, the equation x(y−2)=3y+1 becomes 0=7. Every other y gives an allowed x. Subtracting 3 from the solution for x gives 7y−2, which is nonzero. The range excludes just 2, the height of this function's horizontal asymptote.

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 (2,43), the output 43 may or may not be missing from the range. If another allowed input produces 43, 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 (x−2)(x+3)(x−2)(x−5) Domain restrictions, holes, vertical asymptotes and zeros.
Simplified quotient x+3x−5, with x≠2 Graph shape after removing common factor, plus hole tracking.
Quotient plus remainder x+4+6x−1 End behavior and oblique or polynomial asymptote.
Transformed reciprocal 2x−3+1 Vertical shift, horizontal shift, stretch and asymptotes.

For f(x)=x2+3x+2x−1, polynomial division gives:

x2+3x+2x−1=x+4+6x−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 6x−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

Find zeros of the numerator and keep only the inputs in the original domain. A zero of odd multiplicity changes sign across its intercept. A zero of even multiplicity touches the axis and keeps the same sign nearby.

Zero condition P(x)=0Q(x)≠0

Example:

f(x)=(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)=x−4x−1x≠−2, x≠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)=0−40−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 when a factor of the denominator remains after all common factors are canceled. The denominator multiplicity is then larger than the numerator multiplicity at that input.

Vertical asymptote rule Qreduced(x)=0

For:

f(x)=x2−4x2−x−2

factor both numerator and denominator:

f(x)=(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)→∞ or f(x)→−∞ as x→a+ or x→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.

Read x→a− as “approach a from the left” and x→a+ as “approach a from the right.” The superscript tells you the side of approach. Write the sign of the output separately.

Example:

f(x)=2x−3

The vertical asymptote is x=3. If x→3+, then x−3 is a small positive number, so 2x−3 becomes very large positive. Therefore:

limx→3+f(x)=+∞

If x→3−, then x−3 is a small negative number, so 2x−3 becomes very large negative:

limx→3−f(x)=−∞

Now compare:

g(x)=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:

limx→3−g(x)=+∞limx→3+g(x)=+∞

Use the power that remains after cancellation. An odd power gives opposite signs on the two sides. An even power gives the same sign on both sides. A negative remaining factor can flip which direction the graph goes.

Comparison of two rational functions at x equals 3. The solid odd-power curve falls on the left and rises on the right. The dash-dot even-power curve rises on both sides.
The solid curve is 2x−3. The dash-dot curve is 2(x−3)2. Use the dashed vertical line as the reference when reading the left and right limits.
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 where a denominator zero disappears completely after you cancel common factors. The original input is still excluded. The reduced expression gives the height the function approaches from both sides.

Use this routine:

  1. Factor numerator and denominator completely.
  2. Identify common factors.
  3. Find the real zeros of the original denominator. After canceling, keep the ones where the reduced denominator is nonzero as hole candidates.
  4. Use the simplified expression at each hole candidate to find its y-coordinate.
  5. State the hole as an ordered pair and keep that input excluded from the domain.

Example:

f(x)=x2−4x2−x−2

Factor:

f(x)=(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)=x+2x+1x≠2, x≠−1

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

y=2+22+1=43

The hole is:

(2,43)

Check a partially canceled factor. In x−2(x−2)3, the numerator removes one copy of x−2. The reduced rule is 1(x−2)2, so the limit from both sides of 2 is +∞. This gives a vertical asymptote at x=2.

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→∞ and as x→−∞. For rational functions, degree comparison and polynomial division are the main tools.

Let f(x)=P(x)Q(x), with nonzero polynomials P and Q. Write their leading terms as anxn and bmxm. The leading-term quotient anbmxn−m tells you what happens as x goes far left or right.

Degree comparison End behavior Asymptote
n<m f(x)→0 Horizontal asymptote y=0
n=m Ratio of leading coefficients y=anbm
n=m+1 Approaches a line from division Oblique asymptote
n>m+1 Approaches a polynomial from division Polynomial asymptote

For f(x)=3x+1x2−4, the numerator degree is 1 and the denominator degree is 2, so f(x)→0 as x→±∞. The horizontal asymptote is y=0.

For g(x)=2x2+15x2−3, the degrees are equal. Compare leading coefficients:

y=25

The horizontal asymptote is y=25. 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.

limx→−∞g(x)=25limx→+∞g(x)=25

To check a crossing, solve the equation f(x)=L using the original domain. For r(x)=x2+xx2+1, the horizontal asymptote is y=1. Since r(1)=1 and r(x)−1=x−1x2+1 changes sign there, the graph crosses the asymptote at (1,1).

If P is identically zero, the graph is y=0 on the original domain. Any inputs excluded by Q still leave holes.

When n>m, check the sign of the leading-term quotient separately at each end. For example, p(x)=2x3+1x2+1 has leading-term quotient 2x. It falls without bound at the left end and rises without bound at the right end. Division gives the exact asymptote.

AP wording: Say "as x→∞, f(x) approaches..." or "as x→−∞, 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, use polynomial division. If S(x) is the quotient and R(x) is the remainder, the part that gets small at either end is R(x)Q(x).

P(x)Q(x)=S(x)+R(x)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)=x2+3x+2x−1

Divide x2+3x+2 by x−1:

x2+3x+2x−1=x+4+6x−1

Since 6x−1→0 as x→±∞, 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:

x3+2x2−5x−1=x2+3x+3−2x−1

then the graph approaches the polynomial y=x2+3x+3 as x→±∞.

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. Mark a hole where the original denominator vanishes and the reduced denominator is nonzero. Compute its height with the reduced rule.
  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)=2xx2−1

Factor the denominator:

f(x)=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)=1x−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)=1x−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:

f(b)−f(a)b−a

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

f(2)−f(1)2−1=12−11=−12

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

f(4)−f(2)4−2=14−122=−18

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)=1x. Understanding transformations helps students identify asymptotes quickly without factoring a complicated expression every time.

g(x)=ax−h+ka≠0

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

Example:

g(x)=−3x−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:

2x+7x−3=2+13x−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)=2x+1x−3

Let y=2x+1x−3. Swap x and y:

x=2y+1y−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=3x+1x−2

So:

f−1(x)=3x+1x−2

The original function has domain x≠3 and range y≠2. Therefore the inverse has domain x≠2 and range y≠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)=2x+1x−3 and g(x)=3x+1x−2, verify one composition:

f(g(x))=2(3x+1x−2)+1(3x+1x−2)−3

Simplify numerator and denominator separately:

2(3x+1x−2)+1=6x+2+x−2x−2=7xx−2
(3x+1x−2)−3=3x+1−3x+6x−2=7x−2

Therefore:

f(g(x))=7xx−27x−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:

1x+2=3x

The restriction is x≠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:

xx−2=2x−2+1

The restriction is x≠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:

x−3x+2≥0

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

Interval Test value Sign of x−3x+2 Included?
(−∞,−2) −3 Positive Yes
(−2,3) 0 Negative No
(3,∞) 4 Positive Yes

Because the inequality is ≥0, include x=3, where the numerator is zero. Do not include x=−2, where the expression is undefined. The solution is:

(−∞,−2)∪[3,∞)

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)=500+8nn=8+500n

The practical domain is n>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.

For a 120-mile upstream trip against a constant current of 20 miles per hour, T(s)=120s−20 gives travel time in hours when the vessel's still-water speed is s miles per hour. The trip requires s>20. As s approaches 20 from the right, the predicted travel time grows without bound.

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.

If a graphing calculator shows a break near x=4, factor the numerator and denominator to classify it. When the graph appears to follow a slanted line, use polynomial division to give the line's exact equation.

For AP-style work, combine both:

“Factoring gives f(x)=(x−2)(x+1)(x−2)(x−5). The reduced denominator is nonzero at x=2, so the graph has a hole there. The factor x−5 remains in the denominator, giving a vertical asymptote at x=5. Zoom near 5 to inspect the branches and check the original denominator for the hole.”

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

May 2027 FRQ timing

Question 1 is Function Concepts. It shares a 35-minute, calculator-required part with Question 2. Older papers show the original test-day directions. The official practice links take you to the relevant PDF pages.

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 1x has one, but x2+1x2+4 has no real denominator zero.
Every excluded input creates a vertical asymptote. Sometimes true A surviving denominator zero gives a vertical asymptote. A completely canceled one gives a hole.
A rational function can have a hole. Sometimes true The original denominator is zero, and the reduced denominator is nonzero at that input.
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.

State the classification and give a condition or counterexample. A real zero of the original denominator gives a vertical asymptote when a factor remains in the reduced denominator. If the reduced rule has a finite value at the excluded input, the graph has a hole.

Counterexamples are powerful because they disprove "always" claims. The claim "all rational functions have holes and vertical asymptotes" is false. The function f(x)=1x has a vertical asymptote but no hole. The function g(x)=x−2x−2, with x≠2, has a hole but no vertical asymptote. The function h(x)=x2+1x2+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 1x, xx−1, and x−2x−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 All denominator copies of (x−a) cancel, so the graph has a hole at x=a. Substituting into the reduced rule gives the missing height. 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.

To justify a hole, name the original exclusion, show that every copy of the denominator factor cancels, and give the finite limit. For example, at x=2 the reduced rule x+2x+1 approaches 43. The missing point is (2,43).

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)=x2−9x2−x−6

Factor:

f(x)=(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)=x+3x+2x≠3, x≠−2

The hole's y-coordinate is:

y=3+33+2=65

So the hole is (3,65), and the vertical asymptote is x=−2.

At x=−2, use the signs of f(x)=1+1x+2. The left side falls without bound and the right side rises without bound. At either end the fractional term approaches zero, so the horizontal asymptote is y=1.

Graph with vertical asymptote at x equals negative 2, horizontal asymptote at y equals 1, an open point at 3, 1.2, and intercepts at negative 3, 0 and 0, 1.5.
The open circle is the hole. The vertical dashed line is x=−2, and the horizontal dashed line is y=1. The intercepts are (−3,0) and (0,32).

Example 2: End behavior by division

Find the end behavior of:

g(x)=2x2+5x−1x+3

Divide:

2x2+5x−1x+3=2x−1+2x+3

Since 2x+3→0 as x→±∞, the graph approaches the oblique asymptote:

y=2x−1
Two branches of the rational function separated at x equals negative 3, approaching the dashed slant line y equals 2 x minus 1 toward the ends.
The gap from the slant line is the remainder term 2x+3. The left branch lies below the line, and the right branch lies above it.

Example 3: Solve a rational equation with restrictions

Solve:

2x−1+3x+1=1

Restrictions: x≠1, x≠−1. Multiply by (x−1)(x+1):

2(x+1)+3(x−1)=x2−1
2x+2+3x−3=x2−1
5x−1=x2−1
x2−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)=4x+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.

The inverse question for range is whether the quotient can be zero. Here it cannot, so y=−3 is the only excluded output. Setting h(x)=0 gives x=−23. The vertical intercept is (0,−1).

Quick practice with answers

Write your answer and the domain restriction before opening each check.

Does an open point on the axis count as a zero?

Find the zeros of u(x)=(x−2)2x−2.

Show the zero check

There are no zeros. The reduced rule x−2 is zero at the excluded input 2, so (2,0) is a hole.

What remains after cancellation?

Find the one-sided limits of x−2(x−2)3 at x=2.

Show the limit check

The reduced denominator is (x−2)2, which is positive and approaches zero on each side. Both limits are +∞.

Can a horizontal asymptote be crossed?

For r(x)=x2+xx2+1, check the graph against the line y=1.

Show the crossing check

Leading coefficients give y=1 as the horizontal asymptote. The difference r(x)−1=x−1x2+1 changes sign at x=1, so the curve crosses at (1,1).

Check an equation solution against the original domain

Solve x2−4x−2=4.

Show the equation check

For x≠2, the equation reduces to x+2=4. Its only candidate is 2, which the original denominator excludes. The solution set is empty.

Common Rational Function Mistakes

Canceling before recording restrictions

Record each excluded input before dividing out common factors. The reduced rule keeps the original exclusions.

Calling every excluded value an asymptote

After cancellation, substitute the excluded input into the reduced denominator. A nonzero value gives a hole. A zero gives a vertical asymptote.

Finding zeros from the original numerator only

Keep a numerator zero as an intercept only when its input belongs to the original domain.

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.

Rational functions in the AP Precalculus framework

Unit 1 accounts for 30%–40% of the multiple-choice section. In Topics 1.7–1.11, you use formulas, tables, graphs, and written reasoning to connect the features below.

  • Topic 1.7 uses leading terms and limit notation to describe end behavior.
  • Topic 1.8 connects zeros and sign intervals to the graph.
  • Topic 1.9 connects surviving denominator factors to vertical asymptotes.
  • Topic 1.10 uses finite limiting values to locate holes.
  • Topic 1.11 rewrites rational expressions in forms that reveal their features.

Topics 1.12–1.14 apply these ideas to transformations and models. Review Polynomial Functions for leading terms and multiplicity, or Polynomial Expressions & Equations to revisit factoring and division.

Check a quotient and remainder with the Polynomial Division Calculator or check candidates with the Rational Zeros Calculator. On written work, state the original domain and show the factor or quotient that supports your answer.

Rational Functions FAQs

What is a rational function?

A rational function is a function that can be written as f(x)=P(x)Q(x), where P and Q are polynomial functions and Q(x)≠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?

The original denominator is zero in both cases. For a hole, the reduced expression has a finite value at that input. For a vertical asymptote, a denominator factor remains after cancellation and the graph becomes unbounded on approach.

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→∞ or x→−∞. 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.

Official AP Precalculus practice and sources

Start with the sample rational-function question. The released questions apply the same limit notation to exponential and logarithmic functions. Each PDF link opens on the relevant page in a new tab.

Current sample FRQ 1(B)

Use the rational function in the course description to solve an equation and describe its left-end behavior with a limit.

2026 FRQ 1(B)(ii)

Practice a right-hand limit at a vertical asymptote using a logarithmic function.

2024 FRQ 1(B)(ii)

Practice writing a limit at infinity for an exponential function that levels off.

College Board course and exam references

Independent NUM8ERS study guide. AP® is a trademark of the College Board.