1. Gyanastra
  2. Artificial Intelligence
  3. Fuzzy Sets
  4. Fuzzy Set Operations and Relations
Free lesson, no account needed 9 min read 25 practice questions after it
Asked in past papers5 times
  • UGC NET20192017201620152013

Artificial Intelligence · Fuzzy Sets

Fuzzy Set Operations and Relations

Overview

A fuzzy set assigns to each element of a universe a membership degree in the closed interval [0,1][0,1].
Fuzzy set operations are defined pointwise on these membership degrees, so union, intersection and complement are not ordinary yes/no set operations.
Fuzzy relations are fuzzy sets on Cartesian products and are composed using max-min or max-product rules. These ideas are basic to approximate reasoning, fuzzy control, decision models and fuzzy arithmetic.
Before studying this lesson, you should know ordinary sets, Cartesian products, functions, matrices, and the meaning of max and min.

Key concepts

  • A fuzzy set AA on universe XX is written A={μA(x)/x:x∈X}A=\{\mu_A(x)/x : x\in X\} or as ordered pairs (x,μA(x))(x,\mu_A(x)), where 0≤μA(x)≤10\le \mu_A(x)\le 1. The symbol before the slash is the membership degree and the symbol after the slash is the element.
  • The standard complement is μAc(x)=1−μA(x)\mu_{A^c}(x)=1-\mu_A(x). Unless a problem states another complement, UGC questions use this standard complement.
  • The standard union is μA∪B(x)=max⁡(μA(x),μB(x))\mu_{A\cup B}(x)=\max(\mu_A(x),\mu_B(x)).
  • The standard intersection is μA∩B(x)=min⁡(μA(x),μB(x))\mu_{A\cap B}(x)=\min(\mu_A(x),\mu_B(x)).
  • The algebraic product is μA⋅B(x)=μA(x)μB(x)\mu_{A\cdot B}(x)=\mu_A(x)\mu_B(x). It is a t-norm, but it is not the standard intersection unless a problem explicitly defines it.
  • The algebraic sum is μA⊕B(x)=μA(x)+μB(x)−μA(x)μB(x)\mu_{A\oplus B}(x)=\mu_A(x)+\mu_B(x)-\mu_A(x)\mu_B(x). It is an s-norm, not the standard union.
  • A t-norm t(x,y)t(x,y) is a conjunction operator; a t-conorm or s-norm s(x,y)s(x,y) is a disjunction operator. Standard choice: t=min⁡t=\min, s=max⁡s=\max.
  • A dual pair of t-norm and s-norm satisfies the De Morgan-type relation t(x,y)=1−s(1−x,1−y)t(x,y)=1-s(1-x,1-y), equivalently s(u,v)=1−t(1−u,1−v)s(u,v)=1-t(1-u,1-v).
  • A fuzzy relation RR from XX to YY is a fuzzy set on X×YX\times Y, so μR(x,y)∈[0,1]\mu_R(x,y)\in[0,1]. For finite universes it is written as a matrix of membership degrees.
  • Max-min composition: if R⊆X×YR\subseteq X\times Y and S⊆Y×ZS\subseteq Y\times Z, then T=R∘S⊆X×ZT=R\circ S\subseteq X\times Z has μT(x,z)=max⁡ymin⁡(μR(x,y),μS(y,z))\mu_T(x,z)=\max_y \min(\mu_R(x,y),\mu_S(y,z)).
  • A linguistic variable is a variable whose values are words or phrases, such as temperature = {cold, warm, hot}; each linguistic value is represented by a fuzzy set on a numerical universe.
  • The support of AA is Supp(A)={x:μA(x)>0}\mathrm{Supp}(A)=\{x:\mu_A(x)>0\}. The core is {x:μA(x)=1}\{x:\mu_A(x)=1\}. An alpha-cut is Aα={x:μA(x)≥α}A_\alpha=\{x:\mu_A(x)\ge\alpha\}. The height is sup⁡xμA(x)\sup_x\mu_A(x); a fuzzy set is normal if its height is 11.
  • The extension principle maps a fuzzy set through a crisp function: each output y=f(x)y=f(x) receives the membership of xx, and if more than one xx gives the same yy, the maximum membership is kept.
  • Standard fuzzy operations satisfy commutativity, associativity, idempotence, distributivity, absorption, involution and De Morgan laws.
    They do not satisfy the law of excluded middle A∪Ac=XA\cup A^c=X or the law of contradiction A∩Ac=∅A\cap A^c=\varnothing in general.

