kingerd
- 14
- 0
the following is a problem in the book.
<br /> f(x)=\left\{\begin{array}{cc}\frac{1}{2}(x+1),&\mbox{ if x is odd}<br /> \\\frac{1}{2}x, & \mbox{ if x is even}\end{array}\right<br />
the solutions that's given is This function is onto because, for any y\epsilonZ, g(2y)=y. It is not one-to-one because g(1) = g(2).
I understand where the numbers come from stating why it's not one-to-one, but I'm a little confused about the onto part, in that they got the 2
<br /> f(x)=\left\{\begin{array}{cc}\frac{1}{2}(x+1),&\mbox{ if x is odd}<br /> \\\frac{1}{2}x, & \mbox{ if x is even}\end{array}\right<br />
the solutions that's given is This function is onto because, for any y\epsilonZ, g(2y)=y. It is not one-to-one because g(1) = g(2).
I understand where the numbers come from stating why it's not one-to-one, but I'm a little confused about the onto part, in that they got the 2
Last edited: