Substituting Expressions

In addition to substituting numbers and other variables into a function, you can substitute entire expressions such as a+b, x2 or 3x into a function

To do this, you replace all instances of x with the expression, then simplify. See the examples using f(x) = 3x + 2 below for a demonstration.

Example 1: If f(x) = 3x + 2 then:

  1. f(a) = 3a + 2
  2. f(a+b) = 3•(a+b) + 2
                = 3a + 3b + 2
  3. f(x2) = 3•(x2) + 2
            = 3x2 + 2
  4. f(3x) = 3•(3x) + 2
              = 9x + 2

Example 2: If f(x) = x2 - 3x then:

  1. f(a) = (a)2 - 3•(a) = a2 - 3a
  2. f(a+b) = (a+b)2 - 3•(a+b)
                = a2 + 2ab +b2 - 3a -3b
  3. f(x2) = (x2)2 - 3•(x2)
            = 3x4 + 2
  4. f(3x) = (3x)2- 3•(3x)
              = 9x2 - 9x

Previous Page         Next Page