Skip to main content
COVID-19 information and screening Learn how we’re keeping our campus community safe, healthy and engaged during our gradual return to campus.
Note: Faculty, staff, students and visitors must complete the mandatory screening questionnaire before coming to campus.
Ontario Tech acknowledges the lands and people of the Mississaugas of Scugog Island First Nation.

We are thankful to be welcome on these lands in friendship. The lands we are situated on are covered by the Williams Treaties and are the traditional territory of the Mississaugas, a branch of the greater Anishinaabeg Nation, including Algonquin, Ojibway, Odawa and Pottawatomi. These lands remain home to many Indigenous nations and peoples.

We acknowledge this land out of respect for the Indigenous nations who have cared for Turtle Island, also called North America, from before the arrival of settler peoples until this day. Most importantly, we acknowledge that the history of these lands has been tainted by poor treatment and a lack of friendship with the First Nations who call them home.

This history is something we are all affected by because we are all treaty people in Canada. We all have a shared history to reflect on, and each of us is affected by this history in different ways. Our past defines our present, but if we move forward as friends and allies, then it does not have to define our future.

Learn more about Indigenous Education and Cultural Services

One-to-One and Onto Functions

 The concept of one-to-one functions is necessary to understand the concept of inverse functions.

One-to-one Functions

If a function has no two ordered pairs with different first coordinates and the same second coordinate, then the function is called one-to-one. This sounds confusing, so let’s consider the following:

One-to-one functions

In a one-to-one function, given any y there is only one x that can be paired with the given y.

A graph of a function can also be used to determine whether a function is one-to-one using the horizontal line test:

If each horizontal line crosses the graph of a function at no more than one point, then the function is one-to-one.

Consider the graphs of the following two functions:

 Horizontal Line Test

In each plot, the function is in blue and the horizontal line is in red. For the first plot (on the left), the function is not one-to-one since it is possible to draw a horizontal line that crosses the graph twice. However, the second plot (on the right) is a one-to-one function since it appears to be impossible to draw a horizontal line that crosses the graph more than once.

Example: Determine whether the following function is one-to-one:

f = {(1,2), (3, 4), (5, 6), (8, 6), (10, -1)}

Solution: This function is not one-to-one since the ordered pairs (5, 6) and (8, 6) have different first coordinates and the same second coordinate.

Onto functions

An onto function is such that for every element in the codomain there exists an element in domain which maps to it. Again, this sounds confusing, so let’s consider the following:

Onto function

A function f from A to B is called onto if for all b in B there is an a in A such that f(a) = b. That is, all elements in B are used.