Fuzzy set

In mathematics, fuzzy sets (also known as uncertain sets) are sets whose elements have degrees of membership. Fuzzy sets were introduced independently by Lotfi A. Zadeh in 1965 as an extension of the classical notion of set. At the same time, defined a more general kind of structure called an "L-relation", which he studied in an abstract algebraic context; fuzzy relations are special cases of L-relations when L is the unit interval [0,&thinsp;1]. They are now used throughout fuzzy mathematics, having applications in areas such as linguistics, decision-making , and clustering.

In classical set theory, the membership of elements in a set is assessed in binary terms according to a bivalent condition—an element either belongs or does not belong to the set. By contrast, fuzzy set theory permits the gradual assessment of the membership of elements in a set; this is described with the aid of a membership function valued in the real unit interval [0,&thinsp;1]. Fuzzy sets generalize classical sets, since the indicator functions (aka characteristic functions) of classical sets are special cases of the membership functions of fuzzy sets, if the latter only takes values 0 or 1. In fuzzy set theory, classical bivalent sets are usually called crisp sets. The fuzzy set theory can be used in a wide range of domains in which information is incomplete or imprecise, such as bioinformatics.

Definition
A fuzzy set is a pair $$(U, m)$$ where $$U$$ is a set (often required to be non-empty) and $$m\colon U \rightarrow [0,1]$$ a membership function. The reference set $$U$$ (sometimes denoted by $$\Omega$$ or $$X$$) is called universe of discourse, and for each $$x\in U,$$ the value $$m(x)$$ is called the grade of membership of $$x$$ in $$(U,m)$$. The function $$m = \mu_A$$ is called the membership function of the fuzzy set $$A = (U, m)$$.

For a finite set $$U=\{x_1,\dots,x_n\},$$ the fuzzy set $$(U, m)$$ is often denoted by $$\{m(x_1)/x_1,\dots,m(x_n)/x_n\}.$$

Let $$x \in U$$. Then $$x$$ is called The (crisp) set of all fuzzy sets on a universe $$U$$ is denoted with $$SF(U)$$ (or sometimes just $$F(U)$$).
 * not included in the fuzzy set $$(U,m)$$ if $m(x) = 0$ (no member),
 * fully included if $m(x) = 1$ (full member),
 * partially included if $0 < m(x) < 1$ (fuzzy member).

Crisp sets related to a fuzzy set
For any fuzzy set $$A = (U,m)$$ and $$\alpha \in [0,1]$$ the following crisp sets are defined:
 * $$A^{\ge\alpha} = A_\alpha = \{x \in U \mid m(x)\ge\alpha\}$$ is called its α-cut (aka α-level set)
 * $$A^{>\alpha} = A'_\alpha = \{x \in U \mid m(x)>\alpha\}$$ is called its strong α-cut (aka strong α-level set)
 * $$S(A) = \operatorname{Supp}(A) = A^{>0} = \{x \in U \mid m(x)>0\}$$ is called its support
 * $$C(A) = \operatorname{Core}(A) = A^{=1} = \{x \in U \mid m(x)=1\}$$ is called its core (or sometimes kernel $$\operatorname{Kern}(A)$$).

Note that some authors understand "kernel" in a different way; see below.

