Skip to content
← All questions

Why does 5 have no inverse modulo 10?

5 has no inverse modulo 10 because the greatest common divisor of 5 and 10 is 5, which is not 1. According to the existence theorem, an integer has an inverse modulo m if and only if their gcd is 1. Since (5,10)=5>1(5,10)=5>1, no inverse exists.

Conditions

  • Modulus is 10.
  • Number whose inverse is requested: 5.

Reasoning, step by step

  1. Compute the greatest common divisor of 5 and 10.
  2. Observe that (5,10)=5(5,10)=5.
  3. Compare the gcd to 1. Since 5≠15 \neq 1, the condition for existence is not met.
  4. Conclude that 5 has no inverse modulo 10.

Example

The video shows the board writing '(5,10)=5 NOT 1' followed by 'No inverse'.

Common misconceptions

  • Assuming that the add-the-modulus search method will always eventually find an inverse.
  • Thinking that 5 might have an inverse like 2, since 5⋅2=10≡0(mod10)5 \cdot 2 = 10 \equiv 0 \pmod{10}, confusing 0 with 1.

Watch the explanation

Connected concepts

Explore next

Related questions

Know when to use it

↗
Understand why

↗
Find a method

↗
Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.