Chap 3 Continuity and Diff11
Chap 3 Continuity and Diff11
CHAPTER–3
CONTINUITY AND DIFFERENTIABILITY
Outline
✪ Derivative of a function at a point
1
Continuity and Differentiability (Ch–3) Differential Calculus–I
3 . 1 . Derivative (Differential coefficient) of a function at a Theorem–1. If the function f(x) is differentiable at x = a then
point : [NUH–2002, DUH–2002] the function is continuous at that point. [NUH–2012, 2015,
NUH(NM)–2002, NU(Pass)–2016, DUH(Aff. Coll.)–2018]
Let the function f(x) be defined on [a, b] and c ∈ (a, b). Now if
f(x) – f(c) Proof : Since f(x) is differentiable at x = a.
lim exists and finite, then this limit is known as the f(a + h) – f(a)
x–c
x➝ c ∴ f (a) = lim is finite
h
derivative of f(x) at x = c which we denote by f (c). h→ 0
f(a + h) – f(a)
f(x) – f(c) Now lim [f(a + h) – f(a)] = lim ×h
Therefore, f (c) = lim x–c . h
x➝ c h→ 0 h→ 0
f(a + h) – f(a)
Now if we put x – c = h, where h → 0 as x → c, then above limit = lim × lim h = f (a) × 0 = 0
h
f(c + h) – f(c) h→ 0 h→ 0
can also be written as f (c) = lim .
h ∴ lim f(a + h) = f(a) [{ f(a) is finite]
h➝ 0
h→ 0
3 . 2 . Differentiable Function : [NUH(NM)–2014] Therefore f(x) is continuous at x = a
A function f(x) is said to be differentiable at x = a if f (x) exists Remark : If a function f(x) is continuous at x = a then it may
at x = a.That is Lf (a) = Rf (a). not be differentiable at that point. This matter has been
illustrated by the following some examples.
3 . 3 . Left Hand Derivative (L. H. D) and Right Hand
3.5. Geometrical significance/Interpretation of the
Derivative (R. H. D) : derivative : [NUH–2015]
f(a – h) – f(a)
If lim exists then it is called the left derivative Let y = f(x) represent the curve APQ. Let P(x, y) be any point on
–h
h→ 0 – the curve and Q(x + ∆x, y + ∆y) be any point in the neighborhood
(L. H. D.) of f(x) at x = a and denoted by Lf (a). of P.
f(a – h) – f(a)
Thus Lf (a) = lim .
– h
h→ 0 –
f(a + h) – f(a)
If lim exists then it is called the right
h
h→ 0 +
derivative (R. H. D.) of f(x) at x = a and denoted by Rf (a).
f(a + h) – f(a)
Thus Rf (a) = lim .
h
h→ 0 +
2
Continuity and Differentiability (Ch–3) Differential Calculus–I
Now from ∆PQS, In figure–1. For an small increment of x say δx, let δy be this
QS QM – SM QM – PL dy
tan QPS = PS = = corresponding small increment in y, then dx > 0. On the other
LM OM – OL
y + ∆y – y ∆y hand.
or tan θ = x + ∆x – x = ∆x
In figure–2. For an small increment of x say δx, if δy be the
Now if Q → P, then ∆x → 0 and the straight line QPN becomes dy
correspanding decrement in y, then dx < 0.
the straight line TPR. In this case θ → ψ, which in the inclination
of the tangent at P with the +ve direction of x-axis. 3.7. Differential : If f (x) is the derivative of f(x) and ∆x is an
∆y dy increment of x, then the differential of f(x) denoted by the symbol
∴ Slope of PT = lim tan θ = lim ∆x = dx
θ➝ ψ ∆x ➝ 0 df(x)), is defined by the relation df(x) = f (x) ∆x ...... (1)
dy
∴ tan ψ = dx If f(x) = x, then f (x) = 1 and therefore (1) becomes to dx = ∆x.
Therefore the slope of the tangent drawn at P(x, y) of the curve Thus if y = f(x), then the differential of y is defined by
Fig–1 Fig–2
δx dy
If y is increasing, then δy > 0. In this case lim = > 0,
δx dx
δx ➝ 0
since δx is always +ve and if y is decreasing, then δy < 0. In this
δy dy
case lim = < 0 since δx is always +ve.
δx dx
δx ➝ 0 Let ∠CPD = ψ, PC = ∆x = dx, QC = ∆y, CD = dy
3
Continuity and Differentiability (Ch–3) Differential Calculus–I
CD CD 1
Thus tan ψ = PC = ∆x Differentiability tet at x = 2 :
CD
⇒ f (x) = ∆x [{ the value of the derivatives at a point 1 1
f 2 + h – f 2
1
on a curve is equal to the slope of the Rf 2 = lim
h→ 0 + h
tangent at that point.]
⇒ CD = f (x) ∆x 1 1
1 – 2 + h – 2
or CD = f (x) ∆x = df(x) = dy
= lim
or dy = f (x) dx h
h→ 0 +
The symbols dx and dy are also called differentials (–h)
= lim
(differential x and differential y). h = lim + (–1) = – 1
dy h→ 0 + h→ 0
If dx ≠ 0, then dx = f (x) or derivative of f(x) at x.
1 1
f 2 – h – f 2
1
and Lf 2 = lim
SOLVED EXAMPLES h→ 0 – –h
4
Continuity and Differentiability (Ch–3) Differential Calculus–I
5
Continuity and Differentiability (Ch–3) Differential Calculus–I
π π π
f(x) =
3–2 when x = 2 Where, f(x) =
1 + sinx when 0 ≤ x < 2
x – π8
π 2 π
3
π
2+ x–2 1
when x ≥ 2 2
x – π2 when 2 < x
[NUH–2017, NUH(NM)–2016, NU(Pass)–2016]
Solution : Given function
π π π π
Solution : When x = 2, then f(x) = 3 – 2 ∴ f 2 = 3 – 2 12 1
when x < 0
π
f(x) =
1 + sinx when 0 ≤ x <
π 2
x3 – 8 2 + x – π 2
π
Now,
lim
π + f(x) =
lim
π+ π 1 22 when x ≥ 2
x➝ 2 x➝ 2 x – 2 2
π π
π π π2
When x = 2, then f(x) = 2 + x – 2 1 2
1 x–2 21x2 + x • 2 + 4 2 π π π 2
=
lim
π+ π 12 1
∴f 2 = 2 + 2 – 2 2
x➝ 2 1x–2 2 =2+0
πx π 2 π
1 2
lim =2
= x2 + 2 + 4 , x≠ 2
π+
lim π 2
1 2
x➝ 2 lim
2 + x –
2
f(x) =
π + π +
2 2 x➝ 2 x➝ 2
π π π π
= 2 12 +2•2 + 2 12 π π 2
3π 2
=2+ 2 –2 1 2
= 4
=2
lim lim
12
lim lim x
π – f(x) = π – tan 2 π – f(x) = π – (1 + sin x)
x➝ 2 x➝ 2 x➝ 2 x➝ 2
π
π
12 = 1 + sin 2
= tan 4
=1+1
=1
=2
π
12
lim lim π
∴ π + f(x) ≠ π – f(x) ≠ f 2 12
lim lim
x➝ 2 x➝ 2 π + f(x) = π – f(x) = f 2
x➝ 2 x➝ 2
π π
Therefore, f(x) is discontinous at x = 2 . Therefore f(x) is continuous at x = 2
6
Continuity and Differentiability (Ch–3) Differential Calculus–I
= lim
1
2+ 2+h–2 2 –2 Solution : Given function f(x) = |x| + |x – 1| ..... (1)
h When x < 0, then f(x) = – x – (x – 1)
h➝ 0
h2 =–x–x+1
= lim h
h➝ 0 = 1 – 2x
= lim h When 0 ≤ x < 1, then f(x) = x – (x – 1)
h➝ 0 =x–x+1
=0 =1
π 1
f π/2 – h – f π/2 2 1 2 When x ≥ 1, then f(x) = x + x – 1
12
Lf 2 = lim
h➝ 0
(– h) = 2x – 1
π ∴ The function f(x) can be written as-
1
1 + sin 2 – h – 2 2 1 – 2x when x < 0
f(x) =
= lim 0≤ x < 1
h➝ 0
(– h) 2x1– 1 when
when x ≥ 1
1 + cosh – 2
= lim Continutiy at x = 0
h
h ➝ 0–
When x = 0, then f(x) = 1, ∴ f(0) = 1
– (1 – cos h)
= lim lim f(x) = lim 1 = 1
h
h➝ 0 x ➝ 0+ x ➝ 0+
h ∴ lim f(x) = lim (– 2x + 1)
2sin 2 2 x ➝ 0+ x ➝ 0–
= – lim h = – 2.0 + 1
h➝ 0
h =1
2 sin 2 h ∴ lim f(x) = lim f(x) = f(0)
= – lim • sin
h 2 x ➝ 0+ x ➝ 0–
h➝ 0
2
Therefore f(x) is continuous at x = 0.
12
h
sin 2 Now, continuity at x = 1
12
h
= – lim • lim sin
When x = 1, then f(x) = 2x – 1, ∴f(1) = 2.1 – 1 = 1
12
h 2
h➝ 0 h➝ 0
2 lim f(x) = lim (2x – 1) = 2.1 – 1 = 1
=–1× 0 x ➝ 1+ x ➝ 1+
lim f(x) = lim 1 = 1
=0
x ➝ 1– x ➝ 1–
π
12
Since Rf = Lf 2 = 0 ∴ lim f(x) = lim f(x) = f(1)
x ➝ 1– x ➝ 1–
π
Therefore f(x) is differentiable at x = 2 . Therefore f(x) is continuous at x = 1.
7
Continuity and Differentiability (Ch–3) Differential Calculus–I
8
Continuity and Differentiability (Ch–3) Differential Calculus–I
12
1
12
1
= lim (– h) cos h h sin h – 0
12
1
h➝ 0 = lim = lim sin h
h
h➝ 0 h➝ 0
12
1
= lim (– h) • lim cos h
Which does not exist
h➝ 0 h➝ 0
f(0 – h) – f(0)
=0 Lf (0) = lim (– h)
h➝ 0
since Rf (0) = Lf (0) = 0
12
1
∴ f (0) = 0 h sin h – 0
= lim
Example–9. Investigate the continuity and differentiability (– h)
h➝ 0
of the point x = 0
12
1
= – lim sin h , which does not exist.
12
1
x sin x when x ≠ 0
f(x) =
h➝ 0
0 when x = 0 ∴ Rf (0) ≠ Lf (0)
Solution : Given function ∴ f(x) is not differentiable at x = 0
12
1 Example–10. Discuss the continuity and differentiability at
x sin x when x ≠ 0
f(x) = π
0 when x = 0 x = 0 and x = 2 of the function
when x = 0, then f(x) = 0 ∴ f(0) = 0 1 when x < 0
π
12 when 0 ≤ x <
1 1 + sin x
when x > 0, then f(x) = x sin x f(x) = 2
π
∴ lim f(x) = lim x sin x
1
12 2 + ( x – (π/2)) when x ≥ 2
2
12
1 R. H. L. = lim f(x) = lim (1 + sin x) = 1
when x < 0, then f(x) = x sin x x ➝ 0+ x ➝ 0+
12
1 L. H. L. = lim f(x) = lim 1 = 1
∴ lim f(x) = lim x sin x x ➝ 0– x ➝ 0–
x ➝ 0– x ➝ 0–
= 0 × (any number between – 1 to 1 and f(0) = 1 + sin 0 = 1
9
Continuity and Differentiability (Ch–3) Differential Calculus–I
π π 2
Secondly, differentiability test at x = 0 : 2 + 2 + h – 2 – 2
f(0 + h) – f(0)
Rf (0) = lim = lim
h h
h ➝ 0+ h→ 0 +
h2
= lim
= lim
1 + sinh – (1 + sin 0) h = lim + h = 0
h h→ 0 + h→ 0
h ➝ 0+
π π
sinh f 2 – h – f 2
= lim h =1 π
Lf 2 = lim
h ➝ 0+ h→ 0 –h
–
f(0 – h) – f(0)
Lf (0) = lim π
– h 1 + sin 2 – h – 2
h ➝ 0–
1 – (1 + sin 0) = lim –h
= lim =0 h→ 0 –
– h
h ➝ 0– cos h – 1
= lim – h
Since Rf (0) ≠ Lf (0), so the given function is not differentiable h→ 0 –
at x = 0. h
– 2 sin2 2
π = lim
Thirdly : Continuity test of f(x) at x = 2. – h
h→ 0 –
π 2 π π 2 sin h 2
lim f(x) = lim 2 + x – 2 = 2 + 2 – 2 = 2 2 h
+ + = lim h . 2 = 0
x→ 1 π22 x→ π2 h→ 0 – 2
π
lim f(x) = lim (1 + sin x) = 1 + sin 2 = 2 π π π
– – Since Rf 2 = Lf
2 , so f(x) is differentiable at x = 2 .
x→ π2 x→ π2
x 2 sin ( 1/x) when x ≠ 0
π π π 2
and f 2 = 2 + 2 – 2 = 2
Example–11. If f(x) = 0 5 when x = 0 then show
that at x = 0 f(x) is differentiable but f (x) is not continuous.
π [BSc(Pass)–2007]
Since lim f(x) = lim f(x) = f 2 Solution : When x = 0, f(x) = 0 ⇒ f(0) = 0
π+ π–
x→ x→ f(0 + h) – f(0)
2 2 Now, Rf (0) = lim h
π h→ 0 +
So f(x) is continuous at x = 2. 1
h 2 sin h – 0
π = lim
Finally : Differentiability test of f(x) at x = 2 . h
h→ 0 +
π π 1 1
f 2 + h – f 2 = lim h sin h = 0 Since – 1 ≤ sin h ≤ 1
π h→ 0 +
Rf 2 = lim
h→ 0 + h
=0
10
Continuity and Differentiability (Ch–3) Differential Calculus–I
1 1 Continuity at x = 1
= 2 lim x sin x – lim cos x
x→ 0 + x→ 0 + when x = 1, then f(x) = 1 – x 2 ∴f(1) = 1–1=0
1 when x > 1, then f(x) = sin πx
= 0 – lim cos x = limit does not exist.
∴ lim f(x) = lim sin πx = sin π = 0
x→ 0 + x ➝ 1+ x ➝ 1+
So f (x) is not continuous at x = 0. = 1–1
x + x 4/3 sin 1 when x ≠ 0 =0
Example–12. If f(x) = x then find Since lim f(x) = lim f(x) = (1)
0 when x = 0 x ➝ 1+ x ➝ 1–
f (0) if exists.
Therefore f(x) is continuous at x = 1.
Solution : When x = 0, f(x) = 0 ⇒ f(0) = 0 Now, Continuity at x = – 1
f(0 + h) – f(0)
Rf (0) = lim when x = – 1, then f(x) = 1 – x 2 ∴ f(– 1) = 1–1=0
h
h→ 0 + when x > – 1, then f(x) = 1– x2
1
h + h 4/3 sin h – 0 lim f(x) = lim 1 – x2
= lim x ➝ –1 + x ➝ –1 +
h
h→ 0 + = 1–1
1 1
≤ 1 =0
= lim 1 + h1/3 sin h = 1 + 0 = 1 { sin h
h→ 0 + when x < – 1, then f(x) = sin πx
11
Continuity and Differentiability (Ch–3) Differential Calculus–I
=–π 2
= lim –1
when x < 1 then f(x) = 1 – x2 h➝ 0 h
f(1 – h) – f(1)
Lf (1) = lim which does not exist.
(– h)
h➝ 0
When x < – 1, then f(x) = sin πx
1 – (1 – h)2 – 0 f(– 1 – h) – f(– 1)
= lim ∴ Lf (– 1) = lim
(– h) (– h)
h➝ 0 h➝ 0
(1 + 1 – h) (1 – 1 + h) sin (1 + h) π – 0
= lim = – lim
(– h) (– h)
h➝ 0 h➝ 0
(2 – h) • h sin (π + πh)
= – lim = lim
(– h) h
h➝ 0 h➝ 0
12
Continuity and Differentiability (Ch–3) Differential Calculus–I
13
Continuity and Differentiability (Ch–3) Differential Calculus–I
14
Continuity and Differentiability (Ch–3) Differential Calculus–I
15
Continuity and Differentiability (Ch–3) Differential Calculus–I
Example–19. Find the slope of tangent line to the curve Solution : Continuity at x = 1.
y= x2 + 1 at the point (2, 5). [NUH–2014] lim f(x) = lim (2 – x) = 1
x➝ 1 + x➝ 1 +
Solution : Let y = f(x) = x2 + 1 lim f(x) = lim (x) = 1
x➝ 1 – x➝ 1 –
The slope of the tangent at (2, 5), that is at x = 2
and f(1) = 2 – 1 = 1
1dx2
dy
= f (2)
x=2 Since lim f(x) = lim f(x) = f(1)
x➝ 1 + x➝ 0 –
f(2 + h) – f(2)
= lim h So f(x) is continuous at at x = 1.
h➝ 0
(2 + h)2 + 1 – (22 + 1) Differentiability at x = 1 :
= lim h
h➝ 0 f(1 + h) – f(1)
Rf (1) = lim h
4h + h2 h➝ 0 +
= lim h
h➝ 0 (1 + h) – (2 – 1)
= lim h
= lim (4 + h) = 4. h➝ 0 +
h➝ 0
h
= lim h = 1
N. B. Suppose the tangents at drawn to the curve y = f(x) at the h➝ 0 +
point (x, y). f(1 – h) – f(1)
Lf (1) = lim –h
Now (i) tangents will be parallel to x-axis or perpendicular to h➝ 0 –
dy (1 + 1 – h) – (2 – 1)
y-axis when dx = 0. = lim – h
h➝ 0 –
(ii) Tangents will be parallel to y-axis or perpendicular to x- 1–h
h =∞
dx = = lim
axis when dy = 0. h➝ 0 –
(iii) If the tangents subtend equal angles with the coordinate Since Rf (1) ≠ Lf (1), so f(x) is not differentiable at x = 1.
dy
axis, then dx = ± 1. Similarly we can find the continuity and differentiability
at x = 2.
1 + x, x ≤ 0
x, 0<x<1
Example–20. If f(x) = 2 – x, 1 ≤ x ≤ 2
2x – x2, x > 2
16
Continuity and Differentiability (Ch–3) Differential Calculus–I
6. Write the conditions for differentiability of f(x) at x = a. 14. Draw a sample graph of f(x) such that it is continuous
and differentiable at x = a.
[NUH(NM)–2010, 2015, 2018, DUH(Aff. Coll.)–2017]
Ans : The conditions for the function f(x) is said to be Ans :
differentiable at x = a.
(i) Lf (a) will exist and be finite
(ii) Rf (a) will exist and be finite In the above figure, y = f(x) is continuous and
(iii) Lf (a) = Rf (a). differentiable at x = a.
17
Continuity and Differentiability (Ch–3) Differential Calculus–I
15. Draw a sample graph of y = f(x) such that it is continuous 22. Which is the interval where the function f(x) = |x| is
differentiable?
but not-differentiable at x = a.
Ans : f(x) = |x| is differentiable for all real values of x
Ans : excluding 0 that is in (– ∞, 0) and (0, ∞), f(x) is
differentiable.
23. Which is the interval where the function f(x) = |x – 1|
+ |x – 2| is differentiable?
In the above figure, y = f(x) is continuous but not
Ans : f(x) = |x – 1| + |x – 2| is differentiable for all real values
differentiable at x = 0.
of x without x = 1 and x = 2.
16. Draw a sample graph of y = f(x) such that it is not
That is in (– ∞, 1) and (2, ∞), f(x) is differentiable.
continuous and differentiable.
24. Which are the points where the function f(x) = |x + 1|
Ans : + |x| + |x – 1| is not differentiable?
Ans : f(x) is not differentiable at x = –1, 0, 1.
18
Continuity and Differentiability (Ch–3) Differential Calculus–I
9. Show that the function f(x) = tan x is differentiable in the Part–C : Broad Questions
π
interval 0, . 1. Show that the function f(x) = |x – 2| is continuous at x = 2
3
but not differentiable at the point. [NUH–2006]
10. A function f(x) is defined as follows 2. Show that the function f(x) = |x + 3| is differentiable at
5
x when 0 < x < 1 every where except x = – 3.
Let f(x) = 2 – x when 1 ≤ x ≤ 2
–1/x2 x ≠ 0 , show that f(x) is
Let f(x) = xe when
3.
Show that f(x) is continuous at x = 1 but f (x) does not 0 when x =0
exist at that point. [NUH(NM)–2008] continuous and differentiable at x = 0. [CHU–2007]
|x| when x ≥ 0 x 2 sin(1/ x) when x ≠ 0
11. If f(x) = test the differentiability of 4. Show that f(x) = is conti-
– |x| when x < 0 0 when x = 0
f(x) at x = 0. nuous at x = 0. Also show that f (x) is continuous at x = 0.
x + 1 x sin (ln x2) when x ≠ 0 [DUH–2002]
12(i). If f(x) = 3 show that the 5. Show that f(x) = |x| + |x – 1| is differentiable except x = 0
0 when x = 0 and x = 1. [NUH(NM)–2014]
function f(x) is continuous but f (x) does not exist at x = 0.
6. Show that the function f(x) = |x – 1| + |x – 2| is
x 2 – 1 when x ≠ 1 differentiable at every where except x = 1 and x = 2.
(ii). If f (1) exists, find it where f(x) = x –21 when x = 1 7. Show that each of the following functions is
differentiable at any point.
[NUH(NM)–2002] x
f(x) = (x – 2) (x – 3) (x ≠ 2, x ≠ 3)
1 for x ≤ 1
13. 5
If f(x) = x for x > 1
8. Show that the function f(x) = |x| + |x – 1| + |x – 2| is not
Test the continuity and differentiability of f(x) at x = 1 differentiable at the points x = 0, x = 1 and x= 2.
1 + x for x ≤ 0
9. A function f(x) is defined as follows
x for 0 < x < 1 1 + x when x ≤ 0
1 4 . If f(x) = 2 – x for 1 ≤ x ≤ 2 x when 0 < x < 1
2x – x2 for x > 2 f(x) = 2 – x when 1 ≤ x ≤ 2
2x – x2 when x > 2
Show that f(x) is continuous at x = 1 and x = 2 but f (x) Show that the function f(x) is continuous at the points
does not exist at these point. x = 1 and x = 2 but f (x) does not exist at that point.
1 [NUH(NM)–2005]
x + x
4/3 sin x for x ≠ 0
15. If f(x)
0 for x = 0
19