Allday Education

Logic: Negation, Conjunction, Disjunction & Truth Tables

Geometry runs on statements you can judge. A statement is a sentence that must be either true or false, and that verdict is called its truth value, written TT or FF. "A pentagon has five sides" is a statement and it is true. "Please hand me the ruler" is not a statement at all, because there is nothing to judge.

Once sentences have truth values, you can combine them. Adding "not" makes a negation, joining two with "and" makes a conjunction, and joining two with "or" makes a disjunction. This page covers what each one means, how to fill in a truth table, and how the same idea looks on a Venn diagram.

Negation: flipping a truth value

The negation of a statement pp is written p\sim p and read "not pp." It says the opposite of what pp says, so it always has the opposite truth value. If pp is true, p\sim p is false. If pp is false, p\sim p is true. That is the whole rule, and it never has an exception.

Writing a good negation is where students slip. The negation of "the angle is a right angle" is "the angle is not a right angle," not "the angle is acute." Acute is one specific way to fail at being right, but a negation has to cover every way to fail, obtuse and straight included. When in doubt, insert the word "not" instead of reaching for an opposite word.

Conjunction and disjunction: and is picky, or is generous

A conjunction joins two statements with "and" and is written pqp \land q. It is true only when both parts are true. One false part sinks the whole thing, which is why "and" is the picky connector.

A disjunction joins two statements with "or" and is written pqp \lor q. It is true when at least one part is true. Here is the point most students get wrong: in mathematics, "or" always includes the both case. If pp is true and qq is true, then pqp \lor q is still true. The only way a disjunction turns out false is when both parts are false.

Truth tables and the Venn picture

A truth table lists every possible combination of truth values for the parts, then works out the truth value of the compound statement in each case. With two statements there are exactly four rows: TTTT, TFTF, FTFT, and FFFF. Fill the pp and qq columns in that order every time and you will never miss a case. The pqp \land q column reads TT, FF, FF, FF, and the pqp \lor q column reads TT, TT, TT, FF.

A Venn diagram shows the same information as a picture. Draw one circle for pp and an overlapping circle for qq. The overlap, where both are true, is the conjunction pqp \land q. Both circles together, everything inside either one, is the disjunction pqp \lor q. That picture is also how you count: the number in the overlap belongs to "and," and the whole shaded region belongs to "or."

Worked examples

Example 1: truth values of a compound statement

Let pp: A square has four sides. Let qq: A square has three sides. Find the truth value of pqp \land q, pqp \lor q, and pq\sim p \lor q.

Judge each part on its ownp=T,q=Fp = T, \quad q = F
A conjunction needs both parts true, and qq is falsepq=Fp \land q = F
A disjunction needs only one true part, and pp is truepq=Tp \lor q = T
Negation flips ppp=F\sim p = F
Now both parts of the last disjunction are falsepq=F\sim p \lor q = F

Answer: pq=Fp \land q = F, pq=Tp \lor q = T, and pq=F\sim p \lor q = F

Example 2: write a negation and give its truth value

Let rr: A right angle measures 100100^\circ. Write r\sim r and give the truth value of each.

A right angle measures 9090^\circ, so rr is falser=Fr = F
Negate by inserting "not," not by naming a different angle
r\sim r: A right angle does not measure 100100^\circ
The negation has the opposite truth valuer=T\sim r = T

Answer: r\sim r: A right angle does not measure 100100^\circ; r=Fr = F and r=T\sim r = T.

Example 3: build a truth table for pq\sim p \land q

Construct a truth table for the compound statement pq\sim p \land q.

List the four combinations of pp and qq in orderTT,  TF,  FT,  FFTT, \; TF, \; FT, \; FF
Fill a p\sim p column by flipping each pp valueF,  F,  T,  TF, \; F, \; T, \; T
Row 1: p=F\sim p = F, so the conjunction failsFT=FF \land T = F
Row 2: p=F\sim p = F againFF=FF \land F = F
Row 3: both parts are trueTT=TT \land T = T
Row 4: qq is falseTF=FT \land F = F

Answer: The pq\sim p \land q column reads FF, FF, TT, FF — it is true only when pp is false and qq is true.

Example 4: reading a Venn diagram

In a club, 77 members play only soccer, 55 play both soccer and tennis, and 33 play only tennis. How many play soccer or tennis? How many play soccer and tennis?

"And" is the overlap of the two circles55
"Or" is everything inside either circle, so add all three regions7+5+37 + 5 + 3
Add=15= 15
The 55 in the overlap is counted once, not twice, because "or" includes the both case

Answer: 1515 play soccer or tennis, and 55 play soccer and tennis.

Try one yourself

Common questions

Does "or" mean one or the other, but not both?

No. In mathematics "or" is inclusive, so pqp \lor q is true when pp is true, when qq is true, and when both are true. The only false row of a disjunction is the one where both parts are false. Everyday speech often means the exclusive version, which is why this trips people up.

Is the negation of "the angle is acute" the same as "the angle is obtuse"?

No. The negation is "the angle is not acute," which also covers right angles and straight angles. A negation must be true in every case where the original is false, so name the opposite by adding "not" rather than by picking one other category.

How many rows does a truth table need?

Two statements give 44 rows, because each of pp and qq can be TT or FF. Three statements give 88 rows. In general nn statements give 2n2^n rows. Listing them in a fixed order, all TT first down to all FF last, keeps you from skipping a case.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1