Sometimes you know the value of \(x+y\) or \(x-y\), and of \(xy\), but not the values of \(x\) and \(y\) themselves. The identities connect these quantities to \(x^2+y^2\), so you can find it without solving for \(x\) and \(y\).
| Identity | Rearranged |
|---|---|
| \((x+y)^2=x^2+y^2+2xy\) | \(x^2+y^2=(x+y)^2-2xy\) |
| \((x-y)^2=x^2+y^2-2xy\) | \(x^2+y^2=(x-y)^2+2xy\) |
| \((x+y)^2-(x-y)^2=4xy\) | \(xy=\dfrac{(x+y)^2-(x-y)^2}{4}\) |
| \((x+y)^2+(x-y)^2=2(x^2+y^2)\) | \(x^2+y^2=\dfrac{(x+y)^2+(x-y)^2}{2}\) |
Why: \(x^2+y^2\), \(xy\) and \((x+y)^2\) are linked by one identity, so knowing any two of them fixes the third. The separate values of \(x\) and \(y\) are never needed.
Method
Example
Given that \(x-y=7\) and \(xy=12\), find \(x^2+y^2\) and \((x+y)^2\).
\(\begin{aligned} x^2+y^2 &= (x-y)^2+2xy \\ &= 7^2+2(12) \\ &= 73 \end{aligned}\)
\(\begin{aligned} (x+y)^2 &= x^2+y^2+2xy \\ &= 73+2(12) \\ &= 97 \end{aligned}\)
Check: \((x+y)^2-(x-y)^2\) should equal \(4xy\): \(97-49=48=4(12)\). A common error is to square the given value and stop, writing \(x^2+y^2=7^2=49\), which forgets the \(2xy\) term.
Create a free account to practise similar questions.
Need help? Join our E-Maths tuition for O-Level success.
Learn more