Other definitions

 * A fuzzy set $$A = (U,m)$$ is empty ($$A = \varnothing$$) iff (if and only if)
 * $\forall$$$ x \in U: \mu_A(x) = m(x) = 0$$


 * Two fuzzy sets $$A$$ and $$B$$ are equal ($$A = B$$) iff
 * $$\forall x \in U: \mu_A(x) = \mu_B(x)$$


 * A fuzzy set $$A$$ is included in a fuzzy set $$B$$ ($$A \subseteq B$$) iff
 * $$\forall x \in U: \mu_A(x) \le \mu_B(x)$$


 * For any fuzzy set $$A$$, any element $$x \in U$$ that satisfies
 * $$\mu_A(x) = 0.5$$
 * is called a crossover point.


 * Given a fuzzy set $$A$$, any $$\alpha \in [0,1]$$, for which $$A^{=\alpha} = \{x \in U \mid \mu_A(x) = \alpha\}$$ is not empty, is called a level of A.
 * The level set of A is the set of all levels $$\alpha\in[0,1]$$ representing distinct cuts. It is the image of $$\mu_A$$:
 * $$\Lambda_A = \{\alpha \in [0,1] : A^{=\alpha} \ne \varnothing\} = \{\alpha \in [0, 1] : {}$$$\exist$$$x \in U(\mu_A(x) = \alpha)\} = \mu_A(U)$$


 * For a fuzzy set $$A$$, its height is given by
 * $$\operatorname{Hgt}(A) = \sup \{\mu_A(x) \mid x \in U\} = \sup(\mu_A(U))$$
 * where $$\sup$$ denotes the supremum, which exists because $$\mu_A(U)$$ is non-empty and bounded above by 1. If U is finite, we can simply replace the supremum by the maximum.


 * A fuzzy set $$A$$ is said to be normalized iff
 * $$\operatorname{Hgt}(A) = 1$$
 * In the finite case, where the supremum is a maximum, this means that at least one element of the fuzzy set has full membership. A non-empty fuzzy set $$A$$ may be normalized with result $$\tilde{A}$$ by dividing the membership function of the fuzzy set by its height:
 * $$\forall x \in U: \mu_{\tilde{A}}(x) = \mu_A(x)/\operatorname{Hgt}(A)$$
 * Besides similarities this differs from the usual normalization in that the normalizing constant is not a sum.


 * For fuzzy sets $$A$$ of real numbers $$(U \subseteq \mathbb{R})$$ with bounded support, the width is defined as
 * $$\operatorname{Width}(A) = \sup(\operatorname{Supp}(A)) - \inf(\operatorname{Supp}(A))$$
 * In the case when $$\operatorname{Supp}(A)$$ is a finite set, or more generally a closed set, the width is just
 * $$\operatorname{Width}(A) = \max(\operatorname{Supp}(A)) - \min(\operatorname{Supp}(A))$$
 * In the n-dimensional case $$(U \subseteq \mathbb{R}^n)$$ the above can be replaced by the n-dimensional volume of $$\operatorname{Supp}(A)$$.
 * In general, this can be defined given any measure on U, for instance by integration (e.g. Lebesgue integration) of $$\operatorname{Supp}(A)$$.


 * A real fuzzy set $$A (U \subseteq \mathbb{R})$$ is said to be convex (in the fuzzy sense, not to be confused with a crisp convex set), iff
 * $$\forall x,y \in U, \forall\lambda\in[0,1]: \mu_A(\lambda{x} + (1-\lambda)y) \ge \min(\mu_A(x),\mu_A(y))$$.
 * Without loss of generality, we may take x ≤ y, which gives the equivalent formulation
 * $$\forall z \in [x,y]: \mu_A(z) \ge \min(\mu_A(x),\mu_A(y))$$.
 * This definition can be extended to one for a general topological space U: we say the fuzzy set $$A$$ is convex when, for any subset Z of U, the condition
 * $$\forall z \in Z: \mu_A(z) \ge \inf(\mu_A(\partial Z))$$
 * holds, where $$\partial Z$$ denotes the boundary of Z and $$f(X) = \{f(x) \mid x \in X\}$$ denotes the image of a set X (here $$\partial Z$$) under a function f (here $$\mu_A$$).

