15 wks to JAMB

L.O.E.P · MathematicsNo. 07

Explainer · Logical reasoning · about 12 min

Every student of a school wears green. Your cousin wears green. Is she in that school? Logic is the maths of if, and, or and not, and WAEC tests exactly that trap.

Watch the lecture

Ash and Kay teach this lesson, start to finish.

⬇ Save for offline

Keeps it on this phone, so it plays with no signal and no data, at this same address.

In short

The key words in this lesson, in plain English:

Truth table:
A table of every case of true (T) and false (F) for statements p and q. p ∧ q (and) is T only when both are T; p ∨ q (or) is F only when both are F; ~p (not p) flips each value. A tautology is T in every row.
Implication (p ⇒ q):
p ⇒ q means if p, then q; it is false only when p is true and q is false. Its contrapositive ~q ⇒ ~p always agrees with it; its converse q ⇒ p and inverse ~p ⇒ ~q are not guaranteed.

Free this month: 1 of 1 lessons. A free account gives you 3 a month.

Logic is the maths of “if”, “and”, “or” and “not”. WAEC asks you to write a sentence in symbols, decide when a statement is true, and pick the conclusion that really follows from a premise. One idea catches most people: “if p then q” does not mean “if q then p”.

Kay:Every student of our school wears green. My cousin wears green. So she's in our school, isn't she?
1

Play · words into symbols

Statements and symbols

Press Next

Right0 / 5

Five symbols

Where you see it: a phone's rule “unlock if the PIN is right and the phone isn't blocked” is p ∧ ~q, and the phone checks it exactly like a MathematicsTruth tableA table of every case of true (T) and false (F) for statements p and q. p ∧ q (and) is T only when both are T; p ∨ q (or) is F only when both are F; ~p (not p) flips each value. A tautology is T in every row.Science dictionary ▶. A statement is a sentence that is either true (T) or false (F). Let p and q stand for two statements, here p: Ada studies, q: Ada passes:~p (not p)Ada does not study: the negationp ∧ q (p and q)Ada studies and passesp ∨ q (p or q)she studies or passes, or bothp ⇒ q (p implies q)if Ada studies, then she passesp ⇔ q (p if and only if q)she passes exactly when she studiesRead the English carefully: “but” means ∧, “q if p” is p ⇒ q, and “q if and only if not p” is q ⇔ ~p. The negation of “all students passed” is “some student failed”, not “all students failed”.

Try one · statements

