Integers. I on this one please?

  • Thread starter sutupidmath
  • Start date
  • Tags
    Integers
In summary, the conversation discusses the lack of integral solutions for the equation x^2-y^2=34, with various methods such as using divisors and modular arithmetic being discussed. The decomposition method is considered to be a reasonable approach, as it can be used to solve more difficult diophantine equations. An example of such a problem is given as (x^2+1)(y^2+1) + 2(x-y)(1-xy) = 4(1+xy), which can also be solved using the decomposition method.
  • #1
sutupidmath
1,630
4
Integers. I need help on this one please?

Hi, i am trying to analyze the following problem, but i am new at abstract algebra so i am not sure whether i am reasoning properly.
Problem:

Why are there no integers x and y with x^2-y^2=34.

Here is how i am reasoning:

x^2-y^2=(x-y)(x+y)=34. so we notice that x-y and x+y are both integral divisors (or factors )of 34.
We know that all factors of 34 are 1,2, 17,34, -1,-2,-17,-34.

This way we have to chose x-y and x+y in such a manner that their product to equal 34. such possibilities are

x-y=1 and x+y=34 , x-y=2 and x+y=17, etc. we take all the cases, i am not typing all of them, but none of these systems of equation has a solution for both x and y integers. so this way we conclude that there are no integers x and y such that x^2-y^2=34.


I want to know whether there is another more elegant way of showing this, rather than what i have performed here?

If you can give some suggestions i would appreciate it. But remember, all we have done so far is 10 pages, we haven't even yet gone to common divisors. so don't use too advanced math tools.

Thanx in advance.
 
Physics news on Phys.org
  • #2


One thing you can do is find the average of your two divisors:

[tex]\frac{(x-y) + (x+y)}{2} = x[/tex]

So, are there any pairs of numbers whose product is 34 and whose average is an integer? The pairs (1, 34) and (2, 17) each have one odd number and one even number, so their averages can't be integers.

Alternatively, you can take the difference of your factors:

[tex](x + y) - (x - y) = 2y[/tex]

So, you need factors whose difference is an even number.

Either way, what you need are two factors of the same parity. If you look at the prime factorization of 34, you have 2*17; it should be clear that there is no way to split these factors into two groups such that each has the same parity.

This depends entirely on the fact that 34 has exactly one power of 2 in its prime factorization. If it were 2^2 * 17, then it could be split (2, 2*17). Or if it were 3*5*17, it could be split (3*5, 17), etc.
 
  • #3


do you know modular arithmetic? working mod 4, you are trying to solve x^2 - y^2 = 2. now there are only 2 squares, 0 and 1, and this means there is no solution mod 4. so there is no integer solution.
 
  • #4


I don't really think that your approach is that inelegant. In fact much harder problems can be solved using your method, which is (perhaps informally) called the decomposition method. It's probably the most basic method for solving a diophantine equation. In this case the factorization is clear so all you had to do was examine the cases.

There are 8 systems of two equations, which could be listed quickly. Let's consider one of these systems. Let's choose x-y = 1 and x+y = 34. There are many parity arguments you can make, as Ben Niehoff mentioned. You could add the two systems to get 2x = 35. The LHS is divisible by 2 but the RHS is not [tex]\Rightarrow[/tex] no solutions. Or we could argue like this. Since x+y = 34, x and y must both be even or both be odd, otherwise, our sum would be odd. But x and y can't both be even or both be odd, or else the difference x - y is even [tex]\Rightarrow[/tex] no solutions.

By similar arguments, it's pretty quick to go through all 8 systems. Of course as mathwonk suggested, modular arithmetic is another viable approach but I guess it all depends on how familiar you are with number theory.

Anyways, here is a much more complicated problem that could be solved using the decomposition method.

Find all integral solutions to the equation

[tex](x^2+1)(y^2+1) + 2(x-y)(1-xy) = 4(1+xy)[/tex]
 

1. What are integers?

Integers are whole numbers that can be positive, negative, or zero. They do not have any fractional or decimal parts.

2. How do you add integers?

To add integers, you simply combine the values together. If the integers have the same sign, add their absolute values and keep the sign. If they have different signs, subtract the smaller absolute value from the larger one and keep the sign of the number with the greater absolute value.

3. What is the difference between integers and whole numbers?

While both integers and whole numbers do not have any fractional or decimal parts, integers can also include negative numbers, while whole numbers are limited to positive numbers and zero.

4. How do you multiply integers?

To multiply integers, you multiply the values together. If the integers have the same sign, the product will be positive. If they have different signs, the product will be negative.

5. Can integers be fractions or decimals?

No, integers cannot be fractions or decimals. Integers are whole numbers and do not have any fractional or decimal parts.

Similar threads

  • Linear and Abstract Algebra
Replies
19
Views
2K
  • Linear and Abstract Algebra
Replies
5
Views
1K
Replies
4
Views
1K
Replies
17
Views
2K
Replies
15
Views
1K
Replies
2
Views
247
  • Linear and Abstract Algebra
2
Replies
41
Views
3K
  • Linear and Abstract Algebra
Replies
13
Views
1K
  • Precalculus Mathematics Homework Help
Replies
19
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
1K
Back
Top