1.4 Functions as Objects

Checkpoint 2

For each of the following functions, decide whether the function is even, odd, or neither. For each case, give an example of appropriate functions f and g, and check that your answer is right for your example.

  1. f(x)+g(x), where f and g are both even

  2. f(x)g(x), where f and g are both odd

  3. f(x)+g(x), where f is even and g is odd

  4. f(x)g(x), where f is even and g is odd