Differential Calculus
Differential Calculus
(Runner) Leibnitz
Newton (Philospher
(Mathematician) Mathematician)
y x
y x4
yx yx 3
y x2
(3)
y 1
y x
y x2
Graph of function
4
3
2
1
2 1
1 2 3 4
2
The graph of the greatest integer function y x lies on or below the line y x ,
so it provides an integer floor for x.
(5) The graph of the least integer function lies on or above the line y x
yx
1 y x
2 1
1 2
(6)
x, y
y x3 odd function
Symmetric about origin
x, y
(7)
x, y
x, y y x 2 even function
Note:
1. The graph of an even function is symmetric about the y-axis
f x f x
2. The graph of an odd function is symmetric about the origin.
f x f x
Example:
y x 1
y x2 1
yx
y x2
Limit:
x 2 x2 x
Question: If I ask what about x 2 ! I can ask what happens if x goes closer and
closer to 2.
This gives the idea of limit what value the function approaches if x gets closer
and closer to x 2 .
Represented as : lim f x
x2
y g x
5
4 Discontinuity of g x
3
2
P
1
2 1 x 1 x2
lim g x 1.999 3.996001
2
x2
1.999999 Really closed to 4
2
2.1 4.41
2
4
2.000001 Really closed to 4
2
lim x 2 4
x2
x2 , x 2
. f x
3, x2
4 4
3
x2
x2
lim f x 4 ? Yes
x2
Intention: difference between the limit of a function at a point and value of the
function at that point.
2x 2 0
Example: lim undefined
x 1
x 1 0
we can express it as
2 x 1
f x
x 1
i.e. Rewriting the given function
2, x 1
f x
undefined, x 1
f x
x 1
1 1
Example: lim ; f x
x 0 x x
Let us form a table to get graph:
x f x
0 Undefined
- .01 - 100
- - 1000
.001
0.1 100
.001 1000
Now sketch f x
1
lim
x 0 x
1
lim
x 0 x
1
We say that lim does not exist. (as and - different)
x 0 x
1
Example: lim
x 0 x2
x x2 f x
.1 100
-.1 100
.01 10,000
-.01 10,000
f x x2
1 1
lim 2
lim 2
x 0 x x 0 x
So, when you go from x ; f x approaches to and from +x, f x tends to ;
so its limit is .(over the extended real line)
x2 6 x 9 0
Example: lim
x 3 x2 9 0
f x
x 3 x 3
x 3 x 3
We can say
x 3
f x ; x3
x3
x2 x 2 0
Example: lim
x 1 x 1 0
Simplify
lim
x 1 x 2
n 1 x 1
Sometimes factorization may be tough but you make sure x 1 will be one of
0
factor as undefined
0
3x 2 5
Example: lim
x 4 x 2 3
Its always easy as x is going to be a larger and larger value. So 5 and 3 are
useless as compare to 3x 2 and 4x 2 .
Just leave them simply
3x 2
Now think about 4 x 2 same pace
3x 2 5 3
lim ;
x 4 x 2 3 4
Fastest going term in numerator
Fastest going term in denominator
x 4 x 1 x2
2
lim
x
x2 4x 1 x
1
4
lim x
x 4 1
1 2 1
x x
4 4
2
1 1 2
f
(v) lim x
xa g m
m0
Again when x 4, x 4 x 4
x 4
lim f x lim lim 1 1
x 4 0 x 40 x4 x 40
so that
lim f x lim f x
x 4 0 x 4 0
Example2. Evaluate:
(i). lim
x 2 3x 1
x 1 x 2 3x 2
4 x 2
(ii). lim
x0 x
sin x
(iii). lim
x 0 x
x 2 3x 1 xlim x 2 xlim 3x 1
(i) lim 1 1
x 1 x 2 3x 2
lim x 2 3 x 2
x 1
1 4
1
4
4 x 2 4 x 2 4 x 2
(ii) lim lim
x 0 x x 0 x 4 x 2
1 1
lim
x 0 4 x 2 4
(iii) lim
x 0
sin x
lim
sin x
lim x 1 0 0
x x 0 x x 0
x2 1
Example3. Evaluate lim .
x 1 x 1
Let us evaluate the left hand and the right hand limits.
When x 1 0 , put x 1 h, h 0
Hence h 0 as x 1 0 , so that
So that both, the left hand and right hand limits exist and are equal. Hence limit
of the given function exists and equals 2.
e1 x 1
Example4. Evaluate lim lim 1
x 0 e1 x
1 x 0 1 e 1 x
and
e1 x 0
lim 0
x 0 e1 x 1 1
so that the left hand limit is not equal to the right hand limit.
e1 x
Hence lim does not exist.
x 0 e1 x 1
1, if x 0
sgn x 1, if x 0
1, if x 0
and x means the greatest integer x .
L.H.L. = hlim e0h sgn 0 h 0 h lim e h 1
0 h 0
Continuity in an Interval
A function f is said to be continuous in an interval a, b if it is continuous at
every point of the interval (a, b) and continuous from right at point a and from
left at b.
Discontinuous Functions
A function is said to be discontinuous at a point c of its domain if it is not
continuous there at c. The point c is then called a point of discontinuity of the
function.
Types of discontinuities
(i). A function f is said to have a removable discontinuity at xc if lim f x
x c
exists but is not equal to the value f c (which may or may not exist) of
the function. Such a discontinuity can be removed by assuming a suitable
value to the function at x c .
(iii). f is said to have a discontinuity of the first kind from the left at xc if
lim f x exists but is not equal to f c .
x c 0
Differentiability
y f x
y Q
c h, f c h
c, f c
P
H
T O S M N x
Definition:
Geometrically if there exist unique tangent to the curve at that point.
Differentiability Vs Continuity:
f 'c 0 0
so that lim f x f c , and therefore, f is continuous at x c .
xc
But f ' 0 does not exist. Thus, the function is continuous but not derivable
at the origin.
Note:
If f and g be two functions having the same domain D and f g or f g be
derivable at c D , then f and g are not necessarily derivable at c. Consider,
for instance
1 x x0
(i) f x and g x f x
0 x0
f g is derivable at the origin but f and g are not.
x sin 1 x x0
(ii) f x and g x x
0 x0
Hence fg is derivable at the origin, whereas f is not.
(iii) f x x and g x x
f x g x x 2 , so that f g is derivable at the origin but the functions f and
g are not derivable.
Similarly many more functions may be constructed.
x c f ' c x g ' c h f x
Thus, if x c , we have
gof x gof c g ' f c h f x f ' c x
x c
....(3)
INDETERMINATE FORMS
We shall now discuss some theorems concerning the indeterminate form 0/0.
L'Hospital's Rule for 0/0 form. If f, g are two functions such that
(i) lim f x lim g x 0 ,
xa x a
Generalised L'Hospital's Rule for 0/0 form. If f, g be two functions such that
(i) f n x , g n x exist, and g ' x 0 r 0,1, 2,....., n for any x in a , a
except possibly at x a ,
f n x
and (iii) lim exists, then
xa g n x
f x f n x
lim lim
xa g x xa gn x
Exam Point
The rule in the form of above theorem is more useful than the other forms
because we may cancel out common factors or affect any other simplification in
the quotient f ' x g ' x before proceeding to the limits. Also repeated
application of the rule is possible in this form.
L'Hospital's rule holds even in the case when each f x and g x tends to
when x a or when x . Next theorems will show how these cases can be
handled in an exactly similar fashion.
(ii) f ' x , g ' x exist, and g ' x 0 , x 0 except possibly at , and (iii)
f ' x
lim exists, then
x g ' x
f x f ' x
lim lim
x g x x g ' x
(a) Form 0
When f x 0 and g x as x a, f x g x takes 0 form.
However f x g x may be expressed as
f x g x
or
1 g x 1 f x
which has respectively 0/0 and forms.
(b) Form
This can be reduced to the form 0/0 or . Dividing numerator and
denominator by f x g x ,
Let us now evaluate some limits which take up these forms, we shall not
hesitate to make use of certain known limits, such as
x
sin x tan x 1
lim , lim , lim 1 etc. or expansions of functions such as
x 0 x x 0 x x
x
log 1 x , sin x , etc. either in the beginning or at some intermediate state
because it simplifies and shortens the process of evaluation of a limit to a
considerable extent.
Thus,
lim f x lim f x lim f x 0
x 0 x 0 x 0
Also
lim f x f 0
x 0
Hence the limit exists, but is not equal to the value of the function at the origin.
Thus the function has a removable discontinuity at the origin.
Note: The discontinuity can be removed by redefining the function at the origin
such as f 0 2
Example3. Show that the function defined by
x sin1 x, when x0
f x
0, when x0
is continuous at x 0 .
Now
1
lim f x lim x sin 0 . (A finite real number belonging to 1,1 )
x 0 x 0
x
so that
lim f x f 0 . Hence, f is continuous at x 0 .
x 0
lim f x lim 5 x 4 4
x 0 x 0
so that
lim f x f 0 lim f x
x 0 x 0
Thus the function has a discontinuity of the first kind from the right at the
origin.
Again
lim f x lim 4 x 2 3x 1
x 1 x 1
so that
lim f x lim f x 1 f 1
x 1 x 1
lim f x f 1
x 1
Also
f 2 10 lim f x f 2
x2
x x
Example4. Is the function f, where f x continuous?
x
xx
For x 0 , f x 2 , continuous.
2
xx
For x 0 , f x 0 , continuous.
x
The function is not defined at x 0
Thus f x is continuous for all x expect at zero.
f x f 1 x 1
2
f ' 1 lim lim lim x 1 2
x 1 0 x 1 x 1 x 1 x1
Thus, the function is derivable in the closed interval 0, 1 .
f x f 1 1 1
Rf ' 1 lim lim 0
x 1 x 1 x 1 x 1
f x f 1
Lf ' 1 Rf ' 1 . Thus, lim does not exist, i.e., f ' 1 does not
x 1 x 1
exist.
x x
lim lim 1
x 0 x x0 x
f x f 0
Right hand derivative lim
x 0 x0
x x
lim lim 1
x 0 x x 0 x
Thus,
Hence, the function is not derivable at x 0 .
Example 4-a:
1
x sin , x 0
(1) Check continuity and differentiability of f x x
0, x0
1
f x x sin
x
It is continuous at x 0
Now
1
h sin
f 0 h f 0 h lim sin 1
Rf ' 0 lim lim
h 0 h h0 h h 0
h
which does not exist.
Similarly, Lf ' 0 does not exist.
Now,
1 1
2 x sin cos ; x 0
f ' x x x
0; x0
Extra- Now checking continuity of f ' x at x 0
1 1
f ' 0 h lim f ' 0 h lim 2h sin cos
h 0 h 0
h h
1
0 lim cos
h 0
h
which does not exist.
Similarly we can show f ' 0 h does not exist.
h 0
h 0
Example 5: Show that the function f x x tan 1 1 x for x 0 and f 0 0 is
continuous but not differentiable at x 0 . Do by self.
Solution: x 2 2 x 5 2 x 1 x 2 4 x 4 0 x 2
We have x 2 2 x 5 2 x 1 except when x 2 that means we have to check
continuity at x 2 only (except x 2 ; they are unequal; (since rational =
irrational).
Hence f is continuous at x 2 only.
Further, it follows that x 2 is the only point at which f may be differentiable.
In this regard, we see that
2 x 1 5
2; when x is rational
f x f 2 x2
2
x2
x 2x 5 5
x ; when x is irrational
x2
Therefore, in either case, we have
f x f 2
lim 2
x2 x2
Hence f is differentiable at x 2 and f ' 2 2 .
y 1
x 1 x2 x3
e1 x e 1 x
x ; x0
Example 10: If f x e1 x e1 x
0; x0
Show that f is continuous but not differentiable at x 0 .
Solution:
(i) f 0 0 0, f 0 0 0 , f 0 0
(ii) Rf ' 0 1 , Lf ' 0 1
e 1 x sin 1 x , x 0
2
Example-11: Let f x
0; x0
Test differentiability of the function at x 0 .
Solution:
e1 h sin 1 h sin 1 h
2
1 ; 2 x 0
Example13: Let f x
x 1 ; 0 x 2
and g x f x f x
Test the differentiability of g x in 2, 2
Solution:
x x for 2 x 0 and x x for 0 x 2 , we have
x 1 ; 2 x 0
f x
x 1 ; 0 x 2
1; 2 x 0
and f x x 1 ; 0 x 1
x 1 ; 1 x 2
x ; 2 x 0
so g x f x f x 0 ; 1 x 1
2 x 2 ; 1 x 2
Answer: Differentiable for all x except at x 0 and x 1 .
x b b
x b
Example 15: 1 a x b , 2
a x
a a x
d
(a) 1 2
dx
Question: Let us consider a square matrix for which entries are coming from
the field of rational numbers.
x 2 x 3x 5 6
2
a1 a2 a3 x x3
A0 0 ; x
b1 0 0
d1 d2 0 0 0
e e2 0 0 0 55
1
d
Then find
dx
A ; A ; determinant of A.
1 1 1
Question: x 2x 3x
2
x 4 x2 9x2
Show that (the Vander monde determinant)
1 1.................1
a1 a2 ..............an
a12 a22 ..............an2 a
1 i j n
j ai
...........................
a1n 1 a2n 1........ann 1
here-
function f defined as:
x 2 sin 1 x if x 0
f x
0 if x 0
is derivable at x 0 but lim f ' x f ' 0 .
x0
f x f 0 x 2 sin1 x
f ' 0 lim lim
x 0 x0 x 0 x
lim x sin1 x 0
x 0
lim g x lim x 3 0
x0 x0
f x 0
Hence, lim is of form, so that L'Hospital'r rule is applicable, i.e.,
x 0 g x 0
f x f ' x
lim lim
x 0 g x x 0 g ' x
x tan x 1 sec 2 x
lim lim
x 0 x3 x 0 3x2
2
1 tan x 1
lim
3 x 0 x 3
xe x log 1 x
Example 2. Evaluate lim .
x 0 x2
It is a 0/0 form and therefore
1
xe x log 1 x xe x e x
1 x 0
lim 2
lim form
x 0 x x 0 2x 0
1
xe x 2e x
1 x
2
3
lim
x 0 2 2
1 x
1x
e
Example 3. Find lim .
x 0 x
Since lim 1 x e , therefore it is a 0/0 form
1x
x 0
d
1 x
1x
1 x
1x
e
lim lim dx
x 0 x x 0 1
1 x x 1 x log 1 x
1x
lim
x0 x 2 1 x
x 1 x log 1 x 0
e lim form
x 0 x 1 x
2
0
Let y 1 x
1x
1
log y log 1 x
x
1 x 2 x3 x 4
x ... , if x 1
x 2 3 4
2
x x
1 ...
2 3
x2
x
y exp 1 ...
2
3
x x 2
e exp ...
2 3
x x2 1 x x2
2
e 1 ... ... ...
2 3 2! 2 3
x 11 2
e 1 x ...
2 24
x 11 2
e 1 x ... e
1 x e
1x
2 24 e
lim lim
x x 0 x 2
log 1 x
Example 4. Find lim .
x 10 cot x
It is a form and therefore
1
log 1 x 1 x
lim lim
x 1 0 cot x x 1 0 cosec 2 x
sin 2 x 0
lim form
x 1 0 1 x 0
sin 2 x
lim 0
x 1 0
Alter:
1 1 sin 2 x x 2
lim 2 2 lim 2 2
x 0 x sin x x0 x sin x
2
sin 2 x x 2 x
lim
x 0 x4 sin x
x
Using lim
x 0 sin x
1
sin 2 x x 2 0
lim 4 form
x 0 x 0
sin 2 x 2 x 0
lim 3 form
x 0 4x 0
cos 2 x 1
lim
x 0 6 x2
1 sin x 2 1
lim
x 0
3 x 3
Note: It should be noted that when a given function can be put as a product of
two or more factors, the limit of each of which can be easily found, then limit of
the entire function can be determined by evaluating the limit of each factor
separately, provided that the product of these limits is not an indeterminate
form.
1 x2
x
, so that
1 tan x
log K 2 log
x x
tan x sec 2 x 1
log
x tan x x 0
lim log K lim lim form
x 0 x 0 x2 x 0 2x 0
x sec 2 x tan x sec 2 x tan x 0
lim lim form
2 x 2 tan x x 0 2 tan x x sec 2 x
x 0
0
tan x sec2 x 1
lim lim
x 0 sin 2 x x x 0 2cos 2 x 1 3
1 x2
1 log1 x
Example 7. Evaluate xlim
10
1 x 2 .
1 log 1 x
It is a 0 form. Therefore, let K 1 x 2 , so that
log K
log 1 x 2 lim log K lim
log 1 x 2
form
log 1 x x 1 0 x 1 0 log 1 x
2 x 1 x 2x
lim lim 1 lim log K 1 lim K e
x 1 0 1 x 2 x 1 0 1 x x 1 0 x 1 0
Assignment-1
1. Find the limit, derivatives of the following functions at the indicated points:
(i). f x K , a constant, at x c
(ii). f x x at x 0
(iii). f x x at x 4
(iv). f x e x at x x0
2. Show that the function
f x x x 1
is continuous at all real points and derivable at all points except 0 and 1.
1
4. f x x a sin , xa
xa
0, xa
Show that f x is continuous but not derivable at x a .
x e1 x e 1 x
, x0
10. If f x e1 x e1 x
0, x0
Show that f is continuous but not derivable at x 0 and Lf ' 0 1, Rf ' 0 1 .
x m sin1 x , x
11. Examine the function f, where f x for derivability at the
0, x0
origin. Also determine m where f' is continuous at the origin.
12. If functions f and g are defined on 0, by
ANSWERS
5. (i) Not derivable (ii) Not derivable, Lf ' 1 0, Rf ' 1 1
(iii) Not derivable; at x 2, f ' 4 8
7. 0 9. (i) 2 , 2 (ii) –1, 1
11. Derivable if m 1 ; m 2
(1) lim
x sin x
, (2) lim
x log 1 x
, (3) lim
log 1 x3
,
(4) lim
x3
x 0 x3 x 0 1 cos x x 0 sin 3 x x e x
log x
, (6) lim x tan , (7) lim cot 2 x 2
2 1 1
(5) lim
x 2 0 tan x x x x 0
x
(8) lim sec x tan x , (9) xlim cot x , (11) lim sin x
sin x tan x
x 2 0 0 x 2
1
1 x
1x
e ex 1x
x
4
, x0
bx 3 2
is continuous at x 0 .
CSE 2008 Q19. Prove that function
x e 1x 1
f x
, x0
erx 1
0, x0
is continuous but not differentiable at x 0
SOLUTIONS(HINTS)
Ans1. lim tan x ; 1 form.
tan 2 x
x
4
Let A tan x
tan 2 x
log e tan x
lim
x
1 tan 2 x
4
d
log e tan x
lim dx ; L'Hospital Rule
d
x
4 1 tan 2 x
dx
x
Ans3. Evaluate lim x 1 tan
x 1 2
x
Solution: lim x 1 tan ; 0 form
x 1 2
x d x x
tan tan sec 2
2 lim dx 2
lim ; applying L'Hospital Rule lim 2 2 ;
x 1 1 x 1 d x 1 1
x 1 1
dx x 1
x 1
2
complicated??
Ans4. Let f : 0, be a continuous function such that
2
cos 2 x
f x , 0 x
4x
2 2
2
Find the value of f
2
0 cos 2 x
f form (undefined). So let's try to find lim f x lim 2
x 4 x
2
2 0 x
2 2
1 cos 2 x 1
sin 2 x 2
lim 2 lim 2
4x2 2 8x
x x
2 2
sin
lim f x lim 0
x
2
x
2 8
2
Given that f x is continuous in 0, 2
lim f x f 2
x
2
0 f 2
Ans5. If f x cos x sin x differentiable at x ? If yes then find its
2
derivative at x . If no, then give a proof of it.
2
Solution:
We know that
x ; x
f x x
x , x
cos x sin x, x 2
f x cos x sin x ....(1)
cos x sin x, x
2
Now, Derivative of f x at x is given by
2
z
Ans6. Determine lim 1 z tan
z 1 2
Solution:
z 1 z 0
lim 1 z tan lim ; form
z 1 2 z 1 z 0
cot
2
1
lim ; applying L'Hospital Rule
z 1
cosec 2 z
2 2
2 1 z
lim . So lim 1 z tan 2
z 1 cosec 2 z 1 2
z
2
Ans8. Let f x be a real valued function defined on an interval 5,5 such that
x
e x f x 2 t 4 1dt for all x 5,5 . Let f 1 x be the inverse function of
0
f x . Find f 2 .
1
Solution:
x
Given e x f x 2 0 t 4 1dt ....(i)
Differentiating w.r.t. x by Leibnitz rule of differentiation under the sign of
integration
e x f ' x e x f x 0 0 dt x 4 1 1 0
x
0
....(ii)
Leibnitz Rule is
h x d h x h
f x, t dt then f x, t dt f x, h x x f x, g x g x
g x dx g t
x x x
from (ii), we have
e x f ' x f x x 4 1
f ' x f x ex x4 1
I.F. e x
f x e x e x e x x 4 1 dx x 4 1 dx
d2y
Ans9. If x y y x C , find .
dx 2
Solution:
x y y x C ....(1)
Differentiating (1) w.r.t. x,
1 dy 2 dy
1 1 0
2 y x dx 2 y x dx
2 cos x 3
Ans10. Evaluate lim 3
4
x 0
x sin x x
Solution:
2 cos x 3 2 cos x 3
lim 3 4 lim 3 lim 4 form
x 0
x sin x x x 0 x sin x x 0 x
2 x x cos x 3 x sin x
4 4 3
lim
x 0 x 7 sin x
2 x x cos x 3sin x 0
lim ;
x 0 x 4 sin x 0
2 cos x x sin x 3cos x 0
lim ;
x 0 4 x 3 sin x x 4 cos x 0
2sin x x cos x sin x
lim
x 0 12 x 2 sin x 4 x 3 cos x 4 x 3 cos x x 4 sin x
sin x x cos x 0
lim ;
x 0 12 x sin x x sin x
2 4
0
x sin x
lim
x 0 24 x sin x 12 x 2 cos x 4 x 3 sin x x 4 cos x
cos x
lim
x 0 24 cos x 12 cos x 12 x sin x 8 x sin x 4 x 2 cos x 3 x 2 cos x x 3 sin x
1
36
lim f 0 h lim
h e 1
h
1 0 0 1 0
h 0 h 0
e 1
h
1 0 1
Clear lim f 0 h lim f 0 h f 0
h 0 h 0
So, f x is continuous at x 0 .
(ii) For differentiability at x 0
Rf ' 0 lim
f 0 h f 0
lim
lim 1 e
1
h e h 1 1 h
20
1
h e 1 1 e 1 0
1 1 h
h 0 h h 0 h h 0
h e 1 h 1 0
Lf ' 0 lim
f 0 h f 0 0 1
lim
e
1
1 h
1 lim
h0 h h0 h h0 0 1
e ax ebx tan x
Ans12. Evaluate lim
x 0
x
Solution:
e ax ebx tan x ae ax bebx sec 2 x a e0 b e0 sec2 0 a b 1
lim lim
x 0 a b 1
x 0
x 1 1 1
lim f 0 h lim f 0 h f 0
h 0 h0
Ans14. Evaluate
x2 4
, x2
lim f x , where f x x 2
x2
, x2
Solution:
2 h 4 0 2 2 h
2
F ' x f x f 0 f x
F ' x f 0
F ' x 0 F x = constant
(ii) F x is a constant function. So it is differentiable for all real values of x
in the given domain.
h
lim f 0 h lim 1 lim1 1
h 0 h 0 2 h 0
0
f 0 1 1
2
f 0 h f 0 h f 0 f x is continuous at x 0 .
At x 1
1 h 1
lim f 1 h lim 1 lim 1 3 2
h 0 h 0 2 h 0 2
1 h 1 h
lim f 1 h lim 1 lim 1 3 2
h 0 h 0 2 h 0 2
1
f 1 1 3 2
2
f 1 h f 1 h f 1 f x is continuous at x 1
at x 2 :
2h
lim 2 h lim 1 1 1 0
h 0 h 0 2
lim 2 h lim
2 h 1 1 1 2
h 0 h0 2
lim f 2 h lim f 2 h
h 0 h0
f x is not continuous at x 2
For differentiability:
at x 2 ; function is not continuous so it is not differentiable at x 2 .
At x 1 :
1 h
1 3 2
f 1 h f 1 2
Rf ' 1 lim lim 1 2
h0 h h 0 h
Ans18. Obtain the values of the constants a, b and c for which the function
defined by
sin a 1 x sin x
; x0
x
f x c; x0
1 1
x bx 2 2 x 2
3
; x0
bx 2
is continuous at x 0 .
Solution:
sin a 1 h sinh sin a 1 h sinh
lim f 0 h lim lim
h 0 h 0 h h 0 h
sin a 1 h sinh sin a 1 h
lim lim a 1 lim 1
h 0 h h 0 h h 0 a 1 h
a 1 1 1 a 2
h bh
1 1 1
2 2
h 2
1 bh 2
1
lim f 0 h lim lim
h 0 h0
bh 2
3
h 0 bh
1 11
1 bh 1 b 2 h 2 .... 1
2 2 2 1
lim 0 0... 1 2
h0 bh 2
Given that f x is continuous at x 0
1
f 0 h f 0 h f 0 for h 0 a 2 C a 3 2 , C 1 2 and b is
2
arbitrary.
Chapter-2 Rolle's and Mean Value Theorems
Introduction
Rolle's theorem and MVTs are some of the most useful developments in
calculus.
Rolle's Theorem
Statement: If f x is a function defined in [a,b] such that
(i) f x is continuous in the closed interval a, b .
(ii) f x is differentiable in the open interval a, b
(iii) f a f b
Then there exists at least one point c a, b such that f ' c 0 . Note here c is
between a and b.
Exam Point- Basically Rolle’s theorem talks about a point where value of the
derivative of the function is zero. In other words, it gives root of derivative of
the function in between of some fixed points.
Note- The discussion below as proof or interpretation helps you in refining your
understanding about definitions. No need to remember the proof but atleast you
must have an analytical look over it.
Proof: If f x = constant, then
f ' x 0 for all x a, b
So let us assume that f x is not a constant function.
f a f b , f x should either increase or decrease when x takes values
slightly greater than a.
For definiteness, suppose it increases.
It again takes the value f b f a , it must cease to increase and begin to
decrease at some point c a, b . Evidently 'c' cannot be equal to a or b.
c a, b
Further, the value of f x is maximum at x c , and so
f c h f c
f c h f c 0 0 ....(1)
h
and
f c h f c
f c h f c 0 0 ....(2)
h
Where h is any positive number such that c h, c h a, b .
f a f b
a ch ch b x x
a b x
It is clear from the above figure that f ' x may vanish at more than one point.
Note
i ii iii
f a f b f a f b f a f b
but f is not continuous f is continuous but f is
at c a, b not differential at c a, b
All of the above figures demonstrate that the result f ' c 0 of Rolle's theorem
may not be holded if any one of three conditions is not satisfied.
Lagrange's MVT
Statement:
If f x is a function defined in [a, b] s.t
(i) f is continuous in a, b
(ii) f is differential in a, b
then there exists at least one point c a, b s.t
f b f a
f 'c
ba
Proof: Consider the function defined by x f x kx , x a, b where k is
any constant.
f is differential and continuous in a, b and a, b respectively
is too.
Also,
a f a k a
b f b k b
k ba
If we choose k such that a b
In particular if f a f b , then
f 'c 0
B
y AB || PT
A
P
a c b x
Now we’ll learn about different outcomes from Lagrange’s MVT which are
very important for exam.
Note:
The function f : A is said to attain a maximum at a if f a f x for all
x domf .
This is often called a GLOBAL (or ABASOLUTE) MAXIMUM.
It is clear that every global maximum is also a local maximum but not vice
versa.
Definition (3):
Note:
A point on the curve where the concavity changes is a POINT OF
INFLECTION when f is twice differentiable.
It is concave up on J if and only if f " c 0 for all c J and is concave down
on J if and only if f " c 0 for all c J .
Tracing of graphs
Taylor's Theorem
f n 1
x k ....(1)
n 1 ! n!
where k is a constant to be determined such that a h a
Subjecting (1) to their condition
h2 h n 1 nn
f a h f a hf ' a f " a .... f n 1 a k ....(2)
2! n 1! n
in a, a h and differential in a, a h .
Therefore by algebra of functions x is continuous in a, a h and differential
in a, a h by Rolle's theorem.
at least one point a, a h such that ' c 0 . This gives c a Qh ; 0 Q 1
.
Now differentiating (1) w.r.t. x, we get
' x f ' x a h x f " x f ' x
a h x 2
f "' x a h x f " x .....
2!
a h x n 1 n a h x a h x
n2 n 1
n 1
f n f x k
n 1 ! n 2 ! n 1!
a h x
n 1
' x
n 1!
f x k
n
Note:
hn n
The last term, f a Qh is called Lagrange's form of remainder after n
n!
terms in Taylor's expansion of f a h in ascending powers of h.
By taking h x a , we obtain another useful form of the above theorem. Thus
x a x a
2 n 1
n!
f
n
a Q x a 0Qi
x2 x n 1 xn n
f x f 0 xf ' 0 f " 0 .... .... f n1 0 f Qx
2! n 1! n!
where 0 Q 1
f n 1 x a h x k ....(1)
n 1!
where k is a constant to be determined such that a h a
Subjecting (1) to this condition
h2 hn 1
f a h f a hf ' a f " a ..... f n 1 a h k ....(2)
2! n 1 !
All conditions of Rolle's theorem satisfied.
at least one point c a Qh , where 0 Q 1 , such that ' a Qh 0
' x f ' x a h x f " x f ' x
.............. k
f n x k
n 1!
[ other terms cancel in pairs]
' a Qh 0 gives
a h a Qh
n 1
f n a Qh k 0
n 1!
h n 1
1 Q f n a Qh
n 1
k
n 1!
Using this value of k in (2), we obtain the desired expansion of f a h .
nn
1 Q f n a Qh is called Cauchy's form of
n 1
Note: The last term
n 1!
remainder after n terms in Taylor's expansion of f a h is ascending powers of
h.
By taking h x a , we obtain
x a x a
2 n 1
0 Q 1
n 1!
Taking a 0 and h x in the above theorem we obtain Maclaurin's theorem
with Cauchy's form of remainder.
2! n 1! n 1 !
where 0 Q 1
Note: The above two theorems provide the so called Taylor's development of a
function in finite form.
The following theorem gives a necessary and sufficient condition under which a
function can be expanded as an infinite series known as Taylor's series.
Rn x f n a Q x a , 0 Q 1
n 1!
approaches zero as n tends to infinity.
Conversely,
if f x0 lim Sn x0 , then it follows that
n
Corollary:
x2 x n 1
f x f 0 xf ' 0 f " 0 .... f n 1 0 .....
2! n 1!
represents f x for those values of x, and those only, for which the remainder
after n terms in Maclaurin's theorem with Lagrange's form of remainder
x n n
Rn x f Qx ; 0 Q 1
n!
approaches zero as n tends to infinity.
The infinite series in this result called Maclaurin's series.
Power Series:
The series
a x
n0
n
n
a0 a1 x a2 x 2 .....
n 1 !
1. Exponential Series
Let f x e x ; x so that f 0 e0 1 . Then f n x e x , x
Also Lagrange's form of remainder is
x n n xn
Rn x f Qx eQx ....(1)
n! n!
To find lim Rn x , we first set
n
x n
x n 1
un , un 1
n! n 1!
u x
and therefore n ,
un 1 n 1
D'Alembert's ratio test
un
lim 0 , x
x un1
which shows that the series u n is convergent and so lim
n
un 0 .
It follows from (1) that lim Rn x 0
n
f n 0 1 , n
Using Maclaurins theorem, we have
x 2 x3
ex 1 x .....
2! 3!
1 x 1
Solution:
(i) f x is a polynomial
is continuous
is differential
also f x 0 gives
1
x 2
2 2 x 1 0 i.e. x 2,
2
Thus f 2 0 f 2 f 1 2
(ii) f x x x 3 e x 2
1 2
f ' x
2
x x 6 e x 2
f' exists for all x 3, 0
x x 6 0 x 2,3
2
x a x b m n x na mb 0
m 1 n 1
na mb
x a, b,
mn
na mb
Out of these values of x, is the only point which lies in the a, b .
mn
In fact, it divides the interval a, b internally in the ratio m : n . Hence Rolle's
theorem is verified.
C1 C2 C
Example. If C0 .... n 0 .Then C0 C1 x C2 x 2 ... Cn x n 0 has at
2 3 n 1
least one real root between 0 and 1.
Solution.
Exam Point -Try; intuition comes from Rolle’s theorem. But on which
function?? To solve such questions we need to consider a function by ourselves
which can give desired result. Considering such functions becomes easy game
once you practice enough number of questions. These examples in Rolle’s,
f ' C 0
f ' x C0 C1 x C2 x 2 ... Cn x n
e e e e
cosh , sinh
2 2
2
f x sec hx
e e x
x
e x e x 0 in 1,1
f x is differentiable in 1,1
Required C 0
Example. Show that under suitable condition there exits at least one real
number where a b
f a f b f a f '
b a
g a g b g a g ' x
Solution.
Applying Rolle’s theorem on a function x s.t ' x can give required answer.
differentiable in a, b
f a f x
b a f a f a
a 00 0
g x g x b a g x g x
Similarly b 0
i.e. a b
x is continuous in [a, b]
a b
and a b
1 xa
To get , took x and to get a b took
ba ba
f ' x is continuous in 0, C
Also f ' 0 0 f ' C
Examples of MVTs
Example: Discuss the applicability of Lagrange's MVT to the following
functions:
(i) f x 1 x in 1,1
(ii) f x x 2 3 in 1,1
(i)
1
f x
x
11
Question: Find 'c' of the MVT if a c b , f x x 2 3 x 1 , where a ,
7
13
b .
7
f is a polynomial
1
Example: Find 'c' of Lagrange's MVT if f x x x 1 x 2 ; a 0, b
2
Solution:
Hint: On solving we get
1
c 21
6
1 1
But only c 1 21 0,
6 2
1 a b
f C Cf ' C holds for this function where C a, b
a b f a f b
Solution.
Let’s think:
Constructing some function x with the help of f x . But f x itself is not
given.
Not by Rolle’s or Lagrange’s MVT
But we need to go other than those i.e. Cauchy’s MVT
We need to construct two functions.
1 1
F ' C F b F a f 'C 2 f C f b b f a a
C C
G 'C G b G a 1 1 1
C2 b a
x0 x2
f 0 0 f 2 4
f"
x 1
f 1 2
Now summarize the information from each of the sign chart from f'.
f is for x 0 and x 2
f is for 0 x 2
f has a relative maximum at x 0
f has a relative minimum at x 2
From f"
f is for x 1
f is for x 1
Trace:
f x sin x sin 2 x
f ' x cos x 2 cos 2 x
f " x sin x 4sin x
x 2x f x
0 x 0 2x +ve
4 2
x x
4 2 2
x 3
2 4 2x
2
1
1
2
3
3 4
4 2 4 4 2
1
0, 1 1, 0
2
1
1
2
f x sin x cos x
3
9 4 5
7 4
4 4 4 2 x
2 3 3 3 3 7 9
2 4 4 2 4 2 4 4
2
0, 2AT0
1
f
2T0
f 0 1
f
8T0
1
f
4T0
Observation:
1. The sin x function take the fixed value between -1 and +1 and f is present in
the denominator so on increasing the value of f, the value of H will be
decreasing.
2. The function H will take positive & negative value both because it contain
sin x . sin function is positive for the angle in the 1st & 2nd quadrant but
negative in the 3rd & 4th quadrant.
H f
0, 4AT0
1 4T0
1 6T0
h e x h ' x 2 xe t h ' x 4 x 2 e x 2 e x
2 2
0,1 2
ex
x x
1. Trace R f where , are non-negative
2 f
2 2
when f 0 f x 2 , f
at f , f x 0 , f x 0
To trace R f
1
R at & is zero 0
2
Clearly R ' f 0 if f 0
R f is decreasing for f 0
R ' f 0 if f 0
R f is increasing for f 0
2 f
2 f
2 2
f 0, I 0
f , I
f , I
To trace the graph of I f we just take the help of simple observations
I 0 0
I 0
I 0
I is positive for (-ve) values of f & I is (-ve) for (+ve) value of f. On
summarizing the above observation we can stretch the graph of I.
I
f 0
1
Question: sin x sin 2 x
2
2x 2 ; x 2
2 x 2 ; 2 x 0
f ' x
2x 2 ; 0 x 2
2 ; x2
Note:
Check for x 2 ;
lim f x 2
x 2
f x
0,9
x2
0, 1
.
Example. The equation x3 x 1 0 has exactly one real root. Prove or
disprove.
Solution.
Let f x x 3 x 1
f x is strictly increasing
Also; f 0 03 0 1 1 Negative
negative to positive
f x 0 also will be taken for some real x .
[Proved]
Example. The equation x19 x13 2 x7 3x3 2 x 5 0 has exactly one real root
prove or disprove?
f x x19 x13 2 x 7 3 x 3 2 x 5
strictly increasing
f x is one-one ….(1)
By IVT; f x will also take the value zero for at least one x ….(2)
x x
Solution.
x x
5 12
P x 1
13 13
log e is negative if 0 1
5
x
0; x
13
x
12
0 ' x ….(2)
13
5 12
log e 0, log e 0
13 13
for x 0 minima
No sign change in f ' x
tan x x for x 0 in 0, 2
By definition g x g 0 for x 0
1 x2
(ii) log 2 x
2
Solution.
We have used some fundamentals too
Let’s consider a function
f x x sin x
By definition f x f 0 for x 0
x sin x 0 sin 0 in 0, 2
x sin x 0 in 0, 2
x sin x in 0, 2
If get some relation between and then it will be easy to get relation
because cos and cos
?
?
?
1 x2
(ii) log 2 x
2
Solution (ii):
1
If we consider f x log 1 x then f ' x which is not in inequality
1 2x
so of no use
Let’s try other way
Consider f x log 2 x
1 x 2
in 0, x
2
1
f ' x x 0 x 0, 2 f x is strictly increasing in 0, 2
2 x
By definition f x f 0 for x 0
log 2 x
1 x log
2
1
2 0
2 2
log 2 x
1 x 0.69 0.5 0
2
f x x e
2 1 x 2
1 1
1 x 2
2x 1 x 2
f ' x x2 e 2x e
1 x 2 2
1 1
1 x 2
2x 1 x 2
f ' x x e
2
2x e
1 x 2 2
1
f ' x 2 xe
1 x
2
x2
1
1 x
2 2
f ' x 0 for x 0
(i)
f x is decreasing in 1,0
f ' x 0 for x 0
f x
0,1
x 1 x2 0 x1 x
x 1
f 0 0
f 1
Hints
Q. 1. Show that
x3 6 x 2 15 x 3 0, x 0
Q. 3. Show that
(i) tan x x, 0 x 2
2 sin x
(ii) 1, 0 x 2
x
Q. 4. Show that
3 terms.
Solution.
Expansion around x 2 power of x 2
a 2 and h x 2
x 2 x 2
2 3
1 1
f ' x f ' 2
1 x 1 2
1 1
f " x f " 2
1 x
2
9
2 2
f "' x f " 2
1 x 1 2
3 3
4 4 4
When n is zero or an even integer, f " n 4 is negative and therefore
1
x n makes f x a maxima with the maximum value 2.
4
y2 4x
t 1 2t 0 p t 4 2t 2 1 4t 2 p t 4 2t 2 1 t 2 1
2 2 2
p 2
p t 2 1 f t
2
real]
Minimum value of p 0 1 1 as t 0 [Possible]
2
Solution 2. r 2 x 2 y 2 y 2 r 2 x 2 y r 2 x 2 ….(1)
s2 2r 2 r 2 h2
9V 2
s 2 2 r 2 2 r 2 2 4 using h in V
r
2
9V
s 2 2r 4 2
r
Let s 2 z
9V 2
z 2r 4 2
r
dz 18V 2
4 2r 3 3
dr r
2
d z 54V 2
2
12 2 r 2 4
dr r
Clearly z is maximum or minimum according as s is maximum or
minimum.
dz 18V 2
Stationary point of z are given by 0 4 2r 3 3 0
dr r
2 2r 6 2 r 4h 2
h 2r
d2z 59V 2
12 2 2
r 0 for all V and r .
dr 2 r4
h
Required ration 2 /1
r
Assignment
f x 1 x 1 on 0, 2 ,
23
(iii).
(iv). f x x on 1,1 ,
(v). f x 1 x 1 on 0, 2
(v). f x 2 x 2 7 x 10 on 2,5 .
Assignment -
log x x 1 ....
2 3 4
Assignment
ANSWERS
Q1 Edited(d) Show that between any two roots of e x cos x 1 , there exists at
least one root e x sin x 1 0 .
[UPSC CSE 2021]
IFoS 2020 Q1. Find the Taylor's series expansion for the function
f x log 1 x , 1 x , about x 2 with Lagrange's form of remainder after
3-terms.
IFoS 2019 Q2. Justify by using Rolle's theorem or mean value theorem that
there is no number k for which the equation x3 3x k 0 has two distinct
solutions in the interval 1,1 .
IFoS 2018Q3. If f : a, b R be continuous in a, b and derivable in a, b ,
where 0 a b , show that for c a, b f b f a cf ' c log b a .
IFoS 2018 Q4. If and be two functions derivable in a, b and
x ' x x ' x 0 for any x in this interval, then show that between two
consecutive roots of x 0 in a, b , there lies exactly one root of x 0 .
IFoS 2017 Q5. Using the Mean Value Theorem, show that
(i) f x is constant in a, b , if f ' x 0 in a, b
(ii) f x is a decreasing function in a, b , if f ' x exists and is 0 everywhere
in a, b .
x
IFoS 2016 Q6. Show that log 1 x x for x 0
1 x
IFoS 2016 Q7. Using mean value theorem, find a point on the curve y x 2 ,
defined on 2, 3 , where the tangent is parallel to the chord joining the end points
of the curve.
CSE 2014 Q8. Prove that between two real roots of e x cos x 1 0 , a real root of
e x sin x 1 0 lies.
IFoS 2013Q9. Find C of the Mean value theorem, if
1
f x x x 1 x 2 , a 0, b
and C has usual meaning.
2
IFoS 2013 Q10. Prove that if a0 , a1 , a2 ,...., aa are the real numbers such that
a0 a a a
1 2 ...... n1 an 0 then there exists at least one real number x
n 1 n n 1 2
between 0 and 1 such that a0 x n a1 x n1 a2 x n 2 .... an1 x an 0 .
CSE 2011 Q11. Let f be a function on such that f 0 3 and f ' x 5 for
all values of x in . How large can f 2 possibly be?
2. MAXIMA- MINIMA
CSE 2020 Q1. Consider the function f x 0 t 2 5t 4 t 2 5t 6 dt
x
Solutions(hints)
3 terms.
Solution.
Expansion around x 2 power of x 2
a 2 and h x 2
x 2 f " 2 x 2 f "' 2 x 2
2 3
f x f 2 x 2 f ' 2
2!
3!
Ist Term IInd Term
IIIrd Term Remainder term after 3terms where 0 1
1 1
f ' x f ' 2
1 x 1 2
1 1
f " x f " 2
1 x
2
9
2 2
f "' x f " 2
1 x 1 2
3 3
f x
0,9
x2
0, 1
f ' C 0
f ' x C0 C1 x C2 x 2 ... Cn x n
Solution.
f x 1 x 2 f 0 1
5
5
f ' x 1 x 2 f ' 0 5 2
3
2 2 4
2 2 4
5 15 x 2
lim 1 x 2 lim 1 lim 1 x lim 1 x 2
1 1
x 1 x 1 x 1
2 x 1
5 15 1
1 2
1
0 1
2
3 15
1 2
1
2
4 16
1 2 1 9
1
5 25 25
MAXIMA MINIMA
Critical point : points (value of x ) for which derivative f ' x becomes zero
then that value point is known as critical points for f x ; Stationary Point
f x t 2 5t 4 t 2 5t 6 dt
x
f ' x 0 x 2 5 x 4 x 2 5 x 6 0
f ' x x 1 x 4 x 3 x 2
f ' x x 1 x 2 x 3 x 4
y2 4x
t 1 2t 0 p t 4 2t 2 1 4t 2 p t 4 2t 2 1 t 2 1
2 2 2
p 2
real]
Minimum value of p 0 1 1 as t 0 [Possible]
2
Solution 2. r 2 x 2 y 2 y 2 r 2 x 2 y r 2 x 2 ….(1)
dA
For maximum Area ; 0 r 2 x , y x from (1) ABCD is a square.
dx
s2 2r 2 r 2 h2
9V 2
s 2 2 r 2 2 r 2 2 4 using h in V
r
9V 2
s2 2r 4 2
r
Let s 2 z
9V 2
z 2r 4 2
r
dz 18V 2
4 2r 3 3
dr r
2
d z 54V 2
12 2 2
r
dr 2 r4
Clearly z is maximum or minimum according as s is maximum or
minimum.
dz 18V 2
Stationary point of z are given by 0 4 2r 3 3 0
dr r
2 2r 6 2 r 4h 2
h 2r
d2z 59V 2
12 2 2
r 0 for all V and r .
dr 2 r4
h
Required ration 2 /1
r
Note: The above definition implies that there must be no assumption of any
relation between the independent variables as they tend to their respective
limits.
For instance take f x, y where
xy
f x, y
x y2
2
Thus, if we can find two functions 1 x and 2 x such that the limits of
f x, 1 x and f x, 2 x are different, then the simultaneous limit in question
does not exist.
Algebra of Limits
equal to , we write
lim lim f x, y
x a x b
Note: In case the simultaneous limit exists, these two repeated limits if they
exist are necessarily equal but the converse is not true. However if the repeated
limits are not equal, the simultaneous limit cannot exist.
CONTINUITY
As in limits, it can be easily proved that the sum, difference, product and
quotient (provided the denominator does not vanish) of two continuous
functions are also continuous.
PARTIAL DERIVATIVES
f is continuous at a, b .
Converse, of course is not true, so that functions exist which are continuous and
may even possess partial derivatives at a point but are not differentiable there at.
Notes:
1. If we replace x, y , by h, k in equations (1) and (2), we say that the function
is differentiable at a point a, b of the domain of definition if df can be
expressed as
df f a h, b k f a, b
Ah Bk h h, k k h, k ....(4)
where A f x , B f y and , are function of h, k tending to zero as h, k tend to
zero simultaneously.
In a similar manner higher order partial derivatives are defined. For example
3 f
f xxy and so on.
xxy
The second order partial derivatives at a particular point a, b are often denoted
by
2 f 2 f a, b
2 , , f xx a, b or f x2 a, b
x a ,b x 2
2 f 2 f a, b
, or f xy a, b
xy a ,b xy
and so on.
Thus
f x a h, b f x a , b
f xx a, b lim
h 0 h
and one is often tempted to believe that it is always so. But it is not the case and
there is no a priori reason why they should be equal. Let us now see why f xy
may be different from f yx at some point a, b of the region.
Now
f y a h, b f y a, b
f xy a, b lim
h 0 h
1 f a h, b k f a h, b f a , b k f a, b
lim lim lim
h0 h k 0 k k 0 k
f a h, b k f a h, b f a, b k f a, b h, k
lim lim lim lim
h0 k 0 hk h 0 k 0 hk
where h, k f a h, b k f a h, b f a, b k f a, b .
Similarly,
h, k
f yx a, b lim lim
k 0 h 0 hk
Thus we see that f xy a, b and f yx a, b are the repeated limits of the same
expression taken in different orders. There is therefore no a priori reason why
they should always be equal.
Proof:- u xn . y / x
u y
n x n 1 . y / x x n . 2 ' y / x
xx 2
x
u
x. n x n y / x x n 1 y ' y / x (1)
x
u
Similarly y x n 1 . y ' y / x (2)
y
u u
On adding (1) & (2), we get x y n x n . y / x
x y
u u
x y nu
x y
Note:- (1) The converse of Euler’s theorem is also correct i.e. if u is a function
u u
of two independent variable x and y such that x y n u , for all values of
x y
x and y then u must be a homogenous function of degree n .
Type-1
Example 1(a). Let
x2 y
, if x4 y 2 0
f x, y x 4 y 2
0, if x y 0
mx 3 mx
f x, y f x, mx 2 0 , as x 0
x m x
4 2 2
x m2
Note: It is pointed out earlier also that the determination of a simultaneous limit
is a difficult matter but a simple consideration, as shown above, very often,
enables us to show that the limit does not exist. We now show that sometimes it
is possible to determine the simultaneous limit by changing to polars.
(i) lim
x sin x 2 y 2 0, (ii) lim
sin 1 xy 2
1
x , y 0,0 x y
2 2 x , y 2,1 tan 1
3xy 6 3
(i) lim
x sin x y 2 2
lim x lim
sin x y 2
2
0 1 0
x , y 0,0 x y
2 2 x , y 0,0 x , y 0,0 x y
2 2
(ii) lim
sin 1
xy 2 lim sin 1 t , where t xy 2 lim
1 1 t2
1
x , y 2,1 tan 1 3 xy 6 t 0 tan 1 3t t 0
3 1 9t
2
3
lim lim f x, y 0
x 0 y 0
Thus, the repeated limits exist and are equal. But the simultaneous limit does
not exist which may be seen by putting y mx .
(ii) Let
y x 1 x
f x, y , then
y x 1 y
1 x
lim lim f x, y lim 1 ,
x 0 y 0 x 0
1
1
lim lim f x, y lim 1
y 0 x 0 y 0 1 y
Thus, the two repeated limits exist but are unequal, consequently the
simultaneous limit cannot exist, which may be verified by putting y mx .
Example 5. Show that the limit exists at the origin but the repeated limits do
not, where
1 1
x sin y sin , xy 0
f x, y y x
0, xy 0
Here lim f x, y , lim f x, y do not exist and therefore lim lim f x, y ;
y 0 x 0 x 0 y 0
Example 6: Show that the repeated limits exist at the origin and are equal but
the simultaneous limit does not exist, where
1, if xy 0
f x, y
0, if xy 0
Here
1, if x0
lim f x, y
y 0
0, if x0
lim lim f x, y 1
x 0 y 0
Similarly,
lim lim f x, y 1
y 0 x 0
Note: If, as in the above example, it is possible to so redefine the value of the
function at a point of discontinuity that the new function is continuous, we say
that the point is a removable discontinuity of the original function.
if
2 2
x2 , y2
2 2
or, if
x , y
2 2
Thus
xy
0 , when x , y
x2 y2 2 2
xy
lim 0
x , y 0,0 x2 y2
lim f x, y f 0, 0
x , y 0,0
Hence, f is continuous at 0, 0 .
Note: f x 1, 2 and f y 1, 2 have been respectively obtained from f x x, y and
f y x, y by replacing x, y by 1, 2 . The procedure, though simple, is not
always possible. The reader has to be on his guard.
Example 2. If
xy
2 , x, y 0, 0
f x, y x y
2
0,
x, y 0, 0
show that both the partial derivatives exist at 0,0 but the function is not
continuous there at.
Putting y mx , we see that
m
lim f x, y
x 0 1 m2
so that the limit depends on the value of m, i.e., on the path of approach and
is different for the different paths followed and therefore does not exist.
Hence the function f x, y is not continuous at 0,0 .
Again
f 0 h, 0 f 0, 0 0
f x 0, 0 lim lim 0
h 0 h h 0 h
f 0 0 k f 0, 0 0
f y 0, 0 lim lim 0
k 0 k k 0 k
Notes:
1. Unlike the situation for functions of one variable, the existence of the first
partial derivatives at a point does not imply continuity at the point. The
explanation lies in the fact that the information given by the existence of
the two first partial derivatives at a point is limited. The values of f x and
f y at a point a, b depend only on the values of f along two lines through
Examples on Differentiability
Example 1. Let
x3 y 3
, x, y 0, 0
f x, y x 2 y 2
0, x, y 0, 0
Solution- Put x r cos , y r sin .
x3 y 3
x y
2 2 3
3
r cos3 sin 3 r cos r sin 2 r 2 x 2 y 2 ,
if
2 2
x2 , y2
8 8
or, if
x , y
2 2 2 2
x y
3 3
0 , when x , y
x y
2 2
2 2 2 2
x3 y3
lim 0
x , y 0,0 x 2 y 2
lim f x, y f 0, 0
x , y 0,0
Hence the function is continuous at 0, 0 .
Again
f 0, k f 0, 0 k
f y 0, 0 lim lim 1
k 0 k k 0 k
limit,
cos3 sin 3 cos sin
or cos sin cos2 sin 2 cos sin cos sin
or cos sin cos sin 0
which is plainly impossible for arbitrary .
Thus, the function is not differentiable at the origin.
Note: The method used to show that the function is not differentiable, can also
be used to show that the function is not continuous at 0, 0 ; for example,
The function f, where
xy
2 , x2 y2 0
f x, y x y 2
0, if x y0
is not differentiable at the origin because it is discontinuous threat.
Example 2. Show that the function f, where
xy
,if x2 y 2 0
f x, y x 2 y 2
0, if x y0
is continuous, possess partial derivatives but is not differentiable at the origin.
As was shown in Example 9, f is continuous at the origin. Also it may be
easily shown that
f x 0, 0 0 f y 0, 0
If the function is differentiable at the origin, then by definition
df f h, k f 0,0 Ah Bk h k ....(1)
where A f x 0, 0 0, B f y 0, 0 0 , and , tend to zero as h, k 0, 0 .
Q2. Show that the function x y is continuous, but not differentiable at the
origin.
Q3. Discuss the following functions for continuity and differentiability at the
origin.
xy 2
(i) f x, y when x, y 0, 0 and f 0,0 0
x2 y2
(ii) f x, y y sin1 x , if x 0, f 0, y y
Type-4
Example1. Consider the function
x 2 sin1 x y 2 sin1 y, if xy 0
2
x sin1 x, if x 0 and y 0
f x, y 2
y sin1 y , if x 0 and y 0
0, if x y 0
The partial derivatives,
2 x sin1 x cos1 x, if x 0
f x x, y
0, if x 0
f 0, k f 0,0 0
f y 0, 0 lim lim 0
k 0 k k 0 k
If the function is differentiable at 0, 0 then by definition
f h, k f 0, 0 0h 0k h k
where and are functions of h and k, and tend to zero as h, k 0, 0 .
Putting h cos , k sin and dividing by , we get
12
cos sin cos sin
Now for arbitrary , 0 implies that h, k 0, 0 .
Taking the limit as 0 , we get
12
cos sin 0 ,
which is impossible for all arbitrary .
Hence, the function is not differentiable at 0,0 and consequently the partial
derivatives f x , f y cannot be continuous at 0,0 , for otherwise the function
would be differentiable threat,
Let us now see that it is actually so
For x, y 0, 0 .
f x h , y f x, y
f x x, y lim
h0 h
2
x4 y 4 x2 y3 y5 x4 4 x2 y 2 y 4 x2 y2 2 x2 y2
1
fx y 2 x2 y 2 2
x 2
y
2 2
x 2
y
2 2
x 2
y
2 2
Evidently
lim f x x, y 0 f x 0, 0
x , y 0,0
Thus f x is continuous at 0,0 and f y 0, 0 exists.
f is differentiable at 0,0 .
Example4. Let
f h, k f h, 0 hk h 2 k 2
and f y h, 0 lim lim h
k 0 k
k 0 k h 2 k 2
h0
f xy 0, 0 lim 1
h 0 h
Again
f x 0, k f x 0, 0
f yx 0, 0 lim
k 0 k
But
f h,0 f 0, 0
f x 0, 0 lim 0
h0 h
f x 0, k lim
f h, k f 0, k
lim
hk h 2 k 2 k
h0 h h 0 h h 2
k 2
k 0
f yx 0, 0 lim 1
k 0 k
f xy 0, 0 f yx 0, 0 .
Now
2
f y x3 2 xye xy
2 2
f xy 3x 2 2 ye xy 2 xy 3e xy
Again
2
f x 3 x 2 y y 2 e xy
2 2
f yx 3x 2 2 ye xy 2 xy 3e xy
f xy f yx
fx x, y
x 2
y 2 2 xy 2 x 2 y 2 2 x
2 xy 4
x x
2 2
2
y2 2
y2
2 x4 y
f y x, y
x
2
2
y2
Again
f x 0, y f x 0, 0
f yx 0, 0 lim 0
y 0 y
and
f xy 0, 0 0 , so that f xy 0, 0 f yx 0, 0
For x, y 0, 0 , we have
2 xy 4 y x
2
8 xy 3 x 2 y 2 4 2
y2 8x3 y3
f yx x, y
x y 2 4
x
3
2 2
y2
and it may be easily shown (by putting y mx ) that
lim f yx x, y 0 f yx 0,0
x , y 0,0
so that f yx is not continuous at 0, 0 , i.e., the conditions of Schwarz's
theorem are not satisfied.
Let us now show that the conditions of Young's theorem are also not
satisfied.
Now
f x x, 0 f x 0, 0
f xx 0, 0 lim 0
x 0 x
Also f x is differentiable at 0,0 if
f x h, k f x 0, 0 f xx 0, 0 h f yx 0, 0 k h k
or
f x, y
xy x 2 y 2 , x, y 0, 0
x y 2 2
f 0, 0 0
does not satisfy the conditions of Schwarz's theorem and
f xy 0, 0 f yx 0, 0
It may be shown, as in example 15, that
f xy 0,0 1, f yx 0, 0 1
so that
f xy 0, 0 f yx 0, 0
Now, for x, y 0, 0 we have
fx x, y
x 2
y 2 y 3x 2 y 2 2 x 2 y x2 y 2 y x 4
4 x 2 y 2 44
x y x
2 2
2 2 2
y2
x x 12 x x
2
2
y2 4 2
y2 5 y4 4 y 2 x2 y 2 4
4x2 y 2 y 4
f yx x, y
x 2
y
2 4
x 9x y 9x y y
6 4 2 2 4 6
x
3
2
y2
By putting y mx or x r cos , y r sin , it may be shown that
lim f yx x, y 1 f yx 0, 0
x , y 0,0
Thus f yx is not continuous at 0,0 .
x3 y 3 1 u u
Example:- (3) If u tan , show that x y sin 24
x y x y
x3 y 3
Solution:- tan u x2 y / x
x y
tan u is a homogenous function of degree 2.
u u
By Euler’s theorem x tan u y tan u 2 tan u
x y
u u
x sec 2 u y.sec 2 u 2 tan u
x y
u u u u
x y 2sin u cos u x y sin 2 u
x y x y
x3 y 3 u u
Example:- (4) If u tan 1 , show that x y sin 2u and find the value
x y x y
2u 2u 2 u
2
of x 2 2 xy y .
x 2 x y y 2
x2 y 2 u u
Example:- (2) If u sin 1 , show that x y tan u
x y x y
1 y / x
2
x2 y 2
Solution:- Here sin u x x . y / x
x y 1 y / x
sin u is a homogenous function of degree 1.
By Euler’s theorem
x. sin u y. sin u 1.sin u .
x y
u u
x cos u y .cos u sin u
x y
u u
x y tan u .
x y
Assignment
Type-1
where
1
y x sin ,if y0
f x, y y
0, if y0
2. Show that lim lim f x, y exists, but the other repeated limit and the double
x 0 y 0
3. Show that the repeated limits exist but the double limit does not when
x, y 0, 0 :
x y x2 y 2
(i) f x, y , (ii) f x, y
x y x4 y 4 x2 y2
x3 y3 x2 y2
, x y , x y
(iii) f x, y x y (iv) f x, y x 2 y 2
0, x y 0, x y
4 Show that the limit and the repeated limits exist when x, y 0, 0 :
x2 y2
xy , x, y 0, 0
f x, y x 2 y 2
0, x, y 0,0
Type-2
1. Show that the following functions are discontinuous at the origin:
1
, x, y 0, 0
(i) f x, y x 2 y 2
0, x, y 0, 0
x4 y 4
(ii) f x, y , x, y 0,0 , f 0,0 0
x4 y 4
(iii) f x, y
x y , x, y 0, 0 , f 0, 0 0
2 2
x y
4 4
y
x3 y 3
(iii) f x, y , (iv) f x, y x 2 log x 2 y 2
x2 y2
Type-3
1. If f x, y x3 y e xy , find f x and f y .
2
2. If f x, y xy
x 2
y2 , when x 2 y 2 0 , and f 0,0 0 , show that
x 2
y 2
f x x, 0 0 f y 0, y
f x 0, y y, f y x, 0 x
x 2 xy
, if x, y 0, 0
3. If f x, y x y , find f x 0, 0 and f y 0, 0
0, if x, y 0, 0
x3 y3
, x y
4. If f x, y x y , show that the function is discontinuous at the
0, x y
origin but possesses partial derivatives f x and f y at every point, including the
origin.
xt tan y x , x, y 0, 0
5. If f x, y , show that xf x yf y 2 f .
0, x, y 0, 0
6. Calculate f x , f y , f x 0, 0 , f y 0, 0 for the following:
x3 y3
, x 0, y 0
(i) f x, y x 2 y 2
0, x0 y
xy
, if x2 y 2 0
(ii) f x, y x 2 y 2
0, if x y0
Type-4
1. Verify that f xy f yx for the functions:
2x y
(a) , (b) x tan xy , (c) cosh y cos x , (d) x y
x y
indicating possible exceptional points and investigate these points.
2.
Show that z log x a y b
2 2
satisfies
2 z 2 z
x 2 y 2
0 , except at a, b .
If f x, y, z x 2 y 2 z 2
1 2
5. , show that
f f f
2 2 2
0.
x 2 y 2 z 2
6. Examine for the change in the order of derivation at the origin for the
functions:
(i) f x, y e x cos y x sin y
(ii) f x, y x 2 y 2 sin 2 ,
where f 0, 0 0 and tan 1 y x ,
(iii) f x, y x 2 y 2
8. Given u e x cos y e y sin z , find all first partial derivatives and verify that
2u 2u 2 u 2u 2u 2u
; ;
xy yx xz zx yz zy
Theatrically Thinking:
If some function f x, y is continuous at a, b
by definition
f x, y f a, b whenever x a , y b
or lim f x, y f a , b ….(1)
x , y a ,b
lim f x, b f a, b
xa
f x, b is also continuous at x a
x2 y2
; x y 0
f x, y x y
0 ; x y 0
Steps (i)
x2 y 2 r 2 cos 2 sin 2
0 r cos sin r cos r sin
x y r cos sin
r 1 r 1 2 r 2 x 2 y 2
2 2
;x ,y ; x2 , y2
2 2 2 2 2 2 4 2 4 2
2 x2 y 2
x2 y 2 x2 y 2 lim 0
4 2 x , y 0,0 x y
1 1
x sin y sin ; xy 0
f x, y y x
0 ; xy 0
Solution.
We want limit at 0, 0
1 1
f x, y may approach to the value 0 sin 0 sin 0
2 2
1 1
x sin y sin x 1 y 1 x y
y x
Step (ii)
x , y x 0 , y 0 where
2 2 2
Therefore x, ylim f x, y 0
0,0
x2 y2
xy , x2 y 2 0
Ans4 IFoS 2018. Consider the function f x, y x 2 y 2
0 , x2 y2 0
x2 y2 r 2 cos 2 sin 2
f x, y f 0, 0 xy 2 0 r cos sin 2
2
x y2 r cos 2 sin 2
r2 r 2 x2 y 2
sin 4 0.01
4 4 4
x2 y2 2
, x 2 ; x 2 , y 2 ; 2 ; 2 0.01
4 2 2 2
2 x 4 y 5x 2 y 3 y 5
; x, y 0, 0
Ans6 CSE 2016. Let f x, y x 2 y 2
2
0 ; x, y 0, 0
Solution.
x r cos , y r sin
r
2 r cos 4 sin 5r cos 2 sin 2 r sin 5 2 r 1 5 r 1 r 1
0.01
x 2 y 2 0.01 x 2 y 2
abc a b c
a bc a b c
1 ; x 2
x2
f x 0
x2 ; x 2
0
Way 1:
1
r 2 cos 2 1 cos sin
x2 x y r 2 cos r 2 cos sin
3
f x, y 0 r 2
x2 y r 2 cos 2 r sin 1
r 2 cos 2 sin
2
r is present in denominator
When x, y 0, 0 r 2 x 2 y 2 r 0 f x, y 0
Exam Point
If after implications f x, y has either r in the denominator of sin ,cos in
If 0 x 1
1
1 1 1
e.g. ; 2, 2000,.....
sin 12 1
2000
1
sin
0 if
x, y 0, 0
Discuss the continuity if f x, y at 0, 0
Solution.
If f x, y is continuous at 0,0
xy r cos r sin r r 1 2
0 r cos sin sin 2 x y2
x2 y 2 r cos 2 sin 2 2 2 2
4 2 4 2
x 2 y 2 2 ; x 2 y 2 4 2 ; x 2 , y2 y 2
2 2
x2 x y
; x, y 0, 0
UPSC CSE 2015. Check the continuity of f x, y x 2 y 2
0 , x, y 0, 0
Solution.
f x, y may be undefined or infinitely at x 0, y 0 so we need to check
f f
Determine which of and exists and which does not exist.
x 0,1 y 0,1
Solution.
We know that
f f a h, b f a, b
lim
x a ,b h 0 h
h
lim 1
h0 h
y 1, y 0 , f x, y xy 2
f
exists and equal to 1.
x 0,1
f f a, b h f a, b
lim
y a ,b h 0 h
f
also exists and is equal to 0.
y 0,1
0 ; if x, y 0, 0
f x, y is continuous at 0,0
x h y
xy
f x h , y f x, y x h y2 x y2
2 2
f 0
lim lim :
x x , y h0 h h0 h 0
x h
2
y2 y x h y
2
1
x h
2
y2
2 x h
x h
2
y2
lim 0
h0 1
x2
x 2
y y
x 2
y2 y x2
x2 y 2
x2 y 2 x y2
3
2 2
2 f 2 f
CSE 2014. Obtain 0, 0 and 0, 0 for the function
xy y x
xy 3x 2 2 y 2
, x, y 0, 0
f x, y x2 y2
0 , x, y 0, 0
2 f 2 f
Also discuss the continuity of and at 0,0
xy yx
2 f f
xy 0,0 x y 0,0
f y h, 0 f y 0, 0
lim
h h
1 f h, k f h, 0 f 0, k f 0, 0
lim lim lim
h0 h k 0 k k 0 k
3h 2 2k 2
hk 2 0 0
1 h 3h 2 0
2 2 2
1 h k
lim lim lim 3
h 0 h k 0 k h 0 h h2
2 f
Let’s check continuity of
yx
2 f : x, y 0, 0
g x, y
yx 3: x, y 0, 0
2
f x y 9 yx 2 y xy 3 x 2 y 2 x
2 2 3 2 2
x x2 y 2
2
2 f
yx
sin 1 x 2 y
1 , x, y 0, 0
IFoS 2016. Examine the continuity of f x, y tan 2 x 4 y
1 ; x, y 0,0
2
At the point 0, 0
Solution.
Putting x 2 y t for x, y 0, 0 t 0 [Single variable function]
sin 1 t
1 ; t 0
f t tan 2t
1 ; t 0
2
1
1
sin t
lim 1 t 1
2
lim f t lim 1
t 0 t 0 tan t t 0 1
1 t 2
lim f t f 0 f t i.e. f xy is not continuous at 0,0
t 0
xy x 2 y 2
; if x, y 0, 0
IFoS 2010. Let f x, y x 2 y 2
0 , if x, y 0, 0
(ii) f is differentiable at 0, 0
Solution.
2 f f
f xy 0, 0
xy 0,0 x y 0,0
f y 0 h, 0 f y 0, 0 1 f h, 0 k f h, 0 f 0, 0 k f 0, 0
lim lim lim lim
h0 h h0 h k 0
k k 0 k
h k h2 k 2
1 h h 0
0 2
1 h 2
k 2 0 0 h3
lim lim lim lim 0 lim 1 ….(1)
h 0 h k 0 k k h 0 h h 2 0 h 0 h3
k 0
f
f yx 0, 0
y x 0,0
f x 0, h f x 0, 0 1 f k , h f 0, h f k , 0 f 0, 0
lim lim lim lim
h0 h h0 h k 0 k k
k 0
k h k 2 h2
0
1 k h 2 2
h3
lim 0 lim 1 ….(2)
h 0 h k h 0 h
x3 y 3
, x y
IFoS 2011. Show that the function f x, y x y
0 , xy
x3 y 3 r 3 cos3 sin 3
f x, y f 0,0 0
x y r cos sin
h 3 03
f h, 0 f 0, 0 0
f x 0, 0 lim lim h 0 0
h 0 h h0 h
03 h3
f 0, h f 0, 0
f y 0, 0 lim lim 0 h 0
h 0 h h 0 h
x y 2
, if x, y 0, 0
UPSC CSE 2012. Let f x, y x 2 y 2
1 if x, y 0, 0
f f
Show that and exist at 0,0 though f x, y is not continuous at 0, 0
x y
h2
f h, 0 f 0, 0 1
f 2 0
lim lim h lim 0
x 0,0 h h h 0 h h 0 h
h2
f 0, h f 0, 0 1
f 2
lim lim h 0
y 0,0 h 0 h h 0 h
f x, y f 0, 0 2 [may be]
r 2 cos 2 sin 2 1
If we choose 1 2
We get f x, y f 0, 0 for x 0 , y 0
Where towards on
f x, y is not continuous at 0,0
xy 3x 2 2 y 2
, x, y 0, 0
f x, y x2 y2
0 , x, y 0, 0
2 f 2 f
Also discuss the continuity of and at 0,0
xy yx
2 f f f h, 0 f y 0, 0
lim y
xy 0,0 x y 0,0 h h
1 f h, k f h, 0 f 0, k f 0, 0
lim lim lim
h0 h k 0 k k 0 k
3h 2 2k 2
h k 0 0
lim 1
2 2 h 3h 2 2 02
1
lim lim h k 3
h 0 h k 0 k h 0 h h2
2 f
Let’s check continuity of
yx
2 f : x, y 0, 0
g x, y
yx 3: x, y 0, 0
2
f x y 9 yx 2 y xy 3 x 2 y 2 x
2 2 3 2 2
x x2 y 2
2
2 f
y x
f f
f 0, 0 0 is continuous at 0,0 Find and at points other than main.
x y
Solution.
Method I
xy r cos r sin
f x, y f 0, 0 0 2
x y r cos 2 sin 2
2 2
1 1
cos sin sin 2 sin 2
2 2
1 1
1
2 2
But if we choose 1
Then
f x, y f 0, 0
For x 0 , y 0
lim f x, y f 0, 0
x , y 0,0
Method II
along y mx
xy x mn m
lim lim depending on m
x , y 0,0 x y
2 2 x ,sin x 0,0 x m x
2 2 2
1 m2
by f x, y for x, y 0, 0
x 2
y 2
0 , otherwise
1 1
r 3 cos3 cos r 3 sin 3 cos
r sin r cos
r 2 cos 2 sin 2
1 1
r 3 cos 3 cos sin 3 cos
r sin r cos
r2
1 1
r cos 3 cos sin 3 cos
r sin 2 cos
1 1
r cos3 cos sin 3 cos
sin x cos
r 1 1 2 2 2 x 2 y 2
f x, y for x, y 0, 0
x 2
y 2
0 , otherwise
To check differentiability of f x, y at 0, 0
Step (i)
f f
f h, k f 0, 0 df Ah Bk h k where A , B
x 0,0 y 0,0
value = 0
1
f 0, h f 0, 0 h3 cos
f 0 0
B lim lim
y
0,0 h0 h h 0 h
From (1)
1 1
h3 cos k 3 cos
k h 0 0 h 0 k h k
h2 k 2
Putting g cos , k sin for arbitrary : 0 when h, k 0,0
2 h2 k 2
1 1
cos cos sin cos cos sin
sin cos
R.H.S. 0 But L.H.S. may not be zero for arbitrary values at
x3 y 3
, x y
UPSC IFoS 2011. Show that the function f x, y x y
0 , x y
Definition:
h 3 03
f h, 0 f 0, 0 0
f x 0, 0 lim lim h 0 0
h 0 h h0 h
03 h3
f 0, h f 0, 0
f y 0, 0 lim lim 0 h 0
h 0 h h 0 h
ALGEBRAIC LEMMA
In this section, we establish a lemma to find the conditions which govern the
sign of a quadratic expression in two and three variables.
Case 1. Two Variables. The quadratic expression I 2 ax 2 2hxy by 2 in two
variables x and y can be written as
a
1
ax hy gz ab h 2 y 2 2 af gh yz ac g 2 z 2 .
a
2
Therefore, I 3 will have the same sign as a if
ab h y 2 af gh yz ac g z be positive,
2 2 2 2
a h
But ab h 2
h b
a h g
and abc 2 fgh af bg ch h b
2 2 2
f .
g f c
Thus the expression I 3 will be positive if
a h g
a h
a, ;h b f
h b
g f c
are all positive, and will be negative if these are alternately negative and
positive.
2u d 2u
s 4 xy 6 x 2 y 6 xy 2 and t 2 2 x 2 2 x 3 6 x 2 y .
xy y
When x 0, x , we have r 2 y 2 1 y , s 0 and t 0 . Therefore,
rt s 0 . So this case is doubtful and needs further investigation.
2
and t 2 2 6
2 2 2 2 25
.
5 5 5 5 125
2
So, rt s
24 24 16 320
2
, which is positive.
125 125 125 15625
x, y 0, 0 0,b 0, 2b b, b 1 1 b , b 1 1 1 3 1 3
b, b b, b b, b b, b
2 2 2 2 2 2 2 2
r 0 0 0 0 3
b2
0 3 2
b
3 2
b
3
b2
2 2 2 2
So, rt s 2 3 3 3 3 0 . Also, since r 3 0, u is minimum
1
2
3 9
4 4
2 2
at x , y .
3 3
Example 6. Discuss the maxima or minima of the function
x y x y
u 2sin cos cos x y .
2 2
Solution.
The given function can be written in the form u sin x sin y cos x y ,
which is more convenient for the purpose.
For maxima or minima of u , we must have
u
cos x sin x y 0 , ....(1)
x
u
and cos y sin x y 0 , ....(2)
y
These equations give cos x cos y , i.e., x y . Putting y x in (1) (or in (2)), we
get
cos x sin 2 x 0 , i.e., cos x 2 sin x cos x 0 ,
u
2 x x1 2 x x2 2 x x3 0
x
u
and 2 y y1 2 y y2 y y3 0 .
y
Solving these equations, we have
1 1
x x1 x2 x3 and y y1 y2 y3
3 3
2u 2u 2u
Now r 2 6 , s 0 and t 2 6 , so that
x xy y
Also, s
2u y y r
2 1 1
x x1 y y1
xy r1 x r13
cos sin cos sin cos sin cos sin
r1 r1 r2 r3
sin sin sin 2 cos 2 cos 2 cos 2
2 2
So, rt s 2
r1 r2 r3 r1 r2 r3
2
cos sin cos sin cos sin
r1 r2 r3
2
sin cos cos sin
, by Lagrange's Identity*
r1r2
sin
2
, which is positive.
r1r2
Solution.
From (1) we have
u a ' x 2 b ' y 2 2h ' xy 2 g ' x 2 f ' y c ' ax 2 by 2 2hxy 2 gx 2 fy c ....(2)
Partial differentiation of (2) with respect to x and y , one-by-one, gives
u
x
a ' x 2 b ' y 2 2h ' xy 2 g ' x 2 f ' y c ' 2u a ' x h ' y g ' 2 ax hy g ....(3)
u
and a ' x 2 b ' y 2 2h ' xy 2 g ' x 2 f ' y c ' 2u b ' y h ' x f ' 2 by hx f
y
....(4)
Now for maximum and minimum of u , we must have u x 0 and u y 0 .
Therefore, from (3) and (4), we have
u a ' x h ' y g ' ax hy g ....(5)
and u h ' x b ' y f ' hx by f . ....(6)
Also, multiplying (5) by x and (6) by y , and then subtracting the sum of the
resulting equations from (2), we obtain
u g ' x f ' y c ' gx fy c ....(7)
Equations (5), (6) and (7) can be written as
a a 'u x h h 'u y g g 'u 0 ,
h h ' u x b b ' u y f f ' u 0 ,
and g g ' u x f f ' u y c c ' u 0 .
Eliminating x and y from these equations we find that the maxima and minima
of u are given by the roots of the equation
a a 'u h h 'u g g 'u
h h 'u b b 'u f f 'u 0 .
g g 'u f f 'u c c 'u
....(1)
where R3 consists of the terms of third and higher orders of small quantities.
Now by taking h, k and l sufficiently small, the second degree terms in (1) can
be made to govern the sign of right hand side and hence of the left hand side
also. If these terms be of a fixed sign for all such values of h, k and l , we shall
have a maximum or minimum of f x, y , z according as that sign is negative or
positive.
Therefore (by Case 2), if the expressions
A H G
A H
A, , H B F
H B
G F C
be all positive, we shall have a minimum value of f x, y , z and if they be
alternately negative and positive, we shall have a maximum value of f x, y , z .
These are Lagrange's conditions for maxima and minima of a function of three
variables. However, if none of these two conditions is satisfied, we shall, in
general, have neither a maximum nor a minimum.
x
i.e., 8 yz x y z 1 ,
2
....(1)
y
i.e., 8 xz x y z 1 ,
2
....(2)
u
3 x y z 3 24 xy 0 ,
2
and
z
i.e., 8 xy x y z 1 .
2
....(3)
From (1), (2) and (3), we have
yz xz xy , i.e., x y z .
Then (1) gives 8 x 2 9 x 2 1 , i.e., x 2 1 or x 1 .
Therefore, 1,1,1 and 1, 1, 1 are the points of maxima or minima.
Now to discuss maxima or minima, we have
2u 18 at 1,1,1
A 6 x y z
x 2
18 at -1, -1, -1
2u
6 at 1,1,1
and F 6 x y z 24 x
yz 6 at -1,-1,1
By symmetry, we have
A B C 18 and F G H 6 at 1,1,1
and A B C 18 and F G H 6 at 1, 1, 1 .
Now we can see that the values of the expressions
A H G
A H
A, , H B F
H B
G F C
are 18, 288,3456 respectively at 1,1,1
and 18, 288, 3456 respectively at 1, 1, 1 .
Hence by Lagrange's conditions, there is a minimum at 1,1,1 and maximum at
1, 1, 1 .
Example 2. Find the maximum value of
xyz
u ,
a x x y y z z b
where all the letters denote positive real numbers.
Solution.
Taking logarithms, we have
log u log x log y log z log a x log x y log y z log z b .
Differentiating partially with respect to x , we get
1 u 1 1 1 ay x 2
,
u x x a x x y x a x x y
so that
u
ay x 2 u
.
....(1)
x x a x x y
1 1
F , G 0, H .
1 1
6 5
a
3 4
a 3 2
G F C
Hence by Lagrange's conditions, the value of u found in (2) is maximum.
Example 3. Find the maximum and minimum values of
ax by cz e x y z .
2 2 2 2 2 2
Solution.
Let u ax by cz e x y z . Taking logarithm on both sides, we have
2 2 2 2 2 2
log u log ax by cz 2 x 2 2 y 2 2 z 2 . ....(1)
For maxima and minima, we must have
u u u
0, 0, 0.
x y z
Differentiating (1) partially with respect to x, y and z respectively, we get
1 u a
2 2 x 0 , ....(2)
u x ax by cz
1 u b
2 2 y 0 , ....(3)
u y ax by cz
1 u c
and 2 2 z 0 ....(4)
u z ax by cz
These equations give
a
x ax by cz , ....(2')
2 2
b
y ax by cz , ....(3')
2 2
c
and z ax by cz . ....(4')
2 2
Multiplying (2'), (3'), (4') by a, b, c respectively and adding the resulting
equations, we obtain
1 a 2 b2 c2
ax by cz
2
,
2 2 2 2
1 a 2 b2 c 2
i.e., ax by cz 2 2 2 , say. ....(5)
2
It follows from (2'), (3') and (4') that
a b c
x , y , z ....(6)
2
2
2 2
2 2
a b c
and x , y , z . ....(7)
2
2
2 2
2 2
Now from (2), differentiating partially with respect to x , we have
2u a2 u
so that A u 2 2
, as 0.
x ax by cz x
2 2
Case 1. Since u is positive for the values of x, y, z obtained in (6), we find that
A is negative.
Similarly, we can show that
A H G
A H
0 and H B F 0
H B
G F C
for the values of x, y, z obtained in (6). Hence u is maximum for these values.
Case 2. Since u is negative for the values of x, y, z obtained in (7), we find that
A is positive.
Similarly, we can show that
A H G
A H
0 and H B F 0
H B
G F C
for the values of x, y, z obtained in (7). Hence u is minimum for these values.
Now putting the values of x, y, z from (6) and using (5), the maximum value of
u is
1 a 2 b 2 c 2 1 a 2 b 2 c 2
umax 2 2 2 exp 2 2 2 2
2 4
1 a 2 b 2 c 2 1 a 2 b 2 c 2
2 2 2 e1 2 2 2 2
2 2e
Similarly, putting the values of x, y, z from (7) and using (5), the minimum
value of u is
1 a 2 b 2 c 2
umin 2 2 2 .
2e
Assignment
1. Find the conditions of optimality of a function of two variables.
[Hint. Give details of the necessary and sufficient conditions for the existence
of maxima and minima.]
2. Find the maxima and minima values of the following functions:
(i) u xy 1 x y
(ii) u x 3 y 2 1 x y
(iii) u y 2 x 2 y x 4
3. Discuss the maxima and minima of u in the following cases:
(i) u x 2 y 2 5 x 2 8 xy 5 y 2
(ii) u x 4 y 4 2 x 2 4 xy 2 y 2
(iii) u x 4 2 x 2 y x 2 3 y 2
(iv) u xy 2 3x 6 y 2 .
(v) u x 2 y y 2 x x y .
(vi) u x 2 3xy y 2 2 x .
r
dr
r 2
dr / d
2 3/2
2
dp dr d 2r
r2 2 r 2
d d
Curve Tracing:
To trace the curve f x, y 0 , we need to know:
(i) symmetry
(ii) tangents at origin (if curve passes from origin)
(iii) Asymptotes parallel to axes
(iv) points on axes; where curve cuts
Asymptotes:
A straight line at a finite distance from the origin to which a given curve
approaches infinitely near as we records along the curve to an infinite distance.
e.g.
Here x a is an asymptote to some given curve y f x
xa
p x, y
In other words, a s.t line is said to be an asymptote, if the for distance of any
point p x, y on the curve from the s.t line tends to zero as the point p
records to infinite along the curve.
Method:
Let's consider a curve f x, y 0 which is algebraic and rational of nth degree.
Let y mx c is an asymptote of equation (1)
Putting this value of y in the given curve we get an equation of the form
a0 x n a1 x n 1 a2 x n 2 ... an 0 ....(3)
Another Method.
Let the equation of the curve be
a x
0
n
a1 x n 1 y a2 x n 2 y 2 ... an y n b1 x n 1 b2 x n 2 y ... bn y n 1 +
c x
2
n2
c3 x n 3
y ... cn y n2
... 0
The above equation can be put in the form
Upendra Singh : Mindset Makers for UPSC Mentoring +91-9971030052
y y y
x nn x n 1n 1 x n 2n 2 ... 0 ....(1)
x x x
where n represents a term of nth degree in y x .
y
x
y c
Let y mx c be an assymptote of (1) putting m in (1), we get
x x
c c
x nn m x n1n 1 m ... 0 ....(ii)
x x
Applying Taylor's expansion in (ii)
c c
x n n m n m x n1 n 1 m n 1 m ... 0
x x
Arranging the above expression in descending powers of x
c2
x nn m x n1 cn' m n 1 m x n 2 n" m cn' 1 m n 2 m ... 0 ...(iii)
2!
Now as y mx c is an asymptote so 2 roots of equation (3) must be infinite
i.e., n m 0 ....(4)
c m n 1 m 0
'
n ....(5)
Note:
The equation (4) is of nth degree so it has n values of m.
If any k values of n are repeated, we say the given curve has k parallel
asymptotes.
Working Rule
(1) Find n m by putting x 1 and y m in the nth degree term.
Similarly find n 1 m by putting x 1 and y m in n 1 th degree term of the
given curve and so on.
(2) Solve n m 0 . If all roots of m are real and distinct get value for c from
the equation (5).
Note: If we get two parallel asymptote we find the value of c from the equation
c2 "
n m cn' 1 m n 2 m 0
2!
Asymptotes of to x-axis
To get an asymptote parallel to the x-axis put the coefficient of the highest
degree term in equal to zero.
Similarly asymptotes equation of y-axis can be obtained by putting the
coefficient of the highest degree term in y equal to zero.
Tangents of Origin:
Multiple Points:
The points through which more than one branches of the curve pass is called a
multiple point.
y x
yx
y f x
When two tangents at a double point are real and distinct, the point is called a
node.
e.g. In the above figure we have two tangents y x and y x at origin. So
origin is a node here.
(b) Cusp: When the two tangents at a double point are real and coincident then
that point is known as cusp.
Parallel to x -axis:
1 0 (not possible)
(iv) Points on the axes (cut by curve)
x -axis; put y 0 in the given curve get x 0
i.e. 0, 0
y -axis put x 0 y 2 2a 0 0 y 0
i.e. 0, 0
There is no point on the curve in the 2nd and 3rd order.
x 0
x3
y (complex numbers)
2a x
x 2a
Note:
If the curve remains unchanged on exchanging x and y then the curve is
symmetrical about the line y x .
e.g. x3 y 3 3axy is symmetrical about the line y x .
x3 y 3 3axy
yx
x ya 0
1 x 2
(4) x 2 y 2 a y b 2 y 2 , b a
2
(1) a 2 y 2 x3 2a x
(i) It is symmetric about x -axis
(ii) Tangent at origin
a 2 y 2 0 y 0 i.e., x -axis
Real and coincident tangent.
Origin is a cusp.
(iii) Asymptotes parallel to x -axis
No asymptotes parallel to x -axis
Points:
a 2 y 2 x 3 2a x
x 3 2a x
y
a
Hence No part of the curve will lie on 2nd and 4th ODT.
Putting x 2a, y 0
x 2a
1 x2
(i) Symmetry:
Replacing x by - x , y by –y; curve remains unchanged.
Symmetric about both axes.
(ii) The curve passes through origin?
Yes
Tangent at origin
Putting the lowest degree term equal to zero;
y 2 x 2 0 y x ; Two tangents
Origin is a node.
x 1 x 1
dx a 2 y a
1 b2 y 2 2
dy y 2 b 2 y 2
y
dx b2 a 2 dy a
dy 0,0 a dx a 2 b2
i.e., There are two tangents at 0, a . So the point 0, a is a node.
0,b
0, a a
0, b b
(2) x 2 a 2 y 2 y 2 a 2 y 2
0, a
ya
y x
yx
0, a y a
r B 6 1 6 , t B 6 2 rt 2 72 0
B 1, 2 is saddle point
r C 6 1 6, t C 6 2 rt 2 0
Solution.
Step (i): To find point of maximum / minimum
f
We put 0 4 x3 4 x 4 y 0 ….(1)
x
f
0 4 y3 4 x 4 y 0 ….(2)
y
x3 y 3
x y
Putting x y
4 y 3 4 y 4 y 0
4 y 3 5 y 0
4 y y2 2 0
y 0 , y 2 2, y 2
Points are A 0, 0 , B 2, 2 , C 2, 2
Step (ii)
rt 2 12 x 2 4 12 y 2 4 42
rt 2 0 ; r B 0 B is a minima
B
rt 2 0 ; r C 0 C is a minima
C
2 2
4 2 2
fB 2 2 2 4 2 2 2
fC
Where x, y denote arbitrary point in nbd of 0,0 i.e. x and y are small closer
to zero
Let’s do it:
f x, y f 0, 0 x 4 y 4 2 x 2 4 xy 2 y 2 0
x 4 y 4 2 x 2 4 xy 2 y 2
x4 y4 2y
2 2
2x 2 2x 2 y
x4 y 4
2
2x 2 y
x4 y4 2 x y
2
A1,1,1 6 1 1 1 18 0
A H 18 6
0
H B 6 18
Note: This chapter deals with all basics which we use frequently in mathematics
optional topics. Also here proper justifications are given. Students are suggested
to read and just remember results only according to demand of exam.
TOTAL DIFFERENTIAL
u u
If u f x, y , then to show that du dx dy .
x y
We have u f x, y . Let
u u f x x, y y .
Then u f x x, y y f x, y
f x x, y y f x, y y f x, y y f x, y
x y.
x y
Now in the limiting case when x becomes indefinitely small,
f x x, y y f x, y y
becomes f x, y y ,
x x
and further when y diminishes indefinitely,
f x, y u
f x y y becomes , i.e., .
x x x
Also, when y becomes indefinitely small,
f x , y y f x, y f x, y u
becomes , i.e., .
y y y
Therefore, when x and y diminish indefinitely, it follows from (1) that
u u
du dx dy .
x y
This value of du is called the total differential of u with respect to x and y .
In general, if u f x1 , x2 ,...., xn , where x1 , x2 ,...., xn are independent variables, we
can show that
u u u
du dx1 dx2 ... dxn .
x1 x2 xn
TOTAL AND PARTIAL DIFFERENTIAL COEFFICIENTS
If u f x, y , where x and y are function of a single variable t, we have
u u
du dx dy .
x y
du dx dy
But du dt , dx dt and dy dt . Therefore
dt dt dt
du u dx u dy
.
dt x dt y dt
This value of du dt is called the total differential coefficient.
2V 2 V
2
Similarly, m ... etc. ....(4)
2
1
y 2
2V 2V
and 2 n12 2 ... etc. ....(5)
z
Adding (3), (4) and (5), and using (1) and (2), we get
2V 2V 2V 2V 2V 2V
.
x 2 y 2 z 2 2 2 2
OR
2u 2u
Prove that is invariant for change of rectangular axes.
x 2 y 2
Solution.
We have
u u x u y u u
cos sin ,
x y x y
2u u u u
so that 2 cos sin cos sin ,
x y x y
u
2
u2
u2
y
2
i.e., 2 cos 2 2 2 sin cos sin 2 2 . ....(1)
x xy y
u u x u y u u
Also, sin cos ,
x y x y
i.e.,
2 z
u 2
2u 2u v 2 1
z
u
2v v 2 1
z
v
u 2v 2 z 0 ,
2 z z z
i.e., 2 2uv 2 2 v v3
u u v
u 2v2 z 0 .
This equation is exactly similar to the given equation, which shows that z is the
same function of u, v as of x, y.
2V 2V
Example 6. If the equation 0 is satisfied when V is a function of x
x 2 y 2
and y, show that it will also be satisfied when V is the same function of u and v
, where
1
u
2
log x 2 y 2 and v tan 1 y x .
Solution.
Multiplying v by i and then adding to u , we have
1
u iv log x 2 y 2 i tan 1 y x log x iy ,
2
so that x iy eu iv eu eiv eu cos v i sin v .
Equating real and imaginary parts, we get
x eu cos v and y eu sin v .
x dx
Whence eu cos v x , eu sin v y
u dv
2 f 2 f 2 f 2 f
9 x2 y 2 2 2 u 2 v2 2 2 .
x y u v
Solution.
We are given that
x y u 3 3u 2 v 3uv 2 v3 and x y u 3 3u 2v 3uv 2 v 3 .
On addition and subtraction, these equations give
x u 3 3uv 2 and y 3u 2v v 3 .
x y x y
Whence
u
3 u 2 v 2 , 6uv
v v u
.
Using these values of partial derivatives, we have
f f x f y f f
u x u y u
3 u 2 v2
x
6uv
y
....(1)
f f x f y f f
and
v x v y v
6uv 3 u 2 v 2
x y
. ....(2)
Relations (1) and (2) on addition and subtraction give
u v
3 u 2 v 2 2uv
x
3 u 2 v 2 2uv
y
,
2 2 2 2
cos u xy 2 2 x y
2 2
.
uv u x y xy
Solution.
From the given relations, we have
x x
ev sec u tan u , ev sec u ,
u v
y y
ev sec2 u , ev tan u .
u v
Using these values of partial derivatives, we get
x y
ev sec u tan u ev sec 2 u ,
u x u y u x y
so that cos u ev tan u ev sec u ,
u x y
y x . ....(1)
x y
x y
Also, ev sec u ev tan u
v x v y v x y
x y . ....(2)
x y
Now using (1) and (2), we obtain
2
cos u cos u y x x y
uv u v x y x y
2 2
2
2
2
2
xy y y x xy x
x 2
x xy xy y 2
y
x 2 y 2 x 2 y 2 u x y u 2
2 v 2 v V v v 2V
2 2
u v u v 2V
2 2 2 2 . ....(3)
x y v x y v x x y y uv
Now since u iv f x iy , ....(4)
we have u iv f x iy . ....(5)
Differentiating (4) partially with respect to x and y, we have
u v
i f ' x iy
x x
u v
and i if ' x iy .
y y
Eliminating f ' x iy between these two equations, we get
u u u v u v
i i i i .
y y x x x x
Equating real and imaginary parts, we have
u v v u
and . ....(6)
y x y x
2u 2 v 2u 2v
Therefore, 2 and 2 ,
x xy y xy
2u 2u
so that 2 2 0 ; ....(7)
x y
. ....(10)
x 2 y 2 x x u 2 v 2
Again differentiating (4) and (5) partially with respect to x , we have
u v u v
i f ' x iy and i f ' x iy . ....(11)
x x x x
Now using (11) in (10), we obtain
2V 2V 2V 2V
f ' x iy f ' x iy . ....(12)
x 2 y 2 u 2 v 2
Deduction. Since x r cos and y r sin , we have
r cos i sin x iy , i.e., rei x iy .
Therefore, log r i log x iy .
Now taking f x iy log x iy , so that f x iy log x iy ,
we have u log r and v .
V V dr V
Therefore, r , since log r u ,
u r du r
2V V V V dr
and 2 r r
u u u u r r r du
2V V 2 V
2
V
r 2 r r r . ....(13)
r r r r
2
2V 2V
Also, 2 2 , (since v ). ....(14)
v
1 1
Further, f ' x iy and f ' x iy ,
x iy x iy
1 1
so that f ' x iy f ' x iy 2 2 2 . ....(15)
x y r
Now using (13), (14) and (15) in (12), we have
2V 2V 2 2V V 2V 1
r r 2
x 2 y 2 r 2 r 2 r
2V 1 V 1 2V
2 .
r r r r 2 2
Example 15. Show that
3u 3u 2 u
3
3 u
3
x3 3 x 2
y 3 xy y 2 1 u ,
x 3 x 2y xy 2 y 3
3u 3u 3u 3 u
3
i.e., x3 3 3x 2 y 2 3 xy 2 y 2 1 u 2 1 u
x x y xy 2 y 3
1 2 u .
SECTION-A
Q1. Each question is of 10 marks.
a. Discuss the kind of discontinuity, if any of the function is defined as follows:
x x
when x0
f x x
2 when x0
b. A function f is defined as follows
p 1
x cos , x 0
f x x
0, x0
What conditions should be imposed on p so that f may be
(i) Continuous at x 0 (ii) Differentiable at x 0
1 x2
(ii) log 2 x
2
SOLUTIONS
Solutions
Q1. a
The function is continuous at all points expect possibly the origin.
Let us test at x 0 .
Now
xx xx
lim f x lim 2 ; lim f x lim 0
x 0 x0 x x 0 x0 x
Thus the function has discontinuity of the first kind from the right at x 0 .
Upendra Singh : Mindset Makers for UPSC Mentoring +91-9971030052
b. Solution:
(i) f 0 0 lim h p cos 1 h
h0
h 0
h 0
c. Solution: x 2 2 x 5 2 x 1 x 2 4 x 4 0 x 2
We have x 2 2 x 5 2 x 1 except when x 2 that means we have to check
continuity at x 2 only (except x 2 ; they are unequal; (since rational =
irrational).
Hence f is continuous at x 2 only.
Further, it follows that x 2 is the only point at which f may be differentiable.
In this regard, we see that
2 x 1 5
2; when x is rational
f x f 2 x2
2
x2
x 2x 5 5
x ; when x is irrational
x2
Therefore, in either case, we have
f x f 2
lim 2
x2 x2
Hence f is differentiable at x 2 and f ' 2 2 .
x a x b m n x na mb 0
m 1 n 1
na mb
x a , b,
mn
na mb
Out of these values of x, is the only point which lies in the a, b .
mn
e. r 2 x 2 y 2 y 2 r 2 x 2 y r 2 x 2 ….(1)
dA
For maximum Area ; 0 r 2 x , y x from (1) ABCD is a square.
dx
Ans. 2 a. Solution.
Try; intuition comes from Rolle’s theorem. But on which function??
Lets consider a function
C1 x 2 C2 x3 C x n 1
f x C0 x ... n
2 3 n 1
f ' C 0
f ' x C0 C1 x C2 x 2 ... Cn x n
b. Solution.
Since the function u is periodic with period for x and y both, it suffices to
consider the values of x and y satisfying 0 x ,0 y
For maxima and minima of u , we must have
u
sin y sin x cos x y cos x sin x y 0 ,
x
i.e., sin y sin 2 x y 0 , ....(1)
So, rt s 2 3 3
1 3 9
3 3 0 . Also, since r 3 0, u is
2 4 4
1 1
maximum at x , y .
3 3
2
At x , y , we have
3 3
2 1
r 2sin cos 2 2 3 1 3 ,
3 2
8 2 2 1
s sin sin 2 sin 3,
3 3 3 2
x ya 0
Ans4.
Solution.
Applying Rolle’s theorem on a function x s.t ' x can give required answer.
differentiable in a, b
f a f x
b a f a f a
a 00 0
g x g x b a g x g x
Similarly b 0
i.e. a b
x is continuous in [a, b]
x is differentiable in a, b
1 f a f b f a f b
0
b a g a g b g x g b
and a b
1 xa
To get , took x and to get a b took
ba ba
b. Solution.
Expansion around x 2 power of x 2
a 2 and h x 2
x 2 x 2
2 3
1 1
f ' x f ' 2
1 x 1 2
1 1
f " x f " 2
1 x
2
9
2 2
f "' x f " 2
1 x 1 2
3 3
Again
f 0 h, 0 f 0, 0 0
f x 0, 0 lim lim 0
h 0 h h 0 h
if
2 2
x2 , y2
8 8
or, if
x , y
2 2 2 2
lim f x, y f 0, 0
x , y 0,0
Hence the function is continuous at 0, 0 .
Again
f h, 0 f 0, 0 h0
f x 0, 0 lim lim
1
h0 h h0 h
f 0, k f 0, 0 k
f y 0, 0 lim lim 1
k 0 k k 0 k
Thus, the function possesses partial derivatives at 0,0 .
If the function is differentiable at 0, 0 , then by definition
df f h, k f 0,0 Ah Bk h k ....(1)
when A and B are constants A f x 0,0 1, B f y 0,0 1 and , tend to zero
as h, k 0, 0 .
Putting h cos , k sin , and dividing by , we get
cos 3 sin 3 cos sin cos sin
....(2)
For arbitrary tan h k , 0 implies that h, k 0, 0 . Thus we get the
1
limit,
cos3 sin 3 cos sin
or cos sin cos2 sin 2 cos sin cos sin
or cos sin cos sin 0
which is plainly impossible for arbitrary .
Thus, the function is not differentiable at the origin.
x2
d. Solution- Consider f x log 1 x x
2
2
1 x
f ' x 1 x 0, x 0
1 x 1 x
Hence, f x is an increasing function for all x 0 .
Also
f 0 0
Hence for x 0, f x f 0 0
Thus
x2
log 1 x x , for x 0
2
Similarly by considering the function
Upendra Singh : Mindset Makers for UPSC Mentoring +91-9971030052
x2
F x x log 1 x
2 1 x
it can be shown that
x2
log 1 x x , x 0
2 1 x
e. Solution.
x x
5 12
P x 1
13 13
x x
5 5 12 12
P ' x log e log e ….(1)
13 13 13 13
d x
dx
a a x loge a
log e is negative if 0 1
5
x
0; x
13
x
12
0' x ….(2)
13
5 12
log e 0, log e 0
13 13
4 4 4
When n is zero or an even integer, f " n 4 is negative and therefore
1
x n makes f x a maxima with the maximum value 2.
4
b. Solution.
1 1
x3 cos y 3 cos
y x
f x, y f 0, 0 0
x2 y 2
1 1
r 3 cos3 cos r 3 sin 3 cos
r sin r cos
r 2 cos 2 sin 2
1 1
r 3 cos 3 cos sin 3 cos
r sin r cos
r2
1 1
r cos 3 cos sin 3 cos
r sin 2 cos
1 1
r cos3 cos sin 3 cos
sin x cos
r 1 1 2 2 2 x 2 y 2
f x, y for x, y 0, 0
x 2
y 2
0 , otherwise
To check differentiability of f x, y at 0, 0
Step (i)
Let f x, y is differentiable 0, 0 by definition
f f
f h, k f 0, 0 df Ah Bk h k where A , B
x 0,0 y 0,0
value = 0
1
f 0, h f 0, 0 h3 cos
f 0 0
B lim lim
y 0,0 h 0 h h 0 h
From (1)
1 1
h3 cos k 3 cos
k h 0 0 h 0 k h k
h2 k 2
Putting g cos , k sin for arbitrary : 0 when h, k 0,0
2 h2 k 2
1 1
cos cos sin cos cos sin
sin cos
R.H.S. 0 But L.H.S. may not be zero for arbitrary values at
tan x x for x 0 in 0, 2
By definition g x g 0 for x 0
c. Solution.
We have used some fundamentals too
Let’s consider a function
f x x sin x
By definition f x f 0 for x 0
x sin x 0 sin 0 in 0, 2
x sin x 0 in 0, 2
x sin x in 0, 2
If get some relation between and then it will be easy to get relation
because cos and cos