Counting letters to read a hidden message

عدّ الحروف لقراءة رسالة مخفية

Telling one-variable data from two-variable data, through a count of letters (D1.1).

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Curriculum expectations

  • D1.1 — identify situations involving one-variable data and situations involving two-variable data, and explain when each type of data is needed

Brief

This lesson asks you to tell when data involve one variable and when two. The museum offers one account of a letter-counting method and of the limits of what counting proves. Letter counts are one-variable data; the record has no scatter plot or second variable. Collecting data and displaying it in graphs are for your class. 1

What can a small number of observations say?

Choose one short paragraph and one long one, and count how often each letter appears in each. Compare the results and say which paragraph is closer to the general pattern, and why. Decide whether your data involve one variable, and what you would need to make them involve two.

Go deeper

In a table, al-Kindi gives a letter count taken from seven leaves, but the editors' notes emend the numbers and identify three letters omitted from the enumeration 2. The record therefore describes both the example and its defects, and does not copy its numbers as a complete modern measurement or as permanent probabilities for all written Arabic 2. When the text explains why some letters are so frequent in Arabic, it distinguishes pronounced sounds from short vowels not independently represented in ordinary writing 3. The Damascus edition also compares later treatises when correcting the letter counts 4.

Why they did it

The treatise opens with an address to Abu al-Abbas and says it answers a request for an accessible explanation of recovering what concealed books record 5. The TDV encyclopaedia lists works by other authors on concealing and recovering messages, and relates official correspondence and expanding administrative departments to the need for concealment and recovery 6. Those are the purpose and the setting the record gives: a request from an addressee, and a field of writing tied to official correspondence.

Often misunderstood

Al-Kindi may be taken for the first person to conceal messages, but the record says that the TDV encyclopaedia calls his the earliest surviving treatise on concealing and recovering messages, not the invention of concealed messages 6. The record adds that survival is not absolute priority: an earlier text may be lost, and TDV does report a book attributed to al-Khalil 6.

Think about it

The letter counts from the seven leaves have not reached us intact: the editors emended numbers and noted three omitted letters. Can a data set with known defects still tell you something about the pattern of letters in a language? Which claim would you still accept from it and which would you refuse, and why?

Into the museum

Try this

Read about al-Kindi's letter-frequency cryptanalysis. Write a short sentence, replace each letter with a symbol, then ask a partner to guess the letters by counting symbols, and record what was right and what was wrong.

Sources

  1. Ontario Ministry of Education, The Ontario Curriculum: Mathematics
  2. Al-Kindi's cryptanalysis treatise — Damascus edition in Ilm al-ta'miya, 1987 , pp. 235–236
  3. Al-Kindi's cryptanalysis treatise — Damascus edition in Ilm al-ta'miya, 1987 , pp. 236–237
  4. Al-Kindi's cryptanalysis treatise — Damascus edition in Ilm al-ta'miya, 1987 , p. 236
  5. Al-Kindi's cryptanalysis treatise — Damascus edition in Ilm al-ta'miya, 1987 , pp. 213–214
  6. MUAMMA — Ismail Durmus, TDV , pp. 319–320
Cite this page

islam.museum contributors. “Counting letters to read a hidden message”. islam.museum, https://islam.museum/en/course/ca-on-g8-math-d-1/. CC BY-SA 4.0. Last updated 2026-11-13.

Improve this page on GitHub · Report an error · Help complete it · JSON