Linear over linear rational functions

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

They look nothing like linear equations, but surprisingly f(x)=kf(x) = k is solved in the same way.

Contents

Graphing

It’s easier to remember if you think about how to generally find this value, rather than memorize these 4 equations with their signs.

The vertical asymptote is when denominator would be 00:

x=dcx = -\frac dc

Horizontal asymptote at large xx, which is when bb and dd become negligible.

y=acy = \frac ac

The yy-intercept is when x=0x = 0

y-int: bdy\text{-int: }\,\frac bd

The xx-intercept is when f(x)=0f(x) = 0, ie when numerator is 00.

x-int: bax\text{-int: }-\frac ba

See this Desmos playground  to visualize the effects of these four parameters on the shape of the graph.

Alternative form

It can be verified that 6x42x+3=3132x+3\displaystyle \frac{6x - 4}{2x + 3} = 3 - \frac{13}{2x + 3}, this section is about how to obtain that and how it is helpful.

In working backwards, by first finding the common denominator, we see that

3132x+3=3(2x+3)2x+3132x+3=6x+92x+3132x+3=6x42x+3\begin{align*}3 - \frac{13}{2x + 3} &= \frac{3(2x+3)}{2x+3} - \frac{13}{2x + 3}\\ &= \frac{6x + 9}{2x + 3} - \frac{13}{2x + 3} \\ &= \frac{6x - 4}{2x + 3} \end{align*}

In particular, using functions transformations to analyze 3132x+3=3132(x+32)\displaystyle 3 - \frac{13}{2x + 3} = 3 - \frac{13}{2\left(x + \frac{3}{2}\right)} indicates that the horizontal asymptote is moved to y=3y = 3 and vertical asymptote is moved to x=32x = -\frac{3}{2}. The minus sign indicates a reflection across either xx- or yy-axis.

In general,

ax+bcx+d=ac(cx+dd)+bcx+d=accx+dcx+d+ac(d)+bcx+d=ac+1cad+bccx+d\begin{align*}\frac{ax+b}{cx + d} &= \frac{\frac ac \left(cx + d - d\right) + b}{cx + d}\\ &= \frac ac \frac{cx+d}{cx+d} + \frac{\frac ac \left(-d\right) + b}{cx + d} \\ &= \frac ac + \frac 1c\cdot\frac{-ad + bc}{cx + d} \\ \end{align*}

If ad+bc>0-ad + bc > 0, then the rational function occupies the top-right and bottom-left corners of the asymptotes; if ad+bc<0-ad + bc < 0, then it occupies the top-left and bottom-right corners.

See example using this manipulation to integrate linear over linear rational functions.

This form also slightly simplifies finding inverse functions, and solving

ax+bcx+d=k\frac{ax + b}{cx + d} = k

Connection: derivative using quotient rule.

Note that 1x\frac1x has negative derivative for all xx, while 1x-\frac1x, ie with a reflection, has positive derivative for all xx.

From quotient rule

f(x)=(cx+d)a(ax+b)c(cx+d)2=adbc(cx+d)2\begin{align*} f'(x) &= \frac{(cx + d)a - (ax + b)c}{(cx+d)^2} \\ &= \frac{ad - bc}{(cx + d)^2} \end{align*}

The denominator is always positive, so adbc<0ad - bc < 0 means top-right and bottom-left corners of the asymptotes; adbc>0ad - bc > 0 means top-left and bottom-right corners of the asymptotes. This matches the criterion derived from writing the function above.

Self-inverse

xax+bcxa\displaystyle x \mapsto \frac{ax + b}{cx - a} is its own inverse function. Here the horizontal asymptote is y=acy = \frac ac and the vertical asymptote is x=acx = \frac ac, which allows the asymptotes and the rest of the functions to be symmetric across the y=xy = x diagonal line. Other examples of self-inverse functions are discussed at HL.