Search the courses, subjects, tracks, games and features, or jump straight to a page.
Learn it your way
A short class with Sarah and her students. The other ways are under More.
Sign up free to listen. Transcripts are free to read.
Today, we are going to talk about onto functions, also known as surjective functions. Can anyone tell me what they think an onto function might be?
I think it means that it covers all the outputs in the co-domain.
Exactly! An onto function maps every element in the co-domain. So, if you have a function f: A → B, every element of B has at least one corresponding element from A. That's essential!
Can you give us an example?
Sure! Let’s say we have a function defined as f = {(1, a), (2, b), (3, b)}. Here, b in B is mapped to by both 2 and 3 in A. Since all elements of B are connected to A, f is indeed onto.
What makes a function surjective? Let’s explore its characteristics together. Student_3, what do you recall about this?
I think it has to do with all outputs being hit by inputs.
Great summary! In mathematical terms, for each element b in the co-domain B, there must exist at least one element a in domain A such that f(a) = b. So, can anyone think of a situation where this might not hold true?
What if some elements in B don’t have inputs mapping to them? That wouldn’t be onto, right?
Absolutely correct! That's why it’s crucial for a function to have mappings for every element in the co-domain.
Let’s shift gears and talk about real-world applications. Can anyone think of where onto functions might be applicable?
Maybe in computer programming, where we map user inputs to certain outputs?
Exactly! In software mapping, each user input must map to a valid output scenario, ensuring that every option is accounted for. It’s also crucial in database management, ensuring every record can be matched with a query.
That sounds quite useful! Can you show us more examples?
Of course! Think of a class where each student is assigned a unique project topic. If every project topic is assigned to at least one student, that’s a surjective function.
Example 1: For the function f = {(1, a), (2, b), (3, b)}, every element in the co-domain {a, b} is reached by elements from the domain {1, 2, 3}, confirming it as surjective.
Example 2: The function g = {(1, x), (2, y), (3, y)}, showcases that both y is achieved by two inputs from the domain.
In onto functions, all must connect, every point in B, you must reflect.
A teacher assigns each student a project. If every student has a project, then every assignment is given out—this is like surjective functions, where all outputs are covered!
S-U-R-J (Satisfy Each member in the Co-domain - Usable Really - Justify)
BAM (B must have Assignments Mapped), highlighting that all elements in co-domain need to be hit by at least one domain input.
Term
What is an onto function?
Click to flip
Term
What defines a surjective function?
Click to flip
A function where every element of the co-domain is mapped to at least one element in the domain.
The set of possible output values for a function.
Another term for an onto function; every element in the co-domain is associated with at least one element in the domain.
An onto function, or surjective function, is one where every element in the co-domain is mapped by at least one element from the domain.
In this section, the concept of onto functions is explored, emphasizing that for a function to be surjective, every element in the co-domain must be the output for at least one input from the domain. The section includes examples and clarifications to establish understanding of this critical function type.
In mathematics, an onto function (or surjective function) is defined as a function in which every element of the co-domain is related to at least one element from the domain. This means that there are no elements in the co-domain that are left unmapped.
Understanding onto functions is fundamental for grasping more complex topics, such as function inverses, transformations, and many advanced mathematical theories. In practical applications, surjective functions are critical in fields like computer science, where data mapping between different sets is common.