Example of a Function Which is Onto but Not One-One

📺 Video Explanation

📝 Question

Give an example of a function which is:

(ii) not one-one but onto.


✅ Solution

Consider the function:

\[ f:\mathbb{R}\to [0,\infty) \]

defined by:

\[ f(x)=x^2 \]


🔹 Check One-One

Take:

\[ x=2,\quad x=-2 \]

Then:

\[ f(2)=4,\quad f(-2)=4 \]

Different inputs give same output.

❌ Not one-one.


🔹 Check Onto

Codomain:

\[ [0,\infty) \]

For any:

\[ y\geq0 \]

choose:

\[ x=\sqrt y \]

Then:

\[ f(x)=x^2=y \]

So every element in codomain has pre-image.

✔ Onto.


🎯 Final Answer

An example is:

\[ \boxed{f(x)=x^2,\quad f:\mathbb{R}\to[0,\infty)} \]

This function is onto but not one-one.


🚀 Exam Shortcut

  • \(x^2\) repeats values for \(x\) and \(-x\)
  • Choose codomain carefully for onto
  • Standard example: square function
Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *