Topic 1 October 2023
Topic 1 October 2023
WEEK 1 & 2
TOPIC 1 :
FUNCTIONS
TABLE OF CONTENT
WEEK 1 WEEK 2
1. Verbally
(by a description in 2. Numerically
word) (by a table of values)
3. Visually
(by a graph)
4. Algebraically
(by an explicit formula)
Concept of function
Concept of function
❑ function involves two sets X and Y, rule that assigns :
❑ element x in the set X (written x ∈ X )
❑ element y ∈ Y
and its shape is that of a parabola. The simplest example of a cubic graph
y = 𝒙𝟑
The simplest example
𝟐
of a quadratic
graph is y = 𝒙
cubic
trigonometric
Graphs of Trigonometric functions are written as a function of :
y = 𝒔𝒊𝒏 𝜽
y = 𝒄𝒐𝒔 𝜽 y = 𝒕𝒂𝒏 𝜽
circle
Generally the function of a circle, with
The simplest equation of a circle is centre (a,b) and radius r, is written as:
x2+y2=r2, with centre at the origin and (x −a)2 +(y −b)2 = r2
radius r, as
Eg: centre (2,3), thus :
(x −2)2 +(y −3)2 = 4
Exercise 1.1
1
𝑓 𝑥 = 4𝑥 − 3
5
1.2 COMPOSITE, EVEN,
ODD, AND PERIODIC
FUNCTIONS
COMPOSITE Function
❑Afunction of the form of y = f(g(x)) is a composite of the functions f(x) and g(x)
❑Commonly denoted by 𝑓°𝑔. So that..
𝑦 = 𝑓 𝑔(𝑥) = 𝑓°𝑔(𝑥)
Example 1.2.1
𝑦=𝑓 𝑥 = 𝑥 2 + 2𝑥 and y = 𝑔 𝑥 = 𝑥 − 1
EVEN Function
• Sketch the following function and state whether they are even or odd
function:
𝑦=tan𝑥
PERIODIC Function
❑ Function that its image values are repeated at regular intervals in its domain.
❑ The graph of a periodic function can be divided into vertical strips that are replicas of
each other.
❑ The width of each strip is called the period of the function
❑𝑓 𝑥 + 𝑛𝑃 = 𝑓(𝑥)
❑ Defined by
0 (𝑡 < 0)
❑𝑓 𝑡 =ቊ
1 (𝑡 ≥ 0)
❑ A function representing a unit step at t = a may be obtained by a horizontal
translation of duration a.
0 (𝑡 < 𝑎)
❑𝑓 𝑡−𝑎 =ቊ
1 (𝑡 ≥ 𝑎)
❑Illustrated as
HEAVYSIDE Function
The voltage has a value from 0 of 1 up until time t = a. then turned off = 0
Example 1.2.5
V = 0 at t = 0
V = 5 at C = 2
IMPULSE Function
1
0 (0 < 𝑡 < 𝑎 − 𝑇)
2
𝐴 1 1
❑∅ 𝑡 = 𝑇
(𝑎 − 𝑇 ≤ 𝑡 < 𝑎 + 𝑇)
2 2
0 1
(𝑡 ≥ 𝑎 + 𝑇)
2
Where:
❑ A/T = height of the pulse is
❑ T = duration (or width)
❑ A = area under the pulse
1.4 POLYNOMIAL AND
RATIONAL FUNCTIONS
POLYNOMIAL Function
𝑥−𝑥1 𝑥−𝑥0
𝑓 𝑥 = 𝑓0 + 𝑓1 [Langrange Formula]
𝑥0 −𝑥1 𝑥1 −𝑥0
❑ Rearrange :
𝑓1 − 𝑓0 𝑥1 𝑓0 − 𝑥0 𝑓1
𝑓 𝑥 =𝑥 +
𝑥1 − 𝑥0 𝑥1 − 𝑥0
Example 1.4.1
Obtain the formula for the linear functions f(x) such that
𝑓(−1)=2; 𝑓(3)=4
HOMEWORK 2
Obtain the formula for the linear functions f(x) such that
𝑓(0)=3; 𝑓(−1)=2
[Ans : 3-2x]
𝑓(1.231)=2.791 ; 𝑓(2.492)=3.112
𝑥 2 + 1 = 𝐴 𝑥 − 1 + 𝐵 𝑥 + 2 + 𝐶(𝑥 2 + 2)
𝑥 3 − 3𝑥 2 + 6𝑥 − 4
RATIONAL Function
❑ Rational function always take the form of a quotient of two polynomials; one
polynomial divided by another polynomial.
❑ Example :
numerator
𝑥 2 +3
𝑓 𝑥 =
2𝑥 2 +𝑥+1 denumerator
𝑡+1
❑f 𝑡 =
(𝑡−1)(𝑡+5)
1.5 CIRCULAR FUNCTIONS
AND ITS INVERSE
CIRCULAR Function
❑With reference to Figure below, the side opposite the right angle (i.e.
side b) is called the hypotenuse. The theorem of Pythagoras∗ states.
𝑏 2 = 𝑎2 + 𝑐 2
The theorem of Pythagoras
sine of an angle is 0.5, thus the value of the inverse circular function
(angle) is given by :
−1
𝑠𝑖𝑛 0.5 = 30°
cos 𝜃 = 0.4371 ,
thus 𝜃 = 𝑐𝑜𝑠 0.4371 = 64.08°
−1
1.6 EXPONENTIAL AND
LOGARITHMIC
FUNCTIONS & THEIR
INVERSES
EXPONENTIAL & ITS INVERSES Function
Note that the following properties are satisfied by the exponential function
𝑒 𝑥+𝑐 𝑥 𝑐
= 𝑒 𝑒 = 𝐴𝑒 𝑐 Where 𝐴 = 𝑒 𝑥
𝑒 𝑥1
=𝑒 𝑥1−𝑥2
𝑒 𝑥2
𝑘𝑥 𝑘 𝑥 𝑥
𝑒 = (𝑒 ) = 𝑎 Where 𝑎 = 𝑒 𝑘
Example 1.6.1
−𝑡Τ𝐶𝑅
𝑣 = 𝑉𝑒
𝑙𝑜𝑔𝑒 𝑥 or 𝑦 = ln 𝑥
❑Using the concept of functions and graph below:
❑If 𝒚 = 𝒆 then 𝒙 = 𝐥𝐧 𝒚
𝒙
❑𝒍𝒐𝒈𝒆 𝒆𝒙 = 𝒙
❑𝒍𝒏 𝒆 = 𝟏
Rules of Logarithmic function
Rules of Log a
𝑙𝑜𝑔𝑎 𝑥1 𝑥2 = 𝑙𝑜𝑔𝑎 𝑥1 + 𝑙𝑜𝑔𝑎 𝑥2
𝑥1
𝑙𝑜𝑔𝑎 = 𝑙𝑜𝑔𝑎 𝑥1 − 𝑙𝑜𝑔𝑎 𝑥2
𝑥2
𝑙𝑜𝑔𝑎 𝑥 𝑛 = 𝑛 𝑙𝑜𝑔𝑎 𝑥
𝑥 = 𝑎𝑙𝑜𝑔𝑎 𝑥
𝑦 𝑥 = 𝑎 𝑥𝑙𝑜𝑔𝑎 𝑦
𝑙𝑜𝑔𝑏 𝑥
𝑙𝑜𝑔𝑎 𝑥 =
𝑙𝑜𝑔𝑏 𝑎
Example 1.6.4
Solve
𝑒 𝑥−1 = 2𝑒 3𝑥−4
Example 1.6.6
Solve
ln 𝑥 − 2 2 = ln 𝑥 − 2 − ln 𝑥 + 3 + 1.6
1.7 HYPERBOLIC
FUNCTIONS AND ITS
INVERSE
HYPERBOLIC Function
❑ Combinations of 𝑒 𝑥 and 𝑒 −𝑥 are commonly used in engineering.
❑ Known as hyperbolic sine, sinh, and the hyperbolic cosine, cosh.
❑ Applications of hyperbolic functions can be found in fluid dynamics, optics, heat, mechanical
engineering, and in astronomy.
❑ Functions that are associated with the geometry of the conic section (=hyperbola) are called
hyperbolic functions.
HYPERBOLIC Function
tanh 𝑥 ± tanh 𝑦
tanh 𝑥 ± 𝑦 =
1 ± tanh 𝑥 tanh 𝑦
Example 1.6.7
𝑦 = sinh −1 𝑥 𝑥 𝑖𝑛 R
−1
Also denotes as arsinh x,
𝑦 = cosh 𝑥 𝑥 ≥ 1, 𝑦 ≥ 0 arcosh x and artanh x
−1
𝑦 = tanh 𝑥 −1 < 𝑥 < 1
INVERSE HYPERBOLIC Function
𝑦 2 𝑦
❑Thus, 𝑒 − 2𝑥 𝑒 − 1 = 0
❑And 𝑒 𝑦 = 𝑥 ± (𝑥 2 +1)
❑Since 𝑒 𝑦 > 0,
𝑦 = sinh−1 𝑥 = ln 𝑥 + (𝑥 2 +1)
❑Similarly
−1
cosh 𝑥 = ln 𝑥 + (𝑥 2 −1) (𝑥 ≥ 1)
❑And
1 1 + 𝑥
tanh−1 𝑥 = ln (−1 < 𝑥 < 1)
2 1−𝑥
Example 1.7.1
Evaluate
−1
❑ cosh 3
−1 −2Τ
❑ tanh ( 5)
1.8 PIECEWISE DEFINED
FUNCTIONS
PIECEWISE Function
Consider 𝑓 𝑥 = 𝑒 −𝑥
1.10 TABULATED
FUNCTION AND
INTERPOLATION
TABULATED Function
❑Functions presented in tabular points are assumed to behave like a straight line (error
occurs).
❑Error involved depends on how closely a linear function approximates the function
between tabular points and determine using Linear Interpolation
❑To calculate the value of f(x) at a non-tabular point, where
𝑥 = 𝑥𝑖 + 𝜃ℎ and 0<<1,
❑using linear interpolation
𝑥 − 𝑥𝑖
𝑓 𝑥 ≈ 𝑓𝑖 + 𝑓𝑖+1 − 𝑓𝑖
𝑥𝑖+1 − 𝑥𝑖
1.11 FUNCTION OF REAL
VARIABLE
Limit of function of a real variable