# Precalculus: Functions

### Operations of Functions

Functions behave exactly as one would expect with regard to the four basic operations of algebra (addition, subtraction, multiplication, and division). When functions are combined by these operations, though, the domain of the new combined function is only the elements that were shared by the domains of the original functions. Below are the formulas for combining functions.

• The sum of two functions, f and g : (f + g)(x) = f (x) + g(x) .
• The difference of two functions f and g : (f - g)(x) = f (x) - g(x) .
• The product of two functions f and g : (fg)(x) = f (xg(x) .
• The quotient of two functions f and g : ()(x) = . If g(x) = 0 , the quotient is undefined.

There is one more way that functions can be combined. The fifth operation is called the composition of two functions. The composition of the functions f (x) and g(x) is symbolized this way: (f o g)(x) . It is equivalent to f (g(x)) . It is read " f of g of x ." The concept is simple. First, the value of g at x is taken, and then the value of f at that value is taken. Let's try an example to clear things up.

Let f (x) = 3xandg(x) = x + 3 . What is (f o g)(x) ? (f o g)(x) = f (g(x)) = 3(x + 3) = 3x + 9 . (g o f )(x) = g(f (x)) = 3x + 3 .

Now suppose that f is a one-to-one function, so that its inverse f -1 is a function. What is f o f -1 ? Of course, (f o f -1)(x) = f (f -1(x)) . Now, f -1(x) is defined to be the unique element that f takes to x . It follows immediately that f (f -1(x)) = x . Similarly, f -1(f (x)) = x . Thus f o f -1 and f -1 o f are both the identity function; that is, the function that takes any value of the independent variable x to itself.

## Take a Study Break

### Star Trek gets SEXY

Chris Pine and Zoe Saldana heat up the red carpet!

### Are you afraid of relationships?

Auntie SparkNotes can help!

### Wanna get JLaw's gorgeous glow?

Click here for simple, sexy makeup tricks!

### Sexy starlet style

See every single look from the Met Gala!

### Who'd be on your zombie-apocalypse crew?

We already dib'sed Genghis Khan.

### Geeky Actors: Then and Now

Travel back in time!

### Villains We Want These Actresses to Play

From super cute to super bad!

### 10 Movies Better Than Their Books

What do you think?

### How To Look Like J-Law...

When you don't look like J-Law.

### 12 Scientific Inaccuracies in Into Darkness

What did Star Trek get wrong?

## The Book

### Read What You Love, Anywhere You Like

Get Our FREE NOOK Reading Apps