How do you find the domain and range of g(x)=2/xg(x)=2x?

1 Answer
Jun 10, 2018

Domain: (-oo,0)uu(0,+oo)(,0)(0,+) Range: (-oo,+oo)(,+)

Explanation:

g(x) = 2/xg(x)=2x

g(x)g(x) is defined forall x !=0x0

Hence, the domain of g(x)g(x) is : (-oo,0)uu(0,+oo)(,0)(0,+)

Now consider the limit of g(x)g(x) as x-> 0x0 from below and from above.

lim_(x->0^-) 2/x -> -oo

lim_(x->0^+) 2/x -> +oo

Thus g(x) has a vertical asymptote at x=0.

The range of g(x) is therefore (-oo,+oo)

We can visualise these results from the graph of g(x) below.

graph{2/x [-10, 10, -5, 5]}