Where is my mistake please tell ,I also tried $x \equiv 1 \pmod 7$ instead of $25x \equiv 4 \pmod 7$ and $7x \equiv 4 \pmod 9$ instead of $25x \equiv 4 \pmod 9$
2026-03-27 18:34:55.1774636495
On
Solution of a congruence
35 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
0
On
You solved for $x \equiv 4 \mod 63$.
You need to solve for $25 x \equiv 4 \mod 63$
$25 x\equiv 4x \equiv 4 \mod 7$ so $x \equiv 1 \mod 7$
And $25 x \equiv 7x \mod 4 \mod 9$ so a bit of finaggling... $7y \equiv 1 \mod 9 \implies y \equiv 4 \mod 9$ so $4*7*x \equiv x \equiv 4*4 \equiv 7 \mod 9$.
Now use the CRT to solve
$x \equiv 1 \mod 7$
$x \equiv 7 \mod 9$
This time you will get the correct answer
The answer you give (i.e. $x\equiv 4\pmod{63}$) is incorrect; try putting in $x=4$ to the original congruence equation.
I don't really see why you need CRT. All you need to do is find the inverse of $25$ modulo $63$. This can be done by the Euclidean algorithm to find $a,b\in\Bbb Z$ such that $25a+63b=1$. Then $a$ is the inverse of $25$ modulo $63$, and we get $$25x\equiv 4\pmod{63}\iff x\equiv 4a\pmod {63}$$
Spoiler: