Fuzzy logic
Fuzzy logic begins with a simple experiment: ask a group of people to name a color, and the answers spread across a range instead of landing on one word. Classical logic has no room for that spread. It only allows a statement to be true or false, nothing in between. Fuzzy logic instead lets a statement be partly true, somewhere between completely true and completely false. How do engineers build a working system around an idea that slippery? Where did that idea come from, and how did it end up quietly running real machines? This documentary follows fuzzy logic from its mathematical roots into the equipment it now controls.
A temperature reading feeding an anti-lock braking system might pass through several separate membership functions. Each one maps that same value onto a scale from 0 to 1. Boolean logic only allows the integers 0 or 1 for any variable, a strict on or off switch. Fuzzy logic instead allows any real number in between. That number captures how much a value belongs to a description, rather than simply whether it does.
Degrees of truth and probabilities both sit on that same 0 to 1 scale, which makes them easy to confuse. They model different things. A degree of truth measures vagueness: how well a description like warm fits a given temperature. A probability measures ignorance: how likely an event is to happen at all. That distinction is what let fuzzy logic branch out far beyond pure mathematics, into control systems and, eventually, artificial intelligence.
The term fuzzy logic entered use in 1965, when mathematician Lotfi Zadeh proposed fuzzy set theory. The underlying idea reached back further than that name suggests. Basic fuzzy logic had already been studied since the 1920s, framed as infinite-valued logic. Łukasiewicz and Tarski were notable figures in that earlier work.
Zadeh's own contribution deepened through the 1960s and 1970s, alongside Joseph Goguen. Together they took up questions like linguistic variables and lattices. Fuzzy logic rests on a simpler observation than any of that math: people make decisions from imprecise, non-numerical information every day. Fuzzy models and fuzzy sets exist to represent that vagueness mathematically, recognizing and interpreting data that lacks certainty.
That same drive to formalize imprecision would soon need a way to talk about words, not just numbers.
A linguistic variable like age might take values such as young or its opposite, old. Natural language rarely contains enough distinct words to describe a full scale of truth. Fuzzy logic borrows adjectives and adverbs to stretch that vocabulary. Hedges such as rather and somewhat combine with a base term to produce values like rather old or somewhat young.
One illustration maps a single temperature onto three functions at once, labeled cold, warm, and hot. A red arrow pointing to zero shows the temperature has no membership in hot. An orange arrow pointing to 0.2 gives it 0.2 membership in warm. A blue arrow pointing to 0.8 gives it 0.8 membership in cold. That process, assigning a numerical input to fuzzy sets with some degree of membership, is called fuzzification. A degree of 0 means the value does not belong in a set at all, and a degree of 1 means it belongs completely.
Some fuzzy sets are defined with a sigmoid curve, including the standard logistic function, which carries its own built-in symmetry. Others are simply drawn as triangle or trapezoid shaped curves, each with a rising slope, a peak held at 1, and a falling slope.
Those curves become the raw material a rule-based system consumes to reach a single decision.
Engineers gave the name Mamdani to the most widely used fuzzy system, built on three steps. First it fuzzifies every input value into a fuzzy membership function. Then it executes every applicable rule in the rulebase to compute fuzzy output functions. Finally it defuzzifies those output functions into one crisp value.
Fuzzy logic swaps in replacements for the Boolean gates AND, OR, and NOT. One common substitution defines AND(x, y) as the minimum of x and y, OR(x, y) as the maximum, and NOT(x) as 1 minus x. For true and false, coded as 1 and 0, these fuzzy operators produce exactly the same results as the Boolean versions. A second family of operators is built on multiplication instead. Here, x AND y equals x times y, and x OR y equals x plus y minus their product. Given any two of AND, OR, and NOT, the third can be derived from them. The generalized version of AND is known as a t-norm. A paper by Zaitsev and colleagues later set out a criterion for this: it recognizes whether an arbitrary choice table even qualifies as a fuzzy logic function at all.
An IF-THEN rule might read: if temperature is very cold, then fan speed is stopped. If it is warm, fan speed is moderate; if hot, fan speed is high. When several rules point their THEN clause at the same output variable, their IF-side truth values are combined with the OR operator. Turning that mix of truth values back into one usable number is called defuzzification, and no single algorithm handles it. A common method cuts each output's membership function at its computed truth value. It then combines the resulting curves with the OR operator. Finally, it locates the center of weight of the area under that combined curve. The horizontal position of that center becomes the final output.
A different school of fuzzy engineering builds that defuzzification step directly into the rules themselves.
Tomohiro Takagi and Michio Sugeno introduced the system that carries their names, for fuzzy identification of systems, modeling, and control. Sugeno and Kang later built on it with methods for identifying the structure of such fuzzy models directly from input-output data.
The Takagi-Sugeno-Kang system, TSK for short, resembles Mamdani in its front end. It folds defuzzification into the execution of the rules themselves. Its consequent is written as a polynomial function instead of a fuzzy set, constant in a zero-order model or linear in a first-order one. A constant example might read: if temperature is very cold, then fan speed equals 2. There, the output simply matches that constant. A linear example might read: if temperature is very cold and humidity is high, then fan speed equals 2 times temperature plus 1 times humidity. Here, the antecedent's membership value acts as the rule's weight. Across an entire rule base, the final output becomes a weighted average of every rule's consequent.
TSK's main advantage is computational efficiency, especially inside methods like PID control. It also works well with optimization algorithms and adaptive neuro fuzzy inference systems, and it guarantees a continuous output surface. Mamdani remains more intuitive and easier for people to work with directly. That is why TSK tends to stay embedded inside more complex systems rather than standing alone. A fuzzy system's output reflects a consensus of every input and every rule at once. That is why it keeps working reasonably well even when some inputs are missing or untrustworthy. Individual rules can carry weightings tied to their priority, reliability, or consistency. Those weightings can stay fixed, or shift dynamically based on other rules' output.
That resilience under missing or unreliable data is what carried fuzzy logic out of research papers and onto real machines.
One widely cited fuzzy logic rule reads: "if you are close to the destination station and moving fast, increase the train's brake pressure." That kind of vague human instinct becomes something a control system can act on directly. Rules like that let engineers numerically refine vague human judgment, without forcing it into a rigid formula.
The first notable fuzzy logic application ran on the Sendai Subway 1000 series, where fuzzy control improved the train's economy, comfort, and precision. Many of the earliest successful fuzzy logic applications, like this one, were built in Japan. The same approach went on to handle handwriting recognition in Sony's pocket computers and helicopter flight aids. It also reached other subway system controls, automobile fuel efficiency, single-button washing machine controls, and automatic power regulation in vacuum cleaners. Japan's Institute of Seismology, part of its Bureau of Meteorology, even used fuzzy logic for early earthquake recognition.
That same appetite for handling uncertain, real-world signals is what eventually pulled fuzzy logic into conversation with an entirely different technology, the neural network.
Researchers in the 1980s split over which machine learning approach would win. One side backed decision tree learning, built on binary logic that matched the hardware running it. The other backed neural networks. Decision trees never delivered genuinely intelligent systems, despite serious effort. Neural networks, by contrast, produced accurate models of complex situations and spread across a wide range of electronic devices. When analyzed closely, the two fields turn out to share a deeper connection: the underlying logic of a neural network is itself fuzzy, not binary. A neural network takes a range of valued inputs, weights them against each other, and combines intermediate values repeatedly to reach a decision. None of that follows the either-or steps of non-fuzzy computer programming. Neural networks can now run directly on analog microchips, instead of the pseudo-analog approach older digital chips relied on, and that efficiency gain outweighs analog's lower inherent accuracy.
One line captures the challenge starkly: "the envelope of what can be achieved and what cannot be achieved in medical diagnosis, ironically, is itself a fuzzy one." Medical and healthcare data is often subjective, which makes fuzzy logic an important tool in medical decision making. It has been applied to medical image analysis, biomedical signal analysis, and the segmentation and feature extraction of images or signals. The hardest question in this space is how much useful information fuzzy logic can actually extract, especially once the data has to come directly from patients. Image-based computer-aided diagnosis, tools built to help physicians reach a decision, has become one of the more common places fuzzy logic shows up in medicine.
The first fuzzy relational database, FRDB, appeared in Maria Zemankova's 1983 dissertation. Other models followed: the Buckles-Petry model, the Prade-Testemale model, and the Umano-Fukami model. J. M. Medina, M. A. Vila, and others built a further model called GEFRED. Querying languages grew alongside them. SQLf came from P. Bosc and colleagues, and FSQL came from J. Galindo and colleagues. Both built structures like fuzzy conditions, comparators, constants, and thresholds directly into SQL statements.
Computational theorist Bart Kosko argued, in an essay titled Fuzziness vs. Probability, that probability is actually a subtheory of fuzzy logic. He claimed that mutually exclusive outcomes in probability are just a special case of fuzzy logic's graded, non-exclusive membership. Kosko even derived Bayes' theorem from the concept of fuzzy subsethood. Lotfi Zadeh disagreed with that framing. He fuzzified probability itself into what he called fuzzy probability, and generalized the idea further into possibility theory. By 2016, the IEEE had turned decades of this formal work into its own Fuzzy Markup Language. That standard, built on XML, lets engineers describe a fuzzy system in a form any machine can read.
Common questions
What is fuzzy logic?
Fuzzy logic is a form of many-valued logic in which a variable's truth value can be any real number between 0 and 1, rather than only 0 or 1 as in Boolean logic. It is used to represent partial truth, ranging between completely true and completely false.
Who invented fuzzy logic and when?
The term fuzzy logic was introduced in 1965 when mathematician Lotfi Zadeh proposed fuzzy set theory. Basic infinite-valued logic behind the idea had already been studied since the 1920s by Łukasiewicz and Tarski, and Zadeh continued developing the concept with Joseph Goguen through the 1960s and 1970s.
How is fuzzy logic different from probability?
Fuzzy logic and probability both use a scale from 0 to 1, but they model different things. Fuzzy logic represents vagueness through degrees of truth, while probability represents ignorance about whether an event will occur.
Where has fuzzy logic been used in real machines?
Fuzzy logic has controlled the Sendai Subway 1000 series train system, anti-lock braking systems, helicopter flight aids, automobile fuel efficiency systems, single-button washing machines, and vacuum cleaner power controls. It has also been used for handwriting recognition in Sony pocket computers and early earthquake recognition through Japan's Institute of Seismology.
What is the difference between the Mamdani and Takagi-Sugeno fuzzy systems?
The Mamdani system fuzzifies inputs, executes rules, and then defuzzifies the output into a single crisp value. The Takagi-Sugeno-Kang (TSK) system instead folds defuzzification into the rules themselves, using constant or linear polynomial functions as outputs, which makes it more computationally efficient but less intuitive than Mamdani.
How does fuzzy logic relate to neural networks?
When analyzed closely, neural networks and fuzzy logic share the same underlying logic, since a neural network reaches a decision by weighting and combining inputs rather than following either-or steps. Researchers in the 1980s debated whether decision tree learning or neural networks were the better approach to machine learning.
All sources
40 references cited across the entry
- 1BookMathematical principles of fuzzy logicNovák, V. et al. — Kluwer Academic — 1999
- 2Fuzzy LogicBryant University — 2006-07-23
- 3Information and ControlL. A. Zadeh
- 4JournalReview of Metamathematics of fuzzy logicsFrancis Jeffry Pelletier — 2000
- 6BookFuzzy Modeling for ControlBabuška — Springer Science & Business Media — 1998
- 7Fuzzy Logic9 May 2013
- 8BookHandbook of Research for Fluid and Solid Mechanics: Theory, Simulation, and ExperimentKaveh Hariri Asli et al. — CRC Press — 2017-11-23
- 9BookOptical Character Recognition Systems for Different Languages with Soft ComputingArindam Chaudhuri et al. — Springer — 2016-12-23
- 10BookFuzzy Sets, Fuzzy Logic, Fuzzy SystemsL. A. Zadeh — World Scientific Press — 1996
- 11JournalThe concept of a linguistic variable and its application to approximate reasoning—IL. A. Zadeh — January 1975
- 12JournalApplication of fuzzy algorithms for control of simple dynamic plantE. H. Mamdani — 1974
- 13JournalThe trapezoidal fuzzy soft set and its application in MCDMZhi Xiao et al. — 2012-12-01
- 14An Introduction to the Mathematics of Uncertainty: including Set Theory, Logic, Probability, Fuzzy Sets, Rough Sets, and Evidence TheoryMark J. Wierman — Creighton University
- 15JournalA Fuzzy-Set-Theoretic Interpretation of Linguistic HedgesL. A. Zadeh — January 1972
- 16JournalSynthesis of continuous-valued logic functions defined in tabular formD. A. Zaitsev — 1998
- 17BookMetamathematics of fuzzy logicPetr Hájek — Springer Science & Business Media — 1998
- 18JournalFuzzy LogicKaveh Hariri Asli et al. — November 2017
- 19JournalFuzzy identification of systems and its applications to modeling and controlTomohiro Takagi et al. — January 1985
- 20JournalStructure identification of fuzzy modelMichio Sugeno et al. — October 1988
- 21BookSoft ComputingNitin A Bansod et al. — Allied Publishers — 2005
- 22JournalThe paradoxical success of fuzzy logicCharles Elkan — 1994
- 23JournalIntuitionistic fuzzy C-regression by using least squares support vector regression.Lin, K. P. et al. — 2016
- 24JournalAdaptive intuitionistic fuzzy enhancement of brain tumor MR imagesDeng, H. et al. — 2016
- 25JournalIntuitionistic fuzzy information–applications to pattern recognition.Vlachos, I. K. — 2007
- 26Book2019 International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob)Manuel Gonzalez-Hidalgo et al. — IEEE — October 2019
- 27JournalMedical diagnosis with the aid of using fuzzy logic and intuitionistic fuzzy logic.Das, S. — 2016
- 28JournalThe Seven Key Challenges for the Future of Computer-Aided Diagnosis in MedicineJuri Yanase et al. — 2019
- 29JournalA Systematic Survey of Computer-Aided Diagnosis in Medicine: Past and Present DevelopmentsJuri Yanase et al. — 2019
- 30JournalComments on some theories of fuzzy computationG. Gerla — 2016
- 32JournalFuzzy SetsMilan Mares — 2006
- 33Fuzziness vs. ProbabilityBart Kosko — University of South California
- 34JournalAre fuzzy sets a reasonable tool for modeling vague phenomena?V Novák — 2005
- 35BookProbably Approximately Correct: Nature's Algorithms for Learning and Prospering in a Complex WorldValiant, Leslie — Basic Books — 2013
- 36JournalFuzzy Multiple Attribute Conditions in fsQCA: Problems and SolutionsFrancesco Veri — 2017
- 37JournalLa lógica difusa compensatoriaJesús Cejas Montero — 2011
- 38JournalIEEE 1855™: The First IEEE Standard Sponsored by IEEE Computational Intelligence Society Society BriefsGiovanni Acampora et al. — November 2016
- 39BookOn the Power of Fuzzy Markup LanguageBruno N. Di Stefano — 2013
- 40BookOn the Power of Fuzzy Markup Language2013