Do all values in the domain of a function need to be on the graph if the function is injective?
For example, is the function $f(x)=\dfrac{1}{(x-5)^2}$ injective if the domain is N plus? There is no value at $x=5$, so the function cannot be surjective, but does it satisfy the domain requirement?
Correction: $5$ cannot be in the domain of the function, since your function is not defined when the denominator is equal to zero.
The function is not injective. Note for example that $f(4) = f(6).$