(Calc 2) Even and Odd Functions - Transformations
(Calc 2) Even and Odd Functions - Transformations
Calculus
Fall 2023
Preparatory Level - Faculty of Engineering
Lecture (2)
Even and Odd Functions
& Transformation of Functions
−𝑎
𝑥 𝑥
−𝑎 𝑎 𝑎
−𝑏
𝑓 −𝑥 = 𝑓 𝑥 𝑓 −𝑥 = −𝑓 𝑥
Solution:
𝑓 −𝑥 = −𝑥 4 + −𝑥 2
= 𝑥4 + 𝑥2
=𝑓 𝑥
∴ 𝑓 −𝑥 = 𝑓 𝑥
∴ 𝑓 𝑥 is an even function.
Solution:
3
𝑓 −𝑥 = −𝑥 − 2 −𝑥
= −𝑥 3 + 2𝑥
= − 𝑥 3 − 2𝑥
= −𝑓 𝑥
∴ 𝑓 −𝑥 = −𝑓 𝑥
∴ 𝑓 𝑥 is an odd function.
Solution:
𝑓 −𝑥 = −𝑥
𝑥 𝑔 𝑔 𝑥 𝑓 𝑓∘𝑔 𝑥
Generally, 𝑓 𝑔 𝑥 ≠𝑔 𝑓 𝑥 .
In some special cases, 𝑓 𝑔 𝑥 =𝑔 𝑓 𝑥 but it is not a general rule.
Solution:
𝑓 𝑥 = 𝑥2
𝑔 𝑥 = 2𝑥 + 1
𝑓∘𝑔 𝑥 =𝑓 𝑔 𝑥 = 𝑓 2𝑥 + 1 = 2𝑥 + 1 2
𝑔∘𝑓 𝑥 =𝑔 𝑓 𝑥 = 𝑔 𝑥2 = 2𝑥 2 + 1
Note that 𝑓 𝑔 𝑥 ≠𝑔 𝑓 𝑥
𝐏𝐫𝐨𝐨𝐟:
If 𝑔 𝑥 is an even function, then: 𝑔 −𝑥 = 𝑔 𝑥
Let: 𝑄 𝑥 =𝑓 𝑔 𝑥
∴ 𝑄 −𝑥 = 𝑓 𝑔 −𝑥
=𝑓 𝑔 𝑥
=𝑄 𝑥
∴ 𝑄 𝑥 is an even function
𝐏𝐫𝐨𝐨𝐟:
If 𝑔 𝑥 is an odd function, then: 𝑔 −𝑥 = −𝑔 𝑥
Let: 𝑄 𝑥 =𝑓 𝑔 𝑥
∴ 𝑄 −𝑥 = 𝑓 𝑔 −𝑥 = 𝑓 −𝑔 𝑥
∴ 𝑄 −𝑥 = 𝑓 𝑔 𝑥 ∴ 𝑄 −𝑥 = −𝑓 𝑔 𝑥
=𝑄 𝑥 = −𝑄 𝑥
(Even) (Odd)
∴ 𝑓 𝑥 is a general function.
1 + 𝑥4
𝑓 𝑥 =
𝑥6 + 𝑥8
Solution:
1 + 𝑥4 Even + Even = Even
1 + 𝑥4
𝑔 𝑥 = 6 ℎ 𝑥 = 𝑥
𝑥 + 𝑥8
∴ 𝑓 𝑥 is an even function.
ℎ 𝑥 = 𝑥4
∴ 𝑓 𝑥 is an even function.
−𝑎 𝑎 𝑥
𝑦=𝑓 𝑥
𝑏
𝑦+𝑏 =𝑓 𝑥
𝑦 =𝑓 𝑥 −𝑏
−𝑏
Mathematics (1) ---- Dr.\ Ahmed M. Makhlouf
(1) Shifting Summary:
For the function: 𝑦 = 𝑓 𝑥
Horizontal Shift by 𝑎 ⟹ 𝑦=𝑓 𝑥−𝑎
Horizontal Shift by −𝑎 ⟹ 𝑦=𝑓 𝑥+𝑎
Vertical Shift by 𝑏 ⟹ 𝑦=𝑓 𝑥 +𝑏
Vertical Shift by −𝑏 ⟹ 𝑦=𝑓 𝑥 −𝑏
𝑦
𝐄𝐱: Sketch: 𝑦 = 𝑥2 + 2 using the curve of 𝑦 = 𝑥2
𝑦 = 𝑥2 + 2
𝑦 = 𝑥2
𝑦 𝑦
4
𝑥
𝑥
3
Mathematics (1) ---- Dr.\ Ahmed M. Makhlouf
(2) Scaling 𝐄𝐱: 𝑦 = 𝑥2 𝑦 = 2𝑥 2
Horizontal Scaling
𝑦 = 𝑓 𝑥 ⟹ 𝑦 = 𝑓 𝑎𝑥
,where 𝑎 > 0 2
𝑥
𝑦=
2
𝑥
𝑎>1
Horizontal Compression
Horizontal Expansion
𝑎<1
Mathematics (1) ---- Dr.\ Ahmed M. Makhlouf
(2) Scaling 𝐄𝐱: 𝑦 = 𝑥2 𝑦 = 4𝑥 2
𝑦
Vertical Scaling
𝑦 = 𝑓 𝑥 ⟹ 𝑦 = 𝑎𝑓 𝑥
,where 𝑎 > 0
𝑎<1
Vertical 1 2
Compression 𝑦= 𝑥
4
Vertical
Expansion
𝑎>1
𝑦 = 𝑥2 Vertical Expansion ,𝑎 = 4 𝑦 = 4𝑥 2
2
𝑦 = 𝑥2 Horizontal Compression ,𝑎 = 2 𝑦 = 2𝑥 = 4𝑥 2
Horizontal Shift by 3
𝑦 = 𝑥−3 2
Vertical Expansion by 4
2
𝑦 = 𝑥−3
𝑥
2
𝑦=4 𝑥−3 3
Horizontal Reflection 𝑦
𝐄𝐱:
𝑦=𝑓 𝑥 𝑦 = 𝑓 −𝑥
𝑥
𝑦
Vertical Reflection
𝐄𝐱:
𝑦 = 𝑥2
Reflection about the 𝑥-axis
𝑦=𝑓 𝑥 𝑦 = −𝑓 𝑥
𝑥
𝑦 = −𝑥 2
𝑦 = −𝑥 𝑦= 𝑥
𝑦=− 𝑥
2 2
𝑦 = 1+𝑥 𝑦 = 1−𝑥
1 𝑥
−1
2
𝑦=− 1+𝑥
𝑦 = 2−𝑥 𝑦 = 2+𝑥
−2 2 𝑥
𝑦 =− 2+𝑥
𝑦=𝑓 𝑥 𝑦= 𝑓 𝑥
The part at which 𝑦 with negative sign is reflected about the 𝑥-axis.
𝑦 𝑦
𝑦=𝑓 𝑥 𝑦= 𝑓 𝑥
𝑥 𝑥
𝑦=𝑓 𝑥 𝑦=𝑓 𝑥
The part at which 𝑥 with negative sign is deleted and a copy of the part at which 𝑥
with positive sign is reflected about the 𝑦-axis.
𝑦 𝑦
𝑦=𝑓 𝑥
𝑦=𝑓 𝑥
𝑥 𝑥
𝑦= 𝑥 𝑦 = 2+𝑥 𝑦= 2+ 𝑥
𝑦 𝑦 𝑦
𝑥 −2 𝑥 𝑥
Vertical Shift by −3
2
𝑥 𝑥
−3
2
𝑥 2 𝑥
−3
𝑦= 𝑥 𝑦 = 4+𝑥 𝑦 = 4−𝑥
𝑦 𝑦 𝑦
𝑥 −4 𝑥 4 𝑥
Horizontal Reflection
1 1 1
𝑦= 𝑥 ⟹ −𝑥 𝑦 = 1+ −𝑥 3 = 1− 𝑥3
1 + 𝑥3
1 1 1 𝑥 1 1
𝑦= 𝑥 ⟹ −𝑥 𝑦 = 1+ −𝑥 3 = 1− 𝑥3 𝑥⟹ 𝑦= 𝑥 3
= 𝑥3
1 + 𝑥3 2 1− 2
1− 8
𝑦= 𝑥 𝑦 = 𝑥−2 −3 𝑦 = 𝑥−2 −3
𝑦 𝑦 𝑦
3
2
𝑥 𝑥 2 𝑥
−3
𝑦= 𝑥 𝑥 ⟹𝑥+4 𝑦= 𝑥+4 𝑥 ⟹ 2𝑥 𝑦 = 2𝑥 + 4
Another Solution:
𝑦 = 2𝑥 + 4 = 2 𝑥+2
𝑦= 𝑥 𝑥 ⟹ 2𝑥 𝑦 = 2𝑥 𝑥 ⟹𝑥+2 𝑦= 2 𝑥+2