2_Functions
2_Functions
Translations
• The graph of y = f(−x) is the reflection of the graph of y = f(x) about the y-axis
because the point (x, y) on the graph of f(x) is replaced by (−x, y).
• Similarly, the graph of y = −f(x) is the reflection of the graph of y = f(x) about
the x-axis because the point (x, y) on the graph of f(x) is replaced by (x, −y)
[the equation y = −f(x) is equivalent to −y = f(x)].
Example 6. Sketch the graph of y = 3
2 − x.
Example 7. Sketch the graph of y = 4 − |x − 2|.
Stretches and compressions
If c > 0, then the graph of y = cf(x) can be obtained from the graph of y = f(x)
by stretching the graph of y = f(x) vertically by a factor c if c > 1, or
compressing it by a factor 1/c if 0 < c < 1.
Stretches and compressions
If c > 0, then the graph of y = f(cx) can be obtained from the graph of y = f(x)
by compressing the graph of y = f(x) horizontally by a factor c if c > 1, or
stretching it by a factor 1/c if 0 < c < 1.
Symmetry
y = f(x),
y = f(−x).
The last two equations have the same left side, so the right sides must be equal.
We have:
f(−x) = f(x).
This is satisfied for each x Df.. A function which has the last property is
called an even function.
y = f(x),
The last two equations have the same left side, so the right sides must be equal.
We have:
This is satisfied for each x Df.. A function which has the last property is
called an odd function.
P(x1, y1)
• If x1 = x2 then the line l is
vertical and its equation is x = x1.
Q(x1, y2)
x1
A line through two points
• Let x1 x2. Let R(x, y) be an
arbitrary third point on the
line l.
• Let’s construct the triangles
PSQ and PTR (as in the R(x, y)
Figure).
• Notice that the triangles Q(x2, y2)
PSQ and PTR are right
triangles which have three P(x1, y1)
equal angles S(x2, y1) T(x, y1)
• This means that PSQ and
PTR are similar.
• In this case, the lengths of the R(x, y)
corresponding sides are proportional.
Q(x2, y2)
y − y1
y2 − y1
P(x1, y1) x2 − x1
RT QS
= S(x2, y1) T(x, y1)
PT PS
y − y1 y2 − y1 x − x1
=
x − x1 x2 − x1
y2 − y1
(1) y − y1 = ( x − x1 ) two-point equation
x2 − x1
Example 1. Find a two-point equation of the line that passes through the
points (2, 3) and (4, 7).
7−3
y −3 = ( x − 2)
4−2
y − 3 = 2( x − 2)
y = 2x −1
The slope of a line
does not depend on the choice of two points from the line, i.e., this quotient
is equal for every two chosen points from the line.
• It is called the slope of the line l.
Point-slope equation
• Let
y2 − y1
m= .
x2 − x1
Solution.
а) y −2 = 2(x − 1)
y = 2x
b) y −2 = 0(x − 1) (1, 2) y= 2
y=2
c) y −2 = −1(x − 1)
y=−x+3
Discussion about the slope
• The point (x1, y1) belongs to the line given by
(2) y − y1 = m( x − x1 )
• Let’s find the y – coordinate of the point of the line whose x-coordinate is
x1 + 1. Substituting in (2), we obtain
y − y1 = m (x1 + 1 − x1)
y = y1 + m
1. If m > 0, then y1 + m > y1, which means that the point (x1+1, y1+m) is
higher than (x1, y1), In this case, the line increases from left to right.
2. If m < 0, then y1 + m < y1, which means that the point (x1+1, y1+m) is
lower than (x1, y1), In this case, the line decreases from left to right.
3. If m = 0, then y1 + m = y1, i.e., the points (x1, y1) and (x1+1, y1) have the
same height. This means that the line is horizontal.
Discussion about the slope
Another description of m
Q(x2, y2)
y2 − y1
y2 − y1
m= = tg
P(x1, y1)
x2 − x1
x2 − x1 S(x2, y1)
• Let l be a non-vertical line. Then l intercepts the y-axis in a point (0, b).
• Let’s find b.
by substitution, we have
b − y1 = m(0 − x1)
b = y1 − mx1
• Let’s transform the equation
y − y1 = m( x − x1 )
y − y1 = mx − mx1
y = mx + y1 − mx1
b
Example 3. Find the slope-intercept equation of the line with the slope 3 and
y-intercept −1.
Solution: y = 3x − 1
Parallel and perpendicular lines
Theorem 1. Let l1 and l2 be two non-vertical lines given by their slopes m1 and
m2, correspondingly.
i ) l1 || l2 m1 = m2
1
ii ) l1 ⊥ l2 m1m2 = −1, i.e., m2 = −
m1
Families of functions
Families of functions
The graph of a constant function f(x) = c is the graph of the equation y = c, which
is the horizontal line (see (a)). If we vary c, then we obtain a set or family of
parallel (horizontal) lines (see (b)).
Constants that are varied to produce families of curves are called parameters.
For example, recall that an equation of the form y = mx + b represents a line of
slope m and y-intercept b.
• If we keep b fixed and treat m as a parameter, then we obtain a family of
lines whose members all have y-intercept b (see (a)).
• If we keep m fixed and treat b as a parameter, we obtain a family of parallel
lines whose members all have slope m (see (b)).
For both even and odd values of n, the graph y = 1/xn has a break at the
origin (called a discontinuity), which occurs because division by zero is
undefined.