Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Grades 6–8

Diagrams where paths agree

Name: ______________________

Date: ______________________

You will learn to

  • Check whether the two routes around a square of functions agree for every input, and refute it with a single input where they differ
  • Express statements such as “doubling then adding 2 equals adding 1 then doubling” as diagrams whose paths agree
  • Recognise maps that preserve addition, f(a+b)=f(a)+f(b)f(a + b) = f(a) + f(b), such as converting metres to centimetres, as commuting squares, and show that x↦x+1x \mapsto x + 1 does not
  • Prove that two commuting squares placed side by side form a commuting rectangle, and show that the converse fails
  1. 1.

    A square on the integers has “add 33” across the top and “multiply by 22” down the right; down the left it has “multiply by 22” and across the bottom “add 66”. Does it commute?

    • A.Yes, for every input
    • B.Only for x=0x = 0
    • C.No, the routes never agree
    • D.Only for positive inputs
  2. 2.

    Weekdays are numbered 00 (Monday) to 66 (Sunday). Today is weekday 44 (Friday). Using the square “add 100100 days, then take the weekday = take the weekday, then add 22 and take the remainder on division by 77”, which weekday number will it be in 100100 days?

  3. 3.

    Which of these functions from Z\Z to Z\Z preserve addition, f(a+b)=f(a)+f(b)f(a + b) = f(a) + f(b)? Choose all that apply.

    • A.x↦7xx \mapsto 7x
    • B.x↦x−2x \mapsto x - 2
    • C.x↦0x \mapsto 0 (everything goes to 00)
    • D.x↦x2x \mapsto x^2
    • E.x↦−xx \mapsto -x
  4. 4.

    Kwame tests a square whose two routes are x↦(x+1)2x \mapsto (x + 1)^2 and x↦x2+1x \mapsto x^2 + 1. At x=0x = 0 both give 11, so he says the square commutes. Is he right?

    • A.No: at x=1x = 1 the routes give 44 and 22
    • B.Yes: one input is enough
    • C.Yes: 00 is a special input, so it counts for all
    • D.It is impossible to tell without checking every integer
  5. 5.

    A rug measures 22 m by 33 m. What is its area in square centimetres?

  6. 6.

    A square has “add a delivery fee of 300300 shillings” across the top and “divide by 125125” (shillings to dollars) down both sides. Which arrow across the bottom makes the square commute?

    • A.add 2.402.40 dollars
    • B.add 300300 dollars
    • C.multiply by 2.402.40
    • D.add 125÷300≈0.42125 \div 300 \approx 0.42 dollars
  7. 7.

    Two squares are placed side by side, sharing a middle arrow. You are told that the outer rectangle commutes. What can you conclude?

    • A.Nothing about the two squares: either of them may fail to commute
    • B.Both squares commute
    • C.The left square commutes, but the right one may not
    • D.At least one of the two squares commutes
  8. 8.

    A function f:Z→Zf : \Z \to \Z preserves addition, and f(3)=12f(3) = 12. What is f(5)f(5)?

  9. 9.

    Which Lean statement says that converting metres to centimetres, x↦100xx \mapsto 100x, preserves addition?

    • A.∀ a b : Int, 100 * (a + b) = 100 * a + 100 * b
    • B.∀ a b : Int, 100 * (a * b) = (100 * a) * (100 * b)
    • C.∃ a b : Int, 100 * (a + b) = 100 * a + 100 * b
    • D.∀ a : Int, 100 * (a + a) = 100 * a + 100 * a
  10. 10.

    Casting out nines checks a multiplication with remainders on division by 99. Write digit_sum(n) (the sum of the decimal digits of a whole number n) and nines_check(a, b, claimed), which returns True when digit_sum(a) * digit_sum(b) and digit_sum(claimed) leave the same remainder on division by 99, and False otherwise. Can the check ever pass for a wrong answer?

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0