UNSW Sydney · FACULTY OF MATHEMATICS

MATH3411 Chap.1 Mathematical Models and Check Digits

- one subject, every graph, every model, every mark
6 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 1 of 7 · MATH3411

Mathematical Models and Check Digits

This chapter establishes the mathematical objects used throughout the course: source and code alphabets, binary words, modular arithmetic and conditional probability. It then applies congruences to ASCII, parity and ISBN-style check equations. The main exam skill is to state the algebraic setting before calculating, then verify that a constructed word satisfies its defining residue condition.

Source symbols, encoded words and transmitted symbols play different roles even when all are printed as digits. Naming the role tells you whether to use ordinary arithmetic, vector operations, a residue system or a probability law. Check equations illustrate the course's recurring design pattern: legal words occupy a restricted set, and an error is visible when it moves a word outside that set.

A calculation should therefore include both the missing value and the reason the permitted disturbance changes the residue. Conditional-probability examples add a second discipline by forcing the conditioning direction to remain explicit.

Together these ideas prepare the notation, verification habits and model awareness needed when later chapters replace digits with code vectors, source trees, finite-field elements and cipher residues. Students should also distinguish an example that verifies one constructed identifier from a proof covering every allowed corruption. That distinction between instance and guarantee recurs throughout coding theory.

A clear response keeps notation stable from the verbal model to the final check. If a symbol changes role, define the change rather than relying on context. This small discipline makes later multi-stage communication problems substantially easier to audit.

In this chapter

What this chapter covers

  • 01

    Source alphabets and code alphabets

  • 02

    Binary words and radix-r notation

  • 03

    Modular arithmetic and inverses

  • 04

    Conditional probability in noisy channels

  • 05

    ASCII parity and ISBN checks

  • 06

    Single-error and transposition detection

Worked example · free

Determine the Missing Check Digit

Q [3 marks]. Find the final digit x so 271828182x has weighted sum congruent to zero modulo 11. The mark allocation shown is an independent study aid, not the university's published assessment scheme.
The boxes show information moving from a source through an encoder and noisy channel to a decoder and destination; the orange branch identifies where transmitteThe boxes show information moving from a source through an encoder and noisy channel to a decoder and destination; the orange branch identifies where transmitted symbols can change.SourceEncodeChannelDecodeDestinationnoise changes symbols
The boxes show information moving from a source through an encoder and noisy channel to a decoder and destination; the orange branch identifies where transmitted symbols can change.
  • +1Compute the weighted sum of the first nine positions.
  • +1Solve the remaining linear congruence for x.
  • +1Substitute the digit and verify remainder zero.
The method is to reduce the known weighted sum, solve 10x against its negative residue, and verify the full ten-position total.
Sia tip — Write the modulus on every line; ordinary decimal division is not a legal substitute for a modular inverse.
Glossary

Key terms

Source alphabet
The set of symbols emitted by an information source.
Codeword
A finite word over the code alphabet assigned to a source item.
Check digit
A redundant digit chosen to satisfy a modular validation equation.
FAQ

Mathematical Models and Check Digits FAQ

Why does the model matter before a calculation?

It determines whether symbols are integers, vectors, field elements or probabilities, and therefore which operations and cancellation rules are valid. Declaring that structure first prevents familiar notation from licensing the wrong algebra.

How does a check digit detect an error?

A valid word has a prescribed residue. An allowed error is detected when its change to the weighted sum is nonzero modulo the check modulus. This argument must cover every error type claimed by the scheme.

Which skills from this chapter return later?

Modular inverses support finite fields and RSA, while conditional probability and alphabet notation return in channel models, entropy and decoding. The habit of declaring the structure also anchors every later proof and algorithm.

Study strategy

Exam move

Alternate quick computations with short proofs. Begin a session by translating three communication descriptions into explicit mathematical objects: name the source alphabet, code alphabet, word length, modulus and any probability law. This translation drill prevents later formulas from floating free of their assumptions. Next, solve one linear congruence without ordinary division.

Record the gcd condition, identify an inverse when it exists, reduce the candidate to a standard residue and multiply back to verify it. Follow with a check-digit construction in which every position and weight is written before summation. After finding the missing digit, recompute the full residue rather than trusting the rearranged equation. Use a second colour or margin note to prove what happens under a one-digit change.

The numerical check validates one identifier; the residue-change argument establishes detection for an entire allowed error class. Treat transpositions separately by deriving the product of a position difference and a digit difference, then state why each factor is nonzero under the stated qualifications. Probability practice should use a small tree or two-row table.

Label prior probabilities and both channel directions, total the probability of the observed event, and only then reverse the condition. Read the resulting posterior in words and compare it with the prior as a reasonableness check. For timed work, create a four-line response pattern: declare the structure, write the defining equation, calculate one operation per line, and close with a verification or interpretation.

Maintain an error ledger that distinguishes an invalid inverse, wrong modulus, omitted weight, reversed conditional and unsupported detection claim. Repair each entry with a new set of numbers on the same day. In the final week, mix these tasks instead of completing all congruences before all probability questions.

Interleaving forces you to identify the model from the wording, which is the transferable skill used when later chapters move among vectors, fields, sources and channels. End each revision block by explaining aloud why redundancy can assist error detection while predictable redundancy can later be removed by compression.

That connection turns the chapter from a list of preliminaries into the conceptual entry point for the whole course.

Working through Mathematical Models and Check Digits in MATH3411? Sia is AskSia’s AI Mathematics tutor — ask any MATH3411 Mathematical Models and Check Digits question and get a clear, step-by-step explanation grounded in how MATH3411 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 103 of your UNSW Sydney subjects - and 1,000+ Bibles across every Australian university.
Sia - your MATH3411 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
MATH3411 · Information, Codes and Ciphers - independent study guide on the AskSia Library. More UNSW Sydney subjects · Microeconomics across all universities