Terminology
Old → New Terminology
- Crisp set → Fuzzy Set
- Characteristic equation → Membership Function
- Mapping → Universal Set
A universal set refers to all objects that one wishes to describe, eg. the universal set of room temperatures (low, temperate, high, very high,…).
Consider a set of which , for is a universal set.
Boolean logic infers that each element of , , i.e. objects in either belong in or not.
However, fuzzy logic uses membership functions (MF), whereby each element in is has ‘degrees of belonging’ to the set .
Hence, ie can take on the whole interval between 0 and 1. As such, the set is the fuzzy set.
Fuzzy Set Definition
For a given universal set
We formally define a fuzzy set as
Note, certainty in this context is NOT probability. This is because they’re not linked with distributions. Instead, cartesian representations are used.
Example of a fuzzy set from a universal set
Now, we create a sub (fuzzy) set of called , which evaluates the values in and grades them on whether they count as ‘high indoor temperatures’
The values in the numerator of each element in correspond to how much the denominator belongs in . In this case 0 doesn’t count at all as a ‘high indoor temperature’, and 35 is certainly a ‘high indoor temperature’, hence they take on the values 0 and 1 respectively.
So, what dictates the values? How do we determine how much a value belongs in a fuzzy set from a universal set? We use membership functions. These are used to answer the question: To what degrees do the values in belong in the fuzzy set ?
https://www.desmos.com/calculator/jemofb9bhj
Where
The -Cut Set
- Useful to reduce the number of elements contained in the original set.
- Using the set leads to a reduction in mathematical operations.
- Useful when using Type 2-Fuzzy sets and when Z-slicing.
https://www.desmos.com/calculator/7hr3hxnw8p
The set is the interval seen in green.
The support set is defined as:
x \in X,\ \mu_A(x)>0 \end{cases} $$ As such, the $\alpha-cut$ set is defined as: $$ \alpha-cut(A) \subset A= \begin{cases} x \in X,\ \mu_A(x)\ge \alpha , 0\le \alpha \le 1 \end{cases} $$ ### Example of an $\alpha-cut$ set being applied $$ A=\begin{cases} \frac{0}{1},\frac{0.25}{3},\frac{0.5}{4},\frac{0.7}{5},\frac{1}{8} \end{cases} \\ $$ We then apply an $\alpha$ value of 0.25, hence $$ 0.25cut(A)=\begin{cases} \frac{1}{3},\frac{1}{4},\frac{1}{5},\frac{1}{8} \end{cases} $$ We see that all the values with numerators above that of 0.25 are included in the alpha cut set. Their membership in this set is definite, hence it is 1 for all these values. --- # Typical MF Shapes ## Triangular ## Trapezoidal ## Non-Linear (Gaussian) --- # Resulting Use Cases Fuzzy logic has potential applications in many areas outside engineering. ### Finance Fuzzy logic has the potential to be (and is often) applied in financial settings. The world of finance can be described as ‘the ideal scenario’ for fuzzy logic applications. This is because of the reasoning that is emergent from ‘IF, THEN’ statements. **Inputs** (such as $APPL, $FTSE100, etc) ie. current stock value can be then put through a fuzzy logic system which looks at **abstract ideas** such as: Company management structure, 5Y financial outlook, Annual trends and CEO’s statement. The fuzzy logic system would then output whether it is reasonable to buy or sell a the related stock. As for the CEO’s statement example, it is possible to analyse this through fuzzy logic as ‘positive, not so positive, negative, rather negative’. **Uncertainties** in this context may be represented as product or service failures/successes, scandal(s), descriptions of key members of the company, etc. ### Healthcare