Negation

Learn about negating a proposition.

What is negation?

Negation is a unary operator; it only requires one operand. Negation of a proposition is another proposition with the opposite truth value. We use the symbol ¬p\neg p to denote the negation of a proposition pp. Negation is also called the NOT operator.

Examples


Consider the following propositions:

  • HH: Sara is taking a history course.
  • NN: Sara is not taking a history course.

HH is true only if Sara is taking a history course. NN is true only when Sara is not taking a history course. Therefore, N¬HN \equiv \neg H.

Get hands-on with 1200+ tech skills courses.