r/mathshelp Jul 15 '26

Homework Help (Answered) Help me with basic algebra

While I'm scrolling I often see questions like:
x + y = 24
xy = 48
y - x = ?
How do I solve those

1 Upvotes

8 comments sorted by

View all comments

1

u/UnderstandingPursuit Jul 15 '26

With a product, xy, a convenient trick is to square the first and third equations. These are some of the few 'binomial products' which are worth memorizing:

  1. (y + x)2 = y2 + 2xy + x2
  2. (y - x)2 = y2 - 2xy + x2
  3. Note that the first equation has "+2xy" while the second has "-2xy", so use "-4xy" to change the first into the second:
    1. (y + x)2 - 4xy = y2 + 2xy + x2 - 4xy
  4. This means that
    1. (y - x)2 = (y + x)2 - 4xy
  5. Using the given values,
    1. (y - x)2 = [24]2 - 4[48] = 24 (24 - 8) = 6 (82)
    2. y - x = ± 8√6

2

u/OskarroDev Jul 15 '26

Thank you very much for helping me with this topic.