# How do you graph y =(2x + 1)/(x-5)?

Aug 2, 2018

$\text{ }$

#### Explanation:

$\text{ }$
Given:

Rational function : color(red)(y=f(x)=(2x+1)/(x-5)

color(blue)("How do we graph a rational function ?"

color(green)("Step 1"

Find both color(red)(x and y intercepts.

x-intercept:

Set color(red)(y=0

$\Rightarrow \frac{2 x + 1}{x - 5} = 0$

$\Rightarrow \left(2 x + 1\right) = 0$

$\Rightarrow 2 x = - 1$

$\Rightarrow x = \left(- \frac{1}{2}\right)$

color(red)("x-intercept": (-1/2,0)

y-intercept:

Set color(red)(x=0

$\Rightarrow y = \frac{2 x + 1}{x - 5}$

$\Rightarrow y = \frac{2 \left(0\right) + 1}{\left(0\right) - 5}$

$\Rightarrow y = \frac{1}{- 5}$

color(red)("y-intercept": (0,-1/5)

Both x and y intercepts are plotted in the graph above.

color(green)("Step 2"

Find Horizontal and Vertical Asymptotes

Vertical asymptotes are generated by the ZEROS of the denominator.

Horizontal asymptoes describe the behavior of the graph as the input values get larger or smaller.

Vertical asymptote:

Figure out what makes the denominator equal to zero.

Make sure that the numerator does not become zero for the same value.

$\Rightarrow \left(x - 5\right) = 0$

$\Rightarrow x = 5$

Vertical asymptote is at color(red)(x=5

Horizontal asymptote:

Numerator = $\left(2 x + 1\right)$

Highest degree in both numerator and denominator is color(red)(1

$\Rightarrow \frac{2}{1} = 2$

Horizontal asymptote is at color(red)(y=2

You can view the asymptotes in the graph below:

color(green)("Step 3"

Generate a data table as follows:

Consider the columns (first and the last): color(blue)(x and y:

color(green)("Step 4"

Graph:

Hope you find this useful.