Menu

A Sum as Input

Part of the Functions & Transformations section of Coddy's Algebra 2 journey. Lesson 5 of 55.

Here the input k−1k-1 goes into g(x)=x2+2xg\left(x\right) = {x}^{2}+2x. Each x becomes (k−1)\left(k-1\right), in brackets.

  • g(k−1)=(k−1)2+2(k−1)g\left(k-1\right) = {\left(k-1\right)}^{2}+2\left(k-1\right).
  • Multiply out: k2−2k+1+2k−2{k}^{2}-2k+1+2k-2.
  • Add the like terms, the ones with the same power of k: k2−1{k}^{2}-1.

So an expression works as an input, like a number. Watch the square: (k−1)2{\left(k-1\right)}^{2} has a middle term, -2k. You find the rule of the moved curve y=f(x−3)y = f\left(x-3\right) the same way.

challenge icon

Challenge

For f(x)=x2−5xf\left(x\right) = {x}^{2}-5x, write f(a+2)f\left(a+2\right) without brackets. Multiply out and add the like terms.

Try it yourself

f(a+2)f\left(a+2\right)

Expand: multiply everything out

Givenf(x)=x2−5xf\left(x\right) = x^{2}-5x

All lessons in Functions & Transformations