Clastify logo
Clastify logo
Exam prep
Exemplars
Review
HOT

Rational Functions

Master IB Math AA Rational Functions with notes created by examiners and strictly aligned with the syllabus.

IB Syllabus Requirements for Rational Functions

AHL 1.11

Partial fractions

HL

SL 2.8

The reciprocal function and linear rational functions

AHL 2.13

Rational functions with quadratic numerator or denominator

HL

AHL 1.11

PARTIAL FRACTIONS

HL

What partial fractions are for

A rational function can be written as a quotient of two polynomial functions, provided the denominator isn’t zero. A partial fraction decomposition is an algebraic identity that expresses one rational expression as a sum of simpler rational expressions.

In this part of the syllabus, the denominator has at most two distinct linear factors, while the numerator has a lower degree than the denominator. So, in practice, an expression such as

px+q(xr)(xs)\frac{px+q}{(x-r)(x-s)}

is split into the form

px+q(xr)(xs)Axr+Bxs\frac{px+q}{(x-r)(x-s)} \equiv \frac{A}{x-r}+\frac{B}{x-s}

The symbol \equiv is significant: it shows that both sides are equal for every value of xx for which they are defined, rather than for just one convenient value.

The key pattern to remember is how each denominator factor matches its partial fraction term. Partial fraction templates for one or two linear factors

Denominator patternRational expressionPartial fraction formUnknown constants
xrx-rP(x)xr\dfrac{P(x)}{x-r}Axr\dfrac{A}{x-r}AA
(xr)(xs)(x-r)(x-s)P(x)(xr)(xs)\dfrac{P(x)}{(x-r)(x-s)}Axr+Bxs\dfrac{A}{x-r}+\dfrac{B}{x-s}A,BA,\,B
(x+1)(x3)(x+1)(x-3)5x+7(x+1)(x3)\dfrac{5x+7}{(x+1)(x-3)}Ax+1+Bx3\dfrac{A}{x+1}+\dfrac{B}{x-3}A=12, B=112A=-\dfrac12,\ B=\dfrac{11}{2}

Finding the constants

First, factorise the denominator fully into linear factors. Next, write the partial fraction form using unknown constants. For example,

5x+7(x+1)(x3)Ax+1+Bx3\frac{5x+7}{(x+1)(x-3)} \equiv \frac{A}{x+1}+\frac{B}{x-3}

Multiply both sides by the full denominator:

5x+7A(x3)+B(x+1)5x+7 \equiv A(x-3)+B(x+1)

At this point, either compare the coefficients of xx and the constant terms or substitute values that make one bracket zero. Comparing coefficients is the safer method because it checks the entire identity. Substituting the roots of the denominator is faster and works perfectly well when the proposed form is definitely correct.

In this example, substituting x=3x=3 gives 22=4B22=4B, so B=112B=\frac{11}{2}. Substituting x=1x=-1 gives 2=4A2=-4A, so A=12A=-\frac{1}{2}. Hence

5x+7(x+1)(x3)12(x+1)+112(x3)\frac{5x+7}{(x+1)(x-3)} \equiv -\frac{1}{2(x+1)}+\frac{11}{2(x-3)}

Telescoping sums and later use

Partial fractions often turn up because they simplify the next stage of a problem. In calculus, they rearrange integrands before integration. In sequences and series, they can produce a telescoping sum: a finite sum in which the middle terms cancel in pairs.

For instance,

1r(r+1)1r1r+1\frac{1}{r(r+1)} \equiv \frac{1}{r}-\frac{1}{r+1}

Therefore

r=1n1r(r+1)=(112)+(1213)++(1n1n+1)=11n+1=nn+1\sum_{r=1}^{n}\frac{1}{r(r+1)} =\left(1-\frac{1}{2}\right)+\left(\frac{1}{2}-\frac{1}{3}\right)+\cdots+\left(\frac{1}{n}-\frac{1}{n+1}\right) =1-\frac{1}{n+1} =\frac{n}{n+1}

The method works because the algebraic form has changed, but the expression remains equivalent.

SL 2.8

THE RECIPROCAL FUNCTION AND LINEAR RATIONAL FUNCTIONS

The reciprocal function

The reciprocal function maps every non-zero real number to its multiplicative inverse. We write it as

f(x)=1x,x0f(x)=\frac{1}{x}, \qquad x\neq 0

The domain is {xR:x0}\{x\in\mathbb{R}:x\neq 0\}, while the range is {yR:y0}\{y\in\mathbb{R}:y\neq 0\}.

