Proving Impossibility of Integer n in Modular Arithmetic

  • Thread starter mike1
  • Start date
  • Tags
    Arithmetic
In summary: So, in summary, it is impossible to find an integer n such that n^2 is congruent to 2 or 3 mod(4). Additionally, using this fact, we can prove that there are no integers m and n that satisfy the equation 3m^2 - 1 = n^2. This is because 3m^2 is congruent to 0 or 3 mod(4), while n^2 is congruent to 0 or 1 mod(4). Since these two expressions cannot be equal, there are no integers m and n that satisfy the equation.
  • #1
mike1
14
0

Homework Statement



Prove that it is impossible to find an integer n, such that

n^2 = 2 mod(4) or n^2 = 3 mod(4)

Hence or otherwise, prove that there do not exist integers m and n such that

3m^2 - 1 = n^2

Homework Equations





The Attempt at a Solution



Since n must be congruent to each of 0,1,2,3, n^2 must be congruent to 0,1,4,9 but what do I do next to prove this?
 
Physics news on Phys.org
  • #2
Well, if (for example) [itex]n^2 \equiv 9\pmod 4[/itex], and you know that [itex]9 \equiv 1\pmod 4[/itex],then you can tell that [itex]n^2 \equiv ??\pmod 4[/itex]
 
  • #3
mike1 said:

Homework Statement



Prove that it is impossible to find an integer n, such that

n^2 = 2 mod(4) or n^2 = 3 mod(4)

Hence or otherwise, prove that there do not exist integers m and n such that

3m^2 - 1 = n^2

Homework Equations





The Attempt at a Solution



Since n must be congruent to each of 0,1,2,3, n^2 must be congruent to 0,1,4,9 but what do I do next to prove this?

Welcome to PF, mike! :smile:

Can you simplify 0,1,4,9 mod 4?
Is any of those congruent to 2 or to 3?
 
  • #4
Sorry, still confused :(
 
  • #5
As you say, n^2 must be congruent to one of 0,1,4,9.

Writing something "mod 4", means you are only interested in the remainder after division by 4.
What is the remainder if you divide for instance 9 by 4?
 
  • #6
So: 9 = 1 mod(4), since 9-1 = 8/4=2
 
  • #7
Yep.
So what are the remainders of 0,1,4,9?
 
  • #8
0= mod(4)
1= mod(4)
4= 0 mod(4)
9= 1 mod(4)
 
  • #9
If you divide 1 by 4, it cannot be divided and the remainder is just 1.
The same for zero.

So your remainders for n^2 are 0,1,0,1.
Is any of those congruent to 2 or to 3?
 
  • #10
No, because 0/4 or 1/4 is not 2 or 3? & hence it's impossible to find an integer to satisfy it?
 
  • #11
Yep. :)
 
  • #12
Thanks :)

For part b) Since n^2 is congruent to 0 or 1 mod(4), after re-arranging we see that
3m^2 = n^1+1, so then n^2 + 1 is congruent to 1 or 2 mod(4). What should be done about the 3m^2?
 
  • #13
What are the possible remainders of m^2?
 
  • #14
Is it 0,1,4,9 but then times by 3 so 0,3,12,27? Or is that completely wrong..
 
  • #15
Oh that is correct.
But didn't we conclude that 0,1,4,9 were congruent to 0,1,0,1?

Multiply that with 3!
 
  • #16
Oh! So the remainders of 3m^2 are 0,3,0,3. So 3m^2 is congruent to 0 or 3 mod(4), but how we combine both of expressions?
 
Last edited:
  • #17
Well, you already had:
n^2 + 1 is congruent to 1 or 2 mod(4).

Perhaps compare it to that?
 
  • #18
How do I compare it to that?
Can I say since 3m^2=n^2+1, then 3m^2 is congruent to 0,1,2,3 mod(4)?...
 
  • #19
If we had 3m2=n2+1, then we know that 3m2=n2+1 (mod 4). What are the possible values of the left hand side? What are the possible values of the right hand side? (these were calculated earlier in the thread) Is it possible for the left hand and right hand side to be equal?
 
  • #20
Office_Shredder said:
If we had 3m2=n2+1, then we know that 3m2=n2+1 (mod 4). What are the possible values of the left hand side? What are the possible values of the right hand side? (these were calculated earlier in the thread) Is it possible for the left hand and right hand side to be equal?

Do you mean 0,3,0,3 and 0,1,0,1?
 
Last edited:
  • #21
Ignore...
 
Last edited:
  • #22
mike1 said:
Do you mean 0,3,0,3 and 0,1,0,1?

Almost.
You should have different numbers...
(Look back in the thread.)
 
  • #23
I like Serena said:
Almost.
You should have different numbers...
(Look back in the thread.)

yeah, I've got it now..thanks :)
 
  • #24
Good! :smile:
 

1. What is modular arithmetic?

Modular arithmetic is a branch of mathematics that deals with the properties and behavior of integers when they are divided by a fixed number, called the modulus. It is often used in cryptography and computer science, and it has applications in various fields of science and engineering.

2. Why is proving impossibility of an integer in modular arithmetic important?

Proving impossibility of an integer in modular arithmetic can help determine whether a mathematical problem or equation has a solution. It can also provide insights into the properties and patterns of integers and help identify important relationships between them.

3. How do you prove impossibility of an integer in modular arithmetic?

To prove impossibility of an integer in modular arithmetic, one must show that there is no integer solution to a given equation or problem. This can be done by using logical reasoning, mathematical techniques such as modular inverses and Chinese remainder theorem, and by considering the properties of the modulus and the integers involved.

4. Can proving impossibility of an integer in modular arithmetic be applied to real-world problems?

Yes, proving impossibility of an integer in modular arithmetic can be applied to real-world problems. It can be used in cryptography to ensure the security of communication systems, in computer science to design efficient algorithms, and in various other fields where modular arithmetic is used.

5. Are there any limitations to proving impossibility of an integer in modular arithmetic?

Yes, there are limitations to proving impossibility of an integer in modular arithmetic. It may not always be possible to prove impossibility, as there may be unknown relationships between the integers involved or the modulus chosen. Additionally, the proof may be complex and require advanced mathematical techniques, making it difficult to apply in certain situations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
20
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
513
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
574
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
4K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
20
Views
2K
Replies
6
Views
2K
Back
Top