Grade by Grade
D. Characteristics of Functions · Combining Functions and Modelling

Products of Functions

D2.1About 70 minutes
Learning goals
  • I can find the product f · g of two functions from equations, tables and graphs.
  • I can use the zeros and signs of each factor to sketch the graph of a product.
  • I can state the domain of a product and find its range, maximum and minimum points and number of zeros.
  • I can use one factor as an envelope to describe a product such as y = x sin x.

Words to know

product of functions
The function (fg)(x) = f(x) · g(x). At each x, multiply the two outputs.
sign chart
A number line split at the zeros of the factors, showing whether each factor (and the product) is positive or negative on each interval.
envelope
A pair of curves that a graph stays between, touching them at some points. For y = x sin x the envelope is y = x and y = −x.
double zero
A zero that comes from a squared factor, like (x − 1)². The graph touches the x-axis there without crossing.

Price times quantity

A school sells tickets to a winter hockey tournament. If it raises the price, fewer people buy tickets. The money it takes in, the revenue, is

revenue = (price per ticket) × (number of tickets sold).

Both the price and the number sold depend on the same decision, so the revenue is the product of two functions. In the sibling unit Polynomial Functions and Equations you met polynomials in factored form like (x + 3)(x − 1)(x − 4). Each of those is already a product of simple functions. In this lesson you will multiply any two functions and predict the graph from the pieces.

Multiplying functions

The product of f and g is

(fg)(x) = f(x) · g(x)

and its domain is again the intersection of the domains of f and g.

Four facts make products easy to sketch:

  1. Zeros: the product is 0 exactly where f(x) = 0 or g(x) = 0 (as long as both are defined there).
  2. Signs: the product is positive where f and g have the same sign, and negative where their signs are different.
  3. Where one factor is 1, the product equals the other factor. Where one factor is −1, the product is the opposite of the other factor.
  4. Polynomials: the degree of the product is the sum of the degrees (a line times a line is a quadratic; a line times a quadratic is a cubic).
-3-2-11234-4-3-2-11234567xy(3, 4)(0.5, −2.25)f(x) = x + 1g(x) = x − 2(fg)(x) = (x + 1)(x − 2)Zeros of fg: the zeros off (x = −1) and of g (x = 2).Between them, f > 0 andg < 0, so fg < 0.g(3) = 1, so (fg)(3) = f(3) = 4.
The product of the two lines is a parabola. Its zeros come from the zeros of the factors, it is negative only between them, and it meets f at x = 3, where g(3) = 1.
Worked example

Example 1: A product of two lines

Let f(x) = x + 1 and g(x) = x − 2. Find (fg)(x), make a sign chart, and state the key features.

  1. Multiply: (fg)(x) = (x + 1)(x − 2) = x² − x − 2.
  2. Zeros: f(x) = 0 at x = −1 and g(x) = 0 at x = 2. So fg has two zeros, x = −1 and x = 2.
  3. Sign chart. For x < −1: f < 0 and g < 0, so fg > 0. For −1 < x < 2: f > 0 and g < 0, so fg < 0. For x > 2: f > 0 and g > 0, so fg > 0.
  4. The vertex is halfway between the zeros: x = (−1 + 2)/2 = 0.5, and (fg)(0.5) = (1.5)(−1.5) = −2.25.
  5. Domain: ℝ. Range: y ≥ −2.25.

(fg)(x) = x² − x − 2: zeros −1 and 2, minimum point (0.5, −2.25), range y ≥ −2.25, negative only on −1 < x < 2.

Intervalx < −1−1 < x < 2x > 2
f(x) = x + 1−++
g(x) = x − 2−−+
(fg)(x)+−+
Sign chart for Example 1. The product's sign comes from multiplying the signs in each column.
Worked example

Example 2: A line times a square

