179k views
5 votes
Hey i need help with understanding how to do this

Hey i need help with understanding how to do this-example-1

1 Answer

2 votes

Given the functions


\begin{gathered} g(n)\text{ = 2n-4} \\ \text{and} \\ h(n)=n^2\text{ +1-n} \end{gathered}

Required: (g ° h)(n)

solution:


\begin{gathered} (g\text{ }\circ\text{ h)(n) is expressed as }g(h(n)). \\ thus, \\ (g\text{ }\circ\text{ h)(n) = }g(h(n))\text{ } \end{gathered}

g(h(n)) is evaluated by substituting the h(n) function into the g(n) function.

Thus,


\begin{gathered} g(h(n))\text{ = g(}n^2\text{ +1-n)} \\ \Rightarrow2(n^2\text{ +1-n})-4 \\ \text{open brackets} \\ 2n^2+2-2n-4 \\ \text{collect like terms} \\ 2n^2-2n+2-4 \\ \Rightarrow g(h(n))=2n^2-2n-2 \\ \end{gathered}

Hence, the function (g ° h)(n) is evaluated to be


2n^2-2n-2

User Tomasz Madeyski
by
8.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories