{ x 2 + 3 x − 7 x 2 − 5 x − 1 6 ≡ 0 ( m o d 7 1 ) ≡ 0 ( m o d 8 9 )
Let x be a positive integer satisfying the system of equations above. What is the least possible value of x ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Why did you make it so complicated? We can just do this:
x 2 − 5 x − 1 6 ≡ 0 ( m o d 8 9 ) ⇔ 4 x 2 − 2 0 x − 6 4 ≡ 0 ( m o d 8 9 ) ⇔ ( 2 x − 5 ) 2 − 8 9 ≡ 0 ( m o d 8 9 ) ⇔ 2 x ≡ 5 ≡ 9 4 ( m o d 8 9 ) ⇔ x ≡ 4 7 ( m o d 8 9 )
What's left to do is to verify that x = 4 7 also satisfy the first congruence, and we're done.
good thinking on multiplying by 4 on both sides
It may seem to be different method , but it's virtually same. Nevertheless for sake of variety:
See the second congruence,
Let x 2 − 5 x − 1 6 = 8 9 n
Discriminant D of this quadratic equation
= 8 9 × ( 1 + 4 n )
For x to be integer (+ve)
D is to be a perfect square 4 n + 1 is to be like 8 9 × p 2 . As 89 is prime .
For smallest we take p = 1 .
We get x = 4 7
To check its smallest , we find it to be satisfying first congruence.
Assumptions : n and p are natural numbers.
Problem Loading...
Note Loading...
Set Loading...
x 2 + 3 x − 7 ≡ x 2 + 3 x − 7 1 x − 7 ≡ x 2 − 6 8 x − 7 ≡ 0 ( m o d 7 1 )
Thus, x 2 − 6 8 x + 3 4 2 ≡ ( x − 3 4 ) 2 ≡ 3 4 2 + 7 ≡ 6 8 ⋅ 1 7 + 7 ≡ ( − 3 ) ⋅ 1 7 + 7 ≡ 2 7 ( m o d 7 1 ) .
According to Tonelli-Shanks Algorithm , if the prime modulus p ≡ 3 ( m o d 4 ) , then the solution x − 3 4 ≡ ± 2 7 4 7 1 + 1 ≡ ± 2 7 1 8 ≡ ± 3 5 4 ( m o d 7 1 ) .
Then according to Fermat's Little Theorem , 3 7 1 − 1 ≡ 3 7 0 ≡ ( 3 1 6 ) ( 3 5 4 ) ≡ 1 ( m o d 7 1 ) .
Then 3 4 ≡ 8 1 ≡ 1 0 ( m o d 7 1 ) . 3 8 ≡ 1 0 0 ≡ 2 9 ( m o d 7 1 ) . 3 1 6 ≡ 2 9 2 ≡ 6 0 ≡ − 1 1 ( m o d 7 1 ) .
Since 1 1 ⋅ 1 3 ≡ 1 4 3 ≡ 1 ( m o d 7 1 ) , then ( 3 1 6 ) ( 3 5 4 ) ≡ ( − 1 1 ) ( − 1 3 ) ≡ 1 ( m o d 7 1 ) .
Thus, 3 5 4 ≡ − 1 3 ( m o d 7 1 ) . Then x ≡ 3 4 ± 1 3 ( m o d 1 7 ) .
Hence, x ≡ 4 7 ( m o d 7 1 ) , or x ≡ 2 1 ( m o d 7 1 ) .
For the latter congruence, x 2 − 5 x + 8 9 x − 1 6 ≡ x 2 + 8 4 x − 1 6 ≡ 0 ( m o d 8 9 ) .
Similarly, x 2 + 8 4 x + 4 2 2 ≡ 4 2 2 + 1 6 ≡ 4 ( 2 1 2 + 4 ) ≡ 4 ⋅ 4 4 5 ≡ 0 ( m o d 8 9 ) .
Hence, x + 4 2 ≡ 0 ( m o d 8 9 ) . x ≡ − 4 2 ≡ 4 7 ( m o d 8 9 ) .
As a result, the least possible value of x = 4 7 .