Difference Between Squares?

For a=21, b=1, you get x=11, y=10. For a=7, b=3, you get x=5, y=2.In summary, there is a formula for finding the squares that will produce a given difference, which involves finding two factors of the number that can also be expressed as the sum and difference of two other numbers. This formula is x=(a+b)/2 and y=(a-b)/2, where a and b are the two factors of the number. As long as these fractions are integers, the solution is valid.
  • #1
jimjones
8
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
  • #2
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.
 

What is the difference between squares and rectangles?

Squares and rectangles are both geometric shapes with four sides and four corners. However, squares have four equal sides and all angles are 90 degrees, while rectangles have two pairs of equal sides and all angles are also 90 degrees.

How do you calculate the area of a square?

The area of a square is calculated by multiplying the length of one side by itself. The formula for area is A = s2, where s represents the length of one side.

Can a square be a rectangle?

Yes, a square can be considered a special type of rectangle. Since a square has two pairs of equal sides and all angles are 90 degrees, it meets the definition of a rectangle. However, not all rectangles are squares.

What is the difference between a square and a rhombus?

A square and a rhombus are both quadrilaterals with four sides and four equal angles. However, a square has four equal sides while a rhombus has four equal sides but opposite angles are equal. Additionally, squares have all right angles while rhombuses can have any angle measure.

How do you find the perimeter of a square?

The perimeter of a square is found by adding all four sides of the square. Since all sides are equal, you can multiply the length of one side by 4 or use the formula P = 4s, where P represents the perimeter and s represents the length of one side.

Similar threads

Replies
68
Views
9K
Replies
1
Views
750
Replies
2
Views
772
  • General Math
Replies
2
Views
1K
  • General Math
Replies
5
Views
1K
  • General Math
Replies
24
Views
2K
  • General Math
Replies
13
Views
1K
Replies
13
Views
3K
Replies
2
Views
246
  • General Math
Replies
2
Views
714
Back
Top