How it works

  1. Element-wise operations: Align the elements of the two fuzzy sets in the same order.
    For union take the larger membership at each element; for intersection take the smaller membership; for complement subtract the membership from 11.
    For a combined expression such as A∪B‾\overline{A\cup B}, first compute A∪BA\cup B, then complement every resulting membership.
  2. Dual t-norm and s-norm: If t(x,y)t(x,y) is given and a dual s(u,v)s(u,v) is required, rewrite the duality condition as s(u,v)=1−t(1−u,1−v)s(u,v)=1-t(1-u,1-v). Substitute 1−u1-u and 1−v1-v into tt, simplify algebraically, and then replace u,vu,v by the required variables.
  3. Fuzzy relation and max-min composition: For each pair (x,z)(x,z) in the result, look at every intermediate yy. For each yy, take the minimum of μR(x,y)\mu_R(x,y) and μS(y,z)\mu_S(y,z). Then take the maximum of these minima over all yy.
    This is not ordinary matrix multiplication.
  4. Fuzzy addition of fuzzy integers: List every pair (x,y)(x,y) from the two fuzzy sets. For each pair compute the sum z=x+yz=x+y and the minimum of the two membership values. For each fixed zz, keep the maximum of all such minima.
    Read the pair notation carefully: some questions write (x,μ)(x,\mu) and some write (μ,x)(\mu,x); identify the membership as the value lying in [0,1][0,1].
  5. Support, core and alpha-cut: Keep only elements with membership greater than 00 for support, exactly 11 for core, and at least α\alpha for the alpha-cut. These are ordinary crisp sets.
  6. Checking laws: Use one element with membership strictly between 00 and 11 to test excluded middle or contradiction. De Morgan laws and involution hold with the standard complement even when excluded middle fails.
Figure. For each fixed result pair (x,z), the process considers all intermediate y values. It takes the minimum of R(x,y) and S(y,z), then the maximum over y to obtain T(x,z).

Formulas

  • Notation: μA(x)\mu_A(x) is the membership degree of element xx in fuzzy set AA; max⁡\max and min⁡\min are taken element-wise.

  • Standard complement: μAc(x)=1−μA(x)\mu_{A^c}(x)=1-\mu_A(x).

  • Standard union: μA∪B(x)=max⁡(μA(x),μB(x))\mu_{A\cup B}(x)=\max(\mu_A(x),\mu_B(x)).

  • Standard intersection: μA∩B(x)=min⁡(μA(x),μB(x))\mu_{A\cap B}(x)=\min(\mu_A(x),\mu_B(x)).

  • Algebraic product: μA⋅B(x)=μA(x)μB(x)\mu_{A\cdot B}(x)=\mu_A(x)\mu_B(x).

  • Algebraic sum: μA⊕B(x)=μA(x)+μB(x)−μA(x)μB(x)\mu_{A\oplus B}(x)=\mu_A(x)+\mu_B(x)-\mu_A(x)\mu_B(x).

  • t-norm and s-norm duality: t(x,y)=1−s(1−x,1−y)t(x,y)=1-s(1-x,1-y), equivalently s(u,v)=1−t(1−u,1−v)s(u,v)=1-t(1-u,1-v).

  • Max-min composition: μR∘S(x,z)=max⁡ymin⁡(μR(x,y),μS(y,z))\mu_{R\circ S}(x,z)=\max_{y}\min(\mu_R(x,y),\mu_S(y,z)).

  • Max-product composition: μR∘S(x,z)=max⁡y(μR(x,y)μS(y,z))\mu_{R\circ S}(x,z)=\max_{y}\left(\mu_R(x,y)\mu_S(y,z)\right).

  • Fuzzy addition: μA+B(z)=max⁡x+y=zmin⁡(μA(x),μB(y))\mu_{A+B}(z)=\max_{x+y=z}\min(\mu_A(x),\mu_B(y)).

  • Extension principle for a function: μf(A)(y)=sup⁡x:f(x)=yμA(x)\mu_{f(A)}(y)=\sup_{x:f(x)=y}\mu_A(x).

  • Extension principle for a binary operation ∗*: μA∗B(z)=sup⁡z=x∗ymin⁡(μA(x),μB(y))\mu_{A*B}(z)=\sup_{z=x*y}\min(\mu_A(x),\mu_B(y)).

  • Support: Supp(A)={x:μA(x)>0}\mathrm{Supp}(A)=\{x:\mu_A(x)>0\}.

  • Core: Core(A)={x:μA(x)=1}\mathrm{Core}(A)=\{x:\mu_A(x)=1\}.

  • Alpha-cut: Aα={x:μA(x)≥α}A_\alpha=\{x:\mu_A(x)\ge\alpha\}.

  • Height: h(A)=sup⁡xμA(x)h(A)=\sup_x\mu_A(x); normal if h(A)=1h(A)=1.

Worked examples

Example 1. Union, intersection and complement.
Let A={0.2/x1,0.6/x2,0.9/x3,0.4/x4}A=\{0.2/x_1,0.6/x_2,0.9/x_3,0.4/x_4\} and B={0.7/x1,0.1/x2,0.5/x3,0.8/x4}B=\{0.7/x_1,0.1/x_2,0.5/x_3,0.8/x_4\}.
Union: max⁡(0.2,0.7)=0.7\max(0.2,0.7)=0.7, max⁡(0.6,0.1)=0.6\max(0.6,0.1)=0.6, max⁡(0.9,0.5)=0.9\max(0.9,0.5)=0.9, max⁡(0.4,0.8)=0.8\max(0.4,0.8)=0.8. So A∪B={0.7/x1,0.6/x2,0.9/x3,0.8/x4}A\cup B=\{0.7/x_1,0.6/x_2,0.9/x_3,0.8/x_4\}.
Intersection: min⁡(0.2,0.7)=0.2\min(0.2,0.7)=0.2, min⁡(0.6,0.1)=0.1\min(0.6,0.1)=0.1, min⁡(0.9,0.5)=0.5\min(0.9,0.5)=0.5, min⁡(0.4,0.8)=0.4\min(0.4,0.8)=0.4. So A∩B={0.2/x1,0.1/x2,0.5/x3,0.4/x4}A\cap B=\{0.2/x_1,0.1/x_2,0.5/x_3,0.4/x_4\}.
Complement of the union: subtract each union membership from 11: {0.3/x1,0.4/x2,0.1/x3,0.2/x4}\{0.3/x_1,0.4/x_2,0.1/x_3,0.2/x_4\}.

Example 2. Max-min composition.
Let R=[0.50.80.90.2]R=\begin{bmatrix}0.5&0.8\\0.9&0.2\end{bmatrix} with rows x1,x2x_1,x_2 and columns y1,y2y_1,y_2, and S=[0.70.40.30.9]S=\begin{bmatrix}0.7&0.4\\0.3&0.9\end{bmatrix} with rows y1,y2y_1,y_2 and columns z1,z2z_1,z_2.
For (x1,z1)(x_1,z_1): max⁡(min⁡(0.5,0.7),min⁡(0.8,0.3))=max⁡(0.5,0.3)=0.5\max(\min(0.5,0.7),\min(0.8,0.3))=\max(0.5,0.3)=0.5.
For (x1,z2)(x_1,z_2): max⁡(min⁡(0.5,0.4),min⁡(0.8,0.9))=max⁡(0.4,0.8)=0.8\max(\min(0.5,0.4),\min(0.8,0.9))=\max(0.4,0.8)=0.8.
For (x2,z1)(x_2,z_1): max⁡(min⁡(0.9,0.7),min⁡(0.2,0.3))=max⁡(0.7,0.2)=0.7\max(\min(0.9,0.7),\min(0.2,0.3))=\max(0.7,0.2)=0.7.
For (x2,z2)(x_2,z_2): max⁡(min⁡(0.9,0.4),min⁡(0.2,0.9))=max⁡(0.4,0.2)=0.4\max(\min(0.9,0.4),\min(0.2,0.9))=\max(0.4,0.2)=0.4.
Thus T=R∘S=[0.50.80.70.4]T=R\circ S=\begin{bmatrix}0.5&0.8\\0.7&0.4\end{bmatrix}.