Let f(x) = x + 2 and g(x) = (x − 1)². Sketch y = (fg)(x) and state its zeros, y-intercept and end behaviour.

  1. Zeros: x = −2 (from f) and x = 1 (from g). Because (x − 1)² is a square, x = 1 is a double zero.
  2. Signs: (x − 1)² ≥ 0 everywhere, so the product has the same sign as x + 2, except at x = 1 where it is 0. It is negative for x < −2 and positive for x > −2 (x ≠ 1).
  3. So the graph crosses the x-axis at x = −2 and only touches it at x = 1.
  4. y-intercept: (0 + 2)(0 − 1)² = 2.
  5. Degree 1 + 2 = 3 with positive leading coefficient, so as x → −∞, y → −∞ and as x → ∞, y → ∞.

A cubic that rises from the lower left, crosses at (−2, 0), passes through (0, 2), turns down to touch the axis at (1, 0), and rises to the upper right.

Products with a trigonometric factor: envelopes

What does y = x sin x look like? Since −1 ≤ sin x ≤ 1, multiplying by x gives

−|x| ≤ x sin x ≤ |x|.

So the graph is trapped between the lines y = x and y = −x. These lines are the envelope. The graph touches the envelope where sin x = ±1 (x = π/2, 3π/2, ...), and it has a zero wherever x = 0 or sin x = 0, that is at every multiple of π. The wiggles get taller as you move away from the origin because the factor x gets bigger.

In the lesson Real-World Combinations: Damped Motion, Tones and Profit you will use an exponential envelope that shrinks, which models a pendulum slowly coming to rest.

−2π−ππ2π-6-4-2246xyy = xy = −xy = x sin x
y = x sin x (solid) oscillates between the envelope lines y = x and y = −x (dashed). The dots mark where it touches the envelope, at x = ±π/2 and ±3π/2.
Worked example

Example 3: Key features of y = x sin x on −2π ≤ x ≤ 2π

State the domain, the zeros and the y-values at x = π/2 and x = −π/2 for h(x) = x sin x, −2π ≤ x ≤ 2π.

  1. Domain: given as −2π ≤ x ≤ 2π (both factors are defined everywhere).
  2. Zeros: x = 0 (from the factor x) and sin x = 0 at x = −2π, −π, 0, π, 2π. So there are five zeros: −2π, −π, 0, π, 2π. (x = 0 is a zero of both factors, so the graph only touches the axis there.)
  3. h(π/2) = (π/2)(1) = π/2 ≈ 1.57.
  4. h(−π/2) = (−π/2)(−1) = π/2 ≈ 1.57. Same value: this is no accident (see the lesson Properties of Combined Functions).

Five zeros on this interval; h(±π/2) = π/2. Both points lie on the envelope, h(π/2) on y = x and h(−π/2) on y = −x.

Domains of products with roots

The product √x · √(4 − x) needs both roots to exist, so 0 ≤ x ≤ 4. On that interval you may combine the roots: √x · √(4 − x) = √(4x − x²). Squaring y = √(4x − x²) gives y² = 4x − x², or (x − 2)² + y² = 4: a circle of radius 2 with centre (2, 0). Since y ≥ 0, the product is the top half of that circle.

123412xy(2, 2)f(x) = √xg(x) = √(4 − x)(fg)(x) = √x · √(4 − x)Domain: 0 ≤ x ≤ 4Range: 0 ≤ y ≤ 2The product is the top halfof a circle of radius 2.
√x (dashed) times √(4 − x) (dotted) gives the top half of a circle (solid). The product exists only where both factors exist, 0 ≤ x ≤ 4.

Careful: combining roots can change the domain

√(x − 1) · √(x − 3) needs x ≥ 1 and x ≥ 3, so its domain is x ≥ 3. But √((x − 1)(x − 3)) is defined whenever the product inside is ≥ 0, which is x ≤ 1 or x ≥ 3. They agree only on x ≥ 3. Find the domain from the original factors.

Just for fun

Riddle: why do two negative functions get along so well?

Wherever they are both down, their product is up.

Hands-on activity

A rectangle made of string

