When x = 1 and x = - 4, the value of the algebraic formula ax ^ 2 + BX + C is 8. When x = - 1, the value of the algebraic formula ax ^ 2 + BX + C is 2. Find the value of a, B and C

When x = 1 and x = - 4, the value of the algebraic formula ax ^ 2 + BX + C is 8. When x = - 1, the value of the algebraic formula ax ^ 2 + BX + C is 2. Find the value of a, B and C

Substituting the value of X into the above algebraic formula, we get the following three equations: a + B + C = 8, (1) 16a-4b + C = 8, (2) A-B + C = 2, (3) (1) - (2), 2b = 8-2 = 6, B = 3, substituting (1) and (2) to get: a + C = 5, 16a + C = 20, the solution is: a = 1, C = 4, so a = 1, B = 3, C = 4