Fuzzy set operations
Although the complement of a fuzzy set has a single most common definition, the other main operations, union and intersection, do have some ambiguity.
 * For a given fuzzy set $$A$$, its complement $$\neg{A}$$ (sometimes denoted as $$A^c$$ or $$cA$$) is defined by the following membership function:
 * $$\forall x \in U: \mu_{\neg{A}}(x) = 1 - \mu_A(x)$$.


 * Let t be a t-norm, and s the corresponding s-norm (aka t-conorm). Given a pair of fuzzy sets $$A, B$$, their intersection $$A\cap{B}$$ is defined by:
 * $$\forall x \in U: \mu_{A\cap{B}}(x) = t(\mu_A(x),\mu_B(x))$$,
 * and their union $$A\cup{B}$$ is defined by:
 * $$\forall x \in U: \mu_{A\cup{B}}(x) = s(\mu_A(x),\mu_B(x))$$.

By the definition of the t-norm, we see that the union and intersection are commutative, monotonic, associative, and have both a null and an identity element. For the intersection, these are ∅ and U, respectively, while for the union, these are reversed. However, the union of a fuzzy set and its complement may not result in the full universe U, and the intersection of them may not give the empty set ∅. Since the intersection and union are associative, it is natural to define the intersection and union of a finite family of fuzzy sets recursively. It is noteworthy that the generally accepted standard operators for the union and intersection of fuzzy sets are the max and min operators:
 * $$\forall x \in U: \mu_{A\cup{B}}(x) = \max(\mu_A(x),\mu_B(x))$$ and $$\mu_{A\cap{B}}(x) = \min(\mu_A(x),\mu_B(x))$$.


 * If the standard negator $$n(\alpha) = 1 - \alpha, \alpha \in [0, 1]$$ is replaced by another strong negator, the fuzzy set difference may be generalized by
 * $$\forall x \in U: \mu_{\neg{A}}(x) = n(\mu_A(x)).$$


 * The triple of fuzzy intersection, union and complement form a De Morgan Triplet. That is, De Morgan's laws extend to this triple.
 * Examples for fuzzy intersection/union pairs with standard negator can be derived from samples provided in the article about t-norms.


 * The fuzzy intersection is not idempotent in general, because the standard t-norm $min$ is the only one which has this property. Indeed, if the arithmetic multiplication is used as the t-norm, the resulting fuzzy intersection operation is not idempotent. That is, iteratively taking the intersection of a fuzzy set with itself is not trivial. It instead defines the m-th power of a fuzzy set, which can be canonically generalized for non-integer exponents in the following way:


 * For any fuzzy set $$A$$ and $$\nu \in \R^+$$ the &nu;-th power of $$A$$ is defined by the membership function:
 * $$\forall x \in U: \mu_{A^{\nu}}(x) = \mu_{A}(x)^{\nu}.$$

The case of exponent two is special enough to be given a name.
 * For any fuzzy set $$A$$ the concentration $$CON(A) = A^2$$ is defined
 * $$\forall x \in U: \mu_{CON(A)}(x) = \mu_{A^2}(x) = \mu_{A}(x)^2.$$

Taking $$0^0 = 1$$, we have $$A^0 = U$$ and $$A^1 = A.$$


 * Given fuzzy sets $$A, B$$, the fuzzy set difference $$A \setminus B$$, also denoted $$ A - B$$, may be defined straightforwardly via the membership function:
 * $$\forall x \in U: \mu_{A\setminus{B}}(x) = t(\mu_A(x),n(\mu_B(x))),$$
 * which means $$A \setminus B = A \cap \neg{B}$$, e. g.:
 * $$\forall x \in U: \mu_{A\setminus{B}}(x) = \min(\mu_A(x),1 - \mu_B(x)).$$


 * Another proposal for a set difference could be:
 * $$\forall x \in U: \mu_{A-{B}}(x) = \mu_A(x) - t(\mu_A(x),\mu_B(x)).$$


 * Proposals for symmetric fuzzy set differences have been made by Dubois and Prade (1980), either by taking the absolute value, giving
 * $$\forall x \in U: \mu_{A \triangle B}(x) = |\mu_A(x) - \mu_B(x)|,$$
 * or by using a combination of just $max$, $min$, and standard negation, giving
 * $$\forall x \in U: \mu_{A \triangle B}(x) = \max(\min(\mu_A(x), 1 - \mu_B(x)), \min(\mu_B(x), 1 - \mu_A(x))).$$


 * Axioms for definition of generalized symmetric differences analogous to those for t-norms, t-conorms, and negators have been proposed by Vemur et al. (2014) with predecessors by Alsina et al. (2005) and Bedregal et al. (2009).


 * In contrast to crisp sets, averaging operations can also be defined for fuzzy sets.

