Multiple choice

If $2\sin^{2}\dfrac {\pi}{8}$ is a root of the equation $x^{2} + ax + b = 0$, where $a$ and $b$ are rational numbers, then $a - b$ is equal to

  1. $-\dfrac {5}{2}$
  2. $-\dfrac {3}{2}$
  3. $-\dfrac {1}{2}$
  4. $\dfrac {1}{2}$
Reveal answer Fill a bubble to check yourself
A Correct answer
AI explanation

The given root is 2 * sin^2(pi/8), which equals 1 - cos(pi/4) or 1 - 1/sqrt(2). Because a and b are rational, the other root must be the conjugate 1 + 1/sqrt(2). The sum of the roots is 2, so a = -2, and the product of the roots is 1 - 1/2 = 1/2, so b = 1/2. Therefore, a - b = -2 - 1/2 = -5/2.