Build understanding with chapter guides and revision notes.
Understand the chapter
This chapter covers ordered pairs, Cartesian product, relations, domain, range, codomain, functions, real-valued functions, and basic function graphs.
Chapter overview
Relations and functions describe how elements of one set are paired with elements of another set. This chapter forms the base for calculus, coordinate geometry, inverse trigonometry, and many areas of higher mathematics.
1. Ordered pair
An ordered pair is written as:
(a,b)
Here order matters.
(a,b)=(b,a)in general
Equality of ordered pairs:
(a,b)=(c,d)⟺a=c,b=d
2. Cartesian product
If A and B are non-empty sets:
A×B={(a,b):a∈A,b∈B}
Example:
A={1,2},B={x,y}
Then:
A×B={(1,x),(1,y),(2,x),(2,y)}
Number of ordered pairs:
n(A×B)=n(A)⋅n(B)
Usually:
A×B=B×A
3. Relation
A relation R from A to B is a subset of A×B.
R⊆A×B
If:
(a,b)∈R
then a is related to b.
4. Domain and range of relation
Domain:
Domain(R)={a∈A:(a,b)∈R for some b∈B}
Range:
Range(R)={b∈B:(a,b)∈R for some a∈A}
Example:
R={(1,2),(2,4),(3,6)}
Then:
Domain(R)={1,2,3}Range(R)={2,4,6}
5. Function
A function f from A to B is a relation in which every element of A has exactly one image in B.
f:A→B
If x∈A, then image of x is:
f(x)
Function condition:
6. Domain, codomain, and range of function
For:
f:A→B
A is the domain and B is the codomain.
Range:
Range(f)={f(x):x∈A}
Important:
Range(f)⊆Codomain
7. Real-valued functions
A real-valued function has real numbers as outputs.
f:A→R
Examples:
f(x)=x2g(x)=x1h(x)=x
8. Domain restrictions
For rational functions, denominator cannot be zero.
If:
f(x)=x−21
then:
x=2
So:
Domain=R−{2}
For square root:
f(x)=x−3
Need:
x−3≥0
Therefore:
x≥3
9. Types of simple functions
Identity function
f:R→R,f(x)=x
Constant function
f:R→R,f(x)=c
Polynomial function
f(x)=a0+a1x+a2x2+⋯+anxn
Rational function
f(x)=q(x)p(x),q(x)=0
Modulus function
∣x∣={x,−x,x≥0x<0
Signum function
sgn(x)=⎩⎨⎧1,0,−1,x>0x=0x<0
Greatest integer function
f(x)=[x]
where [x] is the greatest integer less than or equal to x.