Multiple choice

If $a,b$, where $a>b$, are the roots of the quadratic equation $x^{2}+3x-4=0$, then the value of $5a+b$ is

  1. $1$
  2. $-2$
  3. $-3$
  4. none of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Solve x^2 + 3x - 4 = 0: (x + 4)(x - 1) = 0. Roots are 1 and -4. Since a > b, a = 1 and b = -4. Then 5a + b = 5(1) + (-4) = 5 - 4 = 1.

AI explanation

First, find the roots of x squared plus 3x minus 4 equals 0 by factoring it into (x + 4) and (x - 1). This gives the roots as -4 and 1. Since a is greater than b, we assign a as 1 and b as -4. Substituting these into the expression gives 5 times 1 plus -4, which equals 1.