An asymptote is a straight line that a graph gets arbitrarily close to, though the graph doesn’t have to meet it. For f(x)=1xf(x)=\frac{1}{x}, x=0x=0 is the vertical asymptote and y=0y=0 is the horizontal asymptote. There are no intercepts with either axis. The value x=0x=0 isn’t allowed, and 1x\frac{1}{x} can never be zero.

The reciprocal function is a self-inverse function: its inverse function is the function itself. If y=1xy=\frac{1}{x}, rearranging gives x=1yx=\frac{1}{y}, so applying the same rule takes you back to the original input. On the graph, this appears as symmetry in the line y=xy=x.

Image

Linear rational functions

A linear rational function is a rational function with linear polynomials in both the numerator and denominator. In this syllabus, it has the form

f(x)=ax+bcx+df(x)=\frac{ax+b}{cx+d}

Unless the question says otherwise, take the largest possible real domain. The denominator gives the excluded value:

cx+d0xdccx+d\neq 0 \quad \Rightarrow \quad x\neq -\frac{d}{c}

The vertical asymptote is the vertical line that the graph approaches near an excluded input value. For this function,

x=dcx=-\frac{d}{c}

The horizontal asymptote is the horizontal line approached as xx becomes very large positive or very large negative. Because the numerator and denominator have the same degree, compare their leading coefficients:

y=acy=\frac{a}{c}

Put these two equations on the sketch before working out the curve in detail. They provide the frame of reference. With a poor calculator window, one branch may even look as though it has disappeared.

Intercepts and sketches

An axis intercept is a point where the graph meets one of the coordinate axes. For

f(x)=ax+bcx+df(x)=\frac{ax+b}{cx+d}

where the relevant values are defined, substitute x=0x=0 to find the yy-intercept:

f(0)=bdf(0)=\frac{b}{d}

so the point is (0,bd)\left(0,\frac{b}{d}\right) when d0d\neq 0. To find the xx-intercept, set the numerator equal to zero:

ax+b=0x=baax+b=0 \quad \Rightarrow \quad x=-\frac{b}{a}

which gives the point (ba,0)\left(-\frac{b}{a},0\right) when a0a\neq 0.

A clear sketch of a linear rational function needs to show both asymptotes and any intercepts with the axes. Its two branches lie in the regions shaped by the asymptotes. Even though the fraction contains linear expressions, the graph doesn’t behave like a straight line.

Image

Transformations and mathematical representation

The graph of f(x)=ax+bcx+df(x)=\frac{ax+b}{cx+d} can often be viewed as a transformation of y=1xy=\frac{1}{x}. Its asymptotes reveal the translation: the centre of the two-branch shape lies where the vertical and horizontal asymptotes intersect.

This also illustrates a wider idea about functions. The same relationship may be shown symbolically with a formula, visually with a graph, or numerically in a table. A formula gives exact asymptotes and intercepts, while a graph shows the shape and how the branches relate to each other. The notation and language of functions developed historically through several mathematical traditions. Mathematical knowledge is therefore stable in its logic, even though its forms of representation aren’t frozen.

AHL 2.13

RATIONAL FUNCTIONS WITH QUADRATIC NUMERATOR OR DENOMINATOR

HL

The two forms in this part of the course

The rational functions in this section build on the linear-over-linear case from SL. You need to know two forms:

f(x)=ax+bcx2+dx+ef(x)=\frac{ax+b}{cx^2+dx+e}

and

f(x)=ax2+bx+cdx+ef(x)=\frac{ax^2+bx+c}{dx+e}

The reciprocal function is a special case in this family: 1x\frac{1}{x} comes from a constant numerator and a linear denominator.

The algebra determines the shape of the graph. Zeros of the denominator control vertical behaviour, while relative degrees determine end behaviour. Zeros of the numerator give the xx-intercepts.

Functions of the form ax+bcx2+dx+e\frac{ax+b}{cx^2+dx+e}

Consider

f(x)=ax+bcx2+dx+ef(x)=\frac{ax+b}{cx^2+dx+e}

where c0c\neq 0. Begin with the denominator. The real solutions of

cx2+dx+e=0cx^2+dx+e=0

are excluded xx-values and usually give vertical asymptotes. Since the denominator is quadratic, the graph may have two, one, or no real vertical asymptotes.

