Michael H. answered 11/16/19
High School Math, Physics, Computer Science & SAT/GRE/AP/PRAXIS Prep
There is more than one answer to this problem:
g(x) = -x2 and g(x) = (x -3)2
Here's how to proceed. Assume that, for some value of a, b, and c, that g(x) = ax2 + bx + c.
Then
h(x) = (f°g)(x) = f( g(x) ) = f( ax2 + bx + c )
= a2x4 + 2abx3 + [a(c+3) + b2 + ac] x2 + (2bc +3b)x + [c(c+3) +2]
Remember that we are given that
h(x) = x4 + 0 x3 + -3 x2 + 0 x + 2
Since this is true for all x, then the coefficients of like powers of x must agree:
a2 = 1 implies that a = 1 or -1
2ab = 0 implies that b = 0
a(c+3) + b2 + ac = 3 (This is called the middle term. More about this later)
2bc + 3b = 0 (no new info since we know that b=0)
c(c+3) + 2 = 2 implies that c = 0 or -3
Let us take each possibility and compute the middle term:
a c a(c+3) + b2 + ac
=== === ==================
1 0 +3
-1 0 -3
1 +3 -3
-1 -3 +3
Thus, we can now say:
g(x) = -x2
g(x) = x2 - 3