Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1: Composition and
Linear Functions
1 Linear Functions
1. A linear function is of the form f (x) = mx + b, where m and b are any real
numbers. So
1
f (x) = 1, g(x) = x, h(x) = x − 3, k(x) = −2x + ,
3
are all examples of linear functions.
2. The domain of these functions is all real numbers. The range of linear
functions is also all real numbers.
6. To draw the graph of any linear function, all we need is two points on the line;
we can simply connect the two points and extend on both sides to obtain the graph
as the following example shows.
1
8. The number m in f (x) = mx + b is called the slope of the line and it measures
the steepness and direction of the line as the following picture illustrates
9. To find the slope of a line, we need two different points on the line; so if (A, B)
and (C, D) are points on a line `, then the slope of ` is
D−B
m= .
C −A
2
10. The value of m is independent of the choice of two points.
11. If (A, B) is any point on a line ` and m is the slope of the line, then the equation of
the line is given by
y − B = m(x − A),
and after rearranging we get y = mx + b, where b = B − mA. We call this
standard equation of a line passing through (A, B) with slope m.
12. Parallel lines: have the same slope. So if y = mx + b and y = nx + c are two
linear functions which are parallel, then m = n. For example, y = 2x + 1 and
y = 2x − 2 are parallel and
3
14. Horizontal Lines: have equations of the form y = b; i.e., they all have a slope
of 0:
15. Vertical Lines: have equations of the form x = a. These equations are NOT
FUNCTIONS because the graph of a vertical lines FAILS the vertical line test:
4
2 Composition of Functions
There are five elementary operations we can define on functions. These are addition,
subtraction, multiplication, division, and composition.
1. Addition: If f and g are functions, then the sum of f and g is a new function
defined by
(f + g)(x) = f (x) + g(x).
5
√
5. Here are some examples. If f (x) = x and g(x) = x − 1, then
√
√ √ √ √
f x
(f +g)(x) = x+x−1, (f −g)(x) = x−x+1, (f g)(x) = x x− x, (x) = ,
g x−1
and the domain of fg is [0, 1) ∪ (1, ∞), whereas the domain of the other three
functions are [0, ∞).
2.1 Composition
6. The composition of two functions f and g is defined as follows:
7. The above example shows that f ◦ g =6 g ◦ f so we must be careful with the order
in which we compose functions.
√
8. Here is another example: if f (x) = x − 3 and g(x) = x2 + 1, then to compute
(f ◦ g)(2) = f (g(2))
√ we must√ first compute g(2) to get 5, and only then substitute
5 into f to get 5 − 3 = 2. Similarly,
√ to compute (g ◦ f )(12) = g(f (12)), we
must first compute f (12) to get 12 − 3 = 3 and then substitute 3 into g to get
g(3) = 9 + 1 = 10.
3 Exercises
1. Draw the graph of the following lines, clearly labeling the x and y intercepts.
(a) f (x) = x + 1.
(b) f (x) = x − 3.
(c) f (x) = −x + 2.
(d) f (x) = −2x + 1.
(e) f (x) = 3x − 6.
x
(f) f (x) = 4
− 2.
−x
(g) f (x) = 3
+ 3.
6
2. Find the equation of the following lines: