Derivatives: rules and functions

Graphs of rational functions

The graph of y=kx−p+qy=\frac{k}{x-p}+q is the hyperbola y=kxy=\frac{k}{x} shifted by pp in the xx-direction and qq in the yy-direction.

y=kx−p+q(k≠0)asymptotes x=p, y=q\begin{gathered} y=\frac{k}{x-p}+q\quad(k\neq 0) \\[4pt] \text{asymptotes } x=p,\ y=q \end{gathered}

The graph of y=kxy=\frac{k}{x} (k≠0)(k\neq 0) is a hyperbola with the xx- and yy-axes as asymptotes. Shifting it gives y=kx−p+qy=\frac{k}{x-p}+q, whose asymptotes are x=px=p and y=qy=q. The point (p, q)(p,\ q) where they cross is the center of the hyperbola.

For the form y=ax+bx−py=\frac{ax+b}{x-p}, divide the numerator by the denominator to get kx−p+q\frac{k}{x-p}+q.

5x+2x−1=5(x−1)+7x−1=7x−1+5\begin{gathered} \frac{5x+2}{x-1} \\[4pt] =\frac{5(x-1)+7}{x-1} \\[4pt] =\frac{7}{x-1}+5 \end{gathered}

Here the center is (1, 5)(1,\ 5) and the asymptotes are x=1x=1 and y=5y=5.

Examples

  1. 01What is the center of this hyperbola?y=3x−2−5\displaystyle y=\frac{3}{x-2}-5AnswerHide
    Answer(2, −5)\displaystyle (2,\ -5)

    Steps

    1. The centre's x is where x−p becomes 0
    2. x−2=0\displaystyle x-2 = 0⇒x=2\displaystyle \Rightarrow x = 2
    3. The added -5 is the centre's y
  2. 02What is x for the vertical asymptote?y=4x−3\displaystyle y=\frac{4}{x-3}AnswerHide
    Answer3\displaystyle 3

    Steps

    1. The x that makes the denominator 0
    2. x−3=0\displaystyle x-3 = 0⇒x=3\displaystyle \Rightarrow x = 3
  3. 03Which one has x=0 as a vertical asymptote?\displaystyle Ay=1x+4\displaystyle y=\frac{1}{x+4}By=x\displaystyle y=xCy=1x\displaystyle y=\frac{1}{x}Dy=xx−3\displaystyle y=\frac{x}{x-3}AnswerHide
    Answery=1x\displaystyle y=\frac{1}{x}

    Steps

    1. Look for the x that makes the denominator 0
    2. x=0\displaystyle x = 0⇒10\displaystyle \Rightarrow \frac{1}{0}
    3. Meanwhile 1x−3\frac{1}{x-3} blows up at x=3x=3
  4. 04What goes in □?y=5x+2x−1=kx−1+□\displaystyle y=\frac{5x+2}{x-1} = \frac{k}{x-1}+\squareAnswerHide
    Answer5\displaystyle 5

    Steps

    1. Split the top into a multiple of the bottom, plus a remainder
    2. 5x+2\displaystyle 5x+2=5(x−1)+7\displaystyle = 5(x-1)+7
    3. So
    4. 5x+2x−1\displaystyle \frac{5x+2}{x-1}=5+7x−1\displaystyle = 5 + \frac{7}{x-1}
  5. 05What is the center of this hyperbola?y=3x−5−1\displaystyle y=\frac{3}{x-5}-1AnswerHide
    Answer(5, −1)\displaystyle (5,\ -1)

    Steps

    1. The centre's x is where x−p becomes 0
    2. x−5=0\displaystyle x-5 = 0⇒x=5\displaystyle \Rightarrow x = 5
    3. The added -1 is the centre's y
  6. 06What is the center of this hyperbola?y=1x−4−4\displaystyle y=\frac{1}{x-4}-4AnswerHide
    Answer(4, −4)\displaystyle (4,\ -4)

    Steps

    1. The centre's x is where x−p becomes 0
    2. x−4=0\displaystyle x-4 = 0⇒x=4\displaystyle \Rightarrow x = 4
    3. The added -4 is the centre's y

FAQ

Q1Is the center of y=1x+4+4y=\frac{1}{x+4}+4 at (4, 4)(4,\ 4)?AnswerHide
A
No. x+4=x−(−4)x+4=x-(-4), so p=−4p=-4 and the center is (−4, 4)(-4,\ 4). Thinking of the vertical asymptote as the xx that makes the denominator 00 helps avoid sign errors.
Q2How do I find the horizontal asymptote of y=5x+2x−1y=\frac{5x+2}{x-1}?AnswerHide
A
Divide to rewrite it as 7x−1+5\frac{7}{x-1}+5. The constant 55 tells you that y=5y=5 is the horizontal asymptote.

Published 2026-10-14 · Updated 2026-10-14