Not 
Details
- Not[expr] can be input in StandardForm and InputForm as ¬expr. The character
can be entered as
!
,
not
, or ∖[Not]. » - Not gives symbolic results when necessary, applying various simplification rules to them.
- If you are using the Wolfram System with a text‐based front end, then you cannot use the notation !expr for Not[expr] if it appears at the very beginning of a line. In this case, !expr is interpreted as a shell escape. »
Examples
open all close allBasic Examples (3)
Scope (4)
Double negation simplifies to the identity:
Not[Not[a]]Negate equations and inequalities:
Not[a == b]Not[a ≥ b]!Exists[x, f[x]]!ForAll[x, f[x]]TraditionalForm formatting:
!x//TraditionalFormApplications (2)
Negate conditions in Wolfram Language code:
Select[{1, Pi, 2.3, 3 + 7I, x}, !NumberQ[#]&]Find the area of the complement of a set given by algebraic conditions:
Integrate[Boole[Not[y ^ 2 - 4x ^ 2 + 4x ^ 4 ≤ 0]], {x, -1, 1}, {y, -1, 1}]RegionPlot[Not[y ^ 2 - 4x ^ 2 + 4x ^ 4 ≤ 0], {x, -1, 1}, {y, -1, 1}]Properties & Relations (4)
Truth table for Not:
BooleanTable[{x, Not[x]}, {x}]//GridUse BooleanConvert to simplify the negation of Implies:
BooleanConvert[!Implies[a, b]]De Morgan's laws relate And, Or, and Not:
BooleanConvert[!(a && b)]BooleanConvert[!(a || b || c)]Negation of the condition for Boole function:
Boole[!a] == 1 - Boole[a]Simplify[%]Tech Notes
Related Guides
History
Introduced in 1988 (1.0) | Updated in 1996 (3.0)
Text
Wolfram Research (1988), Not, Wolfram Language function, https://reference.wolfram.com/language/ref/Not.html (updated 1996).
CMS
Wolfram Language. 1988. "Not." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/Not.html.
APA
Wolfram Language. (1988). Not. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Not.html
BibTeX
@misc{reference.wolfram_2026_not, author="Wolfram Research", title="{Not}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Not.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_not, organization={Wolfram Research}, title={Not}, year={1996}, url={https://reference.wolfram.com/language/ref/Not.html}, note=[Accessed: 12-June-2026]}