59.0k views
2 votes
Given that f ( x ) = x 2 + 4 x and g ( x ) = x − 7 , calculate (a) ( f ∘ g ) ( x ) = , (b) ( g ∘ f ) ( x ) = , (c) ( f ∘ f ) ( x ) = , (d) ( g ∘ g ) ( x ) =

Given that f ( x ) = x 2 + 4 x and g ( x ) = x − 7 , calculate (a) ( f ∘ g ) ( x ) = , (b-example-1
User Peauters
by
3.8k points

1 Answer

6 votes

a)

The composite function f of g is defined as:


(f\circ g)(x)=f(g(x))

This means that we need to plug function g(x) instead of x in the expression for f(x). Then we have:


\begin{gathered} (f\circ g)(x)=f(g(x)) \\ =f\mleft(x-7\mright) \\ =(x-7)\placeholder{⬚}^2+4(x-7) \\ =x^2-14x+49+4x-28 \\ =x^2-10x+21 \end{gathered}

Therefore:


(f\circ g)(x)=x^2-10x+21

b)

In this case we are looking for the function:


(g\circ f)(x)=g(f(x))

Which means that we need to plug f(x) instead of x in the expression for g(x). With this in mind we have:


\begin{gathered} (g\circ f)(x)=g(f(x)) \\ =g(x^2+4x) \\ =x^2+4x-7 \end{gathered}

Therefore:


(g\circ f)(x)=x^2+4x-7

c)

Following similar steps as the previous questions we have:


\begin{gathered} (f\circ f)(x)=f(f(x)) \\ =f(x^2+4x) \\ =(x^2+4x)\placeholder{⬚}^2+4(x^2+4x) \\ =x^4+8x^3+16x^2+4x^2+16x \\ =x^4+8x^3+20x^2+16x \end{gathered}

Therefore:


(f\circ f)(x)=x^4+8x^3+20x^2+16x

d)

In this case we have:


\begin{gathered} (g\circ g)(x)=g(g(x)) \\ =g(x-7) \\ =x-7-7 \\ =x-14 \end{gathered}

Therefore:


(g\circ g)(x)=x-14

User Vasco
by
4.4k points