Learn › Class 11 › Mathematics › Relations and Functions
Relations and functions
You will learn to
- Form Cartesian products and count relations
- Decide whether a relation is a function
- Find the domain and range of common real functions
Helpful to know first: Sets; Coordinate plane.
The Cartesian product A × B is the set of all ordered pairs (a, b) with a ∈ A and b ∈ B. If n(A) = p and n(B) = q, then n(A × B) = pq.
A relation from A to B is any subset of A × B. Since A × B has pq elements, there are 2^(pq) possible relations from A to B.
Function
A function f from A to B is a relation in which every element of A has exactly one image in B. A is the domain; the set of images is the range.
Key graphs include the identity f(x) = x, the square f(x) = x² with range [0, ∞), and the modulus f(x) = |x|. The reciprocal f(x) = 1/x is defined only for x ≠ 0.
Functions combine like numbers. (f + g)(x) = f(x) + g(x), (fg)(x) = f(x)g(x), and (f/g)(x) = f(x)/g(x) where g(x) ≠ 0.
Common mix-ups
Not quite: (2, 5) and (5, 2) are the same ordered pair.
Instead: Order matters in an ordered pair. (2, 5) and (5, 2) are different points.
Not quite: If two inputs give the same output, it is not a function.
Instead: That is allowed. f(x) = x² gives f(2) = f(−2) = 4 and is still a function.