[Math] Finding the domain and codomain of an inverse function

functions

I am attempting the following question:

The following function is bijective:

$k: $ {$0, 1, 2, 3$} $\to$ {$3, 5, 7, 9$}

$k(x) = 2x + 3$

Find its invesrse $k^{-1}$, including stating the domain and codomain
of $k^{-1}$

Now I am confident that $k^{-1}(x) = \frac {x-3} 2$

I am assuming the domain$ = $ {$3, 5, 7, 9$} and codomain$ = ${$0, 1, 2, 3$}, but that is just a guess based on the information provided in the question.

So is my inverse formula, domain and codomain correct? If so, how do you go about finding the domain and codomain of an inverse function?

Best Answer

Since your function is bijective the domain of the inverse function is the codomain of the function and the codomain of inverse function is the domain of the function. Your formula for the inverse function is correct. $$ y=2x+3$$ implies $$x=(y-3)/2$$ Thus the inverse function is $$f^{-1} (x)=(x-3)/2.$$

Related Question