The function \( f: \mathbb{N} \to \mathbb{N} \) is defined as:
\[ f(x) = \begin{cases} x - 1 & \text{if } x > 2, \\ 1 & \text{if } x = 1 \text{ or } x = 2. \end{cases} \]
To show that \( f \) is onto, we must prove that for every element \( y \in \mathbb{N} \), there exists some \( x \in \mathbb{N} \) such that \( f(x) = y \).
Consider any \( y \in \mathbb{N} \). We have two cases to consider:
Thus, the function \( f \) is onto.
To show that \( f \) is not one-to-one, we need to find at least two different values \( x_1 \) and \( x_2 \) such that \( f(x_1) = f(x_2) \) but \( x_1 \neq x_2 \).
Consider \( f(1) = 1 \) and \( f(2) = 1 \). Here, \( f(1) = f(2) \), but clearly, \( 1 \neq 2 \).
Therefore, \( f \) is not one-to-one because \( f(1) = f(2) \) even though \( 1 \neq 2 \).
Conclusion: The function \( f \) is onto but not one-to-one.
A relation R is defined in the set N as follows:
R = (x, y) : x = y - 3, y > 3
Then, which of the following is correct?
Let $ P_n = \alpha^n + \beta^n $, $ n \in \mathbb{N} $. If $ P_{10} = 123,\ P_9 = 76,\ P_8 = 47 $ and $ P_1 = 1 $, then the quadratic equation having roots $ \alpha $ and $ \frac{1}{\beta} $ is: