Grade 12 ↓
Relations and Functions
Mathematics is a subject rich in abstractions and generalities, and among its many concepts, relations and functions are fundamental. They serve as the cornerstones for understanding complex mathematical ideas and have applications in a variety of fields, including science, engineering, and social sciences. This explanation takes a deep look at what relations and functions are, their importance, and how they work.
What is a relationship?
Before understanding functions, it is important to understand the concept of relation. A relation between two sets is essentially a collection of ordered pairs. These ordered pairs represent how the elements of one set relate to the elements of the other set.
For example, consider two sets:
X = {1, 2, 3}
Y = {a, b, c}
The relation from set X to set Y can be represented as:
R = {(1, a), (2, b), (3, c)}
This relation R shows that:
- 1 is related to a
- 2 is related to b
- 3 is related to c
In terms of visualization, relationships can be thought of as lines connecting elements of one set to elements of another set. For example:
Domain and range of a relation
In the context of relations, we define two important terms – domain and range.
- Domain: This is the set of all first elements (input values) in the ordered pairs. In our example, the domain is {1, 2, 3}.
- Range: This is the set of all other elements (output values) in ordered pairs. In our example, the range is {a, b, c}.
What is the function?
A function is a special kind of relation. It is a rule that assigns to each element in one set (called the domain) exactly one element in another set (called the range).
Let's formalize this definition with an example. Suppose we have two sets:
X = {1, 2, 3, 4}
Y = {a, b, c}
A function from set X to set Y might look like this:
f = {(1, b), (2, c), (3, a), (4, b)}
Notice how each element in the set X is paired with exactly one element in the set Y. This property makes it a function.
Function notation
Functions are usually expressed using a special notation. If 'f' is a function from set X to set Y, then we use the notation "f(x) = y" to indicate that the function f assigns the element y in set Y to the element x in set X.
For example, use the previous function:
f(1) = b
f(2) = c
f(3) = a
f(4) = b
Types of tasks
Functions can be classified into several types depending on their characteristics:
1. One-to-one function
A function is said to be one-to-one (injective) if every element in the domain maps to a unique element in the range. In other words, different inputs lead to different outputs.
Example:
f : x → yx = {1, 2, 3} Y = {a, b, c} F = {(1, a), (2, b), (3, c)}
Here, each element of the set X maps to a unique element of the set Y, making it one-to-one.
2. Many-to-one function
If two or more elements in the domain map to the same element in the range, the function is called many-to-one. There are multiple inputs that lead to the same output.
Example:
f : x → yx = {1, 2, 3, 4} Y = {a, b} F = {(1, a), (2, b), (3, a), (4, a)}
Here, both the elements 1, 3 and 4 of the set X map to the same element a of the set Y.
3. Onto function
A function is onto (surjective) if every element in the range is mapped by an element in the domain. In simple words, the function covers the entire range.
Example:
f : x → yx = {1, 2, 3} Y = {a, b} F = {(1, a), (2, b), (3, a)}
Here, every element of the set Y is the image of some element of the set X.
4. One-to-one correspondence
A function that is both one-to-one and one-to-one is called a bijective function or one-to-one correspondence. Each element of the domain is paired with a unique element of the range, covering the entire range.
Example:
f : x → yx = {1, 2, 3} Y = {a, b, c} F = {(1, a), (2, b), (3, c)}
Here, the function is both injective (one-to-one) and surjective (onto).
Visualizing functions
Functions can also be represented using graphs. In mathematics, it is common to represent a function as a set of points on a coordinate system, where the x-axis represents the domain and the y-axis represents the range.
The points on the graph represent the value of the function at different inputs. Each point has an x-coordinate (input) and a y-coordinate (output).
Properties of functions
1. Domain and range
Domain and range are fundamental properties of functions. The domain is the set of all possible inputs, while the range is the set of all possible outputs.
Example:
f(x) = x^2 Domain: all real numbers Range: all non-negative real numbers
2. Joint work
A composite function is formed when one function is applied after another function, written as f(g(x)). This means "apply g to x, then apply f to the result."
Example:
f(x) = x + 2 g(x) = 3x (f ∘ g)(x) = f(g(x)) = f(3x) = 3x + 2
Conclusion
Understanding relations and functions is important because they form the basis of much of the algebra and calculus that follows. They are not only theoretical constructs but also have applications in the real world. By exploring different types of functions and their properties, students gain insight into how mathematics models the world.