You need: a piece of string (or a shoelace) exactly 24 cm long, a ruler, a pencil and paper.

  1. Tie or tape the ends of the string together to make a loop with perimeter 24 cm.
  2. Stretch it into a rectangle on the table with width x = 1 cm. The length is then 12 − x = 11 cm. Record the area x(12 − x).
  3. Repeat for x = 2, 3, ..., 11. Make a table with columns x, 12 − x, and A = x(12 − x).
  4. Plot the two factors, w(x) = x and l(x) = 12 − x, and the product A(x), on one set of axes.

What to look for: the areas are 11, 20, 27, 32, 35, 36, 35, 32, 27, 20, 11 cm². The product of an increasing line and a decreasing line is a parabola opening down, with zeros at x = 0 and x = 12 (the zeros of the factors) and its maximum, 36 cm², at x = 6, where the rectangle is a square. The two lines cross at x = 6 too: the largest area happens when the factors are equal.

Your turn

1

f(x) = 2x − 1 and g(x) = x + 3. Find (fg)(x) and its zeros.

2

Make a sign chart for (fg)(x) in the previous question.

3

f(x) = x and g(x) = x² − 9. State the degree and zeros of fg and its end behaviour.

4

f(x) = √(x + 1) and g(x) = log x. State the domain of fg.

5

Between which two lines does y = 3 sin x · x lie? Where does it touch the upper line for x > 0?

6

g(4) = 1 and f(4) = 7. Find (fg)(4) without any equations.

More practice: warm-up

1

f(x) = x and g(x) = x − 5. Find (fg)(x).

2

f(2) = −3 and g(2) = 4. Find (fg)(2).

3

What is the degree of the product of a quadratic and a cubic?

4

If f(x) < 0 and g(x) < 0 at x = 1, is (fg)(1) positive or negative?

5

Name the zeros of y = (x − 4)(x + 7).

More practice: on your own

1

f(x) = x² and g(x) = x − 3. Sketch fg and explain what happens at x = 0.

2

Find the domain and range of y = √x · √(16 − x).

3

f(x) = 2ˣ and g(x) = x − 1. Where is fg negative? How many zeros does it have?

4

A ticket costs p(x) = 10 + x dollars and n(x) = 300 − 20x tickets are sold, where x is the number of $1 price increases. Find the revenue function and the price that gives the most revenue.

5

Use a table with x = 0, 1, 2, 3, 4 to describe y = x(0.5)ˣ for x ≥ 0.

Challenge

1

Estimate the maximum of y = x(0.5)ˣ, x ≥ 0, to two decimal places, using a table with step 0.1 near x = 1.5.

2

Find two different functions f and g, neither of them constant, whose product is (fg)(x) = x² − 1 with domain x ≥ 1 only.

3

For y = x² sin x on −2π ≤ x ≤ 2π, state the envelope, the zeros, and explain why the graph is flatter near the origin than y = x sin x.

Check your understanding

Quiz

1.

Which x-values are zeros of (fg)(x) if f(x) = x − 3 and g(x) = x² + 1?

2.

f(x) > 0 and g(x) < 0 on the interval 2 < x < 5. What is true of fg on that interval?

3.

What is the degree of (fg)(x) if f is a cubic and g is a linear function?

4.

Between which lines does the graph of y = x cos x lie?

5.

What is the domain of y = √(x − 2) · √(7 − x)?

6.

At x = 6, g(6) = 1. Which statement must be true?

For parents and teachers

Big idea: products are the second part of D2.1. The tools are the zeros of the factors, a sign chart, and (for trigonometric factors) an envelope. The domain is still the intersection of the domains.

How to help: ask your teen to explain why the product is negative on an interval ("one factor is positive and the other is negative"). For y = x sin x, ask what the graph must look like at x = π/2 and why.

Common difficulties:

  • Multiplying the graphs' x-values or adding the y-values instead of multiplying the y-values.
  • Missing that a squared factor gives a double zero (touch, not cross).
  • Combining √a · √b into √(ab) before finding the domain.
  • Expecting the envelope lines to be asymptotes: the graph touches them over and over.

In the Challenge, the second question has many correct answers; check that the product simplifies to x² − 1 and that the domain is exactly x ≥ 1.