Chinese remainder theorem (intro) - Discrete Math
- Consider solving and using CRT. Since , we first check compatibility. Given that the system has a solution, what is ? Answer: since the unique solution modulo can be reduced to find the remainder when divided by First verify compatibility: and , so the system has a solution. From , we have . Substituting into the second: , so , which gives . Since , we have . So and . Thus . Finally, , so . The other options give incorrect remainders.
- The system and has a unique solution modulo when and . If we change to , what happens to the system? Answer: The system has a unique solution modulo since and , satisfying compatibility requirements Since , we need for a solution to exist. We have and . Since both are congruent to modulo , the compatibility condition is satisfied and there is a unique solution modulo . A is wrong because , not . B is wrong because , not . D is wrong because when the compatibility condition is met, there is exactly one solution modulo the lcm.
- A system of congruences has solutions and . If we add a third congruence where , which value of would make the system inconsistent? Answer: No value of can make the system inconsistent due to pairwise coprimality The Chinese Remainder Theorem guarantees a unique solution modulo when the moduli are pairwise coprime. Since , any value of from 0 to 10 will result in a consistent system. The solution to the first two congruences is , and adding any third congruence with modulus 11 will have exactly one solution modulo 385. Choice A is incorrect because it mentions which is not the relevant condition. Choice B incorrectly assumes a contradiction based on the value equaling a modulus. Choice C incorrectly suggests CRT conditions can be violated.
- A student solving and writes for some integer , then substitutes to get . Simplifying gives . What is the next step? Answer: Recognize that and , so the original system is inconsistent and has no integer solutions The congruence has a solution if and only if divides . Since and , this congruence has no solution. This means the original system is inconsistent. We can verify: if a solution existed, we'd need , but while . A restates the same conclusion but suggests stopping calculation rather than understanding the inconsistency. B incorrectly suggests fractional congruences. D ignores the fundamental issue that has no multiplicative inverse modulo .
- A student attempts to solve and by first reducing to and , then noting that . The student concludes the system has no solution because . What is the error in the student's reasoning process? Answer: The compatibility check is wrong since and , and means no solution The student correctly found . For compatibility, we need . Computing: and . Since , the system has no solution. The student's conclusion is correct, but choice B correctly identifies that the error was in not explicitly showing the modular arithmetic calculations that justify the incompatibility. A is wrong because . C suggests an arithmetic error that wasn't made. D incorrectly suggests the reasoning was complete when the specific calculations were omitted.
- Consider the system and where and are chosen so that a solution exists. If the solution is , which of the following could be the values of and ? Answer: and since and with proper compatibility conditions When you encounter a system of linear congruences, you're working with the Chinese Remainder Theorem. The key insight is that if , then this value of must also satisfy both original congruences when you reduce modulo 12 and 20 respectively. Let's check what gives us in each modulus. For the first congruence: (since ). For the second congruence: (since ). Therefore, we need and . Let's verify why the other options fail. Option A claims and , but , so should be 4, not 16. More critically, if , then , which contradicts our solution where . Option B suggests and , but and . Option C proposes , but . Only option D gives the correct values: and , which directly correspond to reducing our solution under each modulus. Strategy tip: When verifying solutions to congruence systems, always check that your proposed solution satisfies each individual congruence by direct substitution and modular reduction.
- A number leaves remainder 3 when divided by 8, remainder 5 when divided by 9, and remainder 7 when divided by 11. What is the smallest positive integer greater than 1000 that satisfies these conditions? Answer: 1211 We solve , , . Since , CRT applies. The solution exists modulo . Using CRT: , , . We need : , so , giving since . For : , so , giving since . For : , so , giving since . Thus . The smallest value greater than 1000 is .
- Consider the system and . For which values of and does this system have exactly one solution modulo ? Answer: Only when since requires the remainders to be congruent modulo the gcd Since , the system has a solution if and only if . When this condition holds, there is exactly one solution modulo . This is the generalized Chinese Remainder Theorem for non-coprime moduli. A is wrong because it ignores the compatibility condition. C is wrong because parity alone isn't sufficient - we need congruence modulo 6. D is wrong because CRT can be extended to non-coprime moduli with the proper compatibility condition.
- A system of congruences has solutions and . If is the unique solution modulo , what happens when we add the congruence to this system? Answer: The system has no solution since but we need , creating an inconsistency First verify that satisfies the original system: (since ) and (since ). Now check the new constraint: (since ). Since we need but , the system becomes inconsistent. A is wrong because it incorrectly focuses on coprimality without checking the actual constraint. B is wrong because it assumes works without verification. D is wrong because CRT can handle multiple congruences when moduli are pairwise coprime.
- A student applies the Chinese Remainder Theorem to solve and by finding , , then computing such that . What is the value of ? Answer: since and We need . Since , we need . Testing: , so . B is wrong because . C is wrong because . D is wrong because it confuses the process - we need the coefficient that makes the product ≡ 1, not ≡ 5.
- In a CRT problem with , , and where , , , a student computes and . What should satisfy? Answer: which simplifies to since When solving systems of linear congruences using the Chinese Remainder Theorem (CRT), you need to find multiplicative inverses as part of the construction. The key insight is understanding what represents and which modular equation it must satisfy. In CRT, after computing and , you need to be the multiplicative inverse of modulo . This means , or . Since , we have , so this reduces to . Answer D correctly identifies this relationship. Answer A incorrectly sets up instead of , and the resulting equation has no solution, which should signal this approach is wrong. Answer B confuses the modulus - you don't need the inverse of modulo the entire product , but modulo the individual . Answer C reverses the roles, trying to find the inverse of modulo instead of modulo . Study tip: In CRT problems, always remember that satisfies - you're finding the inverse of the "big" number modulo the "small" modulus.
- If is the unique solution modulo 60 to the system , , then what is the value of ? Answer: 91, since the solution modulo 60 is 31 First, we check if a solution exists: and we need . Since and , the condition is satisfied. The solution exists modulo . From , we have for some integer . Substituting into the second congruence: , so , which gives (dividing by ). Since , we have , so . Therefore . Thus and .
- In applying CRT to find such that , , and , a student first solves the subsystem and , obtaining . What is the final answer? Answer: after solving and using standard CRT methods We solve and . Let . Then , so . Since , we need . Since , we have . So and . Thus . Verify: , , . The other options give incorrect remainders when checked.
- Consider the system and . A student claims this has no solution because and . How should we evaluate this reasoning? Answer: The reasoning is incorrect since and , so the compatibility condition is satisfied For the system to have a solution when , we need . Computing: , so . Also , so . Since both remainders are congruent to modulo , the compatibility condition is satisfied and a solution exists. A is wrong because it states the condition is satisfied but concludes no solution exists. C is wrong because the generalized CRT does apply to non-coprime moduli. D is wrong because checking is equivalent to checking .