How do you solve $x^2−4\equiv 0 \mod 7$?
Asked
Active
Viewed 69 times
0
-
hint: how to solve $ab\equiv 0\pmod 7$ ? – zwim Dec 24 '20 at 11:31
-
5
- Try $x\equiv 0,1,2,3,4,5,6 \pmod 7$. 2. Factor.
– player3236 Dec 24 '20 at 11:31 -
1i have done it thx alot – Mohamad Abo allo Dec 24 '20 at 11:37
-
$x^2\equiv4\iff x\equiv\pm2$ – J. W. Tanner Dec 24 '20 at 13:55
1 Answers
2
The most efficient method here is that $x^2-4=(x-2)(x+2)$, thus it implies that $7$ divides $(x-2)(x+2)$ but because $7$ is a prime, it must divide either $x+2$ or $x-2$, therefore the solutions are $x=±2$ (mod $7$)
-
-
1
-
-
what if we have x^2 + 3x ≡ 4 ( mod 5 )? we can do that x^2 + 3x ≡ 4 is equal to (x+4)(x-1) ≡ 0 ( mod 5 ) ? if its right how i can continue that ? – Mohamad Abo allo Dec 24 '20 at 11:48
-
Yeah its completely correct. Now because 5 is a prime the only possibilities are that 5 divides one of those two – Aryan Dec 24 '20 at 11:51