What Formula Determines the Squares Producing a Specific Difference?

  • Context: High School 
  • Thread starter Thread starter jimjones
  • Start date Start date
  • Tags Tags
    Difference Squares
Click For Summary
SUMMARY

The discussion focuses on determining the squares that produce a specific difference, exemplified by the equation x² - y² = 21. The key formula derived is x = (a + b)/2 and y = (a - b)/2, where a and b are factors of the difference. For instance, the pairs (11, 10) and (5, 2) satisfy this equation, demonstrating that both odd and even integers can yield valid results. The method relies on identifying factor pairs of the target difference that can be expressed as sums and differences of two integers.

PREREQUISITES
  • Understanding of algebraic identities, specifically the difference of squares.
  • Familiarity with factorization and integer properties.
  • Basic knowledge of solving systems of equations.
  • Experience with odd and even number characteristics.
NEXT STEPS
  • Study the difference of squares identity in depth.
  • Explore integer factorization techniques for various numbers.
  • Learn to solve systems of linear equations using substitution and elimination methods.
  • Investigate the properties of odd and even integers in mathematical contexts.
USEFUL FOR

Mathematicians, educators, students studying algebra, and anyone interested in number theory and algebraic identities.

jimjones
Messages
8
Reaction score
0
Hello,

Sorry if this is in the wrong forum, I wasn't sure so I just picked General. Is there a formula to determine the squares that will produce a given difference. For example x^2 - y^2 = 21. From a little experimentation it seems that for odd numbers the problem can be solved with this formula: x = (o+1)/2, y= x - 1. So 11^2 - 10^2 = 21. But I know also that 5^2 - 2^2 = 21. Is there a formula that will produce that result?

Thanks
 
Mathematics news on Phys.org
Hello, Jim,
as you possibly know, x^2 - y^2 = (x+y)(x-y). So you're looking for two factors of your number (21) which not only multiply to 21, but which can also be constructed as the sum and difference of two other numbers. In your examples, 11+10=21 multiplied by 11-10=1 equals 21, and also 5+2=7 times 5-2=3 is 21.

If you call a and b those two factors, such that ab=21, (where, for our discussion, a will be the largest and b the smallest), you look for solutions of the system of equations
x + y = a
x - y = b
whose solutions are x=(a+b)/2, y=(a-b)/2. As long as these fractions turn out to be integers, you have a winning pair.
 

Similar threads

  • · Replies 68 ·
3
Replies
68
Views
12K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K