🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2016 Math Kangaroo

Problem 25

Problem 25 · 2016 Math Kangaroo Stretch
Algebra & Patterns substitutiondifference-of-squares

The equations \(x^2 + ax + b = 0\) and \(x^2 + bx + a = 0\) both have real solutions. It is known that the sum of the squares of the solutions of the first equation is equal to the sum of the squares of the solutions of the second equation, and that \(a \ne b\). Then \(a + b\) equals

Show answer
Answer: B — -2
Show hints
Hint 1 of 3
By Vieta, the sum of the squares of the roots is \((\text{sum})^2 - 2(\text{product})\).
Still stuck? Show hint 2 →
Hint 2 of 3
Set the two sums-of-squares equal, then factor the resulting symmetric equation.
Still stuck? Show hint 3 →
Hint 3 of 3
The condition \(a \ne b\) lets you cancel one factor.
Show solution
Approach: Vieta plus factoring
  1. For \(x^2+ax+b\) the roots have sum \(-a\) and product \(b\), so their squares sum to \(a^2 - 2b\); for \(x^2+bx+a\) it is \(b^2 - 2a\).
  2. Setting \(a^2 - 2b = b^2 - 2a\) gives \(a^2 - b^2 + 2a - 2b = 0\), i.e. \((a-b)(a+b+2) = 0\).
  3. Since \(a \ne b\), the other factor vanishes: \(a + b = -2\), answer B.
Mark: · log in to save