Return to the Purplemath home page

 


powered by FreeFind

 

Print-friendly page

 

 

Operations on Functions

You can add, subtract, multiply, and divide numbers. You can add, subtract, multiply, and divide polynomials. You can also add, subtract, multiply, and divide functions. And performing these operations on functions is no more complicated than the notation itself. For instance, when they give you the formulas for two functions and tell you to find the sum, all they're telling you to do is add the two formulas. There's nothing more to this topic than that, other than perhaps some simplification of the expressions involved.

  • Given f(x) = 3x + 2 and g(x) = 4 – 5x,
      
    find
    (f + g)(x), (fg)(x), (f×g)(x), and (f / g)(x).
  • To find the answers, all I have to do is apply the operations (plus, minus, times, and divide) that they tell me to, in the order they tell me to.

      (f + g)(x) = f(x) + g(x) = [3x + 2] + [4 – 5x] = 3x – 5x + 2 + 4 = –2x + 6

      (fg)(x) = f(x) – g(x) = [3x + 2] – [4 – 5x] = 3x + 5x + 2 – 4 = 8x – 2

      (f×g)(x) = [f(x)][g(x)] = (3x + 2)(4 – 5x) = 12x + 8 – 15x2 – 10x = –15x2 + 2x + 8

      (f/g)(x) = [f(x)]/[g(x)] = [3x + 2]/[4 - 5x]

  • Given f(x) = 2x, g(x) = x + 4, and h(x) = 5 – x3,
      
    find
    (f + g)(2), (hg)(2), (f × h)(2), and (h / g)(2).
  • To find the answers, I can either work symbolically (like in the previous example) and then evaluate, or I can find the values of the functions at x = 2 and then work from there. It's probably simpler to evaluate first, so:

      f(2) = 2(2) = 4

      g(2) = (2) + 4 = 6

      h(2) = 5 – (2)3 = 5 – 8 = –3

    Now I can evaluate the listed expressions:

      (f + g)(2) = f(2) + g(2) = 4 + 6 = 10

      (hg)(2) = h(2) – g(2) = –3 – 6 = –9

      (f × h)(2) = f(2) × h(2) = (4)(–3) ;= –12

      (h / g)(2) = h(2) ÷ g(2) = –3 ÷ 6 = –0.5

If you work symbolically first, and plug in the x-value only at the end, you'll still get the same results. Either way will work. Evaluating first is usually easier, but the choice is up to you.

  • Given f(x) = 3x2x + 4, find the simplified form of the following expression, and evaluate at h = 0:
       
        [f(x + h) - f(x)] / h 
      Copyright © Elizabeth Stapel 2006-2008 All Rights Reserved
  • This isn't really a functions-operations question, but something like this often arises in the functions-operations context. The simplest way for me to proceed with this exercise is to work in pieces, simplifying as I go; then I'll put everything together and simplify at the end.

      f(x + h) = 3(x + h)2 – (x + h) + 4
                   = 3(x2 + 2xh + h2) – xh + 4

                   = 3x2 + 6xh + 3h2xh + 4

      f(x) = 3x2x + 4

      f(x + h) – f(x) = [3x2 + 6xh + 3h22xh + 4] – [3x2x + 4]  
                             = 3x2 – 3x2 + 6xh + 3h2x + xh + 4 – 4
       
                             = 6xh + 3h2h
       

      (6xh + 3h^2 - h) / h = 6x + 3h - 1

    Now I'm supposed to evaluate at h = 0, so:

      6x + 3(0) – 1 = 6x – 1

      Simplified form:  6x + 3h – 1

      Value at h = 0:  6x – 1

That's pretty much all there is to "operations on functions", until you get to function composition. Don't let the notation for this topic worry you: it means exactly what it says: add, subtract, multiply, or divide; then simplify and evaluate as necessary. Don't overthink this. It really is this simple.

Oh, and that last example? They put that in there so you can "practice" stuff you'll be doing in calculus. You likely won't remember this by the time you get to calculus, but you'll follow a very similar process for finding something called "derivatives".

Top  |  Return to Index

Cite this article as:

Stapel, Elizabeth. "Operations on Functions." Purplemath. Available from
    http://www.purplemath.com/modules/fcnops.htm. Accessed
 

 

Lessons index

Lessons CD




Purplemath:
  Linking to this site
  Printing pages
  Donating
  School licensing


Reviews of
Internet Sites:
   Free Help
   Practice
   Et Cetera

The "Homework
   Guidelines"

Study Skills Survey

Tutoring ($$)


This lesson may be printed out for your personal use.

Content copyright protected by Copyscape website plagiarism search
  

  Copyright © 2006-2008  Elizabeth Stapel   |   About   |   Terms of Use

 

 Feedback   |   Error?