What is an example of a function that has a vertical asymptote at x = -1x=1 and a horizontal asymptote at y = 2y=2?

1 Answer
Mar 5, 2018

f(x) (=y) = 2+1/(x+1)f(x)(=y)=2+1x+1

Explanation:

We know that the relation haty=1/hatxˆy=1ˆx has a vertical asymptote at hatx=0ˆx=0 and a horizontal asymptote at haty=0ˆy=0

If we wish to shift all points left one unit (i.e. the vertical asymptote to x=-1x=1) then we need to replace hatxˆx with x+1x+1 (so when x=-1x=1 then hatx=0ˆx=0, the vertical asymptote).

Similarly to shift all points up two units (i.e. the horizontal asymptote to y=2y=2) we need to replace hatyˆy with y-2y2

Therefore the required relation would become
color(white)("XXX")y-2=1/(x+1)XXXy2=1x+1

Converting this into function form (with y=f(x)y=f(x))
we have
color(white)("XXX")y=2+1/(x+1)XXXy=2+1x+1

enter image source here