Fuzzy operations – Explained with examples
Fuzzy operations are performed on fuzzy sets, whereas crisp operations are performed on crisp sets. Fuzzy operations are very useful in the design of a Fuzzy Logic Controller. It allows the manipulation of fuzzy variables by different means.
Suugested Reading: Fuzzy Terminologies
Union:
In the case of the union of crisp sets, we simply have to select repeated elements only once. In the case of fuzzy sets, when there are common elements in both fuzzy sets, we should select the element with the maximum membership value.
The union of two fuzzy sets A and B is a fuzzy set C, written as C = A ∪ B
C = A ∪ B = {(x, μA ∪ B (x)) | ∀x ∈ X}
μC(x) = μA ∪ B (x) = μA(x) ∨ μB(x)
= max( μA(x), μB(x) ), ∀x ∈ X
Graphically, we can represent union operations as follows: Red and Blue membership functions represent the fuzzy value for elements in sets A and B, respectively. Wherever these fuzzy functions overlap, we have to consider the point with the maximum membership value.
Example of Fuzzy Union:
C = A ∪ B = {(x, μA ∪ B (x)) | ∀x ∈ X}
A = { (x1, 0.2), (x2, 0.5), (x3, 0.6), (x4, 0.8), (x5, 1.0) }
B = { (x1, 0.8), (x2, 0.6), (x3, 0.4), (x4, 0.2), (x5, 0.1) }
μA ∪ B (x1) = max( μA(x1), μB(x1) ) = max { 0.2, 0.8 } = 0.8
μA ∪ B (x2) = max( μA(x2), μB(x2) ) = max { 0.5, 0.6 } = 0.6
μA ∪ B (x3) = max( μA(x3), μB(x3) ) = max { 0.6, 0.4 } = 0.6
μA ∪ B (x4) = max( μA(x4), μB(x4) ) = max { 0.8, 0.2 } = 0.8
μA ∪ B (x5) = max( μA(x5), μB(x5) ) = max { 1.0, 0.1 } = 1.0
So, A ∪ B = { (x1, 0.8), (x2, 0.6), (x3, 0.6), (x4, 0.8), (x5, 1.0) }
Intersection:
In the case of the intersection of crisp sets, we simply have to select common elements from both sets. In the case of fuzzy sets, when there are common elements in both fuzzy sets, we should select the element with minimum membership value.
The intersection of two fuzzy sets A and B is a fuzzy set C, written as C = A ∩ B
C = A ∩ B = {(x, μA ∩ B (x)) | ∀x ∈ X}
μC(x) = μA ∩ B (x) = μA(x) ⋀ μB(x)
= min( μA(x), μB(x) ), ∀x ∈ X
Graphically, we can represent the intersection operation as follows: Red and blue membership functions represent the fuzzy value for elements in sets A and B, respectively. Wherever these fuzzy functions overlap, we have to consider the point with the minimum membership value.
Example of Fuzzy Intersection:
C = A ∩ B = {(x, μA ∩ B (x)) | ∀x ∈ X}
A = { (x1, 0.2), (x2, 0.5), (x3, 0.6), (x4, 0.8), (x5, 1.0) }
B = { (x1, 0.8), (x2, 0.6), (x3, 0.4), (x4, 0.2), (x5, 0.1) }
μA ∩ B (x1) = min( μA(x1), μB(x1) ) = max { 0.2, 0.8 } = 0.2
μA ∩ B (x2) = min( μA(x2), μB(x2) ) = max { 0.5, 0.6 } = 0.5
μA ∩ B (x3) = min( μA(x3), μB(x3) ) = max { 0.6, 0.4 } = 0.4
μA ∩ B (x4) = min( μA(x4), μB(x4) ) = max { 0.8, 0.2 } = 0.2
μA ∩ B (x5) = min( μA(x5), μB(x5) ) = max { 1.0, 0.1 } = 0.1
So, A ∩ B = { (x1, 0.2), (x2, 0.5), (x3, 0.4), (x4, 0.2), (x5, 0.1) }
Complement:
Fuzzy complement is identical to crisp complement operation. The membership value of every element in the fuzzy set is complemented with respect to 1, i.e. it is subtracted from 1.
The complement of fuzzy set A, denoted by AC, is defined as
AC = {(x, μAC (x)) | ∀x ∈ X}
AC (x) = 1 – μA(x)
Example of Fuzzy Complement:
AC (x) = 1 – μA(x)
A = { (x1, 0.2), (x2, 0.5), (x3, 0.6), (x4, 0.8), (x5, 1.0) }
AC = { (x1, 0.8), (x2, 0.5), (x3, 0.4), (x4, 0.2), (x5, 0.0) }
A ⋃ AC = { (x1, 0.8), (x2, 0.5), (x3, 0.6), (x4, 0.8), (x5, 1.0) } ≠ X
A ∩ AC = { (x1, 0.2), (x2, 0.5), (x3, 0.4), (x4, 0.2), (x5, 0.0) } ≠ Φ
Unlike crisp sets, fuzzy sets do not hold the law of contradiction and the law of excluded middle.
Watch on YouTube: Fuzzy operations
Test Your Knowledge:
For following fuzzy sets, perform union, complement and intersection operations.
A = { (x1, 0.4), (x2, 0.5), (x3, 0.2), (x4, 0.4), (x5, 0.8) }
B = { (x1, 1.0), (x2, 0.3), (x3, 0.5), (x4, 0.7), (x5, 0.1) }
Please post your answer / query / feedback in comment section below !
helpful article.
Noted with thanks
Excellent explanation
Thanks…
Graphically we can represent union operation as follow. this sentence has a mistake please correct it . it should be “intersection ” in the place of “Union”
Thank you very much for your input. Appreciated and corrected.
How to show union is associative in fuzzy set
Its similar to crisp set instead of union, you shall consider max of membership value in fuzzy set.
Please tell me how we prove that union is associtive
Properties of sets are explained in videos with example here: https://www.youtube.com/playlist?list=PLUVnh0w_cCjJ50vH6505Bk7Zv-2f8rltw
You will find your answer
sir please suggest me if the parameter are fuzzy number then how to find minimum weight
Your question is not clear to me. Can you plz rephrase it?
A and B are two fuzzy sets.It is given that membership of A(x)=1/x+1 and membership of B(x)=x/x+1.
Find membership function of AUB,A intersection B,A’s complement,B’s complement