Solution
Let:
f(x)=x+12x−3
(i) Domain and range
Domain: denominator x+1=0⇒x=−1.
Df=R∖{−1}
For range, let y=x+12x−3 and solve for x:
y(x+1)yx+yyx−2xx(y−2)x=2x−3=2x−3=−3−y=−(3+y)=2−yy+3
So 2−y=0⇒y=2.
Rf=R∖{2}
(ii) Onto?
Co-domain is R but range is R∖{2}, so f is not onto.
f is not onto
(iii) One-to-one
Assume f(x1)=f(x2):
x1+12x1−3=x2+12x2−3
Cross-multiply:
(2x1−3)(x2+1)=(2x2−3)(x1+1)
Expand:
2x1x2+2x1−3x2−3=2x1x2+2x2−3x1−3
Cancel 2x1x2 and −3:
2x1−3x2=2x2−3x1⇒5x1=5x2⇒x1=x2
So f is one-to-one.
f is one-to-one