Last updated on July 9th, 2025
In mathematics, a function is a rule that allocates exactly one output value to each input value. The output value is assigned from the range, and the input value from the domain. This article talks more about functions, their properties, and graphs.
In mathematics, some functions are used to show the connection between two sets. One such function is an into function, where at least one element in the codomain is not the image of any element from the domain. Let’s consider an example where set A and set B are the domain and codomain respectively. Here, at least one element in set B is not the image of any element in set A. It can be denoted as f: A → B.
In an into function, the range is a proper subset of the codomain. Unlike an into function, an onto function maps every element in the codomain to at least one element in the domain.
There are two types of functions: into and onto. This section explains the difference between them.
Into Function |
Onto Function |
In into function, the codomain will have at least one element not in the image of any element from the domain. |
In an onto function, all the elements in the codomain are in the image of at least one element from the domain. So, it is surjective |
At least one element in the codomain is not in the range. |
In an onto function, all the elements are in the range. |
In a visual representation, at least one element in the codomain has no arrow pointing to it from the domain |
In a visual representation, each element in the codomain has at least one arrow pointing to it from the domain |
The range, which is a proper subset of the codomain, is different from the codomain itself. |
Every element in the codomain is in the image of at least one element from the domain. |
The properties of an into function helps solve problems involving into functions. Here are some properties of into function.
To check if the graph represents an into function, the vertical line test is used. This test is used for all functions. Let’s understand this using simple examples.
First, we draw a vertical line at any random point on the x-axis, for example, x = 0.5.
Determine the number of times the vertical line intersects the graph.
If it intersects only once, the graph represents a function where each value of x corresponds to exactly one output.
If the vertical line intersects the graph at more than one point, it does not represent a function, because one input has multiple outputs.
For the function: f(x) = x2 for -2 < x < 2
Draw a vertical line at any value of x. For example,
x = 1.5
x = 0
x = -1
The function intersects the codomain at only one point, meaning not all codomain elements are mapped, so it is a function. The same test can be used to confirm an into function.
When learning the into function, students should understand how to apply this function in real life. Here are some of the applications of into function.,
Students often make mistakes when solving problems involving into functions. These mistakes can be avoided if we are aware of the properties of into function and practice regularly. The below mentioned common mistakes will help us avoid them while dealing with into function.
A function f maps the set {1, 2, 3} to {a, b, c, d}, where: f(1) = a, f(2) = b, f(3) = c. Is this function an into function?
Yes, the function is an into function
The codomain of the function is {a, b, c, d}; it has 4 elements
The domain of the function is {1, 2, 3}, it has 3 elements
The function is into function.
A function f maps the set {1, 2, 3, 4} to {a, b, c} as follows: f(1) = a, f(2) = a, f(3) = b, f(4) = c. Is this function an into function?
The function is not an into function
The elements in the codomain are {a, b, c}
Here, every element in the codomain is mapped to the domain, so this is onto, not into.
Is the function given into function. Let f : R → R be defined as f(x) = x2 + 1
Yes, the function is into
the given function,
f(x) x2 + 1, the output is x2 + 1 is always ≥ 1, because the smallest value x2 can take is 0
Therefore, f(x) = x2 + 1 ≥ 1 for all x
So the range is [1, ∞)
Thus, the function is an into function
Let A = {2, 4, 6} and B = {1, 2, 3, 4, 5, 6}. Define f(x) = x for x ∈ A. Check if the function is an into function?
The function is into function
Given,
Codomain function = {1, 2, 3, 4, 5, 6}
Elements in domain = {2, 4, 6}
The elements 1, 3, and 5 are not in the range.
So, the function is into.
Let f: R → R be defined by f(x) = ex. Is this function an into function?
The function is an into function
The function is: f(x) = ex
Where the domain is R and the codomain is R
The exponential function f(x) = ex always gives a positive result:
Range of f(x) = (0, ∞)
Examples: f(0) = e0 = 1
f(1) = e1 = 2.7181 = 2.718
f(-1) = e-1 = 2.718-1 = 0.367
This shows that f(x) never gives negative values.
So the range is only positive real numbers.
Therefore, the function is into.
Jaskaran Singh Saluja is a math wizard with nearly three years of experience as a math teacher. His expertise is in algebra, so he can make algebra classes interesting by turning tricky equations into simple puzzles.
: He loves to play the quiz with kids through algebra to make kids love it.