Disjoint fuzzy sets
In contrast to the general ambiguity of intersection and union operations, there is clearness for disjoint fuzzy sets: Two fuzzy sets $$A, B$$ are disjoint iff
 * $$\forall x \in U: \mu_A(x) = 0 \lor \mu_B(x) = 0$$

which is equivalent to
 * $\nexists$ $$x \in U: \mu_A(x) > 0 \land \mu_B(x) > 0$$

and also equivalent to
 * $$\forall x \in U: \min(\mu_A(x),\mu_B(x)) = 0$$

We keep in mind that $min$/$max$ is a t/s-norm pair, and any other will work here as well.

Fuzzy sets are disjoint if and only if their supports are disjoint according to the standard definition for crisp sets.

For disjoint fuzzy sets $$A, B$$ any intersection will give ∅, and any union will give the same result, which is denoted as
 * $$A \,\dot{\cup}\, B = A \cup B$$

with its membership function given by
 * $$\forall x \in U: \mu_{A \dot{\cup} B}(x) = \mu_A(x) + \mu_B(x)$$

Note that only one of both summands is greater than zero.

For disjoint fuzzy sets $$A, B$$ the following holds true:
 * $$\operatorname{Supp}(A \,\dot{\cup}\, B) = \operatorname{Supp}(A) \cup \operatorname{Supp}(B)$$

This can be generalized to finite families of fuzzy sets as follows: Given a family $$A = (A_i)_{i \in I}$$ of fuzzy sets with index set I (e.g. I = {1,2,3,...,n}). This family is (pairwise) disjoint iff
 * $$\text{for all } x \in U \text{ there exists at most one } i \in I \text{ such that } \mu_{A_i}(x) > 0.$$

A family of fuzzy sets $$A = (A_i)_{i \in I}$$ is disjoint, iff the family of underlying supports $$\operatorname{Supp} \circ A = (\operatorname{Supp}(A_i))_{i \in I}$$ is disjoint in the standard sense for families of crisp sets.

Independent of the t/s-norm pair, intersection of a disjoint family of fuzzy sets will give ∅ again, while the union has no ambiguity:
 * $$\dot{\bigcup\limits_{i \in I}}\, A_i = \bigcup_{i \in I} A_i$$

with its membership function given by
 * $$\forall x \in U: \mu_{\dot{\bigcup\limits_{i \in I}} A_i}(x) = \sum_{i \in I} \mu_{A_i}(x)$$

Again only one of the summands is greater than zero.

For disjoint families of fuzzy sets $$A = (A_i)_{i \in I}$$ the following holds true:
 * $$\operatorname{Supp}\left(\dot{\bigcup\limits_{i \in I}}\, A_i\right) = \bigcup\limits_{i \in I} \operatorname{Supp}(A_i)$$

Scalar cardinality
For a fuzzy set $$A$$ with finite support $$\operatorname{Supp}(A)$$ (i.e. a "finite fuzzy set"), its cardinality (aka scalar cardinality or sigma-count) is given by
 * $$\operatorname{Card}(A) = \operatorname{sc}(A) = |A| = \sum_{x \in U} \mu_A(x)$$.

In the case that U itself is a finite set, the relative cardinality is given by
 * $$\operatorname{RelCard}(A) = \|A\| = \operatorname{sc}(A)/|U| = |A|/|U|$$.

