Prove the following assertion about modular arithmetic

  • Thread starter Math100
  • Start date
  • Tags
    Arithmetic
In summary, this proof shows that if two numbers are congruent modulo n and n is divisible by m, then the two numbers are also congruent modulo m.
  • #1
Math100
756
202
Homework Statement
Prove the following assertion:
If ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
Relevant Equations
None.
Proof:

Suppose ## a\equiv b \mod n ##.
Then ## n\mid (a-b)\implies a-b=kn ## for some ## k\in\mathbb{Z} ##.
Since ## m\mid n ##, it follows that ## n=mp ## for some ## p\in\mathbb{Z} ##.
Note that ## a-b=k(mp)\implies a-b=mq ## where ## q=kp ## is an integer.
Thus ## m\mid (a-b) ##.
Therefore, if ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
 
  • Like
Likes fresh_42
Physics news on Phys.org
  • #2
Math100 said:
Homework Statement: Prove the following assertion:
If ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
Relevant Equations: None.
Proof:
Suppose ## a\equiv b \mod n ##.
Then ## n\mid (a-b)\implies a-b=kn ## for some ## k\in\mathbb{Z} ##.
Since ## m\mid n ##, it follows that ## n=mp ## for some ## p\in\mathbb{Z} ##.
Note that ## a-b=k(mp)\implies a-b=mq ## where ## q=kp ## is an integer.
Thus ## m\mid (a-b) ##.
Therefore, if ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
## ~ ##
Looks good.
 
Last edited:
  • Like
Likes Math100

What is modular arithmetic?

Modular arithmetic is a mathematical system that deals with integers and their remainders when divided by a fixed number, known as the modulus. It is often used in cryptography, computer science, and number theory.

How is modular arithmetic used in real life?

Modular arithmetic has many practical applications, such as in calculating time and dates, encryption and decryption in computer security, and in creating repeating patterns in art and design.

What is the basic principle of modular arithmetic?

The basic principle of modular arithmetic is that when two numbers are divided, their remainders will be equal if they have the same modulus. For example, 17 divided by 5 has a remainder of 2, and 22 divided by 5 also has a remainder of 2.

What does it mean to prove an assertion about modular arithmetic?

Proving an assertion about modular arithmetic means to use mathematical reasoning and logic to demonstrate that a statement or equation is true for all possible values of the variables involved. This is usually done by showing that the statement holds true for a specific value, and then using mathematical induction to prove that it holds true for all other values.

What are some common properties of modular arithmetic?

Some common properties of modular arithmetic include the commutative property, which states that the order of operations does not affect the result, and the distributive property, which allows for the simplification of equations involving modular arithmetic. Additionally, modular arithmetic follows the laws of addition, subtraction, multiplication, and division, but with some slight differences due to the use of remainders.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
5
Views
734
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
699
  • Precalculus Mathematics Homework Help
Replies
5
Views
933
  • Precalculus Mathematics Homework Help
Replies
3
Views
807
  • Precalculus Mathematics Homework Help
Replies
14
Views
970
  • Precalculus Mathematics Homework Help
Replies
1
Views
761
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
Back
Top