8
8.1 Combining Linear Functions
Quadratic Functions
and Equations
8.1 Combining Linear Functions
Learning Outcomes
After studying this
section, you will be
able to:
Add, subtract,
compose, and multiply
two linear functions
Explain what a
quadratic function is
Describe how quadratic
functions are related to
linear functions
Put any quadratic
function into a
standard form.
Earlier in MATH Connections you worked a lot with
linear functions. Do you remember what they are? Let us
help you out:
A Phrase to Know: A linear function is a function that
can be put in the form f(x) 5 ax 1 b, where a and b
are specific real numbers (constants).
Linear functions are used to describe many situations.
They are useful because they are easy to work with and
their graphs are simple straight lines. When different parts
of a situation are described by linear functions, combining
them in one way or another can lead to simpler, more
useful formulas. Here are some examples.
Francine has a part-time office job that pays her $12
an hour. It costs her $2 per day to ride the bus to and
from work. Before she goes to work each day, she has
to drop off her daughter Gloria at day care. Day care
costs $3 an hour, and it takes Francine half an hour to
get to work from the day care center (and half an hour
to get back).
8.1
Chapter 8
615
8.1 Combining Linear Functions
Quadratic Functions and Equations
1.If Francine works 5 hours on Monday, how much will
Gloria’s day care cost? How much money will Francine
make on Monday before she pays for day care? After she
pays for day care?
2.If Francine only works 3 hours on Tuesday, how much
will Gloria’s day care cost? How much money will
Francine make on Tuesday before she pays for day care?
After she pays for day care?
3.Write a linear function (call it g) for how much Gloria’s
day care costs if Francine works x hours on Wednesday.
Put it in the form g(x) 5 ax 1 b.
4.Write a linear function (call it f) for how much money
Francine will make before paying for day care if she
works x hours on Wednesday. Put it in the form
f(x) 5 cx 1 d.
5.Combine these two functions to get a single function
(call it h) for how much money Francine will make after
paying for day care if she works x hours on Wednesday.
Is the result a linear function? How can you tell?
6.Use your formula from part 5 to compute how much
Francine makes after paying for day care if she works
8 hours.
8.2
A construction company needs to move a small bulldozer to
various job locations during a week. They rent a truck and a
trailer to do it.
1. The truck rental costs $150 for the week, plus $0.40 per
mile. Write a linear function f for the total cost of renting
this truck for x miles. Use it to calculate the cost for
90 miles and for 230 miles.
2. The trailer rental costs $75 for the week, plus $0.25 per
mile. Write a linear function g for the total cost of
renting this trailer for x miles. Use it to calculate the
cost for 90 miles and for 230 miles.
3. Add the functions f and g to form a single cost function,
f 1 g, for moving this bulldozer. Write your answer
in ax 1 b form. Then use it to calculate the cost for
90 miles and for 230 miles. Do your answers for these
mileages agree with the sums of your answers in parts
1 and 2? (They should.)
616
MATH Connections Year 1
Quadratic Functions and Equations
8.1 Combining Linear Functions
As you can see from these questions, to add two functions,
you just add the two images for each domain element. To do
that more efficiently, you can write a single formula for the
sum by adding the two algebraic expressions for the functions.
The same kind of thing works for subtraction. In symbols,
this is what we have just said:
The sum f 1 g of two functions f and g is the function
defined by
(f 1 g)(x) 5 f(x) 1 g(x)
for every domain element x. The difference f 2 g is the
function defined by
(f 2 g)(x) 5 f(x) 2 g(x)
for every domain element x.
f(x) 5 2x 1 5 and g(x) 5 3x 2 1 are two linear functions.
Write the functions f 1 g, f 2 g, and g 2 f in the form
ax 1 b.
Is the sum of two linear functions always linear?
What about the difference? Give a persuasive argument
to justify your answers.
8.3
8.4
Were you able to convince yourself (and maybe someone
else) that the sum and difference of linear functions is always
linear? If not, did someone convince you? We hope so,
because it’s true.
Another way to put two linear functions together is by
composition. That is, you apply the second function to the
results of the first one. For instance, in Chapter 3 you found
this linear function for changing temperature measurement
from Fahrenheit degrees to Celsius degrees:
C(x) 5 _
5 x 2 ___
160
9
9
where x is a temperature in degrees Fahrenheit. You also
learned that a Kelvin temperature measurement can be found
from a Celsius measurement by adding 273.2. That is a linear
function, too. If we call it K, then
K(x) 5 x 1 273.2
Chapter 8
617
8.1 Combining Linear Functions
Quadratic Functions and Equations
for any Celsius temperature x. You can convert a temperature
from Fahrenheit to Kelvin in these two steps, or you can use the
composite function K 8 C that does it all at once, like this:
(K 8 C)(x) 5 K(C(x)) 5 (_
5 x 2 ___
160 ) 1 273.2
9
9
By combining the constant terms you get the standard linear
form, ax 1 b, for this composite function:
22,988
K(C(x)) 5 _
5 x 1 _____
9
90
For most purposes, this can be simplified and rounded to
K(C(x)) 5 0.556x 1 255.42
8.5
1. Calculate the Kelvin temperature for 72°F in two steps,
using the functions C and then K. Then calculate it again
using the composite function. Do your answers agree?
2. Water boils at 212°F. What is that in Celsius degrees?
What is it in Kelvins? Use the composite function to
calculate the answer in Kelvins. Does it agree with what
you think it should be?
3. f(x) 5 2x 1 5 and g(x) 5 3x 2 1 are two linear
functions. Write the composite functions f 8 g and g 8 f
in the form ax 1 b.
8.6
Justify the claim that the composite of two linear functions
is always linear.
Still another way to combine two linear functions is by
multiplying them together. You can find the product of the
images of two linear functions efficiently by making a single
product function, like this:
The product f ? g of two functions f and g is the function
defined by
(f ? g)(x) 5 f(x) ? g(x)
for every domain element x.
618
MATH Connections Year 1
Quadratic Functions and Equations
8.1 Combining Linear Functions
Suppose, for example, you are trying to make up plans for
a rectangular storage shed. The outside of this shed needs to
be three times as long as it is wide, and the walls will be 1 foot
thick all around. To figure out the usable floor space inside,
you need to multiply the inside width by the inside length.
Now, each of these dimensions depends on the outside width.
If you call the outside width x, then the inside width is x 2 2
(allowing for the wall thickness) and the inside length is 3x 2 2.
1. Find the amount of inside floor space (in square feet)
if the outside width is 10 feet. What if the outside
width is 15 feet?
8.7
2. Write a function A(x) that will tell you the inside floor
space for any outside width x. Then use it to check
your answers from part 1.
3. Write A as a linear function, in ax 1 b form, if
possible. If that is not possible, explain why not.
The answer to question 3 is important. Did you say that
it is not possible to write A as a linear function? If so, you’re
correct! But why? Let’s take a closer look. To find the area of a
rectangle, you multiply its length times its width, right? So the
area function in this case should be
(3x 2 2) ? (x 2 2)
The distributive law allows us to rewrite this as
(3x 2 2) ? x 2 (3x 2 2) ? 2
(Do you see why?) This looks a bit like a linear function, but
the coefficient of x is not a constant number; it’s an expression
that has a variable in it. To simplify it further, we can use the
distributive law again—twice—to get
3x ? x 2 2 ? x 2 3x ? 2 1 2 ? 2
By the laws of algebra you learned in Chapter 2, this area
function can be rewritten in a more compact form:
3x2 2 8x 1 4
The x2 term tells us that this cannot be a linear function. That
is, the product of two linear functions is not always a linear
function! We have a different kind of function here, a kind
that has a name of its own.
Chapter 8
619
8.1 Combining Linear Functions
Quadratic Functions and Equations
About Words
A Phrase to Know: A quadratic function is a function that
can be put in the form
The prefix quad- comes from
the Latin word for “four,” as
in quadrangle, quadruplet,
and quadruped (a four-footed
animal). The word quadratic
here reflects the connection
between these functions and
areas of rectangles, which are
four-sided polygons.
f(x) 5 ax2 1 bx 1 c,
where a, b, and c are specific real numbers and a is not 0.
8.8
1.f(x) 5 2x 1 5 and g(x) 5 3x 2 1 are two linear
functions. Write their product as a quadratic function
in the standard form ax2 1 bx 1 c.
2.Make up two linear functions in any way you choose.
Write their product as a quadratic function in the
standard form ax2 1 bx 1 c, if you can. If you cannot,
explain why it is not possible to do that.
8.9
Can the product of two linear functions ever be linear?
Justify your answer.
Multiplying two linear functions using the distributive laws
can be tedious. There is a quicker method, but before you use
it, you should understand why it works. We will show you
this using algebraic symbols, rather than particular numbers,
because the symbols make the pattern clearer. (That’s one of the
things algebra is good for!) Follow along carefully; if you run
into a line you can’t figure out, ask your teacher or a classmate
to help you.
We start with two linear functions, a1x 1 b1 and a2x 1 b2.
(Yes, we know subscripts can be annoying, but they will
help you keep track of which coefficients come from which
functions.) Now we’ll multiply them, using the distributive law
several times and then tidying up:
(a1x 1 b1) ? (a2x 1 b2)
a1x ? (a2x 1 b2) 1 b1 ? (a2x 1 b2)
a1x ? a2x 1 a1x ? b2 1 b1 ? a2x 1 b1 ? b2
a1a2 ? x2 1 a1b2 ? x 1 b1a2 ? x 1 b1b2
a1a2 ? x2 1 (a1b2 1 b1a2) ? x 1 b1b2
Now look carefully at the pattern of the subscripts:
620
MATH Connections Year 1
•
he coefficient of x2 is the product of the “first”
T
coefficients of the two linear functions.
•
he first part of the x coefficient is the product of the
T
“outer” numbers of the linear functions, a1 and b2.
Quadratic Functions and Equations
he second part of the x coefficient is the product of
T
the “inner” numbers of the linear functions, b1 and a2.
•
The constant term is the product of the “last” numbers
of the two linear functions.
8.1 Combining Linear Functions
•
Display 8.1 is a picture of this pattern. For years, math
teachers have called this the “FOIL rule”—First, Outer, Inner,
Last—and that’s a pretty good way to remember it. But you
have to remember, too, that it really is just an efficient way of
applying the distributive law and regrouping a bit.
Last
First
(a1x + b1) • (a2x + b2)
Inner
Outer
The
FOIL 8.1
Rule
Display
Display 8.1
1.Use the FOIL rule to find the product of 7x 1 5
and 3x 1 4. Write the product function in standard
quadratic form.
8.10
2.f(x) 5 2x 2 5 is a linear function. If you put it in the
form ax 1 b, what is a? What is b?
3.Use the FOIL rule to find the product of 2x 2 5 and
3x 2 4. (Be careful! Part 2 gives you an important
fact you need for this.) Write the product function in
standard quadratic form.
4.Find the product of x 1 9 and 4x 2 3 and write it in
standard quadratic form.
Several laws of algebra were used in deriving the FOIL
rule. Write down which laws were used at each step and
explain how they were used.
8.11
Problem Set: 8.1
1. For each of these pairs of linear functions f and g, find
f(x) 1 g(x), f(x) 2 g(x), f(g(x)), and f(x) ? g(x). Write your
answers in the appropriate standard form.
(a) f(x) 5 x 1 5,
g(x) 5 2x 1 3
(b) f(x) 5 2x 2 5,
g(x) 5 3x + 1
(c) f(x) 5 5x 2 4,
g(x) 5 3x 2 5
(d) f(x) 5 2x 1 7,
g(x) 5 3x 2 2
(e) f(x) 5 x 1 3,
g(x) 5 x 2 3
(f) f(x) 5 7x 2 4,
g(x) 5 7x 1 4
Chapter 8
621