Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 18 of 18

Combine congruences and certify integer solutions

Use coprimality for unique residues and gcd conditions for linear equations.

Loading your saved responses…

Try

A schedule repeating every three days and another every five can impose x≡2 mod3 and x≡3 mod5. Testing the representatives 0 through 14 finds x=8. The Chinese remainder theorem explains existence and uniqueness of that residue without relying on a small search.

Predict

Predict why coprimality matters. Moduli 4 and 6 share a parity constraint: residues 1 mod4 and 2 mod6 conflict. With coprime m,n, any pair of residues combines into exactly one class modulo mn. Uniqueness means modulo the product, not a unique integer.

Experiment

For m=3,n=5, use 2·3−1·5=1. Build x=b(2·3)+a(−1·5) for residues a=2,b=3, obtaining 8. Reduce the expression under each modulus to see why the opposite coefficient was chosen.

Understand

Worked proof: if um+vn=1, set x=b um+a vn. Modulo m the first term vanishes and vn≡1, yielding a; modulo n the second vanishes and um≡1, yielding b. Two solutions differ by a number divisible by both m and n; coprimality makes it divisible by mn. This proves the solution class is unique.

For ax+by=c, any gcd of a,b divides the left side, so it must divide c. Conversely scale a Bézout identity by c/gcd(a,b) to obtain a particular solution when divisibility holds. The remaining solutions come from the homogeneous equation.

Invalid claim: noncoprime moduli never work. They work when the prescribed residues agree modulo their gcd, with uniqueness modulo their least common multiple.

Apply

Report a least nonnegative representative only when requested, and distinguish it from the full congruence class. For a Diophantine equation, show that a parameter family contains every solution, not merely that it generates some valid pairs.

Continue

Depth: generalized CRT and lattice methods extend these ideas. Unique factorization, primitive roots, quadratic reciprocity and deeper Diophantine theory remain separate number-theory scope. This unit provides the constructive prerequisites rather than claiming that whole course complete.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

Find the least nonnegative x with x≡2 mod3 and x≡3 mod5.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

For 6x+9y=15 with y=1, find x.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

The congruences x≡1 mod4 and x≡2 mod6 are:

Your response

The equation ax+by=c with integers a,b not both zero has integer solutions exactly when:

Your response

For coprime positive integers m,n, prove any pair of residues has exactly one solution class modulo mn.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Describe every integer solution of 4x+6y=14 and prove completeness.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.