Solve for one-one.
Given: A=R−{3} and B=R−{1}
f:A→B defined by f(x)x−2x−3
Let (x,y)∈ A, then
f(x)=x−2x−3 and f(y)=y−2y−3
For one-one, f(x)=f(y)
x−2x−3=y−2y−3
(x−2)(y−3)=(y−2)(x−3)
xy−3x−2y+6=xy−3y+2x+6
−3x−2y=3y−2x
−3x+2x=−3y+2y
−x=−y
x=y
If f(x)=f(y), then x=y
∴f is one-one.
Solve for onto
∵f(x)=x−2x−3
Let y=f(x)
y=f(x)=x−2x−3
y(x−3)=x−2
xy−3y=x−2
x(y−1)=3y−2
x=3y−2y−1
Now,
f(3y−2y−1)=3y−2y−1−23y−2y−1−3=y
f(x)=y
Therefore, f is onto function.
Hence, f is one-one and onto.