To evaluate g(x) when g(4) + g(-1), we need to first find g(4) and g(-1) separately.
- g(x) = x^2 + 2x
- g(4) = 4^2 + 2(4) = 16 + 8 = 24
- g(-1) = (-1)^2 + 2(-1) = 1 - 2 = -1
- Now that we have g(4) and g(-1), we can find g(4) + g(-1):
- g(4) + g(-1) = 24 + (-1) = 23
Therefore, g(4) + g(-1) = 23.