Onto Functions
Determine whether every declared output is attained.
The bigger question: What does a function tell us—and what can it hide?
On this page
Idea
An onto, or surjective, function reaches every element of its codomain. The proof starts with an arbitrary target and constructs an input that reaches it.
Visual guide
Onto, with a repeated output
Method
For , surjectivity means: for every , there exists with . Verify both that the constructed input belongs to and that substitution returns .
Worked example
Take , . Given any real , set . This is real and . Therefore the function is onto. On domain with the same codomain, it is not onto: its range starts at .
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Every value in the codomain must be reached.
Hint 2 · Take the next step
Check negative outputs and whether zero is attained.
Show the reasoning
Answer: Domain ℝ, codomain [0,∞)
With all real inputs, every nonnegative output occurs, including zero.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Common mistake
Checking a few targets is evidence, not a proof for every target. Use a symbolic arbitrary .
Check your understanding
Is onto?
Show answer
Yes. Every real has the real preimage .
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.