After learning logical laws for quantified statements, we now study one of the most important transformations in predicate logic: negation. Negation of quantified statements changes the quantifier and negates the predicate. This is the formal version of the ordinary idea that “not all” means “at least one not,” and “none” means “all not.” In this lesson, negation of quantified statements will be simplified using quantifier rules, De Morgan’s laws, and the negation of implication.
:::theorem[Negation of a Universal Statement]
For any predicate
p(x),
¬[∀xp(x)]↔∃x¬p(x).
This means that “not all elements satisfy
p” is equivalent to “there exists at least one element that does not satisfy
p.”
:::
:::proof
Given that
p(x) is a predicate over a universe
U.
To prove that
¬[∀xp(x)]↔∃x¬p(x).
The statement
∀xp(x) means that every element of
U satisfies
p(x). Therefore
¬[∀xp(x)] means that it is not true that every element satisfies
p(x). Thus, at least one element of
U does not satisfy
p(x).Therefore\exists x\,\neg p(x)
istrue.Thesamereasoninginreverseshowsthatif\exists x\,\neg p(x)
istrue,then\forall x\,p(x)
isfalse.Hence\neg[\forall x\,p(x)]\leftrightarrow\exists x\,\neg p(x)
.\square
::::::theorem[NegationofanExistentialStatement]Foranypredicatep(x)
,¬[∃xp(x)]↔∀x¬p(x).Thismeansthat“theredoesnotexistanelementsatisfyingp
”isequivalentto“everyelementfailstosatisfyp
.”::::::definition[NegationsofNegatedQuantifiedStatements]Foranypredicatep(x)
,¬[∀x¬p(x)]¬[∃x¬p(x)]↔∃xp(x),↔∀xp(x).Thesefollowbyapplyingthebasicquantifier−negationlawsanddoublenegation.::::::solved−problemLettheuniversebethesetofallintegers.Letp(x):x
isoddandq(x):x^2-1
iseven.Negate\forall x[p(x)\to q(x)]
.::::::solutionGiventhatthestatementis\forall x[p(x)\to q(x)]
.Tonegateit,use\neg[\forall xA(x)]\leftrightarrow\exists x\neg A(x)
.Therefore,¬[∀x[p(x)→q(x)]]↔∃x¬[p(x)→q(x)].Sincethenegationofp(x)\to q(x)
isp(x)\land\neg q(x)
,thenegationis∃x[p(x)∧¬q(x)].Thus,thenegationis:thereexistsanoddintegerx
suchthatx^2-1
isnoteven.::::::solved−problemLettheuniversebethesetofallintegers.Letr(x):2x+1=5
ands(x):x^2=9
.Negate\exists x[r(x)\land s(x)]
.::::::solutionGiventhatthestatementis\exists x[r(x)\land s(x)]
.Tonegateit,use\neg[\exists xA(x)]\leftrightarrow\forall x\neg A(x)
.Therefore,¬[∃x[r(x)∧s(x)]]↔∀x¬[r(x)∧s(x)].ByDeMorgan’slaw,¬[r(x)∧s(x)]↔¬r(x)∨¬s(x).Hencethesimplifiednegationis∀x[¬r(x)∨¬s(x)].::::::solved−problemDeterminewhethertheproposednegationiscorrect.Statement:forallrealnumbersx,y
,ifx^2>y^2
,thenx>y
.Proposednegation:thereexistrealnumbersx,y
suchthatx^2>y^2
butx\leq y
.::::::solutionGiventhattheoriginalstatementis∀x∀y[(x2>y2)→(x>y)].Tonegateit,applythenegationrules:¬[∀x∀yA(x,y)]↔∃x∃y¬A(x,y).Thereforethenegationis∃x∃y¬[(x2>y2)→(x>y)].Sincethenegationofp\to q
isp\land\neg q
,thisbecomes∃x∃y[(x2>y2)∧(x≤y)].Thereforetheproposednegationiscorrect.Forexample,x=-2
andy=1
satisfyx^2=4>1=y^2
but-2\leq 1
.::::::exerciseNegateeachstatementandsimplify:\exists x[p(x)\lor q(x)]
;\forall x[p(x)\land\neg q(x)]
;\forall x[p(x)\to q(x)]
;\exists x[(p(x)\lor q(x))\to r(x)]
.::::::answerThesimplifiednegationsare\forall x[\neg p(x)\land\neg q(x)]
,\exists x[\neg p(x)\lor q(x)]
,\exists x[p(x)\land\neg q(x)]
,and\forall x[(p(x)\lor q(x))\land\neg r(x)]
.::::::faq[FrequentlyAskedQuestions]Q:Whathappensto\forall
undernegation?A:Itbecomes\exists
,andthepredicateisnegated.Q:Whathappensto\exists
undernegation?A:Itbecomes\forall
,andthepredicateisnegated.Q:Howdowenegateanimplicationinsideaquantifier?A:Use\neg(p\to q)\leftrightarrow p\land\neg q$.
:::
:::call-to-action[Practise Quantifier Negation]
subtitle: Simplify negated quantified statements before moving to multiple and nested quantifiers.
button: Next Lesson | /discrete-mathematics/mathematical-logic/predicates-and-quantifiers/multiple-and-nested-quantifiers
button-ghost: Previous Lesson | /discrete-mathematics/mathematical-logic/predicates-and-quantifiers/logical-laws-for-quantified-statements
:::