Doug C. answered 09/17/24
Math Tutor with Reputation to make difficult concepts understandable
Sometimes students are confused by the fact that the function definition contains the letter x and then they are asked to evaluate the function at an expression that also contains the letter x.
Try visualizing the function definition with empty parentheses, like this:
h() = ()2 - 6() + 2.
The input to the function goes wherever there are empty parentheses.
So to find h(-2x):
h(-2x) = (-2x)2 - 6(-2x) + 2
= 4x2 +12x + 2
Suppose you are asked to find h(x + k).
h(x + k) = (x+k)2 - 6(x + k) + 2
= x2 +2kx + k2 - 6x -6k + 2
And of course the input can be a number:
h(3) = (3)2 - 6(3) + 2
= 9 - 18 +2
= -7