This can be generalized for the divisor to be a non-empty fuzzy set: For fuzzy sets $$A,G$$ with G ≠ ∅, we can define the relative cardinality by:
 * $$\operatorname{RelCard}(A,G) = \operatorname{sc}(A|G) = \operatorname{sc}(A\cap{G})/\operatorname{sc}(G)$$,

which looks very similar to the expression for conditional probability. Note:
 * $$\operatorname{sc}(G) > 0$$ here.
 * The result may depend on the specific intersection (t-norm) chosen.
 * For $$G = U$$ the result is unambiguous and resembles the prior definition.

Distance and similarity
For any fuzzy set $$A$$ the membership function $$\mu_A: U \to [0,1]$$ can be regarded as a family $$\mu_A = (\mu_A(x))_{x \in U} \in [0,1]^U$$. The latter is a metric space with several metrics $$d$$ known. A metric can be derived from a norm (vector norm) $$\|\,\|$$ via
 * $$d(\alpha,\beta) = \| \alpha - \beta \|$$.

For instance, if $$U$$ is finite, i.e. $$U = \{x_1, x_2, ... x_n\}$$, such a metric may be defined by:
 * $$d(\alpha,\beta) := \max \{ |\alpha(x_i) - \beta(x_i)| : i=1, ..., n \}$$ where $$\alpha$$ and $$\beta$$ are sequences of real numbers between 0 and 1.

For infinite $$U$$, the maximum can be replaced by a supremum. Because fuzzy sets are unambiguously defined by their membership function, this metric can be used to measure distances between fuzzy sets on the same universe:
 * $$d(A,B) := d(\mu_A,\mu_B)$$,

which becomes in the above sample:
 * $$d(A,B) = \max \{ |\mu_A(x_i) - \mu_B(x_i)| : i=1,...,n \}$$.

Again for infinite $$U$$ the maximum must be replaced by a supremum. Other distances (like the canonical 2-norm) may diverge, if infinite fuzzy sets are too different, e.g., $$\varnothing$$ and $$U$$.

Similarity measures (here denoted by $$S$$) may then be derived from the distance, e.g. after a proposal by Koczy:
 * $$S = 1 / (1 + d(A,B))$$ if $$d(A,B)$$ is finite, $$0$$ else,

or after Williams and Steele:
 * $$S = \exp(-\alpha{d(A,B)})$$ if $$d(A,B)$$ is finite, $$0$$ else

where $$\alpha > 0$$ is a steepness parameter and $$\exp(x) = e^x$$.

Another definition for interval valued (rather 'fuzzy') similarity measures $$\zeta$$ is provided by Beg and Ashraf as well.

L-fuzzy sets
Sometimes, more general variants of the notion of fuzzy set are used, with membership functions taking values in a (fixed or variable) algebra or structure $$L$$ of a given kind; usually it is required that $$L$$ be at least a poset or lattice. These are usually called L-fuzzy sets, to distinguish them from those valued over the unit interval. The usual membership functions with values in [0,&thinsp;1] are then called [0,&thinsp;1]-valued membership functions. These kinds of generalizations were first considered in 1967 by Joseph Goguen, who was a student of Zadeh. A classical corollary may be indicating truth and membership values by {f,&thinsp;t} instead of {0,&thinsp;1}.

An extension of fuzzy sets has been provided by Atanassov. An intuitionistic fuzzy set (IFS) $$A$$ is characterized by two functions:
 * 1. $$\mu_A(x)$$ – degree of membership of x
 * 2. $$\nu_A(x)$$ – degree of non-membership of x

with functions $$\mu_A, \nu_A: U \to [0,1]$$ with $$\forall x \in U: \mu_A(x) + \nu_A(x) \le 1$$.

This resembles a situation like some person denoted by $$x$$ voting After all, we have a percentage of approvals, a percentage of denials, and a percentage of abstentions.
 * for a proposal $$A$$: ($$\mu_A(x)=1, \nu_A(x)=0$$),
 * against it: ($$\mu_A(x)=0, \nu_A(x)=1$$),
 * or abstain from voting: ($$\mu_A(x)=\nu_A(x)=0$$).

