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 16 of 30

Turn residue tests into complete solution sets

Solve prime quadratic congruences and combine component roots with CRT.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

Solve x²+2x−2≡0 modulo eleven. Completing the square gives (x+1)²≡3. The square table shows roots of three are five and six, so x≡4 or 5. Substitution verifies both. This method turns a quadratic equation into a square-residue question and then returns to the original variable, rather than stopping after announcing that a discriminant is a square.

Predict

Predict how many roots a nondegenerate quadratic can have over a prime field. The discriminant may be a nonsquare, zero or a nonzero square, giving zero, one or two roots respectively. Modulo a composite integer the count can be larger because independent choices at different prime factors combine. A quadratic’s degree does not bound its number of roots over a ring with zero divisors.

Experiment

Combine roots of one modulo fifteen.

Root modulo 3Root modulo 5Root modulo 15
111
1−14
−1111
−1−114

Verify every CRT representative and its square. The component lists are exhaustive, so the four rows prove completeness rather than merely exhibit four examples.

Understand

For an odd prime p and p∤a, multiplication by 4a gives 4a(ax²+bx+c)=(2ax+b)²−(b²−4ac). Since 4a and 2a are invertible, solving the quadratic is equivalent to finding square roots y of the discriminant and setting x=(y−b)(2a)⁻¹. If a vanishes modulo p, solve the remaining linear or constant equation separately. If p=2, enumerate its two classes or use a separate binary analysis; dividing by two is invalid. The prime-field theorem cleanly classifies roots only when these hypotheses are respected.

Apply

For an odd positive composite n with factorization ∏pᵢ^eᵢ, define the Jacobi symbol (a/n)=∏(a/pᵢ)^eᵢ. It is multiplicative, and reciprocity-style rules extend to it, but its value one need not mean a is square modulo n. For example, two is nonsquare modulo both three and five, yet (2/15)=1. An actual congruence solution must exist at every prime-power component. Solve those component equations and use CRT to combine all choices. Distinct component tuples give distinct classes modulo n. Prime powers require lifting analysis rather than simply repeating the prime roots unchanged.

For a composite modulus, even the number of roots carries information. With distinct odd primes p, q and a target that is a nonzero square modulo both, each component has two roots and CRT combines their independent choices into four roots modulo pq. If the target is zero in one component, that component supplies only one root. Prime powers with singular roots can behave differently again, which is why the next lifting lesson tracks derivatives and compatibility at each stage instead of extrapolating the field root bound.

Continue

A root-finding report should contain the reduction, each component solution list, the CRT combinations and direct substitution. A single root does not prove completeness, and a positive Jacobi symbol is only partial evidence for composite moduli. Next, Hensel lifting determines which roots modulo p extend to roots modulo p² and beyond, distinguishing the simple-derivative case from singular roots that may branch or disappear.

Return to the number theory unit to choose a targeted retry. Continue with lift a root one prime-power digit at a time.

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.

How many classes modulo 15 solve x²≡1?

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

Find the Jacobi symbol (2/15).

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

For odd prime p with p∤a, prove ax²+bx+c≡0 is equivalent to (2ax+b)²≡b²−4ac.

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.

Solve x²−3x+2≡0 modulo 7.

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.

List all roots of x²≡1 modulo 21.

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.

Explain why Jacobi (2/15)=1 does not mean 2 is a square modulo 15.

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.