Professional Documents
Culture Documents
Department of Mathematics
Notations and Definitions
Engineering Mathematics-I
Interval
Engineering Mathematics-I
the semiopen interval from a to b to be the set,
(a, b] := {x ∈ R : a < x ≤ b}
Engineering Mathematics-I
Semi-infinite intervals
Engineering Mathematics-I
Chapter 1. Functions and Their Geometric Properties
Engineering Mathematics-I
Definition (Domain): The set A of all possible input values is
called the domain of the function.
Definition (Codomain): The set B in the definition of function
is called codomain.
Definition (Range): The set of all output values of f (x ) as x
varies throughout A is called the range of the function.
Note: The range may not include every element in the set B.
Engineering Mathematics-I
Examples
Engineering Mathematics-I
Q1. Find the domain and range of following functions.
1. f (x ) = 1 + x 2
Domain = (−∞, ∞)
Range = [1, ∞)
√
2. f (x ) = 1 − x
Domain = [0, ∞)
Range = (−∞,√ 1]
3. f (x ) = 5x + 10
Domain = [−2, ∞)
Range = [0, √∞)
4. g(x ) = x 2 − 3x
Domain = (−∞, 0] [3, ∞)
S
Range = [0, ∞)
Engineering Mathematics-I
4
5. f (t) = 3−t
Domain = (−∞, 3) (3, ∞)
S
7. f (x ) = x 21−1
Domain = R \ {−1, 1}
Range = (−∞, 1] (0, ∞)
S
Engineering Mathematics-I
Graphs of Functions
Engineering Mathematics-I
Vertical line test for a function
Engineering Mathematics-I
Q2. Which of following graphs are graphs of functions of x and
which are not ?.
Engineering Mathematics-I
Criteria to find domain and range of function
For Domain:
Here we are considering only real valued functions.
To find domain, consider only that real number for which
image is real valued i.e. collect all x ∈ R for which f (x ) ∈ R.
√
e.g. f (x ) = x , here if x ∈ R− i.e. x is some negative real
√ √
number, then x ∈ / R and if x ∈ R+ , then x ∈ R.
To find sdomain of function like
(x − a1 )(x − a2 ) · · · (x − am )
f (x ) =
(x − b1 )(x − b2 ) · · · (x − bn )
We can find domain of this function by wave curve method.
Engineering Mathematics-I
Wave Curve Method
Engineering Mathematics-I
If a1 < a2 < · · · < am < b1 < b2 · · · < bn , then
Engineering Mathematics-I
Examples to find domain
s
(x + 1)(2x − 1)
1. f (x ) =
(x − 3)(x + 2)
Engineering Mathematics-I
q q
2. f (x ) = (x 2 − 3x ) = x (x − 3)
Engineering Mathematics-I
s s
(x + 1)(2x + 1) (x + 1)2(x + 1/2)
3. f (x ) = =
(x − 3)(x + 2) (x − 3)(x + 2)
Engineering Mathematics-I
s
(x − 1)2 (x − 2)3 (x − 5)
4. f (x ) =
(x + 1)(x − 3)4
In above function (x − 1)2 , (x − 3)4 is always positive, hence these
all are defined for all real numbers.
Engineering Mathematics-I
For Range:
Case I: If f (x ) does not contain square root, then define
f (x ) = y and express x = f (y ) (i.e. x as a function of y ).
Now, domain of f (y ) function (or x ) will be range for original
function f (x ).
Case II: If f (x ) contains some square root terms, then go
through same procedure in case I, only remove negative real
number from domain of f (y ) that will be the range for
original function f (x ) (because, negative numbers can not be
in the range of square root).
Engineering Mathematics-I
1
Example: Find domain and range of the function f (x ) =
1 − x2
Answer: Given f (x ) is rational function
For domain, 1 − x 2 6= 0 i.e. denominator 6= 0
Domain D = R \ {−1, 1}
For range, define f (x ) = y i.e. solve interm of x
1
∴y =
1 − x2
y (1 − x 2 ) = 1
1 1
(1 − x 2 ) = ⇒ −x 2 = − 1
y y
s
2 1 y −1
⇒x =1− ⇒x = (1)
y y
Engineering Mathematics-I
1
Now, domain of above function will be range for f (x ) = .
1 − x2
Now domain of right hand side term of equation (1) is
D = (−∞, 0) [1, ∞)
S
Engineering Mathematics-I
Types of Functions
Engineering Mathematics-I
onto function: A function f : A → B is said to be an onto
function if every element of B has at least one preimage in A
i.e. f (A) = B. or range of f is the codomain of f .
e.g. 1. f : R → R defined by, f (x ) = x
2. f : R → R defined by, f (x ) = x 3 .
Engineering Mathematics-I
Many-one function: A function f : A → B is said to be
many-one function if two or more elements of set A (if exist)
have same image in B.
e.g. f : [−1, 1] → R defined by, f (x ) = x 2 .
Engineering Mathematics-I
In general, functions are classified into two ways:
1 Algebraic function
2 Transcendental function
1. Algebraic function: Any function constructed from
polynomials using algebraic operations ( i.e. sum, subtraction,
product and division of terms) is called algebraic function.
Polynomial function: A function of the form
p(x ) = a0 + a1 x + a2 x 2 + · · · + an x n where, n is non negative
integer and the numbers a0 , a1 , · · · , an are real constant
(called the coefficient of polynomial).
Domain of polynomial function = (−∞, ∞).
Engineering Mathematics-I
Some polynomial functions with graphs
Identity Function: y = f (x ) = x
Domain = R
Range = R
Engineering Mathematics-I
f (x ) = x 2
Domain = R
Range = [0, ∞)
Engineering Mathematics-I
f (x ) = x 3
Domain = R
Range = R
Engineering Mathematics-I
f (x ) = x 2n , n ∈ N
Domain = R
Range = [0, ∞)
Engineering Mathematics-I
f (x ) = x 2n−1 , n ∈ N
Domain = R
Range = R
Engineering Mathematics-I
Modulus function: Modulus function is denoted by |x | and is
defined( by,
x if x ≥ 0
|x | =
−x if x < 0
Engineering Mathematics-I
Greatest integer function: The function whose value at any
number x is the greatest integer less than or equal to x , is
called greatest integer function.
It is denoted by the symbol bx c
i.e. bx c = nearest and smallest integer equal to x .
e.g. b2.4c = 2, b1.8c = 1, b−0.3c = −1, b5c = 5.
Domain = (−∞, ∞)
Range = [0, 1)
Engineering Mathematics-I
2. Transcendental function: The functions which are not
algebraic, called transcendental functions.
They include trigonometric, inverse trigonometric, exponential and
logarithmic functions.
Engineering Mathematics-I
Geometric properties of function
Engineering Mathematics-I
Example 1: The function f : R → R defined by f (x ) = x 2 is
bounded below on R.
Engineering Mathematics-I
Example 3: Let the function f : R → R defined by,
x2
f (x ) = 2 . Is f (x ) bounded ?
x +1
x2
Solution: Given function is f (x ) = 2 .
x +1
Domain of this function is R and
x2
as 0 ≤ x 2 < x 2 + 1 ⇒ 0 ≤ 1 <1
x +1
i.e. 0 ≤ f (x ) < 1, ∀x ∈ R.
⇒ bounds of f (x ) are 0 and 1.
∴ given function is bounded.
Engineering Mathematics-I
2 Monotonicity: Monotonicity is a geometric property of a real
valued function defined on a subset of R that corresponds to
its graph being increasing or decreasing.
Engineering Mathematics-I
Let D ⊆ R be such that D contains an interval I and f : D → R
be a function.
Monotonically increasing function:
We say that f is monotonically increasing on I if,
x1 , x2 ∈ I, x1 < x2 ⇒ f (x1 ) ≤ f (x2 )
e.g. y = loga (x ) if a > 1
Engineering Mathematics-I
Monotonically decreasing function:
We say that f is monotonically decreasing on I if,
x1 , x2 ∈ I, x1 < x2 ⇒ f (x1 ) ≥ f (x2 )
e.g. y = loga (x ) if 0 < a < 1
Engineering Mathematics-I
Convexity:
A function is convex if the line segment joining any two points
on its graph lies on or above the graph.
f is convex on I if,
f (x2 ) − f (x1 )
x , x1 , x2 ∈ I, x1 < x < x2 ⇒ f (x ) − f (x1 ) ≤ (x − x1 )
x2 − x1
OR
Let f (x ) be a function defined on an interval I and let x1 , x2
are any two points of I and for any t ∈ R satisfying 0 ≤ t ≤ 1
such that
f (tx1 + (1 − t)x2 ) ≤ tf (x1 ) + (1 − t)f (x2 ).
Engineering Mathematics-I
f is concave on I if,
f (x2 ) − f (x1 )
x , x1 , x2 ∈ I, x1 < x < x2 ⇒ f (x ) − f (x1 ) ≥ (x − x1 )
x2 − x1
OR
Let f (x ) be a function defined on an interval I and let x1 , x2
are any two points of I and for any t ∈ R satisfying 0 ≤ t ≤ 1
such that
f (tx1 + (1 − t)x2 ) ≥ tf (x1 ) + (1 − t)f (x2 ).
Engineering Mathematics-I
Example: Show that f (x ) = x 2 is convex on R.
Solution: Given f (x ) = x 2 , then f (x1 ) = x12 and f (x2 ) = x22
Claim: f (x ) is convex on R?
i.e. to show that
f (x2 ) − f (x1 )
x , x1 , x2 ∈ I, x1 < x < x2 ⇒ f (x ) − f (x1 ) ≤ (x − x1 )
x2 − x1
Consider,
f (x ) − f (x1 ) = x 2 − x12
= (x − x1 )(x + x1 ) (1)
and
Engineering Mathematics-I
f (x2 ) − f (x1 ) x 2 − x12
(x − x1 ) = 2 (x − x1 )
x2 − x1 x2 − x1
(x2 − x1 )(x2 + x1 )
= (x − x1 )
x2 − x1
= (x2 + x1 )(x − x1 ) (2)
Let x1 < x < x2 , then (x − x1 ) > 0
Now concider,
x < x2 add x1 , then
(x + x1 ) < (x2 + x1 ) Now multiply by (x − x1 )
(x − x1 )(x + x1 ) < (x2 + x1 )(x − x1 )
f (x2 ) − f (x1 )
⇒ f (x ) − f (x1 ) < (x − x1 ) (from equations (1) and (2))
x2 − x1
Hence f (x ) = x 2 is convex on R.
Engineering Mathematics-I
Example: Check by definition f (x ) = |x | is convex (concave up) or
not on R.
Solution: For any t ∈ R, satisfying 0 ≤ t ≤ 1 such that
f (tx1 + (1 − t)x2 ) ≤ tf (x1 ) + (1 − t)f (x2 )
Here f (x ) = |x |
f (tx1 + (1 − t)x2 ) = |tx1 + (1 − t)x2 |
≤ |tx1 | + |(1 − t)x2 | (∵ |x1 + x2 | ≤ |x1 | + |x2 |)
≤ t|x1 | + (1 − t)|x2 |
≤ tf (x1 ) + (1 − t)f (x2 )
Therefore, f (x ) is concave up or convex function.
Graphically,
Engineering Mathematics-I
Local extrema
Let D ⊆ R and c ∈ D be such that D contains an interval
(c − r , c + r ) for some r > 0.
Given f : D → R, we say that
f has local maximum at c, if there is δ > 0 with δ ≤ r such
that f (x ) ≤ f (c), ∀x ∈ (c − δ, c + δ).
f has local manimum at c, if there is δ > 0 with δ ≤ r such
that f (x ) ≥ f (c), ∀x ∈ (c − δ, c + δ).
Engineering Mathematics-I
Examples
1 The function f : R → R defined by f (x ) = −x 2 has has local
maximum at the origin.
Engineering Mathematics-I
Point of inflection
c is a point of inflection for f if there is a δ > 0 with δ ≤ r such
that f is convex in (c − δ, c) while f is concave in (c, c + δ) or
vice-versa. i.e. f is concave in (c − δ, c) while f is convex in
(c, c + δ).
e.g For the function f : R → R defined by, f (x ) = x 3 , the origin is
the point of inflection.
Engineering Mathematics-I
Intermediate Value Property (IVP)
Statement: If f is continuous function on a closed interval [a, b]
and if y0 is any value between f (a) and f (b), then y0 = f (c) for
some c in [a, b].
Engineering Mathematics-I
Consequence for root finding
Engineering Mathematics-I
Example. Show that there is a root of the equation x 3 − x − 1 = 0
between 1 and 2.
Solution: Let f (x ) = x 3 − x − 1
since, f (1) = 1 − 1 − 1 = −1 < 0
and f (2) = 5 > 0
Here, f changes sign at point 1 and 2 and given function is
continuous on interval [1, 2]
Therefore, by IVP, we say that there is root of given function f
between 1 and 2.
Engineering Mathematics-I
Example. Explain why the equation cosx = x has at least one
solution .
Solution: Given equation, cosx = x can be written as
f (x ) = cosx − x
This function f (x ) is continuous everywhere, so domain is R
We can also take this function as continuous on [0, π/2].
Now, f (0) = cos0 − 0 = 1 > 0
and f (π/2) = cos(π/2) − π/2 = 0 − π/2 = −π/2 < 0
Therefore, f changes sign on [0, π/2],
so by IVP f has at least one solution between [0, π/2].
Engineering Mathematics-I
Example. Show that the equation x 3 − 15x + 1 = 0 has three
solutions on the interval [−4, 4].
Solution: Given equation x 3 − 15x + 1 = 0 can be written as
f (x ) = x 3 − 15x + 1 = 0
As f is a polynomial, so it is continuous on [−4, 4]
Claim: f has three solutions on [−4, 4]
We can show this by considering three distinct susets of [−4, 4] on
which f changes its sign and by applying IVP we get our result.
1. Consider the interval [−4, −1]
On this interval f is continuous and
f (−4) = −64 + 60 + 1 = −3 < 0, f (−1) = −1 + 15 + 1 = 15 > 0
As f changes sign on [−4, −1] so, by IVP f has at least one
solution in [−4, −1].
Engineering Mathematics-I
2. Consider the interval [0, 1]
On this interval f is continuous and
f (0) = 0 − 0 + +1 = 1 > 0, f (1) = 1 − 15 + 1 = −15 < 0
As f changes sign on [0, 1] so, by IVP f has at least one solution
in [0, 1].
3. Consider the interval [2, 4]
On this interval f is continuous and
f (2) = 8 − 30 + 1 = −21 < 0, f (4) = 64 − 60 + 1 = 5 > 0
As f changes sign on [2, 4] so, by IVP f has at least one solution
in [2, 4].
Engineering Mathematics-I
Examples on local maximum and local minimum values of
function
Example. Find local maximum and local minimum values of the
function f (x ) = x 2/3 , −2 ≤ x ≤ 3.
Solution: Given f (x ) = x 2/3 define on domain [−2, 3]
√3
Now, f (−2) = (−2)2/3 = 4, f (3) = (3)2/3 = 2.08 and at x = 0 ∈ [−2, 3], f (0) = 0 at end point −2 and
Engineering Mathematics-I