Find all the ways of writing N into x^2-y^2

  • Thread starter ver_mathstats
  • Start date
  • Tags
    Writing
These are: ##(57,\ 55)## and ##(15,\ 13)##.In summary, we are required to find all pairs of values x and y for which ##x^2 - y^2 = 112##. By using the prime factorization of 112, we can find other solutions besides the one given in the conversation. These include the pairs (57, 55) and (15, 13).
  • #1
ver_mathstats
260
21
Homework Statement
When N=112, find the ways in which we can write it as x^2-y^2.
Relevant Equations
x^2-y^2, a^2 = b^2 mod(N)
We are required to find every way in which we can write 112 as x2-y2. I already found one way using a
2≡b2modN. The values 112≡32mod(112) work and we can factor it as 14x8=112, I am confused how to approach this further for determining other values or would I just stop here? If I do test more values how exactly would I know when to stop? Any help would be appreciated, thank you!
 
Physics news on Phys.org
  • #2
ver_mathstats said:
Homework Statement:: When N=112, find the ways in which we can write it as x^2-y^2.
Relevant Equations:: x^2-y^2, a^2 = b^2 mod(N)

We are required to find every way in which we can write 112 as x2-y2. I already found one way using a
2≡b2modN. The values 112≡32mod(112) work and we can factor it as 14x8=112, I am confused how to approach this further for determining other values or would I just stop here? If I do test more values how exactly would I know when to stop? Any help would be appreciated, thank you!
Whenever you see ##x^2-y^2## you can automatically write ##(x-y)(x+y).## Here we have the task to write
$$
N = (x+y)(x-y) = 2\cdot 2 \cdot 2 \cdot 2 \cdot 7
$$
Hence, we have only two prime divisors ##p## of a product. What is a prime divisor? A number ##p## is called prime if ##p\,|\,a\cdot b## implies ##p\,|\,a## or ##p\,|\,b.## This is all you need.
 
  • Like
Likes ver_mathstats
  • #3
ver_mathstats said:
Homework Statement:: When N=112, find the ways in which we can write it as x^2-y^2.
Relevant Equations:: x^2-y^2, a^2 = b^2 mod(N)

We are required to find every way in which we can write 112 as x2-y2. I already found one way using a
2≡b2modN. The values 112≡32mod(112) work and we can factor it as 14x8=112, I am confused how to approach this further for determining other values or would I just stop here? If I do test more values how exactly would I know when to stop? Any help would be appreciated, thank you!
A complete and coherent statement of the problem would be much appreciated.
 
  • #4
SammyS said:
A complete and coherent statement of the problem would be much appreciated.
it is written completely and coherently :)
 
  • #5
ver_mathstats said:
it is written completely and coherently :)
Hmmm...

ver_mathstats said:
Homework Statement:: When N=112, find the ways in which we can write it as x^2-y^2.
Relevant Equations:: x^2-y^2, a^2 = b^2 mod(N)

We are required to find every way in which we can write 112 as x2-y2
. I already found one way using a 2≡b2 modN. The values 112
≡32 mod(112) work and we can factor it as 14x8=112
As far as the problem statement is concerned, I believe a clearer statement would be "Find all pairs of values x and y for which ##x^2 - y^2 = 112##." As written, the problem statement doesn't say anything about equivalence classes, so I don't see how modular arithmetic plays a role in this problem.
Regarding your solution, ##11^2 - 3^2 = 112##, so x = 11 and y = 3. x + y = 14 and x - y = 8, so (x + y)(x - y) = 112, as required.

I see at least one more pair of factors of 112 that satisfy ##(x + y)(x - y) = 112##.
 
  • Like
Likes SammyS
  • #6
Mark44 said:
Hmmm...As far as the problem statement is concerned, I believe a clearer statement would be "Find all pairs of values x and y for which ##x^2 - y^2 = 112##."
I assumed it must be asking for pairs of (positive) integers
 
  • #7
Mark44 said:
Hmmm...As far as the problem statement is concerned, I believe a clearer statement would be "Find all pairs of values x and y for which ##x^2 - y^2 = 112##." As written, the problem statement doesn't say anything about equivalence classes, so I don't see how modular arithmetic plays a role in this problem.
Regarding your solution, ##11^2 - 3^2 = 112##, so x = 11 and y = 3. x + y = 14 and x - y = 8, so (x + y)(x - y) = 112, as required.

I see at least one more pair of factors of 112 that satisfy ##(x + y)(x - y) = 112##.
Yes, I found the other solution.
 
  • #8
Well, you can always look for the pair with :
x+y=N
x-y=1.
 
  • #9
ver_mathstats said:
Yes, I found the other solution.
Using the prime factorization (Thanks @fresh_42 .) and the hints by @Mark44 , I found two pairs of integer solutions, in addition to the pair: ##(11,\ 3)## .
 

Related to Find all the ways of writing N into x^2-y^2

```html

What is the mathematical significance of expressing N as x^2 - y^2?

Expressing a number N as x^2 - y^2 is significant because it reveals the number as the difference of two squares. This form can provide insights into the number's properties, such as its factors and its behavior in modular arithmetic. It is also useful in number theory and algebra, particularly in solving Diophantine equations.

How can we determine if a number N can be expressed as x^2 - y^2?

A number N can be expressed as x^2 - y^2 if and only if N is not of the form 4k + 2 for any integer k. In other words, N must be an odd number or a multiple of 4. This is because the difference of two squares is always either an odd number or a multiple of 4.

What are the steps to find x and y such that N = x^2 - y^2?

To find x and y such that N = x^2 - y^2, follow these steps:1. Factorize N into two factors, say a and b, such that N = a * b.2. Ensure that both factors have the same parity (both odd or both even).3. Set x to be (a + b)/2 and y to be (a - b)/2.4. Verify that x and y are integers.5. If they are, then you have found a valid pair (x, y).

Can there be multiple pairs (x, y) for a given N?

Yes, there can be multiple pairs (x, y) for a given N. The number of such pairs depends on the number of ways N can be factorized into pairs of factors that satisfy the parity condition. Each distinct factorization provides a different pair (x, y).

What are some practical applications of expressing N as x^2 - y^2?

Expressing N as x^2 - y^2 has several practical applications, including:- Simplifying the process of integer factorization, which is crucial in cryptography.- Solving certain types of Diophantine equations.- Analyzing quadratic forms and their properties.- Providing insights into the structure of numbers in algebraic number theory.

```

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
651
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
807
  • Precalculus Mathematics Homework Help
Replies
8
Views
478
  • Precalculus Mathematics Homework Help
Replies
17
Views
639
  • Precalculus Mathematics Homework Help
Replies
5
Views
3K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
870
Replies
27
Views
2K
  • Precalculus Mathematics Homework Help
Replies
13
Views
2K
Back
Top