Surjective Function definition
A function is surjective, or onto, if each element of its codomain is the output of at least one input.
Surjective Function in a picture
How it works
For f: A → B, take any b in B and ask whether f(a) = b has a solution in A. The function is onto if it does for every b. More than one input may produce the same output. The codomain is part of the test.
Worked examples
Is f: ℝ → ℝ, f(x) = x + 2, onto?
Yes. For any y, choose x = y − 2.
Is f: ℝ → ℝ, f(x) = x², onto?
No. Negative outputs are absent.
Is f: ℝ → [0, ∞), f(x) = x², onto?
Yes. For any y ≥ 0, choose x = √y.
Common mistake
Look at whether all outputs in the codomain are reached. Repeated outputs can still occur.
Quick check
What is another name for a surjective function?
Show answer
An onto function.
Can two different inputs have the same output?
Show answer
Yes.
Can a codomain element be missed?
Show answer
No.
Sources
Flashcard
Surjective Function
Reveal the definition
A function is surjective, or onto, if each element of its codomain is the output of at least one input.
Effortless Math. “Surjective Function.” Math Dictionary.



