A Museum's Free Entry for Children, and Its Converse, Inverse and Contrapositive
A museum's price board says: "If a visitor is under 12, the visitor enters free." Every visitor either enters free or pays. (a) Write the converse, the inverse and the contrapositive of the statement on the board. (b) The museum's full policy is that visitors under 12 and visitors aged 65 and over enter free, and everyone else pays. Under this policy, which of the four statements (the one on the board and the three from (a)) are true?
A conditional has a hypothesis and a conclusion. The converse swaps them, the inverse negates both, and the contrapositive swaps them and negates both. A statement about every visitor is true only if no visitor breaks it, so each one is tested against every age the policy covers.
- The hypothesis is "the visitor is under 12" and the conclusion is "the visitor enters free". Every visitor either enters free or pays, so their negations are "the visitor is 12 or over" and "the visitor pays".
- (a) The converse swaps the two parts: if a visitor enters free, the visitor is under 12. The inverse negates both: if a visitor is 12 or over, the visitor pays. The contrapositive swaps and negates: if a visitor pays, the visitor is 12 or over.
- Under the full policy every visitor under 12 enters free, so the statement on the board is true. The contrapositive is true exactly when the original is, and indeed the visitors who pay are those aged 12 to 64, each of whom is 12 or over.
- Test the converse on a visitor aged 65. That visitor enters free but is not under 12, so the converse is false. The same visitor is 12 or over and does not pay, so the inverse is false too.
- (b) The statement on the board and its contrapositive are true, and the converse and the inverse are false. Check: the inverse is the contrapositive of the converse, so those two must share a truth value, and they do.
answer(a) Converse: if a visitor enters free, the visitor is under 12. Inverse: if a visitor is 12 or over, the visitor pays. Contrapositive: if a visitor pays, the visitor is 12 or over. (b) The statement on the board and the contrapositive are true; the converse and the inverse are false, as a visitor aged 65 shows.
techniqueThe Converse and the Inverse · The Contrapositive · Conditional Statements
Common pitfalls
- Writing the inverse as the denial of the whole statement, "it is not true that visitors under 12 enter free". The inverse keeps the if-then form and negates each part: if a visitor is 12 or over, the visitor pays.
- Calling the converse true because it holds for every child. A visitor aged 65 enters free without being under 12, and one counterexample is enough to make an if-then statement about every visitor false.
A Travel Insurance Refund Written with "Or" and "Unless"
A travel insurance policy says: "The cost of a canceled trip is refunded if the traveler is ill or the airline cancels the flight, unless the trip was booked less than 7 days before departure." The policy states that "or" includes the case where both happen, and that "refunded if X, unless Y" means refunded exactly when X is true and Y is false. (a) Claim 1: the traveler was ill, the airline did not cancel, and the trip was booked 30 days ahead. Claim 2: the traveler was well, the airline canceled, and the trip was booked 3 days ahead. Claim 3: the traveler was ill, the airline canceled, and the trip was booked 10 days ahead. Claim 4: the traveler was well, the airline did not cancel, and the trip was booked 60 days ahead. Which claims are refunded? (b) Write the condition for a claim to be refused without "not" in front of a bracket, and find in how many of the 8 possible combinations of the three facts a claim is refused.
Give each fact a letter: I for the traveler being ill, A for the airline canceling and B for a trip booked less than 7 days ahead. The clause then says a claim is refunded exactly when (I or A) and (not B), and a refusal is the negation of that.
- Translate the clause. "Unless B" means the refund also needs B to be false, so a claim is refunded exactly when (I or A) and (not B). The "or" is true when either or both of I and A hold.
- Test each claim. Claim 1 has I true and was booked 30 days ahead, so it is refunded. Claim 2 was booked 3 days ahead, so B is true and it is refused, even though the airline canceled.
- Claim 3 has I and A both true, so the inclusive "or" is true, and the trip was booked 10 days ahead, so it is refunded. Claim 4 has neither I nor A, so it is refused. (a) Claims 1 and 3 are refunded.
- A refusal is the negation of "(I or A) and (not B)". By De Morgan's laws the negation of an "and" is an "or" of the negations: not (I or A), or B. Then not (I or A) is (not I) and (not A). So a claim is refused when the traveler was well and the airline did not cancel, or the trip was booked less than 7 days ahead.
- (b) Count the combinations. B is true in 4 of the 8, and each of those is refused. Of the 4 with B false, only the one with I and A both false is refused. That makes 4 + 1 = 5 refused combinations. Check: 3 combinations are refunded, and 3 + 5 = 8.
answer(a) Claims 1 and 3; (b) refused exactly when the traveler was well and the airline did not cancel, or the trip was booked less than 7 days ahead: 5 of the 8 combinations
techniqueLogical Connectives and Truth Tables · Negating a Statement
Common pitfalls
- Refusing Claim 3 by reading "or" as "one or the other but not both". The policy says "or" includes the case where both happen, so an ill traveler whose flight was also canceled is covered.
- Negating the clause as ((not I) or (not A)) and B. De Morgan's laws swap every "and" for "or" and every "or" for "and" as the negation passes through, so the refusal is ((not I) and (not A)) or B.
A Home Alarm's Siren Rule, and the Circuit an Installer Wired
A home alarm's siren should sound when the system is armed and a door is opened, or when the panic button is pressed, whether or not the system is armed. Let A be "the system is armed", D be "a door is opened" and P be "the panic button is pressed", so the rule is (A and D) or P. Number the rows of the truth table 1 to 8, with A, D, P taking the values TTT, TTF, TFT, TFF, FTT, FTF, FFT, FFF in that order. (a) In which rows should the siren sound? (b) The installer wires the circuit as A and (D or P). In which rows does the wired siren behave differently from the rule, and what is happening in the house in those rows?
Work out the bracket first in every row, then the connective outside it. Two circuits do the same job only if their output columns agree in all eight rows, so compare them one row at a time.
- In the rule, the bracket A and D is true only when both are true, which is rows 1 and 2. P is true in rows 1, 3, 5 and 7.
- "Or" is true when at least one side is true, so the rule is true in rows 1 and 2 from the bracket and in rows 3, 5 and 7 from P. Row 1 has both.
- (a) The siren should sound in rows 1, 2, 3, 5 and 7, which is 5 of the 8 rows.
- In the wired circuit the outer connective is "and", so it needs A true and is false in rows 5 to 8. In rows 1 to 4, D or P is true in rows 1, 2 and 3.
- (b) The two columns differ in rows 5 and 7. In both the system is disarmed and the panic button is pressed: the rule sounds the siren, but the wired circuit stays silent. Check: in rows 1 to 4 A is true, so both circuits reduce to D or P and agree there.
answer(a) Rows 1, 2, 3, 5 and 7; (b) rows 5 and 7, where the system is disarmed and the panic button is pressed: the wired siren stays silent
techniqueLogical Connectives and Truth Tables
Common pitfalls
- Reading "A and D or P" as if the brackets could go either way. The brackets decide which connective is applied first, and here they decide whether the panic button works in a disarmed house.
- Taking the rows where P is true as the only siren rows. Row 2 also sounds the siren, because an armed system with an open door makes the bracket true even when the panic button is not pressed.
Steel Rods Checked Against a Length Tolerance, and What a Shipping Rule Decides
A factory cuts steel rods to a target length of 200 mm. A rod passes the length check exactly when its length L mm satisfies 199.5 ≤ L ≤ 200.5. (a) For passing the length check, is the condition L ≥ 199.5 necessary, sufficient, both or neither? Is the condition 199.8 ≤ L ≤ 200.2 necessary, sufficient, both or neither? (b) The factory's shipping rule says: "Passing the length check is necessary for a rod to be shipped, and passing both the length check and the straightness check is sufficient." Rod X is 200.6 mm long and passes the straightness check. Rod Y is 200.1 mm long and fails the straightness check. Using only this rule, is each rod shipped, not shipped, or left undecided?
A condition is sufficient for passing when every length that meets it passes, and necessary when every length that passes meets it. One length that meets a condition and fails the check shows it is not sufficient, and one length that passes without meeting it shows it is not necessary.
- Every rod that passes has L ≥ 199.5, so the condition L ≥ 199.5 is necessary. A rod of 201 mm meets it and still fails the check, so it is not sufficient.
- Every length with 199.8 ≤ L ≤ 200.2 lies inside 199.5 ≤ L ≤ 200.5, so that condition is sufficient. A rod of 200.4 mm passes without meeting it, so it is not necessary.
- (a) L ≥ 199.5 is necessary but not sufficient, and 199.8 ≤ L ≤ 200.2 is sufficient but not necessary.
- "Passing the length check is necessary for shipping" means: if a rod is shipped, it passed the length check. Its contrapositive is: if a rod fails the length check, it is not shipped. Rod X is 200.6 mm, which is more than 200.5, so it fails the length check and is not shipped.
- (b) Rod Y passes the length check, but a necessary condition that holds promises nothing. It fails the straightness check, so the sufficient condition does not hold, and a sufficient condition that fails says nothing either. Rod X is not shipped, and the rule leaves Rod Y undecided.
answer(a) L ≥ 199.5 is necessary but not sufficient; 199.8 ≤ L ≤ 200.2 is sufficient but not necessary. (b) Rod X is not shipped; the rule leaves Rod Y undecided.
techniqueNecessary and Sufficient Conditions · The Contrapositive
Common pitfalls
- Calling L ≥ 199.5 sufficient because every passing rod meets it. That shows the condition is necessary. Sufficient is the other direction, and the 201 mm rod meets the condition and fails.
- Saying Rod Y is not shipped because it fails the straightness check. The rule makes straightness part of a sufficient condition, not a necessary one, so failing it leaves the rule silent about Rod Y.
Promotion from a League If and Only If a Team Finishes in the Top Two
A football league's rule says: "A team is promoted if and only if it finishes in the top two." At the end of the season Ashford finishes in position 1 and is promoted. Brampton finishes in position 2 and is not promoted, because its stadium fails an inspection. Carlton finishes in position 3 and is promoted after a playoff. Dunmore finishes in position 4 and is not promoted. (a) Write the rule as two conditional statements, and say which team's result breaks each one. (b) The next season the rule is changed to "A team is promoted if it finishes in the top two." If the same four results happened again, which of them would break the new rule?
"P if and only if Q" claims two conditionals at once: if Q then P, and if P then Q. A result breaks a conditional only when the hypothesis is true and the conclusion is false.
- Let P be "the team is promoted" and Q be "the team finishes in the top two". "P if Q" is the conditional: if a team finishes in the top two, it is promoted. "P only if Q" is the conditional: if a team is promoted, it finished in the top two.
- Ashford finished in the top two and was promoted, so both parts of each conditional are true for Ashford. Dunmore was outside the top two and was not promoted, so the hypothesis of each conditional is false and neither makes a claim about Dunmore.
- Brampton finished in the top two and was not promoted: the hypothesis of the first conditional is true and its conclusion false, so Brampton breaks it. Carlton was promoted from position 3: the hypothesis of the second is true and its conclusion false, so Carlton breaks it.
- (a) "If a team finishes in the top two, it is promoted" is broken by Brampton. "If a team is promoted, it finished in the top two" is broken by Carlton.
- (b) The new rule keeps only the first conditional. Brampton still breaks it. For Carlton the hypothesis "finishes in the top two" is false, so the new rule makes no claim about Carlton. Only Brampton's result breaks the new rule.
answer(a) "If a team finishes in the top two, it is promoted", broken by Brampton (position 2, not promoted); "if a team is promoted, it finished in the top two", broken by Carlton (position 3, promoted). (b) Only Brampton's result: 1 of the four.
techniqueIf and Only If · Conditional Statements
Common pitfalls
- Saying Carlton's promotion keeps the rule because the rule only promises promotion to the top two. "Only if" is the half that forbids promotion from outside the top two, and Carlton breaks it.
- Saying the new rule is also broken by Carlton. The one-way rule says what happens to teams in the top two and nothing about a team in position 3, and a conditional whose hypothesis is false cannot be broken.
A Website's Login Rule, and a Developer's Test for Denying Access
A website grants access when the password is correct and at least one of these holds: the device is recognized, or the one-time code is correct. Otherwise access is denied. Let P be "the password is correct", K be "the device is recognized" and C be "the one-time code is correct". (a) Write the condition for access to be denied without "not" in front of a bracket. (b) A developer writes the deny test as "(not P) and (not K) and (not C)" and grants access whenever that test is false. In how many of the 8 combinations of P, K and C does this code grant access that the rule denies?
Access is P and (K or C). Denial is its negation, found by De Morgan's laws: the negation of an "and" is an "or" of the negations, and the negation of an "or" is an "and" of the negations.
- Write the rule: access is granted exactly when P and (K or C).
- Negate the outer "and": (not P) or not (K or C). Then negate the inner "or": not (K or C) is (not K) and (not C).
- (a) Access is denied when the password is wrong, or when the device is not recognized and the one-time code is wrong: (not P) or ((not K) and (not C)).
- The correct deny test is true in the 4 combinations with P false, and in 1 more with P true and K and C both false: 5 in all. The developer's test is true only when all three are false, which is 1 combination, and that one is among the 5.
- (b) The developer's code grants access in the other 5 − 1 = 4 combinations that the rule denies. One of them is a wrong password on a recognized device with a correct one-time code. Check: the developer's test is true only where the correct one is, so it never denies access the rule grants.
answer(a) Denied when (not P) or ((not K) and (not C)): the password is wrong, or the device is not recognized and the one-time code is wrong. (b) 4 combinations
techniqueNegating a Statement · Logical Connectives and Truth Tables
Common pitfalls
- Negating every letter and keeping every connective, as the developer did. De Morgan's laws also swap "and" with "or", so the negation of P and (K or C) has an "or" on the outside.
- Counting 7 denied combinations, as if the rule were P and K and C. The rule needs only one of K and C, so the correct deny test is true in 5 combinations.
A Train Timetable and Claims About Which Trains Stop Where
Six trains run on a line through Airport, Central and Harbor. Train 1 stops at all three stations. Train 2 stops at Airport and Central, train 3 at Airport and Harbor, and train 4 at Central and Harbor. Train 5 stops only at Airport, and train 6 stops only at Central. (a) Write the negation of "Every train that stops at Airport also stops at Central", and name the trains that make the negation true. (b) Two passengers deny the claim "Every train stops at Harbor". One says "Not every train stops at Harbor" and the other says "No train stops at Harbor". Which of them states the negation, and is each statement true for this timetable?
"Every train that stops at Airport also stops at Central" claims, for every train: if it stops at Airport, then it stops at Central. Its negation says that for at least one train that conditional fails, which means a train that stops at Airport and does not stop at Central.
- The negation of "for every train, if it stops at Airport then it stops at Central" is "for some train, it stops at Airport and it does not stop at Central".
- The trains that stop at Airport are 1, 2, 3 and 5. Trains 1 and 2 also stop at Central; trains 3 and 5 do not.
- (a) The negation is "Some train stops at Airport and does not stop at Central". It is true, and trains 3 and 5 make it true.
- "Every train stops at Harbor" is false as soon as one train does not stop there, so its negation is "at least one train does not stop at Harbor", which is what "Not every train stops at Harbor" says. "No train stops at Harbor" claims that every train fails to stop there, which denies far more.
- (b) The first passenger states the negation, and it is true: trains 2, 5 and 6 do not stop at Harbor. "No train stops at Harbor" is false, because train 1 stops there.
answer(a) "Some train stops at Airport and does not stop at Central"; it is true, because of trains 3 and 5. (b) "Not every train stops at Harbor" is the negation, and it is true (trains 2, 5 and 6); "No train stops at Harbor" is false (train 1 stops there).
techniqueNegating a Quantified Statement · For All and There Exists · Conditional Statements
Common pitfalls
- Writing the negation as "Every train that stops at Airport does not stop at Central". That is another claim about every Airport train, and train 1 breaks it; the negation needs only one train that breaks the original.
- Writing the negation as "Some train stops at Central and not at Airport". That reverses the conditional: train 6 satisfies it, but train 6 does not stop at Airport, so it cannot break the original claim.
Lifeguard Trainees, Four Assessments, and Claims with "Some" and "Every"
Four trainees on a lifeguard course take four assessments: swimming, rescue, first aid and a written test. Ana passes swimming, rescue and the written test. Ben passes rescue and first aid. Chen passes swimming, first aid and the written test. Dev passes only the written test. (a) Is "Some trainee passed every assessment" true? Is "Every assessment was passed by some trainee" true? (b) Write the negation of "Every trainee passed some assessment" without "not" at the front, and decide whether the negation is true.
Put the results in a grid with one row per trainee and one column per assessment. "Some trainee passed every assessment" needs one row passed all the way across. "Every assessment was passed by some trainee" needs each column to hold at least one pass, possibly by different trainees.
- Draw the grid of passes. For "Some trainee passed every assessment", look for a full row. Ana and Chen each passed 3 of the 4, Ben passed 2 and Dev passed 1, so no row is full.
- For "Every assessment was passed by some trainee", check each column. Swimming was passed by Ana, rescue by Ana, first aid by Ben and the written test by Ana, so every column holds a pass.
- (a) "Some trainee passed every assessment" is false, and "Every assessment was passed by some trainee" is true. The same two quantifiers in the other order make a different claim.
- To negate "for every trainee there is some assessment the trainee passed", change "every" to "some" and "some" to "every", and negate what is claimed: "Some trainee failed every assessment."
- (b) The negation needs a row with no pass at all. Every trainee passed at least one assessment (Dev passed the written test), so the negation is false. Check: the original statement is then true, and exactly one of a statement and its negation is true.
answer(a) "Some trainee passed every assessment" is false (the most any trainee passed is 3 of the 4); "Every assessment was passed by some trainee" is true. (b) "Some trainee failed every assessment"; it is false, because each trainee passed at least 1 assessment.
techniqueFor All and There Exists · Negating a Quantified Statement
Common pitfalls
- Treating the two statements in (a) as the same claim. "Some trainee passed every assessment" needs one trainee to pass all four; "Every assessment was passed by some trainee" lets a different trainee pass each one.
- Negating "Every trainee passed some assessment" as "Every trainee failed some assessment". That changes only the inside, and it is true here (Ana failed first aid) while the original is also true, so it cannot be the negation.
A HEAVY Tag Sign in a Baggage Hall, and Which Bags to Check
A sign in an airport baggage hall reads: "If a bag weighs more than 23 kg, it must carry a HEAVY tag." A supervisor has four records, each showing one fact about a different bag. Bag 1 weighs 27 kg. Bag 2 weighs 15 kg. Bag 3 carries a HEAVY tag. Bag 4 carries no HEAVY tag. (a) Which bags must the supervisor go and look at to be sure that none of the four breaks the sign? (b) A new handler reads the sign as its converse. Which bags would the handler look at, and how many of those checks could reveal a breach of the real sign?
The sign is a conditional: if a bag weighs more than 23 kg, then it carries a HEAVY tag. It is broken only by a bag that weighs more than 23 kg and has no tag, so a record needs checking only if its hidden fact could complete that pair.
- The only bag that breaks the sign is one that weighs more than 23 kg and carries no HEAVY tag.
- Bag 1 weighs 27 kg, so if it has no tag it breaks the sign: look at its tag. Bag 2 weighs 15 kg, so it follows the sign whatever its tag.
- Bag 3 has a tag, so it follows the sign whatever it weighs. Bag 4 has no tag, so if it weighs more than 23 kg it breaks the sign: weigh it. (a) The supervisor must look at bags 1 and 4.
- The converse is: if a bag carries a HEAVY tag, it weighs more than 23 kg. It is broken by a tagged bag of 23 kg or less, so the handler weighs bag 3 and looks for a tag on bag 2.
- (b) The handler looks at bags 2 and 3. A tagged bag of any weight and a 15 kg bag with or without a tag both follow the real sign, so 0 of the handler's 2 checks can reveal a breach, and bags 1 and 4 go unchecked.
answer(a) Bags 1 and 4; (b) bags 2 and 3, and 0 of those checks can reveal a breach
techniqueConditional Statements · The Converse and the Inverse · The Contrapositive
Common pitfalls
- Looking at bag 3 because it carries a tag. The sign does not say that only heavy bags may be tagged, so a tagged bag of 12 kg follows it.
- Leaving out bag 4 because the sign mentions the tag only in its conclusion. The contrapositive of the sign is: if a bag has no HEAVY tag, it weighs 23 kg or less, and bag 4 must be weighed to test that.
The Calendar's Definition of a Leap Year, Applied to Century Years
The calendar defines a leap year as follows: a year is a leap year exactly when it is divisible by 4, except that a year divisible by 100 is a leap year only if it is also divisible by 400. (a) Which of the years 1900, 2000, 2024 and 2100 are leap years? (b) Is the proposition "Every year from 2001 to 2100 that is divisible by 4 is a leap year" true? Use your answer to find how many leap years there are from 2001 to 2100 inclusive.
Written as a single condition, a year is a leap year when it is divisible by 4 and not by 100, or when it is divisible by 400. A claim about every year in a range is false if one year in the range breaks it, and that year is a counterexample.
- Write the definition as one condition: a year is a leap year when it is divisible by 4 and not by 100, or when it is divisible by 400.
- 2024 = 4 × 506 and is not divisible by 100, so it is a leap year. 1900 and 2100 are divisible by 100 but not by 400, since 1900 ÷ 400 = 4.75 and 2100 ÷ 400 = 5.25, so neither is a leap year. 2000 = 400 × 5, so it is a leap year.
- (a) 2000 and 2024 are leap years; 1900 and 2100 are not.
- The proposition is false: 2100 is in the range and divisible by 4, but it is not a leap year. One counterexample is enough to make a claim about every year false.
- (b) The multiples of 4 from 2004 to 2100 number 2100 − 20044 + 1 = 25. The only one divisible by 100 is 2100, which is not a leap year, so there are 25 − 1 = 24 leap years. Check: 2000 is outside the range, so no year divisible by 400 is added back.
answer(a) 2000 and 2024; (b) the proposition is false (2100 is a counterexample), and there are 24 leap years
techniqueDefinitions, Propositions and Theorems · For All and There Exists
Common pitfalls
- Counting 25 leap years by taking every multiple of 4. The definition removes the years divisible by 100 unless they are divisible by 400, and 2100 is one of them.
- Calling 2000 not a leap year because it is divisible by 100. The exception has its own exception: a year divisible by 400 is a leap year.