For this situation, special "intuitive fuzzy" negators, t- and s-norms can be defined. With $$D^* = \{(\alpha,\beta) \in [0, 1]^2 : \alpha + \beta = 1 \}$$ and by combining both functions to $$(\mu_A,\nu_A): U \to D^*$$ this situation resembles a special kind of L-fuzzy sets.

Once more, this has been expanded by defining picture fuzzy sets (PFS) as follows: A PFS A is characterized by three functions mapping U to [0,&thinsp;1]: $$\mu_A, \eta_A, \nu_A$$, "degree of positive membership", "degree of neutral membership", and "degree of negative membership" respectively and additional condition $$\forall x \in U: \mu_A(x) + \eta_A(x) + \nu_A(x) \le 1$$ This expands the voting sample above by an additional possibility of "refusal of voting".

With $$D^* = \{(\alpha,\beta,\gamma) \in [0, 1]^3 : \alpha + \beta + \gamma = 1 \}$$ and special "picture fuzzy" negators, t- and s-norms this resembles just another type of L-fuzzy sets.

Neutrosophic fuzzy sets
The concept of IFS has been extended into two major models. The two extensions of IFS are neutrosophic fuzzy sets and Pythagorean fuzzy sets.

Neutrosophic fuzzy sets were introduced by Smarandache in 1998. Like IFS, neutrosophic fuzzy sets have the previous two functions: one for membership $$\mu_A(x)$$ and another for non-membership $$\nu_A(x)$$. The major difference is that neutrosophic fuzzy sets have one more function: for indeterminate $$i_A(x)$$. This value indicates that the degree of undecidedness that the entity x belongs to the set. This concept of having indeterminate $$i_A(x)$$ value can be particularly useful when one cannot be very confident on the membership or non-membership values for item x. In summary, neutrosophic fuzzy sets are associated with the following functions:


 * 1. $$\mu_A(x)$$—degree of membership of x
 * 2. $$\nu_A(x)$$—degree of non-membership of x
 * 3. $$i_A(x)$$—degree of indeterminate value of x

Pythagorean fuzzy sets
The other extension of IFS is what is known as Pythagorean fuzzy sets. Pythagorean fuzzy sets are more flexible than IFSs. IFSs are based on the constraint $$\mu_A(x) + \nu_A(x) \le 1$$, which can be considered as too restrictive in some occasions. This is why Yager proposed the concept of Pythagorean fuzzy sets. Such sets satisfy the constraint $$\mu_A(x)^2 + \nu_A(x)^2 \le 1$$, which is reminiscent of the Pythagorean theorem. Pythagorean fuzzy sets can be applicable to real life applications in which the previous condition of $$\mu_A(x) + \nu_A(x) \le 1$$ is not valid. However, the less restrictive condition of $$\mu_A(x)^2 + \nu_A(x)^2 \le 1$$ may be suitable in more domains.

Fuzzy logic
As an extension of the case of multi-valued logic, valuations ($$\mu : \mathit{V}_o \to \mathit{W}$$) of propositional variables ($$\mathit{V}_o$$) into a set of membership degrees ($$\mathit{W}$$) can be thought of as membership functions mapping predicates into fuzzy sets (or more formally, into an ordered set of fuzzy pairs, called a fuzzy relation). With these valuations, many-valued logic can be extended to allow for fuzzy premises from which graded conclusions may be drawn.

This extension is sometimes called "fuzzy logic in the narrow sense" as opposed to "fuzzy logic in the wider sense," which originated in the engineering fields of automated control and knowledge engineering, and which encompasses many topics involving fuzzy sets and "approximated reasoning."

Industrial applications of fuzzy sets in the context of "fuzzy logic in the wider sense" can be found at fuzzy logic.

