Solve ## 25x\equiv 15\pmod {29} ##.

  • Thread starter Thread starter Math100
  • Start date Start date
Click For Summary
SUMMARY

The linear congruence equation 25x ≡ 15 (mod 29) has a unique solution due to the fact that gcd(25, 29) = 1. The solution is derived through the application of Bézout's Identity and the Euclidean algorithm, leading to the conclusion that x ≡ 18 (mod 29). The inverse of 25 modulo 29 is calculated as 25⁻¹ ≡ 7 (mod 29), confirming the solution. This method is applicable for any coprime integers a and b.

PREREQUISITES
  • Understanding of linear congruences
  • Knowledge of the Euclidean algorithm
  • Familiarity with Bézout's Identity
  • Basic modular arithmetic
NEXT STEPS
  • Study the properties of modular inverses in number theory
  • Learn about the Extended Euclidean Algorithm
  • Explore applications of linear congruences in cryptography
  • Investigate systems of linear congruences and the Chinese Remainder Theorem
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in solving linear congruences and their applications in cryptography.

Math100
Messages
818
Reaction score
230
Homework Statement
Solve the following linear congruence:
## 25x\equiv 15\pmod {29} ##.
Relevant Equations
None.
Consider the linear congruence ## 25x\equiv 15\pmod {29} ##.
By corollary, if ## gcd(a, n)=1 ##, then the linear congruence ## ax\equiv b\pmod {n} ## has
a unique solution modulo ## n ##.
Observe that ## gcd(25, 29)=1 ##.
This means that the linear congruence ## 25x\equiv 15\pmod {29} ## has a
unique solution modulo ## n ##.
Thus
\begin{align*}
&25x\equiv 15\pmod {29}\\
&-4x\equiv 15\pmod {29}\\
&-28x\equiv 105\equiv 18\pmod {29}.\\
\end{align*}
Therefore, ## x\equiv 18\pmod {29} ##.
 
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
Math100 said:
Homework Statement:: Solve the following linear congruence:
## 25x\equiv 15\pmod {29} ##.
Relevant Equations:: None.

Consider the linear congruence ## 25x\equiv 15\pmod {29} ##.
By corollary, if ## gcd(a, n)=1 ##, then the linear congruence ## ax\equiv b\pmod {n} ## has
a unique solution modulo ## n ##.
Observe that ## gcd(25, 29)=1 ##.
This means that the linear congruence ## 25x\equiv 15\pmod {29} ## has a
unique solution modulo ## n ##.
Thus
\begin{align*}
&25x\equiv 15\pmod {29}\\
&-4x\equiv 15\pmod {29}\\
&-28x\equiv 105\equiv 18\pmod {29}.\\
\end{align*}
Therefore, ## x\equiv 18\pmod {29} ##.
Right.

The standard procedure uses the Euclidean division. Given any two numbers ##a,b## there are numbers ##x,y## such that ##\operatorname{gcd}(a,b)=xa+yb.## (Bézout's Identity)

\begin{align*}
29 &= 1\cdot 25 +4\\
25&= 6\cdot 4 +1\\
4&= 4\cdot 1 + 0
\end{align*}
So ##1=25 -6\cdot 4=25-6\cdot (29-1\cdot 25)= 25- 6\cdot 29 +6\cdot 25=-6\cdot 29 + 7\cdot 25.## This means modulo ##29## that ##1 \equiv 7\cdot 25 \pmod {29}## or ##25^{-1}\equiv 7\pmod {29}.##

Therefore ##x\equiv 25^{-1} \cdot 15 \equiv7\cdot 15 \equiv 105 \equiv 18 \pmod{29}.##

This may look longer than what you did, however, it can be programmed and works always. At least for coprime numbers ##a,b.## Otherwise, we do not have an inverse.
 
Last edited:
  • Informative
  • Like
Likes   Reactions: Delta2 and Math100

Similar threads

Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K