Example 3. Fuzzy integer addition.
Let A={(1,0.4),(2,0.8),(3,1.0)}A=\{(1,0.4),(2,0.8),(3,1.0)\} and B={(10,0.5),(11,1.0)}B=\{(10,0.5),(11,1.0)\}, where pairs are written as (value,membership)(value,membership).
Pairs: 1+10=111+10=11 gives min⁡(0.4,0.5)=0.4\min(0.4,0.5)=0.4; 1+11=121+11=12 gives min⁡(0.4,1.0)=0.4\min(0.4,1.0)=0.4; 2+10=122+10=12 gives min⁡(0.8,0.5)=0.5\min(0.8,0.5)=0.5; 2+11=132+11=13 gives min⁡(0.8,1.0)=0.8\min(0.8,1.0)=0.8; 3+10=133+10=13 gives min⁡(1.0,0.5)=0.5\min(1.0,0.5)=0.5; 3+11=143+11=14 gives min⁡(1.0,1.0)=1.0\min(1.0,1.0)=1.0.
For z=11z=11, membership 0.40.4. For z=12z=12, maximum of 0.4,0.50.4,0.5 is 0.50.5. For z=13z=13, maximum of 0.8,0.50.8,0.5 is 0.80.8. For z=14z=14, membership 1.01.0. Result: {(11,0.4),(12,0.5),(13,0.8),(14,1.0)}\{(11,0.4),(12,0.5),(13,0.8),(14,1.0)\}.

Example 4. Dual s-norm.
Let t(x,y)=xyt(x,y)=xy. Find the dual s(u,v)s(u,v) from s(u,v)=1−t(1−u,1−v)s(u,v)=1-t(1-u,1-v). Then s(u,v)=1−(1−u)(1−v)=u+v−uvs(u,v)=1-(1-u)(1-v)=u+v-uv. For u=0.3u=0.3, v=0.8v=0.8, s=0.3+0.8−0.24=0.86s=0.3+0.8-0.24=0.86. This is the algebraic sum, not the standard union.

Example 5. Statement-type check.
Let an element xx have μA(x)=0.3\mu_A(x)=0.3 and μB(x)=0.8\mu_B(x)=0.8. Then A∩BA\cap B has membership min⁡(0.3,0.8)=0.3\min(0.3,0.8)=0.3, so (A∩B)c(A\cap B)^c has membership 1−0.3=0.71-0.3=0.7. Also AcA^c has 0.70.7 and BcB^c has 0.20.2, so Ac∪BcA^c\cup B^c has max⁡(0.7,0.2)=0.7\max(0.7,0.2)=0.7. Thus (A∩B)c=Ac∪Bc(A\cap B)^c=A^c\cup B^c for this element. For AA alone, A∪AcA\cup A^c has max⁡(0.3,0.7)=0.7≠1\max(0.3,0.7)=0.7\ne1, and A∩AcA\cap A^c has min⁡(0.3,0.7)=0.3≠0\min(0.3,0.7)=0.3\ne0.
So excluded middle and contradiction fail in general, while De Morgan holds.

Comparison

