[Math] How to show this bijection and also calculate its inverse of the function

discrete mathematicsfunctionsinverse

I want to show that $f(x)$ is bijective and calculate it's inverse.

Let $$f : \mathbf{R} \to \mathbf{R} $$ be defined by $f (x) = \frac{3x}{5} + 7$

I understand that a bijection must be injective and surjective but I don't understand how to show it for a function.

Best Answer

In a simple case like this, it may be that a geometric explanation is best. The graph $y=7 + 3x/5$ is a straight line, and since it intersects any horizontal line at most once, the function $f$ is injective. Since it intersects each horizontal line at least once, the function is surjective.

Example of an injective function that’s not surjective: $g(x)=e^x$. Example of a function that’s surjective without being injective: $h(x)=x^3-3x$. Example of a function that’s neither: $\sin x$.