Question
Give an example of a function:
Which is not one-one but onto.

Answer

Which is not one-one but onto.
$\text{f}:\text{Z}\rightarrow\text{N}\cup\{0\}$ given by f(x) = |x|
Infectivity: Let x and y be any two elements in the domain (Z), such that f(x) = f(y).
Implies that |x| = |y|
Implies that $\text{x}=\pm\text{y}$
Therefore, different elements of domain f may give the same image.
Therefore, f is not one-one.
Subjectivity: Let y be any element in the co domain (Z), such that f(x) = y for some element x in Z (domain).
f(x) = y
Implies that |x| = y
Implies that $\text{x}=\pm\text{y},$
Which is an element in Z (domain).
Therefore, for every element in the co-domain, there exists a pre-image in the domain.
Thus, f is onto.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Find the vector equation of a line which is parallel to the vector $2\hat{\text{i}}-\hat{\text{j}}+3\hat{\text{k}}$ and which passes through the point (5, -2, 4). Also, reduce it to cartesian from.
Find the distance between the lines l1 and l2 given by
$\vec r = \hat i + 2\hat j - 4\hat k + \lambda (2\hat i + 3\hat j + 6\hat k)$
and $\vec r = 3\hat i + 3\hat j - 5\hat k + \mu (2\hat i + 3\hat j + 6\hat k)$
Integrate the function in Exercise:

$\frac{1}{\big(\text{x}^{2}+1\big)\big(\text{x}^{2}+4\big)}$

Determine whether the following pair of lines intersect or not:
$\frac{\text{x}-1}{2}=\frac{\text{y}+1}{3}=\text{z}$ and $\frac{\text{x}+1}{5}=\frac{\text{y}-2}{1};\text{z}=2$
Evaluate the following integrals:
$\int\frac{1}{\text{x}^4+3\text{x}^2+1}\ \text{dx}$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\cos2{\text{x}}\text{ on }[0,\pi]$
verify that $\text{y}=\text{e}^{\text{m}\cos^{-1}}$ is a solution of the differential equation $(1+\text{x}^2)\frac{\text{d}^2\text{y}}{\text{dx}^2}-\text{x}\frac{\text{dy}}{\text{dx}}-\text{m}^2\text{y}=0$
Evaluate the following integrals:
$\int\frac{\text{x}^3-1}{\text{x}^3+\text{x}}\text{ dx}$
Find the equation of the passing throught the point (1, 2, 1) and perpendicular to the joining the point (1, 4, 2) and (2, 3, 5). Find also the perpendicular distance of the origin from this plane.
Solve the following systems of linear equations by cramer's rule:
x + y + z + w = 2,
x - 2y + 2z + 2w = -6,
2x + y - 2z + 2w = -5,
3x - y + 3z - 3w = -3