Fuzzy Sets and Fuzzy Logic
Operations on Fuzzy Sets
| Classical operation | Fuzzy formula |
|---|---|
| Union (A ∪ B) | μA∪B(x) = max(μ_A(x), μ_B(x)) |
| Intersection (A ∩ B) | μA∩B(x) = min(μ_A(x), μ_B(x)) |
| Complement (Aᶜ) | μAᶜ(x) = 1 − μ_A(x) |
Linguistic Variables, Fuzzy Relations and Fuzzy Inference
A linguistic variable (e.g. 'temperature') takes LINGUISTIC VALUES ('cold', 'warm', 'hot') rather than numbers, each defined as its own fuzzy set over the underlying numeric domain — this is what lets a fuzzy rule be written in natural, human-readable form ('IF temperature is hot THEN fan speed is high') while still being mathematically precise underneath, since each linguistic term has a concrete membership function. A fuzzy relation extends a fuzzy set to pairs (or tuples): μ_R(x, y) ∈ [0, 1] expresses the degree to which x and y are related, generalising a crisp relation exactly as a fuzzy set generalises a crisp set. Fuzzy rules take the standard IF-THEN form with fuzzy antecedents and consequents, and fuzzy inference (e.g. the Mamdani method) evaluates ALL applicable rules for a given crisp input, combines their fuzzy outputs, and defuzzifies the combined result into one crisp action — every step of a fuzzy control system's actual operation, tied together.
Fuzzy Control Systems and Fuzzy Rule-Based Systems
A fuzzy control system runs the complete cycle already introduced, per control step: FUZZIFY the crisp sensor inputs, evaluate the fuzzy RULE BASE (every matching rule fires to some degree, unlike a crisp expert system where a rule either fires or does not), COMBINE the fired rules' outputs, and DEFUZZIFY the combined output into one crisp actuator command. Its practical advantage over a purely crisp (Boolean) controller is handling INHERENTLY GRADED inputs and outputs smoothly — a crisp thermostat that is either 'fan on' or 'fan off' at one exact threshold temperature tends to oscillate right at that boundary, while a fuzzy controller's continuously-varying fan speed naturally avoids that chattering, since there is no single sharp switching point to hover around.
Key takeaways
- A fuzzy set assigns a continuous membership degree in [0,1], distinct from probability — no randomness is being resolved, the element genuinely partially belongs.
- Zadeh's fuzzy union is max, intersection is min, complement is 1 minus membership — and fuzzy sets famously violate A∪Aᶜ = universal set and A∩Aᶜ = ∅.
- Fuzzification converts crisp input to membership degrees; defuzzification (e.g. centroid method) converts a fuzzy output back to one crisp value.
- A linguistic variable's values are themselves fuzzy sets, letting natural-language rules stay mathematically precise; a fuzzy relation generalises a crisp relation to pairs with a degree.
- A fuzzy controller's continuously-varying output avoids the boundary-oscillation ('chattering') a crisp on/off controller suffers at its exact threshold.
Practice questions (8)
Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.
A fuzzy set's membership degree of 0.7 for an element is best interpreted as:
Show answer
Answer: A — The element genuinely, partially belongs to that category to that degree — not a 70% chance of a crisp outcome
Fuzzy membership is not probability — there is no randomness being resolved by additional information; the element genuinely, definitely has partial membership in a category with no sharp boundary.Given μ_A(x) = 0.6, what is μA∩Aᶜ(x) using the standard Zadeh operations?
Show answer
Answer: A — 0.4
μAᶜ(x) = 1 − 0.6 = 0.4; intersection is min(μ_A, μ_Aᶜ) = min(0.6, 0.4) = 0.4 — not 0 as classical set theory would give, which is exactly the standard demonstration that fuzzy sets violate A ∩ Aᶜ = ∅.The standard fuzzy union operation, following Zadeh, computes μA∪B(x) as:
Show answer
Answer: A — max(μ_A(x), μ_B(x))
Zadeh's union takes the maximum of the two membership degrees, the fuzzy generalisation of 'in A or in B'; intersection instead takes the minimum, the generalisation of 'in A and in B'.Defuzzification by the centroid method converts a fuzzy output into a crisp value by:
Show answer
Answer: A — Computing the weighted average of output values, weighted by their membership degrees
The centroid (centre of gravity) method computes a weighted average across the output fuzzy set, which is what lets a fuzzy controller issue one concrete, actionable command rather than a spread of possible values.A linguistic variable such as 'temperature' having values 'cold', 'warm' and 'hot' means:
Show answer
Answer: A — Each value is itself a fuzzy set defined over the underlying numeric domain
Each linguistic value has its own concrete membership function over the numeric domain, and a single numeric temperature can have non-zero membership in more than one value at once (e.g. partly warm, partly hot) — this is what lets natural-language rules stay mathematically precise.Which of the following are true of a fuzzy control system, as distinct from a crisp on/off controller? (More than one option may be correct.)
Show answer
Answer: A — Multiple rules can fire to different degrees for the same input; B — Its output can vary continuously rather than switching sharply at one threshold; D — It can avoid the oscillation a crisp threshold-based controller suffers at its exact switching point
A fuzzy controller does need defuzzification to produce a final crisp command; its other listed properties (partial rule firing, continuous output, avoiding boundary chattering) are genuine advantages over a crisp on/off controller.Given μ_A(x) = 0.3 and μ_B(x) = 0.8, compute μA∪B(x) using the standard Zadeh fuzzy union.
Numerical answer — type the value.
Show answer
Answer: 0.8
Fuzzy union takes the maximum: max(0.3, 0.8) = 0.8.The process of converting a crisp sensor reading into fuzzy membership degrees across relevant linguistic terms is called:
Show answer
Answer: A — Fuzzification
Fuzzification is the entry point of a fuzzy control system's cycle, converting a crisp input into membership degrees; defuzzification is the reverse, final step, converting a fuzzy output back into one crisp value.