309,174 views
20 votes
20 votes
Express your answer as a polynomial in standard form. f(x) = x^2 + 5x + 12 g(x) = -x+5 Find: f(g(x))

User Timothy Shields
by
3.0k points

1 Answer

17 votes
17 votes

Given


\begin{gathered} f(x)=x^2+5x+12 \\ g(x)=-x+5 \end{gathered}

You have to calculate f(g(x))

You have to calculate the composite of the functions, this means, replace g(x) into f(x)


\begin{gathered} f(x)=x^2+5x+12 \\ f(g(x))=(g(x))^2+5g(x)+12 \\ f(g(x))=(-x+5)^2+5(-x+5)+12 \end{gathered}

Once you replaced g(x) into f(x) you can solve the polynomial

The first step is to solve the terms in parentheses, to make it easier I'll solve them separatelly and then put the results together.

1) To solve the binomial square, you have to apply the distributive property of multiplications


\begin{gathered} (-x+5)^2=(-x+5)(-x+5) \\ (-x)(-x)+(-x)(5)+5(-x)+(5)(5) \\ x^2-5x-5x+25 \\ x^2-10x+25 \end{gathered}

2) To solve the multiplication of the parentheses term by multiplying each term by 5


\begin{gathered} 5(-x+5) \\ 5\cdot(-x)+5\cdot5 \\ -5x+25 \end{gathered}

Now put the results together and order the like terms together


\begin{gathered} f(g(x))=(x^2-10x+25)+(-5x+25)+12 \\ f(g(x))=x^2-10x-5x+25+25+12 \\ f(g(x))=x^2-15x+62 \end{gathered}

The result of the combination is


f(g(x))=x^2-15x+62

User Hbrerkere
by
2.6k points