OperationStandard max-min definitionAlgebraic definitionTrap
Unionmax⁡(μA,μB)\max(\mu_A,\mu_B)μA+μB−μAμB\mu_A+\mu_B-\mu_A\mu_BAlgebraic sum is not standard union
Intersectionmin⁡(μA,μB)\min(\mu_A,\mu_B)μAμB\mu_A\mu_BAlgebraic product is not standard intersection
Complement1−μA1-\mu_A1−μA1-\mu_AOther complements exist but are specified separately
LawHolds under standard fuzzy operations?Note
CommutativityYesA∪B=B∪AA\cup B=B\cup A, A∩B=B∩AA\cap B=B\cap A
AssociativityYesParentheses do not change result
IdempotenceYesA∪A=AA\cup A=A, A∩A=AA\cap A=A
DistributivityYesUnion over intersection and intersection over union
InvolutionYes(Ac)c=A(A^c)^c=A
De MorganYes(A∪B)c=Ac∩Bc(A\cup B)^c=A^c\cap B^c and (A∩B)c=Ac∪Bc(A\cap B)^c=A^c\cup B^c
Excluded middleNo in generalA∪Ac≠XA\cup A^c\ne X if memberships are intermediate
ContradictionNo in generalA∩Ac≠∅A\cap A^c\ne\varnothing if memberships are intermediate

Revision summary

  • Union: take max; intersection: take min; complement: do 1−μ1-\mu.
  • Algebraic product is multiplication, not standard intersection; algebraic sum is x+y−xyx+y-xy, not standard union.
  • In max-min composition: min inside, max outside over the intermediate universe.
  • In max-product composition: multiply inside, max outside.
  • In fuzzy addition: sum the elements, take min of memberships, then max for repeated sums.
  • Support uses μ>0\mu>0; core uses μ=1\mu=1; alpha-cut uses μ≥α\mu\ge\alpha; height is the maximum membership.
  • Standard fuzzy sets satisfy De Morgan and involution but fail excluded middle and contradiction in general.
  • A fuzzy relation is a fuzzy set on X×YX\times Y, represented by a membership matrix.
  • A linguistic variable takes words or phrases as values, each represented by a fuzzy set.
  • For dual t-norm and s-norm, use s(u,v)=1−t(1−u,1−v)s(u,v)=1-t(1-u,1-v).
  • Read fuzzy integer pairs carefully: membership always lies in [0,1][0,1].
  • Check element order before operating; misalignment is the most common numerical error.

Previous-year exam insights

  • Direct array questions ask for A∪B‾\overline{A\cup B}, A∩BA\cap B, A∪BA\cup B, or complements.
    First perform the union/intersection element-wise, then complement if the overbar is present.
  • Fuzzy addition questions require enumerating all x+yx+y pairs, taking min memberships, and then max for each repeated sum.
    Wrong options usually omit the final max or use the wrong pair order.
  • Max-min composition questions give two small matrices.
    Compute min for each intermediate yy, then max over yy; do not use ordinary matrix multiplication.
  • Statement I/II/III questions test whether a law holds.
    De Morgan and involution are true; excluded middle and contradiction are false for non-crisp memberships.
  • Match-the-list questions pair union with max, intersection with min, complement with 1−μ1-\mu, algebraic product with multiplication, and max-min composition with “min then max”.
  • Dual t-norm/s-norm questions require algebraic substitution in t(x,y)=1−s(1−x,1−y)t(x,y)=1-s(1-x,1-y) or its rearranged form.
    Sign errors are the main trap.
  • Support/core/alpha-cut questions expect a crisp set of elements, not a set of membership values.
  • Assertion-reason questions often state that a fuzzy relation expresses degree of relation, which is true because it is a fuzzy set on a Cartesian product.

Practice at PARIKSHA

You are ready for the PARIKSHA tests of this sub-topic when you can:

  • compute union, intersection and complement of finite fuzzy sets element-wise;
  • compute an expression such as A∪B‾\overline{A\cup B} without changing the element order;
  • identify whether a pair is written as (x,μ)(x,\mu) or (μ,x)(\mu,x) and use it correctly;
  • apply the duality formula to find an s-norm from a t-norm;
  • compute a max-min composition of two small fuzzy relations and show every intermediate min and final max;
  • distinguish standard max-min operations from algebraic product and algebraic sum;
  • perform fuzzy addition of fuzzy integers using min for each pair and max for repeated sums;
  • determine support, core, height and an alpha-cut from a given fuzzy set;
  • decide whether idempotence, De Morgan, excluded middle or contradiction holds;
  • explain why a fuzzy relation is a fuzzy set on X×YX\times Y and why max-min composition is not ordinary matrix multiplication.

Attempt the sub-topic test first, then the subject test.

Pages 1–2 of 2