Function, Limit & Continuity
Function, Limit & Continuity
Analytical Geometry
Calculus
• The branch of Mathematics focus on studying change and motion. Where
there is motion or growth, where variable forces are at work producing
acceleration, calculus is the right mathematics to apply.
• It was invented in 16th and 17th centuries to meets the needs of scientists,
needs that were mainly mechanical in nature.
• Calculus is classified into two: Differential Calculus and Integral Calculus
Differential Calculus
This deals with the concept of derivatives, which measures how a
quantity changes with respect to another. It helps to
• compute the rate of change, slope of curves, velocities and
accelerations of moving bodies.
Calculus and Analtical Geometry
Continue...
• find firing angles that would give cannons their greatest range.
• predict the times when planets would be closest together or farthest apart.
Integral Calculus
This deals with the concepts of determining a function from information about
its rate of change, called the integral, which represents the accumulation of
quantities. It enables to
• compute the future location of a body from its present position and a
knowledge of forces acting on it
• find the area of irregular regions in the plane.
• measure the length of curves.
• find volumes and masses of arbitrary solids.
Calculus and Analytical Geometry
Analytical Geometry
It is also known as Co-ordinate geometry or Cartesian geometry
• It is the study of geometric figures using coordinate system.
• It combines Algebra and Geometry by representing points, lines, curves
and shapes with algebraic equations.
Key concepts include:
Points and Coordinates: Each points is represented by coordinates (x , y ) in
two-dimensional space and (x , y , z) in three-dimensional space.
Lines:The lines is express by an algebraic equation, whose standard form is
y = mx + b
x2 + y2 = r2
Calculus and Analytical Geometry
Continue...
The Parabola is represented by equation
x2 x2 x2 x2
2
+ 2 = 1 and 2 + 2 = 1
a b b a
The hyperbola is represented by
x2 x2 y2 x2
2
− 2 = 1 and 2 − 2 = 1
a b a b
Analytical geometry provides a way to solve geometric problems using algebraic
methods, making it essential in the field of physics, engineering, computer
graphic and more.
Calculus and Analytical Geometry
Week # 1
Function
Contents
• Review of function and graphs
• Common function and graphs used in calculus
• Introduction to Limit and its existence
• Techniques of finding limit of function
Function
Function
• Functions are fundamental to the study of calculus and it is used to
represents the relationship between two quantities. For instant
• The temperature at which water boils depends on the elevation
above sea level.
• The interest paid on a cash investment depends on the length of
time the investment is held.
• The area of a circle depends on the radius of the circle.
• The distance an object travels depends on the elapsed time.
• In each case, the value of one variable quantity, say y , depends on
the value of another variable quantity, which we often call x . We say
that y is a function of x and write this symbolically as
Function
Continue...
y = f (x )
where, the symbol stands for
• f : represents the function
• x : independent variable or input
• y : dependent variable or output
Definition:
A function f from a set D to a set Y is a rule that assigns a unique value f (x )
in Y to each x in D
• The set D of all possible input values is called the domain of the function.
• The set of all output values of f (x ) as x varies throughout D is called the
range of the function.
Function
Continue...
Note: The letters used for variables quantities may come from what being
described. In studying circle, usually the symbol A is area and r is radius. Since
A = πr 2
Evaluation
• Most of the function dealt with are real valued function of real variable,
whose domain and range are set of real numbers.
• Such function can be evaluated by direct substituting values from the
domain into the function’s defining rule to calculate the corresponding
value in the range.
Function
Example:
The volume V of a ball(solid sphere) of radius r is given by the function
4 3
V (r ) = πr
3
4
Then the volume of ball of radius 3m is V (3) = π(3)3 = 36πm3
3
The Domain
• The domain of the function y = f (x ) is the set of x -values for which
y -values are real.
• Conventionally, the set of real number R is considered as domain for some
function.
• The selection of domain is completely depends on the formula defines the
function
Function
Example:
Table: Different function with respective domain
Function Domain
f (x ) = x√2 {x |x ∈ R} or (−∞, ∞) or x ∈ R
g(x ) = x {x ∈ R|x ≥ 0} or [0, ∞) or x ≥ 0
1
I(x ) = {x ∈ R|x ̸= 0} or [0, ∞) or x ≥ 0
x√
K (x ) = 4 − x {x ∈ R|x ≤ 4} or (−∞, 0] or x ≥ 4
(−∞, ∞) = {x |x ∈ R}
Function
Example: Consider y = x 2 , x ∈ R
The set form of the given function is
{(x , y )|y = x 2 }
Function
Graph of a Function
• The graph of a function is the graph of the equation
y = f (x )
x (Domain) y = x2
−2 4
−1 1
0 0
1 1
2 4
Function
Description:
5
• Draw two perpendicular line
intersecting each other at a
4
common point called origin,
denoted by (0, 0).
3
• The input-output pair of a
function y = f (x ) is (x , y ). 2
y = x2
5 5
4 4
3 3
2 2
1 1
0 x 0 x
−3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3
−1 −1
(a) (b)
Figure
Function
Classification of Functions
• Mainly classified into two: 1.) Linear 2.) Non-linear
• A linear function is one where the relationship between the input
(independent variable) and the output (dependent variable) is
uniform.
Note: In a linear function, the output changes at a constant rate with
respect to the input.
This uniformity means that for any equal increase in the input, the
output will increase by the same amount
• A non-linear function is one where the relationship between the
input and output is non-uniform
Note: In a non-linear linear function, the output changes with not a
constant rate with respect to the input.
Function
• Transcendental functions
Exponential function 1.) y = ax ; a > 0, x ∈ R
Special case 2.) y = ex ; x ∈ R
→ non-Linear Func
Logarithm 3.) y = loga x ; a > 0
Natural Logarithm 4.) y = loge x = ln(x )
Note: The letter e used above is an irrational number, called Euler’s number.
It value is e = 2.71828 · · ·
Function
y = ax + b y = ax 2 + bx + c
3.0 6
2.5
5
2.0
4
1.5
1.0 3
y
y
0.5 2
0.0
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 1
−0.5 x
0
−1.0 −2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
x
(a) (b)
Figure: Fig (a): Graph of linear function for a = 1, b = 1 and Fig (b): Graph of
quadratic function for a = 1, b = 1 and c = 0
Function
y = ax 3 + bx 2 + cx + d y = e ax, a>0
15.0 y = ex
y = e 0.5x 7
12.5
6
10.0
5
7.5
4
5.0
y
y
2.5 3
0.0 2
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
−2.5 x 1
−5.0 0
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
x
(a) (b)
0.25 0.5
0.00 0.0
0 1 2 3 4 5 0 1 2 3 4 5
x x
y
y
−0.25 −0.5
−1.0
−0.50
−1.5
−0.75
−2.0
−1.00
(a) (b)
Figure: Fig (a): Graph of Logarithm function with base a = 10 and Fig (b):
Graph of natural logarithm
Function
Operation on Functions
Like numbers, functions can be added, subtracted, multiplied and divided
(except where the denominator is zero)
• If f and g are two functions then for every x that belong to the domain of
both f and g, we define
a) (f + g)(x ) = f (x ) + g(x )
b) (f − g)(x ) = f (x ) − g(x )
c) (fg)(x
) = f (x )g(x )
f f (x )
d) (x ) = ; g(x ) ̸= 0 for any x ∈ D(f ) ∩ D(g)
g g(x )
• Function can also be multiplied with as scalar
(cf )(x ) = cf (x )
Function
Example
√ √
If f (x ) = x with D(f ) = [0, ∞) and g(x ) = 1 − x with D(g) = (−∞, 1]
Then
√√
1. (f + g)(x ) = f (x ) + g(x ) = 1−x
x+
√ √
2. (f − g)(x ) = f (x ) − g(x ) = x − 1 − x
√ √
3. (fg)(x ) = f (x )g(x ) = x 1 − x
√
f f (x ) x
4. (x ) = = √
g g(x ) 1−x
Function
Composite Functions
If f and g are two functions, then Composite function denoted by (f og) read
as (f circle g) is defined as
(f og)(x ) = f (g(x ))
Note: The domain of (f og) consists of the numbers x in the domain of g for
which g(x ) lies in the domain of f .
Example:
√
If f (x ) = x and g(x ) = x + 1 find
a) (f og)(x )
b) (gof )(x )
c) (f of )(x )
d) (gog)(x )
Function
Sol:
By definition of composite function we have
a. (f og)(x ) = f (g(x ))
√
(f og)(x ) = f (x + 1) = x +1
b. (gof )(x ) = g(f (x ))
√ √
(gof )(x ) = g( x ) = x + 1
c. (f of )(x ) = f (f (x ))
√ p√ 1
(f og)(x ) = f ( x ) = x =x4
d. (gog)(x ) = g(g(x ))
(gof )(x ) = g(x + 1) = (x + 1) + 1 = x + 2
Function
• A function y = f (x ) is odd if
Note:
• The graph of even function is symmetric about the y-axis. Means the
point (x , y ) lies on the graph of f if and only if (−x , y ) lies on the graph
of f
• The graph of odd function is symmetric about the origin. Means the point
(x , y ) lies on the graph of f if and only if (−x , −y ) lies on the graph of f
Function
y=x 2
y=x 3
3.5 6
3.0 4
2.5 2
(1, 1)
y
y
2.0 0
(-1, -1)
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
1.5 −2
x
(-1, 1) (1, 1)
1.0 −4
0.5 −6
(-2, -8)
0.0 −8
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
(a) (b)
Figure: Fig(a): Symmetry about y-axis and Fig(b): Symmetry about the origin
Function
3/2
48. a) y = 2x − 3 b) y = x√ x9
c) y = √
d) y = x − 6 e) y = 2 x − 3 f ) y = x3 − 3
Function
Absolute Function
• Absolute function, denoted by |x | and define as
x if x ≥ 0
|x | =
−x if x < 0
Graph
y = |x|
2.00
1.75
y= −x 1.50
y=x
1.25
y
1.00
0.75
0.50
0.25
0.00
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
Ex1: Graph
y = f(x)
−x if x < 0
(
2.00
f (x ) = x2 if 0 ≤ x ≤ 1 1.75
1 if x > 1 y= −x 1.50
1.25
y=1
1.00
y
Domain 0.75
0.50
y = x2
0.00
x2 − 1
Ex: How does the function f (x ) = behaves near x = 1?
x −1
(x + 1)(x − 1)
f (x ) = = x + 1 for x ̸= 1
x −1
• The graph of f (x ) is thus the line y = x + 1, with remove one point (1, 2)
Limit of Function
Graphical Illustration of f (x )
fx
Plot of ( ) =
x2 − 1
x−1
3.0
2.5
2.0
1.5
f(x)
1.0
0.5
0.0
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
x
−0.5
−1.0
lim f (x ) = L
x →x0
Existence of Limit
• The limit of function exists if and only if
lim f (x ) = lim f (x )
− +
x →x0 x →x0
lim f (x ) = x0
x →x0
Limit of Function
Graphical Illustration
y=x
2.0
1.5
1.0
0.5
0.0
−2.0 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0
−0.5
−1.0
−1.5
−2.0
(a) (b)
Theorem
The following rule holds if lim f (x ) = L and lim g(x ) = M(L and M are real
x →x0 x →x0
numbers)
x 3 + 4x 2 − 3
Example: Find lim
x →c x2 + 5
Sol: To find the limit, the above rule should be take into account
lim (x 3 + 4x 2 − 3)
x 3 + 4x 2 − 3 x →c
lim = using quotient rule
x →c x2 + 5 lim (x 2 + 5)
x →c
Continue...
(c)3 + 4 (c)2 − 3 c 3 + 4c 2 − 3
= =
(c)2 + 5 c2 + 5
√
Example: Find lim 4x 2 − 3
x →−2
Sol: To evaluate limit, the limit rules must be take into account
p q
lim 4x 2 − 3 = lim (4x 2 − 3) using power rule
x →−2 x →−2
s 2
= 4 lim x − lim 3
x →−2 x →−2
√ √
q
= 4 (−2)2 − 3 = 16 − 3 = 13
Limit of Function
Theorem
Limit of Polynomials(can be found by substitution)
If P(x ) = an x n + an−1 x n−1 + an−1 x n−2 + · · · + a1 x + a0 , then
Theorem
Limit of Rational Functions(can be found by substitution, if denominator
limit not zero)
If P(x ) and Q(x ) are polynomial and Q(c) ̸= 0, then
P(x ) P(c)
lim =
x →c Q(x ) Q(c)
Limit of Function
x 3 + 4x 2 − 3
Example: Evaluate lim
x →−1 x2 + 5
Sol: As the function to be evaluated is rational function, in this case
Q(x ) = x 2 + 5 and Q(−1) = (−1)2 + 5 = 6 ̸= 0. So we can apply the above
theorem for rational function. Therefore
x 3 + 4x 2 − 3 (−1)3 + 4(−1)2 − 3
lim =
x →−1 x2 + 5 (−1)2 + 5
−1 + 4 − 3 0
= = =0
1+5 6
x2 + x − 2 (x − 1)(x + 2) x +2
= =
x2 − x x (x − 1) x
Function
Continue...
Now the denominator is not zero at x = 1 anymore. There for Theorem
3, can be apply. Thus
x +2 1+2
lim = =3
x →1 x 1
Continue...
√ √ √ √ √ √
2+h− 2 2+h− 2 2+h+ 2
= ×√ √
h h 2+h+ 2
2+h−2 h
= √ √ = √ √
h( 2 + h + 2) h( 2 + h + 2)
1
=√ √
2+h+ 2
Therefore
√ √
2+h− 2 1 1
lim = lim √ √ =√ √
h→0 h h→0 2+h+ 2 2+0+ 2
1
= √
2 2
Limit of Function
Evaluate
(
3−x x <2
Q. lim f (x ), where f (x ) = x
x →2 +1 x >2
2
Sol. To evaluate the above limit, we need to compute left and right hand
limits.
Evaluate
x
Q. lim f (x ), where f (x ) =
x →0 |x |
x if x ≥ 0
Sol. As we know that |x | =
−x if x < 0
Therefore, f (x ) is piecewise function. So, left and right limit must
be evaluated.
x x
L.H.L = lim f (x ) = lim = lim = lim 1 = 1
− − |x | x →0 x x →0
x→0 x→0
x x
R.H.L = lim f (x ) = lim = − lim = lim (−1) = −1
+ + −x x →0 x x →0
x →0 x →0
Evaluate
3−x if x < 2
Q. lim f (x ), where f (x ) = 2 if x = 2
x →2 x if x > 2
2
Sol. To evaluate the above limit, we need to compute left and right hand
limits.
lim f (x ) = 1
x →2
Limit of Function
Home Task
√
1 − x2 if 0 ≤ x < 1
Q Evaluate lim f (x ), where f (x ) = 1 if 1 ≤ x < 2
x →1 2 if x = 2
Q Evaluate lim f (x ) lim f (x ) and lim f (x ), where
x →0 x →1 x →−1
x if − 1 ≤ x < 0, or 0 < x ≤ 1
(
f (x ) = 1 if 1 ≤ x = 0
0 if x < −1, or x > 1
Lorentz Contraction
Calculus and Analytical Geometry
Week # 2
Calculus and Analytical Geometry
Contents
• The concept of continuity of a function and discontinuity
• Left and right-continuity and removable continuity
• Continuity at a point and on interval
• Continuity Test
• Rules of Continuity
Continuity of Function
Definition:
A function f is continuous at an interior point x = c of its domain if
lim f (x ) = f (c)
x →c
Definition:
A function f is continuous at left end point x = a of its domain if
lim f (x ) = f (a)
+
x→a
lim f (x ) = f (b)
+
x →b
Continuity of Function
Note:
1. In general, f is called right-continuous at x = c if lim f (x ) = f (c) and
+
x →c
called left-continuous at x = c if lim f (x ) = f (c)
−
x→ c
Continuity Test
A function f (x ) is continuous at x = c if and only if it meets the following
1. f (c) exists (c lies inside the domain of f )
2. lim f (x ) exists and 3. lim f (x ) = f (c)
x →c x →c
Continuity on a set
A function f is said to be continuous on a set S if it is continuous on every
x =c∈S
√
Discuss the continuity of f (x ) = 4 − x 2 on [−2, 2]
Sol: To discuss the continuity of f (x ) on [−2, 2]. We need to check the
continuity at every point of [−2, 2]. For this we check the continuity at
x = −2, x = 2 and at interior point c ∈ (−2, 2).
Continuity at x = c
√
1. For any x = c ∈ (−2, 2), f (c) = 4 − c 2 , is define
√ √
2. lim f (x ) = lim 4 − x 2 = 4 − c 2
x →c x →c
3. lim f (x ) = f (c)
x →c
Thus, we see that at any c ∈ (−2, 2), all the three condition of continuity
satisfied. Therefore, f (x ) is continuous at any interior point of (−2, 2).
Continuity of Function
Continue...
Continuity at x = −2 (only check right-continuity as x = −2 is the left end
point of the interval [−2, 2])
p √
1. At x = −2, we have f (−2) = 4 − (−2)2 = 0 = 0, which is a define
value
√ p
2. lim f (x ) = lim 4 − x 2 = 4 − (−2)2 = 0
+ +
x →−2 x →−2
3. lim f (x ) = f (−2)
+
x →−2
continue...
3. lim f (x ) = f (2)
−
x→ 2
Rules of Continuity
Preservation of Algebraic Operations: If two functions are continuous at a
point, then various combinations those functions through algebraic operations
are also continuous at that point.
Theorem
If functions f and g are continuous at x = c, then the following functions are
continuous at x = c
1. f + g and f − g
2. fg
3. kf , for any number k
4. f /g, provided that g(c) ̸= 0
5. (f (x ))m/n , provided that (f (x ))m/n is continuous on the interval
containing c, and m, n are integers.
Continuity of Function
Theorem
1. Every polynomial is continuous on every point on the real line
P(x )
2. Rational functions, f (x ) = are continuous at every point where its
Q(x )
denominator is different from zero, i.e., continuous on the set
S = {x ∈ R|Q(x ) ̸= 0} or R − {x ∈ R|Q(x ) = 0}
x 4 +20
Ex: Discuss where r (x ) = 5x (x −2)
is continuous?
x 4 +20
Sol: Given that r (x ) =5x (x −2)
.
Let f (x ) = x 4 + 20 and g(x ) = 5x (x − 2) are polynomials. Therefore by
above Theorem both f (x ) and g(x ) are continuous at every real number
x.
Continuity of Function
Continue...
The rational function r (x ) will continuous on real number x for which
g(x ) ̸=. To compute those points we proceed as follow: r (x ) will
continuous on
S = R − {x ∈ R|g(x ) = 0}
= R − {x ∈ R|5x (x − 2) = 0}
= R − {x ∈ R|x = 0 or x − 2 = 0}
= R − {x ∈ R|x = 0 or x = 2}
= R − {0, 2}
Week # 3
Introduction to Differentiation
Rate of Change