Graph the rational function f(x) = (x^2+3x-1)/(x+1)

Check the final answer first, then review the worked steps.

Answer

C

Work

x+1=0 \implies x=-1
(x^2+3x-1)/(x+1) = x+2 - 3/(x+1)
f(0) = -1/1 = -1

Step-by-step solution

  1. Find the vertical asymptote: Set the denominator $x+1=0$, so $x=-1$.
  2. Find the slant asymptote: Perform polynomial division on $\frac{x^2+3x-1}{x+1}$. Dividing $x^2+3x-1$ by $x+1$ gives $x+2$ with a remainder of $-3$. The slant asymptote is $y=x+2$.
  3. Check the y-intercept: Set $x=0$, $f(0) = \frac{-1}{1} = -1$. The graph must pass through $(0, -1)$.
  4. Compare with options: Option C shows a vertical asymptote at $x=-1$, a slant asymptote $y=x+2$, and a y-intercept at $(0, -1)$.