The numerator has a smaller degree than the denominator, so the graph approaches the xx-axis as xx becomes large in either the positive or negative direction. Its horizontal asymptote is therefore

y=0y=0

To find the xx-intercept, set the numerator equal to zero:

ax+b=0x=baax+b=0 \quad \Rightarrow \quad x=-\frac{b}{a}

when a0a\neq 0 and the denominator is not zero there. Substitute x=0x=0 for the yy-intercept:

f(0)=bef(0)=\frac{b}{e}

when e0e\neq 0.

Functions of the form ax2+bx+cdx+e\frac{ax^2+bx+c}{dx+e}

Now consider

f(x)=ax2+bx+cdx+ef(x)=\frac{ax^2+bx+c}{dx+e}

where d0d\neq 0. Setting the denominator equal to zero gives the vertical asymptote

x=edx=-\frac{e}{d}

In this case, the numerator’s degree is one greater than the denominator’s. The graph therefore has an oblique asymptote: a non-horizontal straight line approached by the graph for large positive or negative xx. Use polynomial division to find it.

For example, dividing ax2+bx+cax^2+bx+c by dx+edx+e gives

ax2+bx+cdx+e=mx+n+kdx+e\frac{ax^2+bx+c}{dx+e}=mx+n+\frac{k}{dx+e}

The oblique asymptote is

y=mx+ny=mx+n

There’s no need to memorise a separate formula for mm and nn. Division is safer and less prone to error. As the magnitude of xx becomes very large, the remainder term kdx+e\frac{k}{dx+e} becomes very small, so the graph approaches the line.

Find the xx-intercepts by solving

ax2+bx+c=0ax^2+bx+c=0

provided the denominator is not zero at those roots. The yy-intercept is

f(0)=cef(0)=\frac{c}{e}

when e0e\neq 0.

It helps to compare the asymptote rules for the two AHL forms side by side. Comparison of asymptote and intercept rules for the two AHL rational-function forms.

Featureax+bcx2+dx+e\frac{ax+b}{cx^2+dx+e}ax2+bx+cdx+e\frac{ax^2+bx+c}{dx+e}
Denominator zerosSolve cx2+dx+e=0cx^2+dx+e=0; these are excluded xx-values and may give 0, 1, or 2 vertical asymptotesSolve dx+e=0dx+e=0; this gives one excluded xx-value
Vertical asymptote(s)At each real root of cx2+dx+e=0cx^2+dx+e=0x=edx=-\frac{e}{d}
End behaviourHorizontal asymptote y=0y=0Oblique asymptote y=mx+ny=mx+n from division
xx-intercept(s)Solve ax+b=0ax+b=0; check the denominator is non-zero thereSolve ax2+bx+c=0ax^2+bx+c=0; check the denominator is non-zero there
yy-interceptf(0)=bef(0)=\frac{b}{e} if e0e\neq 0f(0)=cef(0)=\frac{c}{e} if e0e\neq 0

Sketching accurately: algebra first, technology second

Use this order when working with these graphs:

  1. State the domain restrictions from the denominator.
  2. Find vertical asymptotes from real denominator zeros.
  3. Use the degrees of the numerator and denominator to find the horizontal or oblique asymptote.
  4. Find any intercepts with the axes.
  5. Check the branch positions with a graphing package or GDC, then choose a sensible window.

Dynamic graphing software is useful for this work. Changing a parameter moves the asymptotes and may even alter how many vertical asymptotes are visible. Still, the graph isn’t the whole argument. The algebra shows why each feature appears. Comparison of asymptote and intercept rules for the two AHL rational-function forms.

Function formVertical asymptote(s)Asymptote at infinityxx-interceptyy-intercept
ax+bcx2+dx+e\frac{ax+b}{cx^2+dx+e}Real zeros of cx2+dx+e=0cx^2+dx+e=0y=0y=0x=bax=-\frac{b}{a} when a0a\neq 0 and definedbe\frac{b}{e} when e0e\neq 0
ax2+bx+cdx+e\frac{ax^2+bx+c}{dx+e}x=edx=-\frac{e}{d}Oblique asymptote y=mx+ny=mx+n from divisionRoots of ax2+bx+c=0ax^2+bx+c=0 when definedce\frac{c}{e} when e0e\neq 0

Rational functions work well with both approaches. A visual method quickly reveals branches and end behaviour; an analytic method gives exact equations for asymptotes and intercepts. The two representations should check each other, not compete.

Were those notes helpful?

quadratics Quadratics

transformations Transformations