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

##### 1 Answer

Mar 5, 2018

#### Explanation:

We know that the relation

If we wish to shift all points left one unit (i.e. the vertical asymptote to

Similarly to shift all points up two units (i.e. the horizontal asymptote to

Therefore the required relation would become

Converting this into function form (with

we have