Let f:R→(0,∞) be defined by f(x)=ex+4. Decide whether f is onto its codomain.
a) Yes, because ex can take all positive values.
b) Yes, because for every y>0, x=ln(y−4) satisfies f(x)=y. (So every positive y is attained.)
c) No, because the range of f is (4,∞).
d) No, because the range of f is [4,∞).