If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## Algebra (all content)

### Unit 7: Lesson 14

Combining functions

# Multiplying and dividing functions

See how we can multiply or divide two functions to create a new function.
Just like we can multiply and divide numbers, we can multiply and divide functions. For example, if we had functions f and g, we could create two new functions: f, dot, g and start fraction, f, divided by, g, end fraction .

## Multiplying two functions

### Example

Let's look an example to see how this works.
Given that f, left parenthesis, x, right parenthesis, equals, 2, x, minus, 3 and g, left parenthesis, x, right parenthesis, equals, x, plus, 1, find left parenthesis, f, dot, g, right parenthesis, left parenthesis, x, right parenthesis.

### Solution

The most difficult part of combining functions is understanding the notation. What does left parenthesis, f, dot, g, right parenthesis, left parenthesis, x, right parenthesis mean?
Well, left parenthesis, f, dot, g, right parenthesis, left parenthesis, x, right parenthesis just means to find the product of f, left parenthesis, x, right parenthesis and g, left parenthesis, x, right parenthesis. Mathematically, this means that left parenthesis, f, dot, g, right parenthesis, left parenthesis, x, right parenthesis, equals, f, left parenthesis, x, right parenthesis, dot, g, left parenthesis, x, right parenthesis.
Now, this becomes a familiar problem.
\begin{aligned} (f\cdot g)(x) &= f(x)\cdot g(x)&\gray{\text{Define.}} \\\\ &= \left(2x-3\right)\cdot\left(x+1\right) &\gray{\text{Substitute.}} \\\\ &= 2x^2+2x-3x-3&\gray{\text{Distribute.}} \\\\ &=2x^2-x-3&\gray{\text{Combine like terms.}} \end{aligned}
Note: We simplified the result to obtain a nicer expression, but this is not necessary.

## Let's try some practice problems.

Problem 1
\begin{aligned} &c(y)=3y-4 \\\\ &d(y)=3-2y \end{aligned}
Find left parenthesis, c, dot, d, right parenthesis, left parenthesis, y, right parenthesis.

Problem 2
\begin{aligned} &m(x)=x^2-3x \\\\ &n(x)=x-5 \end{aligned}
Evaluate left parenthesis, m, dot, n, right parenthesis, left parenthesis, minus, 1, right parenthesis.

## Dividing two functions

Dividing two functions works in a similar way. Here's an example.

### Example

h, left parenthesis, n, right parenthesis, equals, 2, n, minus, 1 and j, left parenthesis, n, right parenthesis, equals, n, plus, 3.
Let's find left parenthesis, start fraction, j, divided by, h, end fraction, right parenthesis, left parenthesis, n, right parenthesis.

### Solution

By definition, left parenthesis, start fraction, j, divided by, h, end fraction, right parenthesis, left parenthesis, n, right parenthesis, equals, start fraction, j, left parenthesis, n, right parenthesis, divided by, h, left parenthesis, n, right parenthesis, end fraction.
We can now solve the problem.
\begin{aligned} \left(\dfrac{j}{h}\right)(n)&=\dfrac{j(n)}{h(n)}&\gray{\text{Define.}} \\\\ &= \dfrac{n+3}{2n-1}&\gray{\text{Substitute. }} \end{aligned}
1. This function is simplified in its current form.
2. The input n, equals, start fraction, 1, divided by, 2, end fraction is not a valid input for this function. This is because 2, n, minus, 1, equals, 0 at n, equals, start fraction, 1, divided by, 2, end fraction, and division by 0 is undefined.

## Let's try some practice problems

Problem 3
\begin{aligned} &g(t)=t^2-4 \\\\ &h(t)=t+8 \end{aligned}
Find left parenthesis, start fraction, g, divided by, h, end fraction, right parenthesis, left parenthesis, t, right parenthesis.

Problem 4
\begin{aligned} &p(r)=5r-2 \\\\ &q(r)=r+2 \end{aligned}
Evaluate left parenthesis, start fraction, p, divided by, q, end fraction, right parenthesis, left parenthesis, 4, right parenthesis.

Problem 5
\begin{aligned} &f(x)=x+4 \\\\ &g(x)=x-3 \end{aligned}
For which value of x is left parenthesis, start fraction, f, divided by, g, end fraction, right parenthesis, left parenthesis, x, right parenthesis undefined?

## An application

The distance and time that Jordan runs each day depends on the number of hours, h, that she works. The distance, D, in miles, and time, T, in minutes, that she runs are given by the functions D, left parenthesis, h, right parenthesis, equals, minus, 0, point, 5, h, plus, 8, point, 5 and T, left parenthesis, h, right parenthesis, equals, minus, 6, h, plus, 90, respectively.
Let function S represent the average speed at which Jordan runs on a day in which she works h hours.
Problem 6
Which of the following correctly defines function S?