Give a counterexample to prove $f(x) = 3^x$ is not onto.
A function is onto if for all $y$ in the codomain, there exists an $x$ in the domain such that $f(x) = y$. Essentially, the range of our function $f$ is equal to the codomain.
I know that $f(x)=3^x$ is not onto, but I'm having trouble finding a counterexample to prove this.
We know the domain is the real numbers and the codomain is the positive real numbers. So we want to find a positive real number that doesn't equal $3^x$, correct?