f(x)=2x−1x+2f(x) = \frac{2x-1}{x+2}f(x)=x+22x−1
y=2x−1x+2y = \frac{2x-1}{x+2}y=x+22x−1
x=2y−1y+2 ⟹ x(y+2)=2y−1x = \frac{2y-1}{y+2} \implies x(y+2)=2y-1x=y+22y−1⟹x(y+2)=2y−1
xy−2y=−1−2x ⟹ y=−1−2xx−2xy - 2y = -1 - 2x \implies y = \frac{-1-2x}{x-2}xy−2y=−1−2x⟹y=x−2−1−2x
f−1:x→1+2x2−x,x≠2f^{-1} : x \to \frac{1+2x}{2-x}, x \neq 2f−1:x→2−x1+2x,x=2