Chapter 4 Fuzzy Rules and Inferences
Chapter 4 Fuzzy Rules and Inferences
Fuzzy Proposition
Main difference between classical proposition and fuzzy proposition is in the range of their truth values.
The proposition value for classical proposition is either true or false but in case of fuzzy proposition the
range is not confined to only two values it varies from 2 to n. For example speed may be fast, very fast,
medium, slow, and very slow. In fuzzy logic the truth value of fuzzy proposition is also depend on an
additional factor known as degree of truth whose value is varies between 0 and 1. For example
p: Speed is Slow
T(p) = 0.8, if p is partly true
T(p) = 1, if p is absolutely true
T(p) = 0, if p is totally false
So, we can say that fuzzy proposition is a statement p which acquires a fuzzy truth value T(p) ranges
from(0 to1).
Example:
p: if speed is High, then risk is Low
Example:
p: if speed is high than risk is low is true.
Fuzzy implication
Consider the implication statement
“if pressure is high then volume is small ”
The membership function of the fuzzy set A, big pressure, illustrated in the figure
2
©Debasis Samanta, Indian Institute of Technology Kharagpur
The membership function of the fuzzy set B, small volume, can be interpreted as (see figure)
If p: x is A
Where A is a fuzzy set, for example, big pressure
And q: y is B
For example, small volume
Then we define the fuzzy implication A → B as a fuzzy relation.
“IF X is A than Y is B”, can be represent by relation
∪ ̅
Where, A and B are two fuzzy sets with membership function µA and µB respectively
And Y is universe of discourse same as B but membership value for all is1.
The membership function of R is given by
μ , max min μ ,μ ,1 μ
Example:
If X is A than Y is B
Now , suppose
X = {a,b,c}
Y = {1,2,3}
A = { (a,0) (b,0.5) (c,1) }
B = { (1,1) (2,0.3) (3,0.8)}
∪ ̅
3
©Debasis Samanta, Indian Institute of Technology Kharagpur
1 2 3
a 0 0 0
AXB= b 0.5 0.3 0.5
c 1 0.3 0.8
1 2 3
a 1 1 1
XB= b 0.5 0.5 0.5
c 0 0 0
1 2 3
a 1 1 1
R= b 0.5 0.5 0.5
c 1 0.3 0.8
Fuzzy Inference
Fuzzy inference is the process of obtaining new knowledge through existing knowledge. Knowledge is
most commonly represent in the form of rules or proposition for example
“if x is A then y is B” (Where A and B are linguistic values defined by fuzzy sets on universes of
discourse X and Y). A rule is also called a fuzzy implication.
“x is A” is called the antecedent or premise and “y is B” is called the consequence or conclusion.
The two important inferring processes are –
GMP
p: If X is A than Y is B (Analytically known)
q: If X is A’ (Analytically known)
4
©Debasis Samanta, Indian Institute of Technology Kharagpur
GMT
p: If X is A than Y is B (Analytically known)
q: If Y is B’ (Analytically known)
Example:
Acceleration is large
Let L(Large), VL(Very Large), H(Huge), VH(Very Huge) indicate the associate fuzzy variable
sets.
Now let us also assume,
Force, X = {1, 2, 3, 4, 5, 6}
Acceleration, Y= {10, 20, 30, 40, 50}
L = {(3, 0.9), (4, 1), (5, 0.3)}
VL = {(5, 0.9), (6, 1)}
H = {(20, 1), (30, 0.6)}
VH = {(10, 1), (20, 0.3)}
R(x, y) = max { × S, × }
10 20 30 40 50
1 0 0 0 0 0
2 0 0 0 0 0
H L = 3 0 0.9 0.6 0 0
4 0 1 0.6 0 0
5 0 0.3 0.3 0 0
6 0 0 0 0 0
5
©Debasis Samanta, Indian Institute of Technology Kharagpur
10 20 30 40 50
1 1 1 1 1 1
2 1 1 1 1 1
H Y = 3 0.2 0.2 0.2 0.2 0.2
4 0 0 0 0 0
5 0.6 0.6 0.6 0.6 0.6
6 1 1 1 1 1
10 20 30 40 50
1 1 1 1 1 1
2 1 1 1 1 1
R (x, y) = 3 0.2 0.9 0.6 0.2 0.2
4 0 1 0.5 0 0
5 0.6 0.6 0.6 0.6 0.6
6 1 1 1 1 1
6
©Debasis Samanta, Indian Institute of Technology Kharagpur
References:
1. http://reference.wolfram.com/applications/fuzzylogic/Manual/8.html
2. http://if.kaist.ac.kr/lecture/cs670/textbook
7
©Debasis Samanta, Indian Institute of Technology Kharagpur