NCERT Solutions for Class 12 Maths Chapter 5: Continuity and Differentiability
12NCERT Mathematics · solved
Continuity and Differentiability makes precise the idea of a graph you can draw without lifting the pen (continuity) and of a curve that is smooth enough to have a tangent (differentiability). It then builds the full toolkit of differentiation: the chain rule, implicit functions, inverse trigonometric, exponential and logarithmic functions, logarithmic differentiation, parametric forms and second order derivatives.
Download PDFBoard questions on this chapter (11)
Try each question, open its solution, then mark yourself: 0 of 145 checked · 0 right
Exercise 5.1
Question 1. Prove that the function f(x) = 5x − 3 is continuous at x = 0, at x = −3 and at x = 5.
Show solution
- f is a polynomial, so lim(x→c) f(x) = 5c − 3 = f(c) for every c
- At x = 0: lim = −3 = f(0)
- At x = −3: lim = −15 − 3 = −18 = f(−3)
- At x = 5: lim = 25 − 3 = 22 = f(5)
- So f is continuous at x = 0, −3 and 5.
Answer: Proved: limit equals value at each point.
Question 2. Examine the continuity of the function f(x) = 2x² − 1 at x = 3.
Show solution
- f(3) = 2(9) − 1 = 17
- lim(x→3) (2x² − 1) = 18 − 1 = 17
- Limit = value
Answer: f is continuous at x = 3.
Question 3. Examine the following functions for continuity.
(a) f(x) = x − 5
Show solution
- For any real c: lim(x→c) (x − 5) = c − 5 = f(c)
Answer: Continuous at every real number.
(b) f(x) = 1/(x − 5), x ≠ 5
Show solution
- The domain is all reals except 5
- For any c ≠ 5: lim(x→c) 1/(x − 5) = 1/(c − 5) = f(c)
Answer: Continuous at every point of its domain (all x ≠ 5), so f is a continuous function.
(c) f(x) = (x² − 25)/(x + 5), x ≠ −5
Show solution
- For x ≠ −5, f(x) = (x − 5)(x + 5)/(x + 5) = x − 5
- For any c ≠ −5: lim(x→c) f(x) = c − 5 = f(c)
Answer: Continuous at every point of its domain (x ≠ −5).
(d) f(x) = |x − 5|
Show solution
- f(x) = 5 − x for x < 5 and x − 5 for x ≥ 5; each piece is continuous
- At x = 5: LHL = lim(5 − x) = 0, RHL = lim(x − 5) = 0, f(5) = 0
Answer: Continuous at every real number.
Question 4. Prove that the function f(x) = xⁿ is continuous at x = n, where n is a positive integer.
Show solution
- f(n) = nⁿ
- lim(x→n) xⁿ = nⁿ (limit of a polynomial is its value)
- Limit = value, so f is continuous at x = n.
Answer: Proved.
Question 5. Is the function f defined by f(x) = x, if x ≤ 1; 5, if x > 1 continuous at x = 0? At x = 1? At x = 2?
Show solution
- At x = 0: near 0, f(x) = x, so lim = 0 = f(0): continuous
- At x = 1: LHL = lim(x→1⁻) x = 1; RHL = lim(x→1⁺) 5 = 5. LHL ≠ RHL: not continuous
- At x = 2: near 2, f(x) = 5, so lim = 5 = f(2): continuous
Answer: Continuous at x = 0 and x = 2; not continuous at x = 1.
Question 6. Find all points of discontinuity of f, where f(x) = 2x + 3, if x ≤ 2; 2x − 3, if x > 2
Show solution
- For x < 2 and x > 2, f is a polynomial, so continuous
- At x = 2: LHL = 2(2) + 3 = 7, RHL = 2(2) − 3 = 1
- LHL ≠ RHL, so f is discontinuous at x = 2
Answer: x = 2 is the only point of discontinuity.
Question 7. Find all points of discontinuity of f, where f(x) = |x| + 3, if x ≤ −3; −2x, if −3 < x < 3; 6x + 2, if x ≥ 3
Show solution
- Each piece is continuous inside its own interval; check x = −3 and x = 3
- At x = −3: LHL = |−3| + 3 = 6, RHL = −2(−3) = 6, f(−3) = 6: continuous
- At x = 3: LHL = −2(3) = −6, RHL = 6(3) + 2 = 20: discontinuous
Answer: x = 3 is the only point of discontinuity.
Question 8. Find all points of discontinuity of f, where f(x) = |x|/x, if x ≠ 0; 0, if x = 0
Show solution
- For x < 0, f(x) = −x/x = −1; for x > 0, f(x) = 1; both constant, so continuous
- At x = 0: LHL = −1, RHL = 1, unequal
Answer: x = 0 is the only point of discontinuity.
Question 9. Find all points of discontinuity of f, where f(x) = x/|x|, if x < 0; −1, if x ≥ 0
Show solution
- For x < 0, |x| = −x, so f(x) = x/(−x) = −1
- For x ≥ 0, f(x) = −1
- So f(x) = −1 for every real x, a constant function, continuous everywhere
Answer: f has no point of discontinuity.
Question 10. Find all points of discontinuity of f, where f(x) = x + 1, if x ≥ 1; x² + 1, if x < 1
Show solution
- Both pieces are polynomials; check x = 1
- LHL = 1² + 1 = 2, RHL = 1 + 1 = 2, f(1) = 2
- So f is continuous at 1 as well
Answer: f has no point of discontinuity.
Question 11. Find all points of discontinuity of f, where f(x) = x³ − 3, if x ≤ 2; x² + 1, if x > 2
Show solution
- Check x = 2: LHL = 8 − 3 = 5, RHL = 4 + 1 = 5, f(2) = 5
- Elsewhere f is a polynomial
Answer: f has no point of discontinuity.
Question 12. Find all points of discontinuity of f, where f(x) = x¹⁰ − 1, if x ≤ 1; x², if x > 1
Show solution
- Check x = 1: LHL = 1 − 1 = 0, RHL = 1² = 1
- LHL ≠ RHL
Answer: x = 1 is the only point of discontinuity.
Question 13. Is the function defined by f(x) = x + 5, if x ≤ 1; x − 5, if x > 1 a continuous function?
Show solution
- At x = 1: LHL = 1 + 5 = 6, RHL = 1 − 5 = −4
- LHL ≠ RHL, so f is discontinuous at x = 1 (it is continuous at every other point)
Answer: No, f is not continuous (it breaks at x = 1).
Question 14. Discuss the continuity of the function f, where f(x) = 3, if 0 ≤ x ≤ 1; 4, if 1 < x < 3; 5, if 3 ≤ x ≤ 10
Show solution
- f is constant on each piece, so continuous inside each interval
- At x = 1: LHL = 3, RHL = 4: discontinuous
- At x = 3: LHL = 4, RHL = 5: discontinuous
Answer: f is continuous on [0, 10] except at x = 1 and x = 3.
Question 15. Discuss the continuity of the function f, where f(x) = 2x, if x < 0; 0, if 0 ≤ x ≤ 1; 4x, if x > 1
Show solution
- At x = 0: LHL = 2(0) = 0, RHL = 0, f(0) = 0: continuous
- At x = 1: LHL = 0, RHL = 4(1) = 4: discontinuous
Answer: f is continuous everywhere except at x = 1.
Question 16. Discuss the continuity of the function f, where f(x) = −2, if x ≤ −1; 2x, if −1 < x ≤ 1; 2, if x > 1
Show solution
- At x = −1: LHL = −2, RHL = 2(−1) = −2, f(−1) = −2: continuous
- At x = 1: LHL = 2(1) = 2, RHL = 2, f(1) = 2: continuous
- Inside each piece f is a polynomial
Answer: f is continuous at every real number.
Question 17. Find the relationship between a and b so that the function f defined by f(x) = ax + 1, if x ≤ 3; bx + 3, if x > 3 is continuous at x = 3.
Show solution
- f(3) = LHL = 3a + 1; RHL = 3b + 3
- Continuity: 3a + 1 = 3b + 3 ⇒ 3a − 3b = 2
Answer: a − b = 2/3, i.e. a = b + 2/3.
Question 18. For what value of λ is the function defined by f(x) = λ(x² − 2x), if x ≤ 0; 4x + 1, if x > 0 continuous at x = 0? What about continuity at x = 1?
Show solution
- At x = 0: LHL = λ(0 − 0) = 0 = f(0); RHL = 4(0) + 1 = 1
- LHL ≠ RHL whatever λ is, so f cannot be made continuous at 0
- At x = 1: near 1, f(x) = 4x + 1, so lim = 5 = f(1): continuous for every λ
Answer: There is no value of λ that makes f continuous at x = 0; f is continuous at x = 1 for every λ.
Question 19. Show that the function defined by g(x) = x − [x] is discontinuous at all integral points. Here [x] denotes the greatest integer less than or equal to x.
Show solution
- Let n be an integer. g(n) = n − n = 0
- Just left of n, [x] = n − 1, so LHL = n − (n − 1) = 1
- Just right of n, [x] = n, so RHL = n − n = 0
- LHL ≠ RHL, so g is discontinuous at every integer
Answer: Proved: at each integer the left limit is 1 and the right limit is 0.
Question 20. Is the function defined by f(x) = x² − sin x + 5 continuous at x = π?
Show solution
- x², sin x and the constant 5 are continuous everywhere, so f is continuous
- Check: f(π) = π² − 0 + 5 = π² + 5, and lim(x→π) f(x) = π² + 5
Answer: Yes, f is continuous at x = π.
Question 21. Discuss the continuity of the following functions:
(a) f(x) = sin x + cos x
Show solution
- sin x and cos x are continuous everywhere; their sum is continuous
Answer: Continuous at every real number.
(b) f(x) = sin x − cos x
Show solution
- The difference of two continuous functions is continuous
Answer: Continuous at every real number.
(c) f(x) = sin x · cos x
Show solution
- The product of two continuous functions is continuous
Answer: Continuous at every real number.
Question 22. Discuss the continuity of the cosine, cosecant, secant and cotangent functions.
Show solution
- cos x: for any c, lim(h→0) cos(c + h) = lim(cos c cos h − sin c sin h) = cos c, so cos is continuous everywhere
- cosec x = 1/sin x: a quotient of continuous functions, continuous wherever sin x ≠ 0, i.e. x ≠ nπ
- sec x = 1/cos x: continuous wherever cos x ≠ 0, i.e. x ≠ (2n + 1)π/2
- cot x = cos x/sin x: continuous wherever sin x ≠ 0, i.e. x ≠ nπ (n ∈ Z)
Answer: cos x is continuous on R; cosec x and cot x are continuous on R − {nπ}; sec x is continuous on R − {(2n + 1)π/2}.
Question 23. Find all points of discontinuity of f, where f(x) = sin x/x, if x < 0; x + 1, if x ≥ 0
Show solution
- For x < 0 and x > 0 the pieces are continuous
- At x = 0: LHL = lim(x→0) sin x/x = 1; RHL = 0 + 1 = 1; f(0) = 1
- So f is continuous at 0 too
Answer: f has no point of discontinuity.
Question 24. Determine if f defined by f(x) = x² sin(1/x), if x ≠ 0; 0, if x = 0 is a continuous function?
Show solution
- For x ≠ 0, f is a product of continuous functions, so continuous
- At x = 0: −1 ≤ sin(1/x) ≤ 1, so −x² ≤ x² sin(1/x) ≤ x²
- Both −x² and x² tend to 0, so lim(x→0) x² sin(1/x) = 0 = f(0) (sandwich theorem)
Answer: Yes, f is continuous everywhere.
Question 25. Examine the continuity of f, where f is defined by f(x) = sin x − cos x, if x ≠ 0; −1, if x = 0
Show solution
- For x ≠ 0, f is continuous (difference of continuous functions)
- At x = 0: lim(x→0) (sin x − cos x) = 0 − 1 = −1 = f(0)
Answer: f is continuous at every real number.
Question 26. Find the value of k so that f(x) = k cos x/(π − 2x), if x ≠ π/2; 3, if x = π/2 is continuous at x = π/2.
Show solution
- Put x = π/2 + h; as x → π/2, h → 0
- cos(π/2 + h) = −sin h and π − 2x = −2h
- lim(x→π/2) f(x) = lim(h→0) k(−sin h)/(−2h) = (k/2) lim (sin h/h) = k/2
- Continuity: k/2 = 3
Answer: k = 6
Question 27. Find the value of k so that f(x) = kx², if x ≤ 2; 3, if x > 2 is continuous at x = 2.
Show solution
- LHL = f(2) = 4k; RHL = 3
- 4k = 3
Answer: k = 3/4
Question 28. Find the value of k so that f(x) = kx + 1, if x ≤ π; cos x, if x > π is continuous at x = π.
Show solution
- LHL = f(π) = kπ + 1; RHL = cos π = −1
- kπ + 1 = −1 ⇒ kπ = −2
Answer: k = −2/π
Question 29. Find the value of k so that f(x) = kx + 1, if x ≤ 5; 3x − 5, if x > 5 is continuous at x = 5.
Show solution
- LHL = f(5) = 5k + 1; RHL = 15 − 5 = 10
- 5k + 1 = 10
Answer: k = 9/5
Question 30. Find the values of a and b such that the function defined by f(x) = 5, if x ≤ 2; ax + b, if 2 < x < 10; 21, if x ≥ 10 is a continuous function.
Show solution
- Continuity at x = 2: 5 = 2a + b
- Continuity at x = 10: 10a + b = 21
- Subtract: 8a = 16 ⇒ a = 2, then b = 1
Answer: a = 2, b = 1
Question 31. Show that the function defined by f(x) = cos(x²) is a continuous function.
Show solution
- Let g(x) = cos x and h(x) = x²; both are continuous everywhere
- f(x) = g(h(x)) = (g∘h)(x)
- A composition of continuous functions is continuous, so f is continuous
Answer: Proved.
Question 32. Show that the function defined by f(x) = |cos x| is a continuous function.
Show solution
- Let g(x) = |x| and h(x) = cos x; both are continuous everywhere
- f = g∘h is a composition of continuous functions, hence continuous
Answer: Proved.
Question 33. Examine that sin |x| is a continuous function.
Show solution
- Let g(x) = sin x and h(x) = |x|; both are continuous everywhere
- sin |x| = (g∘h)(x), a composition of continuous functions
Answer: sin |x| is continuous everywhere.
Question 34. Find all the points of discontinuity of f defined by f(x) = |x| − |x + 1|.
Show solution
- g(x) = |x| and h(x) = |x + 1| are continuous everywhere
- f = g − h is a difference of continuous functions, so continuous everywhere
- (Check at the corners: at x = 0 and x = −1 both one-sided limits equal f there.)
Answer: f has no point of discontinuity.
Exercise 5.2
Question 1. Differentiate w.r.t. x: sin(x² + 5)
Show solution
- Chain rule: d/dx sin u = cos u · du/dx, with u = x² + 5
- dy/dx = cos(x² + 5) · 2x
Answer: 2x cos(x² + 5)
Question 2. Differentiate w.r.t. x: cos(sin x)
Show solution
- dy/dx = −sin(sin x) · d/dx(sin x)
Answer: −cos x · sin(sin x)
Question 3. Differentiate w.r.t. x: sin(ax + b)
Show solution
- dy/dx = cos(ax + b) · d/dx(ax + b)
Answer: a cos(ax + b)
Question 4. Differentiate w.r.t. x: sec(tan(√x))
Show solution
- d/dx sec u = sec u tan u · u′, with u = tan √x
- u′ = sec²(√x) · d/dx(√x) = sec²(√x)/(2√x)
- dy/dx = sec(tan √x) tan(tan √x) · sec²(√x)/(2√x)
Answer: sec(tan √x) tan(tan √x) sec²(√x)/(2√x)
Question 5. Differentiate w.r.t. x: sin(ax + b)/cos(cx + d)
Show solution
- Quotient rule: (u′v − uv′)/v² with u = sin(ax + b), v = cos(cx + d)
- u′ = a cos(ax + b), v′ = −c sin(cx + d)
- dy/dx = [a cos(ax + b) cos(cx + d) + c sin(ax + b) sin(cx + d)]/cos²(cx + d)
Answer: a cos(ax + b) sec(cx + d) + c sin(ax + b) tan(cx + d) sec(cx + d)
Question 6. Differentiate w.r.t. x: cos x³ · sin²(x⁵)
Show solution
- Product rule: d/dx(cos x³) = −3x² sin x³; d/dx sin²(x⁵) = 2 sin x⁵ cos x⁵ · 5x⁴
- dy/dx = −3x² sin x³ sin²x⁵ + cos x³ · 10x⁴ sin x⁵ cos x⁵
Answer: 10x⁴ sin x⁵ cos x⁵ cos x³ − 3x² sin x³ sin²x⁵
Question 7. Differentiate w.r.t. x: 2√(cot(x²))
Show solution
- dy/dx = 2 · 1/(2√(cot x²)) · d/dx(cot x²) = (1/√(cot x²)) · (−cosec²x²)(2x)
- = −2x cosec²x²/√(cot x²)
- Simplify: cosec²x²/√(cot x²) = 1/(sin x² √(sin x² cos x²)) = √2/(sin x² √(sin 2x²))
Answer: −2√2 x/(sin x² √(sin 2x²)) (equivalently −2x cosec²x²/√(cot x²))
Question 8. Differentiate w.r.t. x: cos(√x)
Show solution
- dy/dx = −sin(√x) · 1/(2√x)
Answer: −sin(√x)/(2√x)
Question 9. Prove that the function f given by f(x) = |x − 1|, x ∈ R is not differentiable at x = 1.
Show solution
- LHD at 1 = lim(h→0⁻) [f(1 + h) − f(1)]/h = lim |h|/h = lim (−h)/h = −1 (h < 0)
- RHD at 1 = lim(h→0⁺) |h|/h = h/h = 1
- LHD ≠ RHD, so f is not differentiable at x = 1 (it is continuous there, but has a corner)
Answer: Proved: LHD = −1, RHD = 1.
Question 10. Prove that the greatest integer function defined by f(x) = [x], 0 < x < 3 is not differentiable at x = 1 and x = 2.
Show solution
- At x = 1: LHD = lim(h→0⁻) ([1 + h] − [1])/h = lim (0 − 1)/h = lim (−1/h), which is not finite (it tends to +∞)
- RHD = lim(h→0⁺) ([1 + h] − 1)/h = (1 − 1)/h = 0
- LHD ≠ RHD, so f is not differentiable at x = 1
- At x = 2: LHD = lim(h→0⁻) (1 − 2)/h = lim(−1/h), not finite; RHD = lim (2 − 2)/h = 0
- So f is not differentiable at x = 2 either
Answer: Proved: at x = 1 and x = 2 the left and right derivatives differ.
Exercise 5.3
Question 1. Find dy/dx: 2x + 3y = sin x
Show solution
- Differentiate w.r.t. x: 2 + 3 dy/dx = cos x
Answer: dy/dx = (cos x − 2)/3
Question 2. Find dy/dx: 2x + 3y = sin y
Show solution
- 2 + 3 dy/dx = cos y · dy/dx
- dy/dx (cos y − 3) = 2
Answer: dy/dx = 2/(cos y − 3)
Question 3. Find dy/dx: ax + by² = cos y
Show solution
- a + 2by dy/dx = −sin y dy/dx
- dy/dx (2by + sin y) = −a
Answer: dy/dx = −a/(2by + sin y)
Question 4. Find dy/dx: xy + y² = tan x + y
Show solution
- y + x dy/dx + 2y dy/dx = sec²x + dy/dx
- dy/dx (x + 2y − 1) = sec²x − y
Answer: dy/dx = (sec²x − y)/(x + 2y − 1)
Question 5. Find dy/dx: x² + xy + y² = 100
Show solution
- 2x + y + x dy/dx + 2y dy/dx = 0
- dy/dx (x + 2y) = −(2x + y)
Answer: dy/dx = −(2x + y)/(x + 2y)
Question 6. Find dy/dx: x³ + x²y + xy² + y³ = 81
Show solution
- 3x² + (2xy + x² dy/dx) + (y² + 2xy dy/dx) + 3y² dy/dx = 0
- dy/dx (x² + 2xy + 3y²) = −(3x² + 2xy + y²)
Answer: dy/dx = −(3x² + 2xy + y²)/(x² + 2xy + 3y²)
Question 7. Find dy/dx: sin²y + cos xy = κ
Show solution
- 2 sin y cos y dy/dx − sin(xy)(y + x dy/dx) = 0
- dy/dx (sin 2y − x sin xy) = y sin xy
Answer: dy/dx = y sin xy/(sin 2y − x sin xy)
Question 8. Find dy/dx: sin²x + cos²y = 1
Show solution
- 2 sin x cos x − 2 cos y sin y dy/dx = 0
- sin 2x = sin 2y dy/dx
Answer: dy/dx = sin 2x/sin 2y
Question 9. Find dy/dx: y = sin⁻¹(2x/(1 + x²))
Show solution
- Put x = tan θ. For −1 < x < 1, θ ∈ (−π/4, π/4)
- 2x/(1 + x²) = 2tan θ/(1 + tan²θ) = sin 2θ, and 2θ ∈ (−π/2, π/2)
- So y = sin⁻¹(sin 2θ) = 2θ = 2 tan⁻¹x
- dy/dx = 2/(1 + x²) (for |x| > 1 the same method gives −2/(1 + x²))
Answer: dy/dx = 2/(1 + x²)
Question 10. Find dy/dx: y = tan⁻¹((3x − x³)/(1 − 3x²)), −1/√3 < x < 1/√3
Show solution
- Put x = tan θ, θ ∈ (−π/6, π/6)
- (3 tan θ − tan³θ)/(1 − 3 tan²θ) = tan 3θ, with 3θ ∈ (−π/2, π/2)
- y = 3θ = 3 tan⁻¹x
Answer: dy/dx = 3/(1 + x²)
Question 11. Find dy/dx: y = cos⁻¹((1 − x²)/(1 + x²)), 0 < x < 1
Show solution
- Put x = tan θ, θ ∈ (0, π/4)
- (1 − tan²θ)/(1 + tan²θ) = cos 2θ, with 2θ ∈ (0, π/2) ⊂ [0, π]
- y = 2θ = 2 tan⁻¹x
Answer: dy/dx = 2/(1 + x²)
Question 12. Find dy/dx: y = sin⁻¹((1 − x²)/(1 + x²)), 0 < x < 1
Show solution
- Put x = tan θ, θ ∈ (0, π/4): (1 − x²)/(1 + x²) = cos 2θ = sin(π/2 − 2θ)
- π/2 − 2θ ∈ (0, π/2), so y = π/2 − 2θ = π/2 − 2 tan⁻¹x
Answer: dy/dx = −2/(1 + x²)
Question 13. Find dy/dx: y = cos⁻¹(2x/(1 + x²)), −1 < x < 1
Show solution
- Put x = tan θ, θ ∈ (−π/4, π/4): 2x/(1 + x²) = sin 2θ = cos(π/2 − 2θ)
- π/2 − 2θ ∈ (0, π), so y = π/2 − 2θ = π/2 − 2 tan⁻¹x
Answer: dy/dx = −2/(1 + x²)
Question 14. Find dy/dx: y = sin⁻¹(2x√(1 − x²)), −1/√2 < x < 1/√2
Show solution
- Put x = sin θ, θ ∈ (−π/4, π/4); √(1 − x²) = cos θ
- 2x√(1 − x²) = 2 sin θ cos θ = sin 2θ, with 2θ ∈ (−π/2, π/2)
- y = 2θ = 2 sin⁻¹x
Answer: dy/dx = 2/√(1 − x²)
Question 15. Find dy/dx: y = sec⁻¹(1/(2x² − 1)), 0 < x < 1/√2
Show solution
- sec⁻¹(1/t) = cos⁻¹t, so y = cos⁻¹(2x² − 1)
- Put x = cos θ, θ ∈ (π/4, π/2): 2x² − 1 = cos 2θ, with 2θ ∈ (π/2, π) ⊂ [0, π]
- y = 2θ = 2 cos⁻¹x
Answer: dy/dx = −2/√(1 − x²)
Exercise 5.4
Question 1. Differentiate w.r.t. x: eˣ/sin x
Show solution
- Quotient rule: [eˣ sin x − eˣ cos x]/sin²x
Answer: eˣ(sin x − cos x)/sin²x, x ≠ nπ
Question 2. Differentiate w.r.t. x: e^(sin⁻¹x)
Show solution
- dy/dx = e^(sin⁻¹x) · d/dx(sin⁻¹x)
Answer: e^(sin⁻¹x)/√(1 − x²), −1 < x < 1
Question 3. Differentiate w.r.t. x: e^(x³)
Show solution
- dy/dx = e^(x³) · 3x²
Answer: 3x² e^(x³)
Question 4. Differentiate w.r.t. x: sin(tan⁻¹ e^(−x))
Show solution
- dy/dx = cos(tan⁻¹e^(−x)) · d/dx(tan⁻¹ e^(−x))
- d/dx tan⁻¹(e^(−x)) = [1/(1 + e^(−2x))] · (−e^(−x))
Answer: −e^(−x) cos(tan⁻¹ e^(−x))/(1 + e^(−2x))
Question 5. Differentiate w.r.t. x: log(cos eˣ)
Show solution
- dy/dx = (1/cos eˣ) · (−sin eˣ) · eˣ
Answer: −eˣ tan eˣ, eˣ ≠ (2n + 1)π/2
Question 6. Differentiate w.r.t. x: eˣ + e^(x²) + ... + e^(x⁵)
Show solution
- The terms are eˣ, e^(x²), e^(x³), e^(x⁴), e^(x⁵); d/dx e^(xᵏ) = kxᵏ⁻¹ e^(xᵏ)
Answer: eˣ + 2x e^(x²) + 3x² e^(x³) + 4x³ e^(x⁴) + 5x⁴ e^(x⁵)
Question 7. Differentiate w.r.t. x: √(e^√x), x > 0
Show solution
- y = (e^√x)^(1/2) = e^(√x/2)
- dy/dx = e^(√x/2) · d/dx(√x/2) = e^(√x/2) · 1/(4√x)
Answer: √(e^√x)/(4√x)
Question 8. Differentiate w.r.t. x: log(log x), x > 1
Show solution
- dy/dx = (1/log x) · (1/x)
Answer: 1/(x log x)
Question 9. Differentiate w.r.t. x: cos x/log x, x > 0
Show solution
- Quotient rule: [(−sin x) log x − cos x · (1/x)]/(log x)²
- Multiply numerator and denominator by x
Answer: −(x log x sin x + cos x)/(x (log x)²), x ≠ 1
Question 10. Differentiate w.r.t. x: cos(log x + eˣ), x > 0
Show solution
- dy/dx = −sin(log x + eˣ) · d/dx(log x + eˣ)
Answer: −(1/x + eˣ) sin(log x + eˣ)
Exercise 5.5
Question 1. Differentiate w.r.t. x: cos x · cos 2x · cos 3x
Show solution
- log y = log cos x + log cos 2x + log cos 3x
- (1/y) dy/dx = −tan x − 2 tan 2x − 3 tan 3x
Answer: dy/dx = −cos x cos 2x cos 3x (tan x + 2 tan 2x + 3 tan 3x)
Question 2. Differentiate w.r.t. x: √[(x − 1)(x − 2)/((x − 3)(x − 4)(x − 5))]
Show solution
- log y = ½[log(x − 1) + log(x − 2) − log(x − 3) − log(x − 4) − log(x − 5)]
- (1/y) dy/dx = ½[1/(x − 1) + 1/(x − 2) − 1/(x − 3) − 1/(x − 4) − 1/(x − 5)]
Answer: dy/dx = ½ √[(x − 1)(x − 2)/((x − 3)(x − 4)(x − 5))] [1/(x − 1) + 1/(x − 2) − 1/(x − 3) − 1/(x − 4) − 1/(x − 5)]
Question 3. Differentiate w.r.t. x: (log x)^(cos x)
Show solution
- log y = cos x · log(log x)
- (1/y) dy/dx = −sin x log(log x) + cos x · 1/(x log x)
Answer: dy/dx = (log x)^(cos x) [cos x/(x log x) − sin x log(log x)]
Question 4. Differentiate w.r.t. x: xˣ − 2^(sin x)
Show solution
- u = xˣ: log u = x log x ⇒ du/dx = xˣ(1 + log x)
- d/dx 2^(sin x) = 2^(sin x) log 2 · cos x
Answer: dy/dx = xˣ(1 + log x) − 2^(sin x) cos x log 2
Question 5. Differentiate w.r.t. x: (x + 3)² · (x + 4)³ · (x + 5)⁴
Show solution
- log y = 2 log(x + 3) + 3 log(x + 4) + 4 log(x + 5)
- (1/y) dy/dx = 2/(x + 3) + 3/(x + 4) + 4/(x + 5)
- Combine: 2(x + 4)(x + 5) + 3(x + 3)(x + 5) + 4(x + 3)(x + 4) = 9x² + 70x + 133 over (x + 3)(x + 4)(x + 5)
Answer: dy/dx = (x + 3)(x + 4)²(x + 5)³(9x² + 70x + 133)
Question 6. Differentiate w.r.t. x: (x + 1/x)ˣ + x^(1 + 1/x)
Show solution
- u = (x + 1/x)ˣ: log u = x log(x + 1/x); u′/u = log(x + 1/x) + x(1 − 1/x²)/(x + 1/x) = log(x + 1/x) + (x² − 1)/(x² + 1)
- v = x^(1 + 1/x): log v = (1 + 1/x) log x; v′/v = −log x/x² + (1 + 1/x)/x = (x + 1 − log x)/x²
- dy/dx = u′ + v′
Answer: dy/dx = (x + 1/x)ˣ[(x² − 1)/(x² + 1) + log(x + 1/x)] + x^(1 + 1/x)(x + 1 − log x)/x²
Question 7. Differentiate w.r.t. x: (log x)ˣ + x^(log x)
Show solution
- u = (log x)ˣ: log u = x log(log x); u′/u = log(log x) + 1/log x
- v = x^(log x): log v = (log x)²; v′/v = 2 log x/x
- dy/dx = (log x)ˣ[log(log x) + 1/log x] + x^(log x) · 2 log x/x
Answer: dy/dx = (log x)^(x − 1)[1 + log x · log(log x)] + 2x^(log x − 1) log x
Question 8. Differentiate w.r.t. x: (sin x)ˣ + sin⁻¹√x
Show solution
- u = (sin x)ˣ: log u = x log sin x; u′/u = log sin x + x cot x
- d/dx sin⁻¹√x = 1/√(1 − x) · 1/(2√x) = 1/(2√(x − x²))
Answer: dy/dx = (sin x)ˣ(x cot x + log sin x) + 1/(2√(x − x²))
Question 9. Differentiate w.r.t. x: x^(sin x) + (sin x)^(cos x)
Show solution
- u = x^(sin x): log u = sin x log x; u′/u = cos x log x + sin x/x
- v = (sin x)^(cos x): log v = cos x log sin x; v′/v = −sin x log sin x + cos x cot x
Answer: dy/dx = x^(sin x)(cos x log x + sin x/x) + (sin x)^(cos x)(cos x cot x − sin x log sin x)
Question 10. Differentiate w.r.t. x: x^(x cos x) + (x² + 1)/(x² − 1)
Show solution
- u = x^(x cos x): log u = x cos x log x; u′/u = cos x log x − x sin x log x + cos x
- d/dx (x² + 1)/(x² − 1) = [2x(x² − 1) − 2x(x² + 1)]/(x² − 1)² = −4x/(x² − 1)²
Answer: dy/dx = x^(x cos x)[cos x(1 + log x) − x sin x log x] − 4x/(x² − 1)²
Question 11. Differentiate w.r.t. x: (x cos x)ˣ + (x sin x)^(1/x)
Show solution
- u = (x cos x)ˣ: log u = x[log x + log cos x]; u′/u = log(x cos x) + x(1/x − tan x) = log(x cos x) + 1 − x tan x
- v = (x sin x)^(1/x): log v = (1/x)[log x + log sin x]; v′/v = −log(x sin x)/x² + (1/x)(1/x + cot x)
- So v′/v = [1 + x cot x − log(x sin x)]/x²
Answer: dy/dx = (x cos x)ˣ[1 − x tan x + log(x cos x)] + (x sin x)^(1/x)[1 + x cot x − log(x sin x)]/x²
Question 12. Find dy/dx: xʸ + yˣ = 1
Show solution
- u = xʸ: log u = y log x ⇒ du/dx = xʸ(y/x + log x · dy/dx)
- v = yˣ: log v = x log y ⇒ dv/dx = yˣ(log y + (x/y) dy/dx)
- du/dx + dv/dx = 0 ⇒ dy/dx (xʸ log x + x yˣ⁻¹) = −(y xʸ⁻¹ + yˣ log y)
Answer: dy/dx = −(y xʸ⁻¹ + yˣ log y)/(xʸ log x + x yˣ⁻¹)
Question 13. Find dy/dx: yˣ = xʸ
Show solution
- Take logs: x log y = y log x
- log y + (x/y) dy/dx = log x · dy/dx + y/x
- dy/dx (x/y − log x) = y/x − log y
Answer: dy/dx = (y/x − log y)/(x/y − log x) = y(y − x log y)/[x(x − y log x)]
Question 14. Find dy/dx: (cos x)ʸ = (cos y)ˣ
Show solution
- Take logs: y log cos x = x log cos y
- dy/dx log cos x − y tan x = log cos y − x tan y dy/dx
- dy/dx (log cos x + x tan y) = log cos y + y tan x
Answer: dy/dx = (y tan x + log cos y)/(x tan y + log cos x)
Question 15. Find dy/dx: xy = e^(x − y)
Show solution
- Take logs: log x + log y = x − y
- 1/x + (1/y) dy/dx = 1 − dy/dx
- dy/dx (1/y + 1) = 1 − 1/x ⇒ dy/dx (1 + y)/y = (x − 1)/x
Answer: dy/dx = y(x − 1)/[x(y + 1)]
Question 16. Find the derivative of the function given by f(x) = (1 + x)(1 + x²)(1 + x⁴)(1 + x⁸) and hence find f′(1).
Show solution
- log f = log(1 + x) + log(1 + x²) + log(1 + x⁴) + log(1 + x⁸)
- f′(x) = f(x)[1/(1 + x) + 2x/(1 + x²) + 4x³/(1 + x⁴) + 8x⁷/(1 + x⁸)]
- f(1) = 2 × 2 × 2 × 2 = 16
- f′(1) = 16[1/2 + 2/2 + 4/2 + 8/2] = 16 × 15/2 = 120
Answer: f′(x) = (1 + x)(1 + x²)(1 + x⁴)(1 + x⁸)[1/(1 + x) + 2x/(1 + x²) + 4x³/(1 + x⁴) + 8x⁷/(1 + x⁸)]; f′(1) = 120
Question 17. Differentiate (x² − 5x + 8)(x³ + 7x + 9) in three ways mentioned below: (i) by using product rule (ii) by expanding the product to obtain a single polynomial. (iii) by logarithmic differentiation. Do they all give the same answer?
(i) By using product rule
Show solution
- dy/dx = (2x − 5)(x³ + 7x + 9) + (x² − 5x + 8)(3x² + 7)
- = (2x⁴ − 5x³ + 14x² − 17x − 45) + (3x⁴ − 15x³ + 31x² − 35x + 56)
- = 5x⁴ − 20x³ + 45x² − 52x + 11
Answer: 5x⁴ − 20x³ + 45x² − 52x + 11
(ii) By expanding the product to obtain a single polynomial
Show solution
- y = x⁵ + 7x³ + 9x² − 5x⁴ − 35x² − 45x + 8x³ + 56x + 72 = x⁵ − 5x⁴ + 15x³ − 26x² + 11x + 72
- dy/dx = 5x⁴ − 20x³ + 45x² − 52x + 11
Answer: 5x⁴ − 20x³ + 45x² − 52x + 11
(iii) By logarithmic differentiation
Show solution
- log y = log(x² − 5x + 8) + log(x³ + 7x + 9)
- (1/y) dy/dx = (2x − 5)/(x² − 5x + 8) + (3x² + 7)/(x³ + 7x + 9)
- dy/dx = (2x − 5)(x³ + 7x + 9) + (3x² + 7)(x² − 5x + 8) = 5x⁴ − 20x³ + 45x² − 52x + 11
- All three methods give the same derivative
Answer: 5x⁴ − 20x³ + 45x² − 52x + 11; yes, all three agree.
Question 18. If u, v and w are functions of x, then show that d/dx (u·v·w) = (du/dx) v·w + u·(dv/dx)·w + u·v·(dw/dx) in two ways: first by repeated application of product rule, second by logarithmic differentiation.
(i) By repeated application of product rule
Show solution
- Treat uvw as (uv)·w: d/dx[(uv)w] = d/dx(uv) · w + uv · dw/dx
- d/dx(uv) = (du/dx)v + u(dv/dx)
- So d/dx(uvw) = (du/dx)vw + u(dv/dx)w + uv(dw/dx)
Answer: Proved by the product rule.
(ii) By logarithmic differentiation
Show solution
- Let y = uvw (with u, v, w positive). log y = log u + log v + log w
- (1/y) dy/dx = (1/u) du/dx + (1/v) dv/dx + (1/w) dw/dx
- Multiply by y = uvw: dy/dx = vw du/dx + uw dv/dx + uv dw/dx
Answer: Proved by logarithmic differentiation.
Exercise 5.6
Question 1. Find dy/dx without eliminating the parameter: x = 2at², y = at⁴
Show solution
- dx/dt = 4at, dy/dt = 4at³
- dy/dx = 4at³/(4at)
Answer: dy/dx = t²
Question 2. Find dy/dx without eliminating the parameter: x = a cos θ, y = b cos θ
Show solution
- dx/dθ = −a sin θ, dy/dθ = −b sin θ
- dy/dx = (−b sin θ)/(−a sin θ)
Answer: dy/dx = b/a
Question 3. Find dy/dx without eliminating the parameter: x = sin t, y = cos 2t
Show solution
- dx/dt = cos t, dy/dt = −2 sin 2t = −4 sin t cos t
- dy/dx = −4 sin t cos t/cos t
Answer: dy/dx = −4 sin t
Question 4. Find dy/dx without eliminating the parameter: x = 4t, y = 4/t
Show solution
- dx/dt = 4, dy/dt = −4/t²
- dy/dx = (−4/t²)/4
Answer: dy/dx = −1/t²
Question 5. Find dy/dx without eliminating the parameter: x = cos θ − cos 2θ, y = sin θ − sin 2θ
Show solution
- dx/dθ = −sin θ + 2 sin 2θ, dy/dθ = cos θ − 2 cos 2θ
- dy/dx = (cos θ − 2 cos 2θ)/(2 sin 2θ − sin θ)
Answer: dy/dx = (cos θ − 2 cos 2θ)/(2 sin 2θ − sin θ)
Question 6. Find dy/dx without eliminating the parameter: x = a(θ − sin θ), y = a(1 + cos θ)
Show solution
- dx/dθ = a(1 − cos θ), dy/dθ = −a sin θ
- dy/dx = −sin θ/(1 − cos θ) = −2 sin(θ/2) cos(θ/2)/(2 sin²(θ/2))
Answer: dy/dx = −cot(θ/2)
Question 7. Find dy/dx without eliminating the parameter: x = sin³t/√(cos 2t), y = cos³t/√(cos 2t)
Show solution
- dx/dt = [3 sin²t cos t cos 2t + sin³t sin 2t]/(cos 2t)^(3/2)
- dy/dt = [−3 cos²t sin t cos 2t + cos³t sin 2t]/(cos 2t)^(3/2)
- Using sin 2t = 2 sin t cos t and cancelling sin t cos t: dy/dx = (−3 cos t cos 2t + 2cos³t)/(3 sin t cos 2t + 2 sin³t)
- Numerator = −6cos³t + 3cos t + 2cos³t = −(4cos³t − 3cos t) = −cos 3t
- Denominator = 3 sin t − 6 sin³t + 2 sin³t = 3 sin t − 4 sin³t = sin 3t
Answer: dy/dx = −cot 3t
Question 8. Find dy/dx without eliminating the parameter: x = a(cos t + log tan(t/2)), y = a sin t
Show solution
- d/dt log tan(t/2) = sec²(t/2)/(2 tan(t/2)) = 1/(2 sin(t/2) cos(t/2)) = 1/sin t
- dx/dt = a(−sin t + 1/sin t) = a cos²t/sin t
- dy/dt = a cos t
- dy/dx = a cos t · sin t/(a cos²t)
Answer: dy/dx = tan t
Question 9. Find dy/dx without eliminating the parameter: x = a sec θ, y = b tan θ
Show solution
- dx/dθ = a sec θ tan θ, dy/dθ = b sec²θ
- dy/dx = b sec θ/(a tan θ) = (b/a) · (1/cos θ) · (cos θ/sin θ)
Answer: dy/dx = (b/a) cosec θ
Question 10. Find dy/dx without eliminating the parameter: x = a(cos θ + θ sin θ), y = a(sin θ − θ cos θ)
Show solution
- dx/dθ = a(−sin θ + sin θ + θ cos θ) = aθ cos θ
- dy/dθ = a(cos θ − cos θ + θ sin θ) = aθ sin θ
- dy/dx = aθ sin θ/(aθ cos θ)
Answer: dy/dx = tan θ
Question 11. If x = √(a^(sin⁻¹t)), y = √(a^(cos⁻¹t)), show that dy/dx = −y/x
Show solution
- log x = ½ sin⁻¹t · log a ⇒ (1/x) dx/dt = log a/(2√(1 − t²)) ⇒ dx/dt = x log a/(2√(1 − t²))
- log y = ½ cos⁻¹t · log a ⇒ dy/dt = −y log a/(2√(1 − t²))
- dy/dx = (dy/dt)/(dx/dt) = −y/x. Hence shown.
Answer: dy/dx = −y/x
Exercise 5.7
Question 1. Find the second order derivative of x² + 3x + 2
Show solution
- dy/dx = 2x + 3
- d²y/dx² = 2
Answer: 2
Question 2. Find the second order derivative of x²⁰
Show solution
- dy/dx = 20x¹⁹
- d²y/dx² = 380x¹⁸
Answer: 380x¹⁸
Question 3. Find the second order derivative of x · cos x
Show solution
- dy/dx = cos x − x sin x
- d²y/dx² = −sin x − (sin x + x cos x)
Answer: −(x cos x + 2 sin x)
Question 4. Find the second order derivative of log x
Show solution
- dy/dx = 1/x
- d²y/dx² = −1/x²
Answer: −1/x²
Question 5. Find the second order derivative of x³ log x
Show solution
- dy/dx = 3x² log x + x³ · (1/x) = 3x² log x + x²
- d²y/dx² = 6x log x + 3x + 2x
Answer: x(5 + 6 log x)
Question 6. Find the second order derivative of eˣ sin 5x
Show solution
- dy/dx = eˣ sin 5x + 5eˣ cos 5x = eˣ(sin 5x + 5 cos 5x)
- d²y/dx² = eˣ(sin 5x + 5 cos 5x) + eˣ(5 cos 5x − 25 sin 5x) = eˣ(10 cos 5x − 24 sin 5x)
Answer: 2eˣ(5 cos 5x − 12 sin 5x)
Question 7. Find the second order derivative of e⁶ˣ cos 3x
Show solution
- dy/dx = e⁶ˣ(6 cos 3x − 3 sin 3x)
- d²y/dx² = 6e⁶ˣ(6 cos 3x − 3 sin 3x) + e⁶ˣ(−18 sin 3x − 9 cos 3x) = e⁶ˣ(27 cos 3x − 36 sin 3x)
Answer: 9e⁶ˣ(3 cos 3x − 4 sin 3x)
Question 8. Find the second order derivative of tan⁻¹x
Show solution
- dy/dx = 1/(1 + x²) = (1 + x²)⁻¹
- d²y/dx² = −(1 + x²)⁻² · 2x
Answer: −2x/(1 + x²)²
Question 9. Find the second order derivative of log(log x)
Show solution
- dy/dx = 1/(x log x) = (x log x)⁻¹
- d²y/dx² = −(x log x)⁻² · d/dx(x log x) = −(log x + 1)/(x log x)²
Answer: −(1 + log x)/(x log x)²
Question 10. Find the second order derivative of sin(log x)
Show solution
- dy/dx = cos(log x)/x
- d²y/dx² = [x · (−sin(log x)/x) − cos(log x)]/x²
Answer: −[sin(log x) + cos(log x)]/x²
Question 11. If y = 5 cos x − 3 sin x, prove that d²y/dx² + y = 0
Show solution
- dy/dx = −5 sin x − 3 cos x
- d²y/dx² = −5 cos x + 3 sin x = −(5 cos x − 3 sin x) = −y
- So d²y/dx² + y = 0. Hence proved.
Answer: Proved.
Question 12. If y = cos⁻¹x, find d²y/dx² in terms of y alone.
Show solution
- dy/dx = −1/√(1 − x²) = −(1 − x²)^(−1/2)
- d²y/dx² = ½(1 − x²)^(−3/2)(−2x) · (−1) = −x/(1 − x²)^(3/2)
- x = cos y and √(1 − x²) = sin y (as y ∈ [0, π])
- d²y/dx² = −cos y/sin³y
Answer: d²y/dx² = −cot y cosec²y
Question 13. If y = 3 cos(log x) + 4 sin(log x), show that x²y₂ + xy₁ + y = 0
Show solution
- y₁ = [−3 sin(log x) + 4 cos(log x)]/x, so xy₁ = −3 sin(log x) + 4 cos(log x)
- Differentiate: xy₂ + y₁ = [−3 cos(log x) − 4 sin(log x)]/x = −y/x
- Multiply by x: x²y₂ + xy₁ = −y ⇒ x²y₂ + xy₁ + y = 0. Hence shown.
Answer: Proved.
Question 14. If y = Ae^(mx) + Be^(nx), show that d²y/dx² − (m + n) dy/dx + mny = 0
Show solution
- dy/dx = mAe^(mx) + nBe^(nx); d²y/dx² = m²Ae^(mx) + n²Be^(nx)
- LHS = Ae^(mx)[m² − (m + n)m + mn] + Be^(nx)[n² − (m + n)n + mn]
- = Ae^(mx)(0) + Be^(nx)(0) = 0. Hence shown.
Answer: Proved.
Question 15. If y = 500e^(7x) + 600e^(−7x), show that d²y/dx² = 49y
Show solution
- dy/dx = 3500e^(7x) − 4200e^(−7x)
- d²y/dx² = 24500e^(7x) + 29400e^(−7x) = 49(500e^(7x) + 600e^(−7x)) = 49y
Answer: Proved.
Question 16. If eʸ(x + 1) = 1, show that d²y/dx² = (dy/dx)²
Show solution
- eʸ = 1/(x + 1) ⇒ y = −log(x + 1)
- dy/dx = −1/(x + 1); d²y/dx² = 1/(x + 1)²
- (dy/dx)² = 1/(x + 1)² = d²y/dx². Hence shown.
Answer: Proved.
Question 17. If y = (tan⁻¹x)², show that (x² + 1)²y₂ + 2x(x² + 1)y₁ = 2
Show solution
- y₁ = 2 tan⁻¹x/(1 + x²) ⇒ (1 + x²)y₁ = 2 tan⁻¹x
- Differentiate: (1 + x²)y₂ + 2x y₁ = 2/(1 + x²)
- Multiply by (1 + x²): (x² + 1)²y₂ + 2x(x² + 1)y₁ = 2. Hence shown.
Answer: Proved.
Miscellaneous Exercise on Chapter 5
Question 1. Differentiate w.r.t. x: (3x² − 9x + 5)⁹
Show solution
- dy/dx = 9(3x² − 9x + 5)⁸ · (6x − 9)
Answer: 27(3x² − 9x + 5)⁸(2x − 3)
Question 2. Differentiate w.r.t. x: sin³x + cos⁶x
Show solution
- dy/dx = 3 sin²x cos x + 6 cos⁵x(−sin x)
Answer: 3 sin x cos x (sin x − 2 cos⁴x)
Question 3. Differentiate w.r.t. x: (5x)^(3 cos 2x)
Show solution
- log y = 3 cos 2x · log 5x
- (1/y) dy/dx = −6 sin 2x log 5x + 3 cos 2x · (1/x)
Answer: dy/dx = (5x)^(3 cos 2x)[3 cos 2x/x − 6 sin 2x log 5x]
Question 4. Differentiate w.r.t. x: sin⁻¹(x√x), 0 ≤ x ≤ 1
Show solution
- y = sin⁻¹(x^(3/2)); dy/dx = 1/√(1 − x³) · (3/2)x^(1/2)
Answer: (3/2)√(x/(1 − x³)), 0 ≤ x < 1
Question 5. Differentiate w.r.t. x: cos⁻¹(x/2)/√(2x + 7), −2 < x < 2
Show solution
- u = cos⁻¹(x/2): u′ = −(1/2)/√(1 − x²/4) = −1/√(4 − x²); v = √(2x + 7): v′ = 1/√(2x + 7)
- dy/dx = (u′v − uv′)/v² = [−√(2x + 7)/√(4 − x²) − cos⁻¹(x/2)/√(2x + 7)]/(2x + 7)
Answer: dy/dx = −[1/(√(4 − x²) √(2x + 7)) + cos⁻¹(x/2)/(2x + 7)^(3/2)]
Question 6. Differentiate w.r.t. x: cot⁻¹[(√(1 + sin x) + √(1 − sin x))/(√(1 + sin x) − √(1 − sin x))], 0 < x < π/2
Show solution
- √(1 + sin x) = cos(x/2) + sin(x/2); for 0 < x/2 < π/4, √(1 − sin x) = cos(x/2) − sin(x/2)
- The fraction = 2 cos(x/2)/(2 sin(x/2)) = cot(x/2)
- x/2 ∈ (0, π/4) ⊂ (0, π), so y = x/2
Answer: dy/dx = 1/2
Question 7. Differentiate w.r.t. x: (log x)^(log x), x > 1
Show solution
- log y = log x · log(log x)
- (1/y) dy/dx = (1/x) log(log x) + log x · 1/(x log x) = [1 + log(log x)]/x
Answer: dy/dx = (log x)^(log x) [1 + log(log x)]/x
Question 8. Differentiate w.r.t. x: cos(a cos x + b sin x), for some constant a and b.
Show solution
- dy/dx = −sin(a cos x + b sin x) · (−a sin x + b cos x)
Answer: (a sin x − b cos x) sin(a cos x + b sin x)
Question 9. Differentiate w.r.t. x: (sin x − cos x)^(sin x − cos x), π/4 < x < 3π/4
Show solution
- Let u = sin x − cos x (positive here). log y = u log u
- (1/y) dy/dx = u′(log u + 1), with u′ = cos x + sin x
Answer: dy/dx = (sin x − cos x)^(sin x − cos x) (cos x + sin x)(1 + log(sin x − cos x))
Question 10. Differentiate w.r.t. x: xˣ + xᵃ + aˣ + aᵃ, for some fixed a > 0 and x > 0
Show solution
- d/dx xˣ = xˣ(1 + log x) (log differentiation); d/dx xᵃ = a xᵃ⁻¹
- d/dx aˣ = aˣ log a; aᵃ is a constant, derivative 0
Answer: xˣ(1 + log x) + a xᵃ⁻¹ + aˣ log a
Question 11. Differentiate w.r.t. x: x^(x² − 3) + (x − 3)^(x²), for x > 3
Show solution
- u = x^(x² − 3): log u = (x² − 3) log x; u′/u = 2x log x + (x² − 3)/x
- v = (x − 3)^(x²): log v = x² log(x − 3); v′/v = 2x log(x − 3) + x²/(x − 3)
Answer: dy/dx = x^(x² − 3)[(x² − 3)/x + 2x log x] + (x − 3)^(x²)[x²/(x − 3) + 2x log(x − 3)]
Question 12. Find dy/dx, if y = 12(1 − cos t), x = 10(t − sin t), −π/2 < t < π/2
Show solution
- dy/dt = 12 sin t, dx/dt = 10(1 − cos t)
- dy/dx = 12 sin t/(10(1 − cos t)) = (6/5) · 2 sin(t/2) cos(t/2)/(2 sin²(t/2))
Answer: dy/dx = (6/5) cot(t/2)
Question 13. Find dy/dx, if y = sin⁻¹x + sin⁻¹√(1 − x²), 0 < x < 1
Show solution
- d/dx sin⁻¹√(1 − x²) = 1/√(1 − (1 − x²)) · (−x/√(1 − x²)) = (1/x)(−x/√(1 − x²)) = −1/√(1 − x²) (x > 0)
- dy/dx = 1/√(1 − x²) − 1/√(1 − x²) = 0
- (Indeed, for 0 < x < 1, sin⁻¹√(1 − x²) = cos⁻¹x, so y = π/2, a constant.)
Answer: dy/dx = 0
Question 14. If x√(1 + y) + y√(1 + x) = 0, for −1 < x < 1, prove that dy/dx = −1/(1 + x)²
Show solution
- x√(1 + y) = −y√(1 + x); square: x²(1 + y) = y²(1 + x)
- x² − y² + x²y − xy² = 0 ⇒ (x − y)(x + y + xy) = 0
- x = y does not satisfy the given equation (except x = y = 0), so x + y + xy = 0 ⇒ y = −x/(1 + x)
- dy/dx = −[(1 + x) − x]/(1 + x)² = −1/(1 + x)². Hence proved.
Answer: Proved.
Question 15. If (x − a)² + (y − b)² = c², for some c > 0, prove that [1 + (dy/dx)²]^(3/2)/(d²y/dx²) is a constant independent of a and b.
Show solution
- 2(x − a) + 2(y − b)y′ = 0 ⇒ y′ = −(x − a)/(y − b)
- y″ = −[(y − b) − (x − a)y′]/(y − b)² = −[(y − b)² + (x − a)²]/(y − b)³ = −c²/(y − b)³
- 1 + y′² = [(y − b)² + (x − a)²]/(y − b)² = c²/(y − b)², so [1 + y′²]^(3/2) = c³/(y − b)³
- Ratio = [c³/(y − b)³] ÷ [−c²/(y − b)³] = −c
- −c depends only on the radius c, not on a or b. Hence proved.
Answer: The expression equals −c (in magnitude c, the radius), a constant independent of a and b.
Question 16. If cos y = x cos(a + y), with cos a ≠ ±1, prove that dy/dx = cos²(a + y)/sin a.
Show solution
- x = cos y/cos(a + y)
- dx/dy = [−sin y cos(a + y) + cos y sin(a + y)]/cos²(a + y) = sin(a + y − y)/cos²(a + y) = sin a/cos²(a + y)
- dy/dx = 1/(dx/dy) = cos²(a + y)/sin a. Hence proved.
Answer: Proved.
Question 17. If x = a(cos t + t sin t) and y = a(sin t − t cos t), find d²y/dx².
Show solution
- dx/dt = at cos t, dy/dt = at sin t, so dy/dx = tan t
- d²y/dx² = d/dt(tan t) · dt/dx = sec²t · 1/(at cos t)
Answer: d²y/dx² = sec³t/(at), 0 < t < π/2
Question 18. If f(x) = |x|³, show that f″(x) exists for all real x and find it.
Show solution
- For x > 0: f(x) = x³, f′(x) = 3x², f″(x) = 6x. For x < 0: f(x) = −x³, f′(x) = −3x², f″(x) = −6x
- At x = 0: f′(0) = lim(h→0) |h|³/h = lim h|h| = 0. So f′(x) = 3x|x| for all x
- f″(0) = lim(h→0) [3h|h| − 0]/h = lim 3|h| = 0 (both sides)
- So f″ exists everywhere: f″(x) = 6x for x ≥ 0 and −6x for x < 0, i.e. 6|x|
Answer: f″(x) = 6|x| (6x for x ≥ 0, −6x for x < 0).
Question 19. Using the fact that sin(A + B) = sin A cos B + cos A sin B and the differentiation, obtain the sum formula for cosines.
Show solution
- Take A = x (variable) and B a constant: sin(x + B) = sin x cos B + cos x sin B
- Differentiate both sides w.r.t. x: cos(x + B) = cos x cos B − sin x sin B
- Writing A for x: cos(A + B) = cos A cos B − sin A sin B
Answer: cos(A + B) = cos A cos B − sin A sin B
Question 20. Does there exist a function which is continuous everywhere but not differentiable at exactly two points? Justify your answer.
Show solution
- Yes. Take f(x) = |x| + |x − 1|
- It is a sum of continuous functions, so it is continuous everywhere
- At x = 0: LHD = −1 − 1 = −2, RHD = 1 − 1 = 0, so not differentiable
- At x = 1: LHD = 1 − 1 = 0, RHD = 1 + 1 = 2, so not differentiable
- At every other point f is a linear expression, hence differentiable
Answer: Yes, for example f(x) = |x| + |x − 1|, not differentiable only at x = 0 and x = 1.
Question 21. If y = |f(x) g(x) h(x); l m n; a b c|, prove that dy/dx = |f′(x) g′(x) h′(x); l m n; a b c|
Show solution
- Expand along R₁: y = f(x)(mc − nb) − g(x)(lc − na) + h(x)(lb − ma)
- l, m, n, a, b, c are constants, so dy/dx = f′(x)(mc − nb) − g′(x)(lc − na) + h′(x)(lb − ma)
- This is the expansion along R₁ of |f′(x) g′(x) h′(x); l m n; a b c|. Hence proved.
Answer: Proved.
Question 22. If y = e^(a cos⁻¹x), −1 ≤ x ≤ 1, show that (1 − x²) d²y/dx² − x dy/dx − a²y = 0.
Show solution
- dy/dx = e^(a cos⁻¹x) · (−a/√(1 − x²)) ⇒ √(1 − x²) y₁ = −ay
- Square: (1 − x²)y₁² = a²y²
- Differentiate: (1 − x²)2y₁y₂ − 2x y₁² = 2a²y y₁
- Divide by 2y₁ (y₁ ≠ 0): (1 − x²)y₂ − x y₁ − a²y = 0. Hence shown.
Answer: Proved.
Key points of Continuity and Differentiability (quick revision)
- f is continuous at x = c if lim(x→c⁻) f(x) = lim(x→c⁺) f(x) = f(c). For a piecewise function, check the joining points.
- Polynomials, sin x, cos x, eˣ, |x| are continuous everywhere; rational functions, tan x, log x etc. are continuous on their domains. Sums, differences, products, quotients (denominator ≠ 0) and compositions of continuous functions are continuous.
- f is differentiable at c if the left and right derivatives lim(h→0) [f(c + h) − f(c)]/h agree. Differentiable ⇒ continuous, but not conversely (|x| at 0).
- Chain rule: d/dx f(g(x)) = f′(g(x)) · g′(x). Implicit functions: differentiate every term w.r.t. x, writing dy/dx wherever y is differentiated, then solve for dy/dx.
- d/dx sin⁻¹x = 1/√(1 − x²), cos⁻¹x → −1/√(1 − x²), tan⁻¹x → 1/(1 + x²), cot⁻¹x → −1/(1 + x²), sec⁻¹x → 1/(|x|√(x² − 1)), cosec⁻¹x → −1/(|x|√(x² − 1)).
- d/dx eˣ = eˣ, d/dx log x = 1/x (x > 0), d/dx aˣ = aˣ log a.
- Logarithmic differentiation: for y = [u(x)]^v(x) or long products/quotients, take log on both sides first, then differentiate.
- Parametric form x = f(t), y = g(t): dy/dx = (dy/dt)/(dx/dt), provided dx/dt ≠ 0. For d²y/dx², differentiate dy/dx w.r.t. t and divide by dx/dt again.
- Second derivative: d²y/dx² = d/dx (dy/dx), also written y″ or y₂.
How these solutions were checked
- Every question of the NCERT Mathematics reprint for 2026-27 is here, in the book's order and numbering.
- Every answer is worked out in full, then checked by substituting it back or recomputing it (algebra and calculus answers are verified by differentiation or computer algebra).
- Where the book has a misprint, or its printed answer differs from the correct one, the solution says so and shows why, so you can trust what you write in the exam.
- Found something that looks wrong? Tell us about it, and we correct it and update this page and its PDF.
Questions
How many exercises are there in Class 12 Maths Chapter 5 Continuity and Differentiability?
8 (Exercise 5.1, Exercise 5.2, Exercise 5.3, Exercise 5.4, Exercise 5.5, Exercise 5.6, Exercise 5.7, Miscellaneous Exercise on Chapter 5), with 145 questions and parts in all. Every one is solved on this page.
Can I download the Class 12 Maths Chapter 5 Continuity and Differentiability NCERT solutions as a PDF?
Yes. The PDF has every question and its solution, free to download and print, with no sign-in.
Are questions from Continuity and Differentiability asked in the CBSE board exam?
Yes: 11 board questions from 3 papers (2023–2025), 23 marks in all. They are solved on our chapter-wise page.
Questions are from the NCERT textbook Mathematics for Class 12; the solutions are written by beMahan.All Class 12 NCERT solutions