Fuzzy number and only number
A fuzzy number is a fuzzy set that satisfies all the following conditions:
 * A is normalised;
 * A is a convex set;
 * The membership function $$\mu_{A}(x)$$ achieves the value 1 at least once;
 * The membership function $$\mu_{A}(x)$$ is at least segmentally continuous.

If these conditions are not satisfied, then A is not a fuzzy number. The core of this fuzzy number is a singleton; its location is:
 * $$ \, C(A) = x^* : \mu_A(x^*)=1$$

Fuzzy numbers can be likened to the funfair game "guess your weight," where someone guesses the contestant's weight, with closer guesses being more correct, and where the guesser "wins" if he or she guesses near enough to the contestant's weight, with the actual weight being completely correct (mapping to 1 by the membership function).

The kernel $$K(A) = \operatorname{Kern}(A)$$ of a fuzzy interval $$A$$ is defined as the 'inner' part, without the 'outbound' parts where the membership value is constant ad infinitum. In other words, the smallest subset of $$\R$$ where $$\mu_A(x)$$ is constant outside of it, is defined as the kernel.

However, there are other concepts of fuzzy numbers and intervals as some authors do not insist on convexity.

Fuzzy categories
The use of set membership as a key component of category theory can be generalized to fuzzy sets. This approach, which began in 1968 shortly after the introduction of fuzzy set theory, led to the development of Goguen categories in the 21st century. In these categories, rather than using two valued set membership, more general intervals are used, and may be lattices as in L-fuzzy sets.

Fuzzy relation equation
The fuzzy relation equation is an equation of the form A · R = B, where A and B are fuzzy sets, R is a fuzzy relation, and A · R stands for the composition of A with R.

Entropy
A measure d of fuzziness for fuzzy sets of universe $$U$$ should fulfill the following conditions for all $$x \in U$$:
 * 1) $$d(A) = 0$$ if $$A$$ is a crisp set: $$\mu_A(x) \in \{0,\,1\}$$
 * 2) $$d(A)$$ has a unique maximum iff $$\forall x \in U: \mu_A(x) = 0.5$$
 * 3) $$\mu_A \leq \mu_B \iff$$
 * $$\mu_A \leq \mu_B \leq 0.5$$
 * $$\mu_A \geq \mu_B \geq 0.5$$
 * which means that B is "crisper" than A.

In this case $$d(A)$$ is called the entropy of the fuzzy set A.
 * 1) $$d(\neg{A}) = d(A)$$

For finite $$U = \{x_1, x_2, ... x_n\}$$ the entropy of a fuzzy set $$A$$ is given by
 * $$d(A) = H(A) + H(\neg{A})$$,
 * $$H(A) = -k \sum_{i=1}^n \mu_A(x_i) \ln \mu_A(x_i)$$

or just
 * $$d(A) = -k \sum_{i=1}^n S(\mu_A(x_i))$$

where $$S(x) = H_e(x)$$ is Shannon's function (natural entropy function)
 * $$S(\alpha) = -\alpha \ln \alpha - (1-\alpha) \ln (1-\alpha),\ \alpha \in [0,1]$$

and $$k$$ is a constant depending on the measure unit and the logarithm base used (here we have used the natural base e). The physical interpretation of k is the Boltzmann constant kB.

Let $$A$$ be a fuzzy set with a continuous membership function (fuzzy variable). Then
 * $$H(A) = -k \int_{- \infty}^\infty \operatorname{Cr} \lbrace A \geq t \rbrace \ln \operatorname{Cr} \lbrace A \geq t \rbrace \,dt$$

and its entropy is
 * $$d(A) = -k \int_{- \infty}^\infty S(\operatorname{Cr} \lbrace A \geq t \rbrace )\,dt.$$

Extensions
There are many mathematical constructions similar to or more general than fuzzy sets. Since fuzzy sets were introduced in 1965, many new mathematical constructions and theories treating imprecision, inexactness, ambiguity, and uncertainty have been developed. Some of these constructions and theories are extensions of fuzzy set theory, while others try to mathematically model imprecision and uncertainty in a different way.