Professional Documents
Culture Documents
Functions
Functions
Tania Bose
- Associate Professor, Department of Applied Sciences
Example:
Let A = {1, 2, 3} and B = {p, q, r}
And f = {(1, p), (2, q), (3, r)}
i.e. f(1) = p, f(2) = q and f(3) = r.
Example:
R = {(1, 2), (1, 3), (2, 3), (3, 2)} is a relation but not a
function.
∵ 𝑓 1 = 2, 𝑓 1 = 3 𝑎𝑛𝑑 2 ≠ 3.
R (a) = 1
R (b) = 2
R(c) = 1
R(d) = 2
Clearly, R is a function.
23 July, 2021 Functions (Discrete Mathematics AM109) by Dr. Tania Bose 8
Let A = {a, b, c, d} and B = {1, 2, 3}. Determine whether the relation R from
A to B is a function.
R = {(a, 1), (b, 2), (a, 2), (c, 1), (d, 2)}
R (a) = 1
R (b) = 2
R(a) = 2
R(c) = 1
R(d) = 2
R (a) = 3
R (b) = 2
R(c) = 1
All reals