In order for the function to be continuous it is necessary that the pieces of function g(x) are equal in points of discontinuity.
The points of discontinuity are the x = -2 and x = 3. Then:
{ax+2b=x2+3a−b,x=−2x2+3a−b=3x−5,x=3 ⟹ {−2a+2b=4+3a−b,9+3a−b=9−5 ⟹ {3b=4+5a,3a−b=−5⟹
{b=34+5a,b=3a+5 ⟹ 34+5a=3a+5
4+5a=9a+15⟹a=−411 ⟹b=3∗(−411)+5=−413
Therefore, g(x) is continuous when a=−411,b=−413
Comments