Function in Discrete Structures Assignment
Function in Discrete Structures Assignment
Sets of elements:
X = {a, b}
Y = {u, v}
If the images of each distinct pair of items x1 and x2 in X are likewise distinct in Y, then
the function f from set X to set Y is one-to-one.
List One-to-One Functions:
F1(a) = u, f1(b) = v
F2(a) = v, f2(b) = u
Onto Function:
A function f: A→B is said to onto if every element of y belongs to B and there is at least
one element of x that belongs to A such that:
f(x) = y
Verify if f is onto:
Y = 4x − 1
Y + 1 = 4x + 1
Now, divide by 4:
y+ 1
X=
4
For any y ∈ R, we can always find an x ∈ R. Since this holds for every y ∈ Ry, the function
f(x)=4x−1 is onto (surjective).
The function f: X→Y is defined by the arrow diagram is both one-to-one and onto hence this
function is bijective.
Q4. Find the inverse of the function such that.
4x2-1 = y
By definition:
−1
f ( y ) = x ⇔f(x) = y
⟺4 x 2 – 1 = y
2
⟺4 x = y + 1
2 y+ 1
⟺x =
4
⟺ x=
√ y+1
2
It will become:
⟺ x=± √
y +1
2
⟺f =
−1 √ y+1
2