Work it on paper first, then press Next step to check yourself a line at a time.

    Line0 / 0Worked0
    2

    Play · fill the truth table

    Truth tables

    Fill the last column

    pqp ∧ q
    TT
    TF
    FT
    FF
    Tables0 / 3

    Every case, one row each

    Where you see it: every chip in a phone is built from gates that work out “and”, “or” and “not” billions of times a second, each one a tiny MathematicsTruth tableA table of every case of true (T) and false (F) for statements p and q. p ∧ q (and) is T only when both are T; p ∨ q (or) is F only when both are F; ~p (not p) flips each value. A tautology is T in every row.Science dictionary ▶. Two statements give four cases: TT, TF, FT, FF. List them and work out the compound in each row:p ∧ q: T only in the TT rowand: both must be truep ∨ q: F only in the FF rowor: one is enoughp ⇒ q: F only in the TF rowa promise broken: p happened, q didn'tp ⇔ q: T when p and q matchTT and FF~p: the opposite of pT becomes FThe odd one is p ⇒ q when p is false: “if it rains, I'll carry an umbrella” is not broken on a dry day, whatever I carry. So F ⇒ T and F ⇒ F are both true. A statement true in every row is a tautology, such as p ∨ ~p.

    Try one · truth values

    Work it on paper first, then press Next step to check yourself a line at a time.

      Line0 / 0Worked0
      3

      Work it out

      Converse, inverse and contrapositive

      p: Ada studies. q: Ada passes. Take the statement “If Ada studies, she passes”. Pick each move.

      Step 1

        Only the contrapositive agrees

        Where you see it: “if a phone is an iPhone, it runs iOS” is true. So is “if it doesn't run iOS, it isn't an iPhone”. But a phone running iOS might be an iPad: the MathematicsImplication (p ⇒ q)p ⇒ q means if p, then q; it is false only when p is true and q is false. Its contrapositive ~q ⇒ ~p always agrees with it; its converse q ⇒ p and inverse ~p ⇒ ~q are not guaranteed.Science dictionary ▶ can fail. From p ⇒ q you can build three more:converse: q ⇒ pswap: not guaranteedinverse: ~p ⇒ ~qnegate both: not guaranteedcontrapositive: ~q ⇒ ~pswap and negate: always agrees with p ⇒ qA statement and its contrapositive are always both true or both false; so are the converse and the inverse. And p ⇒ q is false in only one case: p true and q false.

        Try one · implications

        Work it on paper first, then press Next step to check yourself a line at a time.

          Line0 / 0Worked0
          4

          Play · fast sort

          Valid arguments

          Press Start

          Does the conclusion follow?

          Score0Streak0Lives♥♥♥

          Draw the circles

          Where you see it: a gateman told “every staff member has a blue card” can't let in everyone with a blue card: visitors might carry one too. An argument is valid when the conclusion must be true whenever the premises are. For “all” statements, draw the MathematicsGreat circleA circle on the earth whose centre is the earth's centre, like the equator or a meridian; its radius is R. Every other parallel is a small circle.Science dictionary ▶ inside the big one:every student of the school wears greenstudents: a circle inside 'wears green'Ada is a student, so she wears greenvalid: inside the small circleAda wears green, so she is a studentnot valid: she may be outside the small circleAda doesn't wear green, so she isn't a studentvalid: the contrapositiveThe MathematicsChain ruleFor a function inside a function, differentiate the outside, then multiply by the derivative of the inside: dy/dx = dy/du × du/dx.Science dictionary ▶ (a MathematicsValid argumentAn argument whose conclusion must be true whenever its premises are. From 'every A is a B': x is an A, so x is a B (valid); x is a B, so x is an A (not valid). The chain rule: p ⇒ q and q ⇒ r give p ⇒ r.Science dictionary ▶): from p ⇒ q and q ⇒ r, conclude p ⇒ r. “Some” means the circles overlap only partly, so nothing follows about one person.

          Try one · valid arguments

          Work it on paper first, then press Next step to check yourself a line at a time.

            Line0 / 0Worked0
            5

            Exam corner

            How the exam asks it

            Three questions the exam loves, one line at a time. Press Next step and say the next line before it appears.

            p: the market is open; q: the gate is locked. Write in symbols: the gate is locked if and only if the market is not open.

            1. the gate is locked = qthe first half
            2. the market is not open = ~pa negation
            3. if and only if = ⇔
            4. q ⇔ ~pin the order the sentence gives
            Line1 / 4

            Complete the truth table for p ⇒ ~q.

            1. p, q = T, T: ~q = F, so T ⇒ F = Fthe only way ⇒ fails
            2. T, F: ~q = T, so T ⇒ T = T
            3. F, T: ~q = F, so F ⇒ F = Tfalse p: ⇒ is true
            4. F, F: ~q = T, so F ⇒ T = T
            Line1 / 4

            Premise: every member of the school band plays a drum. Which conclusion is valid?

            1. band members ⊂ drum playersthe band is a circle inside the drummers
            2. Tobi plays a drum, so he is in the bandnot valid: drummers can be outside the band
            3. Tobi is not in the band, so he plays no drumnot valid: the inverse
            4. Tobi is in the band, so he plays a drumvalid: inside the small circle
            Line1 / 4

            Now try the real ones

            Real JAMB, WAEC and NECO past questions on this lesson (the JAMB and WAEC ones in LOEP's words). Answer them one at a time: each is marked, with the worked answer.

            Start the 1 real questions ▶
            1. WAEC 2016Given the premise 'Every student of Unity College wears a green uniform', which conclusion is valid?
            6

            The League's test

            Pass the League's test

            Six exam-style questions from the League. Get all six right to earn your stamp. Three wrong and you resit.

            The League's badge

            League test · Logic

            You: ♥♥♥

            Press Start when you're ready.

            Remember it

            Tap a card to flip it. Say the answer before you flip.

            Ash:No, Kay. Our students are a circle inside the green-wearers. Your cousin could be in the big circle but outside ours: plenty of schools wear green.
            Logical reasoning: Mathematics explained, with games · L.O.E.P