Combining Functions Shifting and Scaling Graphs
Combining Functions Shifting and Scaling Graphs
Combining Functions Shifting and Scaling Graphs
Notice that the + sign on the left-hand side of the first equation represents the
operation of addition of functions, whereas the + on the right-hand side of the
equation means addition of the real numbers 𝑓(𝑥) and 𝑔 𝑥 .
At any point of 𝑥 ∊ 𝐷 𝑓 ∩ 𝐷(𝑔) at which 𝑔 𝑥 ≠ 0, we can also
define the function ƒ > 𝑔 by the formula
ƒ ƒ 𝑥
(𝑥) =
𝑔 𝑔 𝑥
The definition implies that ƒ ∘ 𝑔 can be formed when the range of 𝑔 lies
in the domain of ƒ.
𝑥+2 𝑥!
ƒ= ,𝑔 𝑥 = ! , ℎ(𝑥) = 2 − 𝑥.
3−𝑥 𝑥 +1
Exercise:
Exercise:
Let
−𝑥, 𝑖𝑓 − 2 ≤ 𝑥 < 0
ƒ 𝑥 = 2 − 𝑥 and g(𝑥) = @
𝑥 − 1, 𝑖𝑓 0 ≤ 𝑥 ≤ 2
Find
𝑓 𝑔 0 ,𝑔 𝑓 3 ,𝑔 𝑔 1
Vertical and Horizontal shift
Vertical Shifts
𝑦 = ƒ(𝑥) + 𝑘
Shifts the graph of ƒ up 𝑘 units if 𝑘 > 0, shifts it down 𝑘 units if 𝑘 < 0.
Horizontal Shifts
𝑦 = ƒ(𝑥 + ℎ)
Shifts the graph of ƒ left ℎ units if ℎ > 0, shifts it right ℎ units if ℎ < 0
Vertical and Horizontal shift
Vertical Shifts
𝑦 = ƒ(𝑥) + 𝑘
Shifts the graph of ƒ up 𝑘 units if 𝑘 > 0, shifts it down 𝑘 units if 𝑘 < 0.
Horizontal Shifts
𝑦 = ƒ(𝑥 + ℎ)
Shifts the graph of ƒ left ℎ units if ℎ > 0, shifts it right ℎ units if ℎ < 0.
To shift the graph of ƒ(𝑥) = 𝑥 ! up (or
down), we add positive (or negative)
constants to the formula for ƒ
To shift the graph of ƒ(𝑥) = 𝑥 ! up (or To shift the graph of ƒ(𝑥) = 𝑥 ! to the left, we
down), we add positive (or negative) add a positive constant to x. To shift the graph
constants to the formula for ƒ to the right, we add a negative constant to x.
If 𝑐 is positive, then
Exercise:
Draw the graph of
𝑓 𝑥 = 𝑥+2
𝑓 𝑥 = 𝑥−2
𝑓 𝑥 = 𝑥 +2
𝑓 𝑥 = 𝑥 −2
Scaling and Reflecting a Graph of a Function
Vertical and Horizontal Scaling and Reflecting Formulas For c >1, the
graph is scaled:
• 𝑦 = 𝑐ƒ(𝑥) Stretches the graph of ƒ vertically by a factor of c.
"
• 𝑦 = # ƒ(𝑥) Compresses the graph of ƒ vertically by a factor of c.
• 𝑦 = ƒ 𝑐𝑥 Compresses the graph of ƒ horizontally by a factor of c.
• 𝑦 = ƒ(𝑥/𝑐) Stretches the graph of ƒ horizontally by a factor of c.
For c = −1, the graph is reflected:
𝑦 = −ƒ(𝑥) Reflects the graph of ƒ across the x-axis.
𝑦 = ƒ(−𝑥) Reflects the graph of ƒ across the y-axis.
Scaling and Reflecting a Graph of a Function
Vertical and Horizontal Scaling and Reflecting Formulas For c >1, the
graph is scaled:
• 𝑦 = 𝑐ƒ(𝑥) Stretches the graph of ƒ vertically by a factor of c.
"
• 𝑦 = # ƒ(𝑥) Compresses the graph of ƒ vertically by a factor of c.
• 𝑦 = ƒ 𝑐𝑥 Compresses the graph of ƒ horizontally by a factor of c.
• 𝑦 = ƒ(𝑥/𝑐) Stretches the graph of ƒ horizontally by a factor of c.
For c = −1, the graph is reflected:
𝑦 = −ƒ(𝑥) Reflects the graph of ƒ across the x-axis.
𝑦 = ƒ(−𝑥) Reflects the graph of ƒ across the y-axis.
Scaling and Reflecting a Graph of a Function
Vertical and Horizontal Scaling and Reflecting Formulas For c >1, the
graph is scaled:
• 𝑦 = 𝑐ƒ(𝑥) Stretches the graph of ƒ vertically by a factor of c.
"
• 𝑦 = # ƒ(𝑥) Compresses the graph of ƒ vertically by a factor of c.
• 𝑦 = ƒ 𝑐𝑥 Compresses the graph of ƒ horizontally by a factor of c.
• 𝑦 = ƒ(𝑥/𝑐) Stretches the graph of ƒ horizontally by a factor of c.
For c = −1, the graph is reflected:
𝑦 = −ƒ(𝑥) Reflects the graph of ƒ across the x-axis.
𝑦 = ƒ(−𝑥) Reflects the graph of ƒ across the y-axis.
Scaling and Reflecting a Graph of a Function
Vertical and Horizontal Scaling and Reflecting Formulas For c >1, the
graph is scaled:
• 𝑦 = 𝑐ƒ(𝑥) Stretches the graph of ƒ vertically by a factor of c.
"
• 𝑦 = # ƒ(𝑥) Compresses the graph of ƒ vertically by a factor of c.
• 𝑦 = ƒ 𝑐𝑥 Compresses the graph of ƒ horizontally by a factor of c.
• 𝑦 = ƒ(𝑥/𝑐) Stretches the graph of ƒ horizontally by a factor of c.
For c = −1, the graph is reflected:
𝑦 = −ƒ(𝑥) Reflects the graph of ƒ across the x-axis.
𝑦 = ƒ(−𝑥) Reflects the graph of ƒ across the y-axis.
Scaling and Reflecting a Graph of a Function
Vertical and Horizontal Scaling and Reflecting Formulas For c >1, the
graph is scaled:
• 𝑦 = 𝑐ƒ(𝑥) Stretches the graph of ƒ vertically by a factor of c.
"
• 𝑦 = # ƒ(𝑥) Compresses the graph of ƒ vertically by a factor of c.
• 𝑦 = ƒ 𝑐𝑥 Compresses the graph of ƒ horizontally by a factor of c.
• 𝑦 = ƒ(𝑥/𝑐) Stretches the graph of ƒ horizontally by a factor of c.
For c = −1, the graph is reflected:
𝑦 = −ƒ(𝑥) Reflects the graph of ƒ across the x-axis.
𝑦 = ƒ(−𝑥) Reflects the graph of ƒ across the y-axis.
Scaling and Reflecting a Graph of a Function
Vertical and Horizontal Scaling and Reflecting Formulas For c >1, the
graph is scaled:
• 𝑦 = 𝑐ƒ(𝑥) Stretches the graph of ƒ vertically by a factor of c.
"
• 𝑦 = # ƒ(𝑥) Compresses the graph of ƒ vertically by a factor of c.
• 𝑦 = ƒ 𝑐𝑥 Compresses the graph of ƒ horizontally by a factor of c.
• 𝑦 = ƒ(𝑥/𝑐) Stretches the graph of ƒ horizontally by a factor of c.
For c = −1, the graph is reflected:
𝑦 = −ƒ(𝑥) Reflects the graph of ƒ across the x-axis.
𝑦 = ƒ(−𝑥) Reflects the graph of ƒ across the y-axis.
The graph of 𝒇 𝒙 = 𝒙
𝑓 𝑥 = sin 𝑥
Example:
Sketch the graph of the function 𝑓 𝑥 = 1 − sin 𝑥
𝑓 𝑥 = − sin 𝑥
Example:
Sketch the graph of the function 𝑓 𝑥 = 1 − sin 𝑥
𝑓 𝑥 = 1 − sin 𝑥
! "
Example:𝑓 𝑥 = 𝑥 − 4𝑥 + 7𝑥
Stretch the graph horizontally by a factor of 2 followed by a reflection
across the y-axis.
Stretch: multiply x by (1/2), reflection across the y-axis: multiply x by -1
1 1 $ 1 % 7
𝑓 − 𝑥 = 𝑥 + 𝑥 − 𝑥
2 16 2 2
! "
Example:𝑓 𝑥 = 𝑥 − 4𝑥 + 7𝑥
Stretch the graph horizontally by a factor of 2 followed by a reflection
across the y-axis.
Stretch: multiply x by (1/2), reflection across the y-axis: multiply x by -1
1 1 $ 1 % 7
𝑓 − 𝑥 = 𝑥 + 𝑥 − 𝑥
2 16 2 2
! "
Example:𝑓 𝑥 = 𝑥 − 4𝑥 + 7𝑥
Stretch the graph horizontally by a factor of 2 followed by a reflection
across the y-axis.
Stretch: multiply x by (1/2), reflection across the y-axis: multiply x by -1
1 1 $ 1 % 7
𝑓 − 𝑥 = 𝑥 + 𝑥 − 𝑥
2 16 2 2
! "
Example:𝑓 𝑥 = 𝑥 − 4𝑥 + 7𝑥
Stretch the graph horizontally by a factor of 2 followed by a reflection
across the y-axis.
Stretch: multiply x by (1/2), reflection across the y-axis: multiply x by -1
1 1 $ 1 % 7
𝑓 − 𝑥 = 𝑥 + 𝑥 − 𝑥
2 16 2 2
Following link can be used to plot any graph of a function
https://www.desmos.com/calculator
Summery
Example:
The transformation rules applied to the sine function give the general sine
function or sinusoid formula
2𝜋
ƒ 𝑥 = 𝐴 sin 𝑥 − 𝐶 + 𝐷 ,
𝐵
where 𝐴 is the amplitude, 𝐵 is the period, C is the horizontal shift, and D is
the vertical shift. A graphical interpretation of the various terms is given below.
Example:
The transformation rules applied to the sine function give the general sine
function or sinusoid formula
2𝜋
ƒ 𝑥 = 𝐴 sin 𝑥 − 𝐶 + 𝐷 ,
𝐵
where 𝐴 is the amplitude, 𝐵 is the period, C is the horizontal shift, and D is
the vertical shift. A graphical interpretation of the various terms is given below.
Example:
The transformation rules applied to the sine function give the general sine
function or sinusoid formula
2𝜋
ƒ 𝑥 = 𝐴 sin 𝑥 − 𝐶 + 𝐷 ,
𝐵
where 𝐴 is the amplitude, 𝐵 is the period, C is the horizontal shift, and D is
the vertical shift. A graphical interpretation of the various terms is given below.
Definition:
• A function ƒ(𝑥) is one-to-one on a domain 𝐷 if ƒ 𝑥" ≠
ƒ(𝑥! ) whenever 𝑥" ≠ 𝑥2 in 𝐷.
1. Solve the equation y = ƒ(x) for x. This gives a formula x = ƒ-1(y) where
x is expressed as a function of y.
log ) 𝑥 = ln 𝑥 = 𝑦 ⟺ 𝑒 * = 𝑥.
Logarithmic Functions
The logarithm function with base 𝒂, 𝑦 = log ( 𝑥, is the inverse of the
base 𝑎 exponential function 𝑦 = 𝑎 ' (𝑎 > 0, 𝑎 ≠ 1).
log ) 𝑥 = ln 𝑥 = 𝑦 ⟺ 𝑒 * = 𝑥.