# What is the domain and range of #f(x)=(x-1)/(x+2)#?

##### 1 Answer

Apr 3, 2017

see explanation.

#### Explanation:

The denominator of f(x) cannot be zero as this would make f(x) undefined. Equating the denominator to zero and solving gives the value that x cannot be.

#x+2=0tox=-2#

#"domain is " x inRR,x!=-2# Rearrange the function expressing x in terms of y

#rArry=(x-1)/(x+2)#

#rArry(x+2)-x+1=0#

#rArrxy+2y-x+1=0#

#rArrx(y-1)=-2y-1#

#rArrx=-(2y+1)/(y-1)#

#"range is " y inRR,y!=1#