Lecture 1 Pharm (24-25)
Lecture 1 Pharm (24-25)
Students
Calculus & Linear Algebra
LECTURES SCHEDULE
Email : [email protected]
ASSESSMENT SYSTEM
➢Calculus
1) James Stewart, "calculus ", Seven edition, international Metric
Version, 2012, CENGAGE learning
Functions
&
Mathematical Models
TOPICS TO BE COVERED
Functions
The Domain and The Range
Polynomials
Power Functions
Rational Functions
7
FUNCTIONS AND
MATHEMATICAL MODELS
Let X and Y be
nonempty sets
A function f : X → Y is
a rule that assigns to
each number x from X
exactly one number y
from Y.
THE FUNCTION
For example: 1
x
We can not divide by zero, hence in the domain of the function
we exclude x = 0 from the domain.
Another example:
x
Over the real numbers we can not get a negative value under a
square root,
hence the domain of the function contains only zero and the
positive real values.
EXAMPLES
Find the domain of the following functions Solution of the following functions:
POLYNOMIALS
A function P is called a polynomial if
n−1
P( x) = an x + an−1 x
n
+ ... + a2 x + a1 x + a0
2
➢𝑓 𝑥 = 𝑥 2 + 3𝑥 4 + 1 is a polynomial of degree 4
➢𝑓 𝑥 = 3𝑥 5 + 𝑥 + 4𝑥 6 is a polynomial of degree 6
EXAMPLES
1) 𝑓 𝑥 = 2 (polynomial of 2) 𝑓 𝑥 = 3𝑥 + 2 (polynomial of
degree zero or constant), degree 1 or linear polynomial),
EXAMPLES
3) 𝑓 𝑥 = 5𝑥 2 − 2𝑥 + 2/3 4) 𝑓 𝑥 = 𝑥 3 − 2𝑥 + 1
(polynomial of degree2 or (polynomial of degree 3 or cubic
quadratic polynomial), polynomial),
LINEAR FUNCTIONS
Equation of straight line
The simplest mathematical model
for relating two variables is the
linear equation
𝑦 = 𝑚𝑥 + 𝑐
It is called linear because its
graph is a line.
The quantity m is the steepness or
the slope of the line.
By letting x=0, we see that the
y-intercept is y=b.
EQUATION OF STRAIGHT
LINE
The slope m of a line whose equation is given by
𝑦 = 𝑚𝑥 + 𝑐
Is just the coefficient of x
Example: Solution
Find the slope of the
following straight lines,
i) 2𝑦 − 4𝑥 = 8 ⟹2𝑦 =
4𝑥 + 8 ⟹ 𝑦 =
i) 2𝑦 − 4𝑥 = 8 2𝑥 + 4 ⟹𝑚1 = 2
ii) 𝑥 + 𝑦 = 4⟹𝑦 = −𝑥 +
ii) 𝑥 + 𝑦 = 4 4 ⟹ 𝑚2 = −1
EQUATION OF STRAIGHT
LINE
The slope m of the line passing through 𝑥1 , 𝑦1 and (𝑥2 , 𝑦2 ) is
∆𝑦 𝑦1 − 𝑦2 𝑦2 − 𝑦1
𝑚= = =
∆𝑥 𝑥1 − 𝑥2 𝑥2 − 𝑥1
Where 𝑥1 ≠ 𝑥2 .
Example: Find the slope of the line passing through each pair of the following
points,
(-2, 0) and (3, 1)
(3, 5) and (2, 1)
𝑓 𝑥 = 𝑥𝑎,
where a is a constant
Example: 3 2x3 − x4 + 1
f ( x) = , f ( x) =
x x −1
FUNCTION COMPOSITION
The composition of two functions f and g is the new function h, where
𝒉 𝒙 = 𝒇(𝒈 𝒙 )
The notation for function composition is
𝒉 = 𝒇𝟎 𝒈 𝒐𝒓 𝒉 𝒙 = (𝒇𝟎 𝒈)(𝒙)
FUNCTION COMPOSITION
Definition
𝒉 𝒙 = 𝒇𝟎 𝒈 𝒙
=𝒇 𝒈 𝒙
= (𝒈 𝒙 )𝟐 +𝒈 𝒙
= (𝟓𝒙 − 𝟒)𝟐 + 𝟓𝒙 − 𝟒
= 𝟐𝟓𝒙𝟐 − 𝟑𝟓𝒙 + 𝟏𝟐
SOLUTION (B)
k 𝒙 = 𝒈𝟎 𝒇 𝒙
=𝒈 𝒇 𝒙
=𝟓 𝒇 𝒙 −𝟒
= 𝟓 𝒙𝟐 + 𝒙 − 𝟒
= 𝟓𝒙𝟐 + 𝟓𝒙 − 𝟒