09 Differentiability (Theory)
09 Differentiability (Theory)
MEANING OF DERIVATIVE
The instantaneous rate of change of a function with respect to the dependent variable is called derivative. Let ‘f’ be
a given function of one variable and let x denote a number (positive or negative) to be added to the number x.
Let f denote the corresponding change of ‘f’ then f = f(x +x) – f(x)
f f(x x) f(x)
x x
If f/x approaches a limit as x approaches zero, this limit is the derivative of ‘f’ at the point x. The derivative of a
function ‘f’ is a function ; this function is denoted by symbols such as
df d df(x)
f'(x), , f(x) or
dx dx dx
df f f(x x) f(x)
lim lim
dx x 0 x x 0 x
df(x)
The derivative evaluated at a point a, is written, f '(a ), , f '(x)x a , etc.
dx x a
EXISTENCE OF DERIVATIVE
Q
f(a + h)
f(a + h) – f(a) R
f(a–h)
f(a – h) – f(a)
P
f(a)
x
a–h a a+h
(h 0) (h 0)
128
DIFFERENTIABILITY
f (a h) f (a)
f ' (a–) = Lim ,
h 0 h
Provided the limit exists & is finite .
f is said to be derivable at x = a if f ' (a+) = f ' (a– ) = a finite quantity.
This geomtrically means that a unique tangent with finite slope can be drawn at x = a as shown in the figure.
x , x 1
Ex. Comment on the differentiability of f(x) = 2 at x = 1.
x , x 1
Sol. R.H.D. = f (1+)
f (1 h) f (1)
= Limit
h0
h
(1 h) 2 1 1 h 2 2h 1
= Limit = Limit = Limit (h + 2) = 2
h0 h h0 h h 0
f (1 h) f (1) 1 h 1
L.H.D. = f(1–) = Limit
= Limit =1
h0 h h 0 h
As L.H.D. R.H.D. Hence f(x) is not differentiable at x = 1.
A Bx 2 , x 1
Ex. If f(x) = , then find A and B so that f(x) become differentiable at x = 1.
3Ax – b 2 , x 1
f (1 h) f (1)
Sol. f(1+) = lim
h0 h
3A (1 h) B 2 3A B 2 3Ah
= lim = lim = 3A
h0 h h0 h
f (1 h) f (1) A B(1 h) 2 3A B 2
f(1–) = lim = hlim
h0 h 0
h
( 2A 2B 2) Bh 2 2Bh
= lim
h0 h
Hence for this limit to be defined
– 2A + 2B – 2 = 0
B=A+1
[cos x] x 1
Ex. f(x) = comment on the derivability at x =1, where [ ] denotes greatest integer function & { }
2{x} 1 x 1
denotes fractional part function.
129
MATHS FOR JEE MAIN & ADVANCED
If f(x) is a function such that R.H.D = f(a + ) = and L.H.D. = f(a –) = m. Then
Case -
If = m = some finite value, then the function f(x) is differentiable as well as continuous.
Case -
if m = but both have some finite value, then the function f(x) is non differentiable but it is continuous.
Case -
If at least one of the or m is infinite, then the function is non differentiable but we can not say about
continuity of f(x).
y y y
O a x O a O a x
x
(i) (ii) (iii)
continuous and differentiable continuous but not differentiable neither continuous nor differentiable
130
DIFFERENTIABILITY
x 2 sgn[x] {x} , 0 x 2
Ex. If f(x) = , comment on the continuity and differentiability of f(x),
sin x | x 3 | , 2 x 4
where [ . ] is greatest integer function and {.} is fractional part function, at x = 1, 2.
Sol. Continuity at x = 1
lim f(x) = lim (x2 sgn[x] + {x}) = 1 + 0 = 1
x 1 x1
=1 sgn (0) + 1 = 1
f(1) = 1
L.H.L = R.H.L = f(1). Hence f(x) is continuous at x = 1.
Now for differentiability,
f (1 h) f (1)
R.H.D. = f(1+) = lim
h0 h
2
= lim (1 h) sgn[1 h] {1 h} 1
h0
h
2 2 2
= lim (1 h) h 1 = lim 1 h 2h h 1 = lim h 3h = 3
h0 h0
h h0 h h
f (1 h) f (1)
and L.H.D. = f(1–) = lim
h0 h
(1 h) 2 sgn[1 h] 1 h 1
= lim =1
h0 h
f(1+ ) f(1–).
Hence f(x) is non differentiable at x = 1.
Now at x=2
lim f(x) = lim (x2 sgn [x] + {x}) = 4 . 1 + 1 = 5
x 2 x2
1
, | x| 1
Ex. Let f(x) | x| be continuous and differentiable everywhere. Then find a and b.
ax2 b, | x| 1
1
x , x 1
Sol. f(x) ax 2 b, 1 x 1 . Since function is continuous everywhere
1
, x 1
x
LHL = RHL at x = –1
1
LHL = lim f(1 h) lim 1
h 0 h 0 (1 h)
131
MATHS FOR JEE MAIN & ADVANCED
2
RHL = lim f(1 h) lim a(1 h) b a b
h 0 h 0
a+b=1 .....(i)
Again, function is differentiable at everywhere.
LHD = RHD at x = –1
1 1
f( 1 h) f( 1)
LHD = lim lim 1 h 1 1
h 0 h h 0 h
2
f(1 h ) f(1) a 1 h b 1 a(1 h 2 2 h ) b 1
RHD = lim lim = lim
h 0 h h 0 h h 0 h
a b 1 ah 2 2ah
= lim = –2a [a + b = 1 from (i)]
h 0 h
–2a = 1 ......(ii)
1 3
a & b (using (i) & (ii) )
2 2
y y y
x x x
0 a 0 a 0 a
A conrner A discontinuity A vertical tangent
(a) (b) (c)
132
DIFFERENTIABILITY
(i) If f(x) & g(x) are differentiable at x = a, then the functions f(x) g(x), f(x). g(x) will also be differentiable
at x = a & if g (a) 0, then the function f(x)/g(x) will also be differentiable at x = a.
(ii) If f(x) is not differentiable at x = a & g(x) is differentiable at x = a, then the product function F(x) = f(x) . g(x)
can still be differentiable at x = a
(iii) If f(x) & g(x) both are not differentiable at x = a, then the product function F(x) = f(x) . g(x) can still be
differentiable at x = a e.g. f(x) = x & g(x) = x.
(iv) If f(x) & g(x) both are non-differentiable at x = a, then the sum function F(x) = f(x) + g(x) may be a differentiable
function. e.g. f(x) = x & g(x) = x.
f (a g(h)) f (a p(h))
(v) If f is differentiable at x = a, then lim = f(a), where lim p(h) = lim g(h) = 0
h 0 g(h) p(h) h 0 h 0
y = 2x
O x
Sol.
Non-differentiable at x = 0.
Ex. Discuss the differentiability of f(x) = x|x|
x 2 , x 0
Sol. f(x) = 2
x , x 0
Differentiable at x = 0
133
MATHS FOR JEE MAIN & ADVANCED
f (x) is said to be differentiable over an open interval if it is differentiable at each point of the interval and f(x)
is said to be differentiable over a closed interval [a, b] if:
(i) For the points a and b, f (a + ) and f (b–) exist finitely
(ii) For any point c such that a < c < b, f (c+ ) & f(c–) exist finitely and are equal.
All polynomial, exponential, logarithmic and trigonometric (inverse trigonometric not included) functions are
differentiable in their domain.
2x
Graph of y = sin –1 Graph of y = sin –1 x.
1 x2
1
x 3 [sin x] , 0 x 1
Ex. f(x) = ; find that points at which continuity and differentiability should be checked.
[2 x]sgn x 4 , 1 x 2
3
Also check the continuity and differentiability of f(x) at x = 1, where [ ] denotes greatest integer function & { }
denotes fractional part function.
1
x 3 sin x ; 0 x 1
Sol.
f(x)
2 x sgn x 4 ; 1 x 2
3
134
DIFFERENTIABILITY
1
0, 0x
2
5 , x
1
6 2
0, 1
x 1
2
4
2, 1x
f(x) 3
4
0, x
3
4 3
2, x
3 2
3
3, 2
x2
4, x2
1 4 3
Hence function is discontinuous & non-derivable at x = , 1, , & 2
2 3 2
y
(2) g(x) = x2/3 does'nt have vertical tangent at x = 0
g(x) = x2/3
since g'(0+) and g'(0–) hence g(x) is not
x
differentiable at x = 0. o
(ii) If a function has vertical tangent at x = a then it is non differentiable at x = a.
135
MATHS FOR JEE MAIN & ADVANCED
1/3 p
f(x)=|x|
(does not have unique tangent)
q
O x
y
f(x)=|x| p =1
(does not have unique tangent)
q =
o x
(2) f(x) = x1/3 is continuous but not differentiable at x = 0 because f'(0+) and f'(0–) .
y
f(x)=x1/3
f (1 h) f (1) (1 h)1/3 1 1
L.H.D = f(1–) = lim = lim =
h0 h h 0 h 3
f (1 h) f (1) (1 h)1/3 1 1
R.H.D. = f(1+) = lim = lim =
h0 h h 0 h 3
1
As R.H.D. = L.H.D. =
3
1 1
slope of tangent = y – f(1) = (x – 1)
3 3
136
DIFFERENTIABILITY
1
y–1= (x – 1)
3
3y – x = 2 is tangent to y = x1/3at (1, 1)
At x=0
1/3
R.H.D. = f(0+ ) = lim (0 h) 0 = +
h0 h
As L.H.D. and R.H.D are infinite.y = f(x) will have a vertical tangent at origin.
x = 0 is the tangent to y = x1/3 at origin.
Ex. Let f(x) = max {(1 + x), (1 – x), 2}. Find the number of points where it is not differentiable.
y
1 x; x 1
Sol.
f(x) 2; 1 x 1 (1, 2)
(–1, 2)
1 x; x 1
at x = –1 –1 1 x
f(1 h) f(1) 2 2
p = RHD = f '(1 ) lim lim 0
h 0 h h 0 h
qp
not differentiable but continuous at x = –1 and having sharp corner.
Now, at x = 1
f(1 h ) f(1) 2 2
q = LHD = f'(1–) = lim lim 0
h 0 h h 0 h
f(1 h ) f(1) 1 (1 h ) 2
p = RHD = f '(1 ) lim lim 1
h 0 h h 0 h
qp
not differentiable but continuous at x = 1 and having sharp corner.
f(x) is not differentiable at x = ±1.
137
MATHS FOR JEE MAIN & ADVANCED
x' x
–3 –2 –1 0 1 2 3
y'
4
3
2
1
–1 1 2 3 4
–1
(i) at x = 1
(ii) where x2 – 3x + 2 = 2 – (1 – x), when x < 1 (iii) where x2 – 3x + 2 = 2 – (x – 1), where x > 1
Hence, f(x) is discontinuous at x = 1, x = 2 – 3 , and x = 1 + 2.
138
DIFFERENTIABILITY
DIFFERENTIABILITY BY DIFFERENTIATION
x, x 1
Ex. If f(x) = 2 , then find the values of b and c if f(x) is differentiable at x = 1.
x bx c, x 1
x, x 1
Sol. f(x) = 2
x bx c, x 1
1, x 1
f '(x)
2x b, x 1
f(x) is differentiable at x = 1.
Then, it must be continuous at x = 1 for which xlim
1
f (x) lim f (x)
x 1
or 1+ b+c=1 or b+ c= 0
Also, f ' (1+) = f '(1–)
or lim f '(x) lim f '(x)
x 1 x 1
or 2 + b = 1 or b = –1
c= 1
ax(x 1) b, x 1
Ex. f(x) = x 1, 1 x 3.
px 2 qx 2, x 3
Find the values of the constants, a, b, p and q so that all the following conditions are satisfied.
(A) f(x) is continuous for all x. (B) f '(1) does not exist. (C) f '(x) is continuous at x = 3.
Sol. f(x) is continuous x R
Hence, it must be continuous at x = 1, 3
f(1–) = lim ax(x – 1) + b = b
x 1
+
f(1 ) = lim (x – 1) = 0
x 1
139
MATHS FOR JEE MAIN & ADVANCED
Determination of Function which are Differentiable and satisfying the given Functional Rule
STEPS
f (x h) f (x)
1. Write down the expression for f ' (x) as f ' (x) =
h
2. Manipulate f (x + h) – f (x) in such a way that the given functional rule is applicable. Now apply the functional rule
and simplify the RHS to get f ' (x) as a function of x along with constants if any.
3. Integrate f ' (x) to get f (x) as a function of x and a constant of integration. In some cases a Differential Equation in
formed which can be solved to get f (x).
4. Apply the boundary value conditions to determine the value of this constant.
x
Ex. Let f be a differentiable function satisfying f f(x) f(y) x, y 0 . If f'(1) = 1. Find f(x).
y
Sol. Put x = y = 1 in given rule f(1) = f(1) – f(1) = 0
h
f 1
f(x h) f(x) x
f'(x) = lim lim {from given functional rule}
h 0 h h 0 h
h
f 1 f(1)
x 1 f '(1)
f'(x) = lim
h 0 h x x
x
1
f'(x) = {f'(1) = 1}
x
Integrating both sides f(x) = nx + c
putting x = 1 we get c = 0 f(x) = nx
x y f (x) f (y)
Ex. f = x, y R and f(0) = 1 and f(0) = – 1 and function is differentiable for all x, then find f(x).
2 2
140
DIFFERENTIABILITY
1. Introduction
The derivative of a function ‘f’ is a function ; this function is denoted by symbols such as
df d df(x)
f'(x), , f(x) or
dx dx dx
df(x)
The derivative evaluated at a point a, is written, f '(a ), , f '(x)x a , etc.
dx x a
Note
(i) All polynomial, trigonometric, logarithmic and exponential function are continuous and differentiable in
their domains, except at end points.
(ii) If f(x) & g(x) are differentiable at x = a then the functions f(x) + g(x), f(x) – g(x), f(x). g(x) will also be derivable
at x =a & if g(a) 0 then the function f(x)/g(x) will also be derivable at x = a.
3. Important Note
(A) Let f'(a+) = p & f'(a–) = q where p & q are finite then :
(i) p = qf is derivable at x = a f is continuous at x = a
(ii) p q f is not derivable at x = a, but f is continuous at x = a.
141
MATHS FOR JEE MAIN & ADVANCED
y
f(x)=|x|
o x
(A) f(x) is said to be derivable over an open interval (a, b) if it is derivable at each & every point of the open
interval (a, b).
(B) f(x) is said to be derivable over the closed interval [a, b] if :
(i) f(x) is derivable in (a, b) &
(ii) for the points a and b, f'(a+) & f'(b–) exist.
Note
(i) If f(x) is differentiable at x = a & g(x) is not differentiable at x =a, then the product function F(x) = f(x).g(x) can
still be differentiable at x = a.
(ii) If f(x) & g(x) both are not differentiable at x = a then the product function; F(x) = f(x).g(x) can still be
differentiable at x = a.
(iii) If f(x) & g(x) both are non-derivable at x = a then the sum function F(x) = f(x) + g(x) may be a differentiable
function.
(iv) If f(x) is derivable at x = a
f'(x) is continuous at x = a.
142