Answer: 16
======================================================
Step-by-step explanation:
This is a piecewise function. As the name implies, the g(x) is broken up into 3 pieces. Each piece depends on what the input x is.
If x is between
and
, excluding both endpoints, then we pick the first piece. So in this case,
![g(x) = x^2-5](https://img.qammunity.org/2022/formulas/mathematics/high-school/a0agu9lowpfq4yjm4rxrk5hm6kg4ejkoa6.png)
Or if
, then we go for the second piece and
![g(x) = 9x-17](https://img.qammunity.org/2022/formulas/mathematics/high-school/au4ymvxm5i5z3wkfwbnw3jkl7rg9191ee6.png)
Lastly, if x is between
and
, then we go for the last piece and say
![g(x) = (x+1)(x-5)](https://img.qammunity.org/2022/formulas/mathematics/high-school/j69spfmjmj1pwr8fbf62usoh3qtjvh0iwf.png)
------------------
To paraphrase that last section, we have g(x) defined as having a split personality or multiple identities depending on what x is.
- If x is between negative infinity and -7 (exclusive), then g(x) = x^2-5
- If x is between -7 and 2, then g(x) = 9x-17
- If x is between 2 and infinity, then g(x) = (x+1)(x-5)
------------------
The question is: which piece do we pick?
Well, g(7) means that x = 7 for g(x). We'll pick the third piece because 7 is between 2 and infinity. In other words, x = 7 makes
a true inequality.
So,
![g(x) = (x+1)(x-5) \ \text{ when } x > 2\\\\g(7) = (7+1)(7-5) \ \text{ replace every x with 7}\\\\g(7) = (8)(2)\\\\g(7) = 16\\\\](https://img.qammunity.org/2022/formulas/mathematics/high-school/isfjjfhxhvpmu23sujcz9yypofj63sdhvj.png)