NCERT Solutions for Class 12 Maths Chapter 9: Differential Equations
12NCERT Mathematics · solved
Differential Equations are equations that contain derivatives, such as dy/dx = ky for growth of money or bacteria. This chapter explains order and degree, general and particular solutions, and three ways to solve first order, first degree equations: separating the variables, homogeneous equations (put y = vx) and linear equations (multiply by an integrating factor).
Download PDFBoard questions on this chapter (10)
Try each question, open its solution, then mark yourself: 0 of 103 checked · 0 right
Exercise 9.1
Question 1. Determine order and degree (if defined) of the differential equation: d⁴y/dx⁴ + sin(y‴) = 0
Show solution
- Highest derivative is d⁴y/dx⁴, so the order is 4
- sin(y‴) makes it not a polynomial in the derivatives, so the degree is not defined
Answer: Order 4; degree not defined.
Question 2. Determine order and degree (if defined) of the differential equation: y′ + 5y = 0
Show solution
- Highest derivative is y′ (order 1), appearing to power 1
Answer: Order 1; degree 1.
Question 3. Determine order and degree (if defined) of the differential equation: (ds/dt)⁴ + 3s d²s/dt² = 0
Show solution
- Highest derivative is d²s/dt² (order 2); it appears to the first power
Answer: Order 2; degree 1.
Question 4. Determine order and degree (if defined) of the differential equation: (d²y/dx²)² + cos(dy/dx) = 0
Show solution
- Highest derivative is d²y/dx², so the order is 2
- cos(dy/dx) is not a polynomial in dy/dx, so the degree is not defined
Answer: Order 2; degree not defined.
Question 5. Determine order and degree (if defined) of the differential equation: d²y/dx² = cos 3x + sin 3x
Show solution
- Highest derivative d²y/dx², power 1
Answer: Order 2; degree 1.
Question 6. Determine order and degree (if defined) of the differential equation: (y‴)² + (y″)³ + (y′)⁴ + y⁵ = 0
Show solution
- Highest derivative is y‴ (order 3); its highest power is 2
Answer: Order 3; degree 2.
Question 7. Determine order and degree (if defined) of the differential equation: y‴ + 2y″ + y′ = 0
Show solution
- Highest derivative y‴, power 1
Answer: Order 3; degree 1.
Question 8. Determine order and degree (if defined) of the differential equation: y′ + y = eˣ
Show solution
- Highest derivative y′, power 1
Answer: Order 1; degree 1.
Question 9. Determine order and degree (if defined) of the differential equation: y″ + (y′)² + 2y = 0
Show solution
- Highest derivative y″ (order 2), power 1
Answer: Order 2; degree 1.
Question 10. Determine order and degree (if defined) of the differential equation: y″ + 2y′ + sin y = 0
Show solution
- Highest derivative y″, power 1 (sin y involves y, not a derivative, so the degree is still defined)
Answer: Order 2; degree 1.
Question 11. The degree of the differential equation (d²y/dx²)³ + (dy/dx)² + sin(dy/dx) + 1 = 0 is (A) 3 (B) 2 (C) 1 (D) not defined
Show solution
- sin(dy/dx) means the equation is not a polynomial in the derivatives
Answer: (D) not defined
Question 12. The order of the differential equation 2x² d²y/dx² − 3 dy/dx + y = 0 is (A) 2 (B) 1 (C) 0 (D) not defined
Show solution
- The highest derivative present is d²y/dx²
Answer: (A) 2
Exercise 9.2
Question 1. Verify that y = eˣ + 1 is a solution of y″ − y′ = 0.
Show solution
- y′ = eˣ, y″ = eˣ
- y″ − y′ = eˣ − eˣ = 0. Verified.
Answer: Verified.
Question 2. Verify that y = x² + 2x + C is a solution of y′ − 2x − 2 = 0.
Show solution
- y′ = 2x + 2
- y′ − 2x − 2 = 0. Verified.
Answer: Verified.
Question 3. Verify that y = cos x + C is a solution of y′ + sin x = 0.
Show solution
- y′ = −sin x
- y′ + sin x = 0. Verified.
Answer: Verified.
Question 4. Verify that y = √(1 + x²) is a solution of y′ = xy/(1 + x²).
Show solution
- y′ = x/√(1 + x²)
- xy/(1 + x²) = x√(1 + x²)/(1 + x²) = x/√(1 + x²) = y′. Verified.
Answer: Verified.
Question 5. Verify that y = Ax is a solution of xy′ = y (x ≠ 0).
Show solution
- y′ = A
- xy′ = Ax = y. Verified.
Answer: Verified.
Question 6. Verify that y = x sin x is a solution of xy′ = y + x√(x² − y²) (x ≠ 0 and x > y or x < −y).
Show solution
- y′ = sin x + x cos x, so xy′ = x sin x + x² cos x = y + x² cos x
- √(x² − y²) = √(x² − x² sin²x) = x cos x (taking the root as x cos x), so y + x√(x² − y²) = y + x² cos x
- Both sides agree. Verified.
Answer: Verified.
Question 7. Verify that xy = log y + C is a solution of y′ = y²/(1 − xy) (xy ≠ 1).
Show solution
- Differentiate: y + xy′ = y′/y
- y′(1/y − x) = y ⇒ y′(1 − xy)/y = y ⇒ y′ = y²/(1 − xy). Verified.
Answer: Verified.
Question 8. Verify that y − cos y = x is a solution of (y sin y + cos y + x) y′ = y.
Show solution
- Differentiate: y′ + sin y · y′ = 1 ⇒ y′ = 1/(1 + sin y)
- Using x = y − cos y: y sin y + cos y + x = y sin y + y = y(1 + sin y)
- LHS = y(1 + sin y) · 1/(1 + sin y) = y = RHS. Verified.
Answer: Verified.
Question 9. Verify that x + y = tan⁻¹y is a solution of y²y′ + y² + 1 = 0.
Show solution
- Differentiate: 1 + y′ = y′/(1 + y²)
- (1 + y²) + (1 + y²)y′ = y′ ⇒ y²y′ + y² + 1 = 0. Verified.
Answer: Verified.
Question 10. Verify that y = √(a² − x²), x ∈ (−a, a) is a solution of x + y dy/dx = 0 (y ≠ 0).
Show solution
- dy/dx = −x/√(a² − x²) = −x/y
- x + y(−x/y) = 0. Verified.
Answer: Verified.
Question 11. The number of arbitrary constants in the general solution of a differential equation of fourth order are: (A) 0 (B) 2 (C) 3 (D) 4
Show solution
- The general solution has as many arbitrary constants as the order
Answer: (D) 4
Question 12. The number of arbitrary constants in the particular solution of a differential equation of third order are: (A) 3 (B) 2 (C) 1 (D) 0
Show solution
- A particular solution has no arbitrary constants
Answer: (D) 0
Exercise 9.3
Question 1. Find the general solution: dy/dx = (1 − cos x)/(1 + cos x)
Show solution
- (1 − cos x)/(1 + cos x) = tan²(x/2) = sec²(x/2) − 1
- dy = [sec²(x/2) − 1] dx; integrate
Answer: y = 2 tan(x/2) − x + C
Question 2. Find the general solution: dy/dx = √(4 − y²) (−2 < y < 2)
Show solution
- Separate: dy/√(4 − y²) = dx
- sin⁻¹(y/2) = x + C
Answer: y = 2 sin(x + C)
Question 3. Find the general solution: dy/dx + y = 1 (y ≠ 1)
Show solution
- dy/(1 − y) = dx
- −log|1 − y| = x + C₁ ⇒ 1 − y = ±e^(−C₁)e^(−x)
Answer: y = 1 + Ae^(−x)
Question 4. Find the general solution: sec²x tan y dx + sec²y tan x dy = 0
Show solution
- Divide by tan x tan y: (sec²x/tan x) dx + (sec²y/tan y) dy = 0
- log|tan x| + log|tan y| = log C
Answer: tan x tan y = C
Question 5. Find the general solution: (eˣ + e⁻ˣ) dy − (eˣ − e⁻ˣ) dx = 0
Show solution
- dy = (eˣ − e⁻ˣ)/(eˣ + e⁻ˣ) dx
- Integrate (put eˣ + e⁻ˣ = t)
Answer: y = log(eˣ + e⁻ˣ) + C
Question 6. Find the general solution: dy/dx = (1 + x²)(1 + y²)
Show solution
- dy/(1 + y²) = (1 + x²) dx
- tan⁻¹y = x + x³/3 + C
Answer: tan⁻¹y = x + x³/3 + C
Question 7. Find the general solution: y log y dx − x dy = 0
Show solution
- dy/(y log y) = dx/x
- log|log y| = log|x| + log C ⇒ log y = Cx
Answer: y = e^(Cx)
Question 8. Find the general solution: x⁵ dy/dx = −y⁵
Show solution
- y⁻⁵ dy = −x⁻⁵ dx
- y⁻⁴/(−4) = −x⁻⁴/(−4) + C₁ ⇒ x⁻⁴ + y⁻⁴ = −4C₁
Answer: x⁻⁴ + y⁻⁴ = C
Question 9. Find the general solution: dy/dx = sin⁻¹x
Show solution
- y = ∫sin⁻¹x dx (by parts)
Answer: y = x sin⁻¹x + √(1 − x²) + C
Question 10. Find the general solution: eˣ tan y dx + (1 − eˣ) sec²y dy = 0
Show solution
- (sec²y/tan y) dy = eˣ/(eˣ − 1) dx
- log|tan y| = log|eˣ − 1| + log C
Answer: tan y = C(1 − eˣ) (C an arbitrary constant)
Question 11. Find a particular solution: (x³ + x² + x + 1) dy/dx = 2x² + x; y = 1 when x = 0
Show solution
- x³ + x² + x + 1 = (x + 1)(x² + 1); (2x² + x)/[(x + 1)(x² + 1)] = (1/2)/(x + 1) + ((3/2)x − 1/2)/(x² + 1)
- y = ½ log|x + 1| + ¾ log(x² + 1) − ½ tan⁻¹x + C
- x = 0, y = 1 ⇒ C = 1
Answer: y = ¼ log[(x + 1)²(x² + 1)³] − ½ tan⁻¹x + 1
Question 12. Find a particular solution: x(x² − 1) dy/dx = 1; y = 0 when x = 2
Show solution
- 1/[x(x − 1)(x + 1)] = −1/x + (1/2)/(x − 1) + (1/2)/(x + 1)
- y = −log|x| + ½ log|x − 1| + ½ log|x + 1| + C = ½ log|(x² − 1)/x²| + C
- x = 2, y = 0: 0 = ½ log(3/4) + C ⇒ C = −½ log(3/4)
Answer: y = ½ log((x² − 1)/x²) − ½ log(3/4)
Question 13. Find a particular solution: cos(dy/dx) = a (a ∈ R); y = 1 when x = 0
Show solution
- dy/dx = cos⁻¹a ⇒ y = x cos⁻¹a + C
- x = 0, y = 1 ⇒ C = 1, so (y − 1)/x = cos⁻¹a
Answer: cos((y − 1)/x) = a
Question 14. Find a particular solution: dy/dx = y tan x; y = 1 when x = 0
Show solution
- dy/y = tan x dx ⇒ log|y| = log|sec x| + log C ⇒ y = C sec x
- x = 0, y = 1 ⇒ C = 1
Answer: y = sec x
Question 15. Find the equation of a curve passing through the point (0, 0) and whose differential equation is y′ = eˣ sin x.
Show solution
- y = ∫eˣ sin x dx = (eˣ/2)(sin x − cos x) + C
- Through (0, 0): 0 = ½(0 − 1) + C ⇒ C = ½
Answer: 2y − 1 = eˣ(sin x − cos x)
Question 16. For the differential equation xy dy/dx = (x + 2)(y + 2), find the solution curve passing through the point (1, −1).
Show solution
- y/(y + 2) dy = (x + 2)/x dx ⇒ [1 − 2/(y + 2)] dy = [1 + 2/x] dx
- y − 2 log|y + 2| = x + 2 log|x| + C
- At (1, −1): −1 − 0 = 1 + 0 + C ⇒ C = −2
- y − x + 2 = 2 log|x| + 2 log|y + 2|
Answer: y − x + 2 = log[x²(y + 2)²]
Question 17. Find the equation of a curve passing through the point (0, −2) given that at any point (x, y) on the curve, the product of the slope of its tangent and y coordinate of the point is equal to the x coordinate of the point.
Show solution
- y dy/dx = x ⇒ y dy = x dx ⇒ y²/2 = x²/2 + C₁
- y² − x² = C; at (0, −2): C = 4
Answer: y² − x² = 4
Question 18. At any point (x, y) of a curve, the slope of the tangent is twice the slope of the line segment joining the point of contact to the point (−4, −3). Find the equation of the curve given that it passes through (−2, 1).
Show solution
- dy/dx = 2(y + 3)/(x + 4) ⇒ dy/(y + 3) = 2 dx/(x + 4)
- log|y + 3| = 2 log|x + 4| + log C ⇒ y + 3 = C(x + 4)²
- At (−2, 1): 4 = 4C ⇒ C = 1
Answer: (x + 4)² = y + 3
Question 19. The volume of spherical balloon being inflated changes at a constant rate. If initially its radius is 3 units and after 3 seconds it is 6 units. Find the radius of balloon after t seconds.
Show solution
- dV/dt = k ⇒ V = (4/3)πr³ = kt + C
- t = 0, r = 3: C = 36π. t = 3, r = 6: 288π = 3k + 36π ⇒ k = 84π
- (4/3)πr³ = 84πt + 36π ⇒ r³ = 63t + 27
Answer: r = (63t + 27)^(1/3) units
Question 20. In a bank, principal increases continuously at the rate of r% per year. Find the value of r if Rs 100 double itself in 10 years (logₑ2 = 0.6931).
Show solution
- dP/dt = (r/100)P ⇒ P = P₀e^(rt/100)
- Doubling in 10 years: 2 = e^(10r/100) = e^(r/10) ⇒ r/10 = logₑ2 = 0.6931
Answer: r = 6.931 (%)
Question 21. In a bank, principal increases continuously at the rate of 5% per year. An amount of Rs 1000 is deposited with this bank, how much will it worth after 10 years (e^0.5 = 1.648).
Show solution
- dP/dt = 0.05P ⇒ P = 1000e^(0.05t)
- At t = 10: P = 1000e^(0.5) = 1000 × 1.648
Answer: ₹1648
Question 22. In a culture, the bacteria count is 1,00,000. The number is increased by 10% in 2 hours. In how many hours will the count reach 2,00,000, if the rate of growth of bacteria is proportional to the number present?
Show solution
- dN/dt = kN ⇒ N = 100000 e^(kt)
- After 2 hours N = 110000: e^(2k) = 1.1 ⇒ k = ½ log(11/10)
- N = 200000 when e^(kt) = 2 ⇒ t = log 2/k = 2 log 2/log(11/10) ≈ 14.5 hours
Answer: t = 2 log 2/log(11/10) hours (about 14.5 hours)
Question 23. The general solution of the differential equation dy/dx = e^(x + y) is (A) eˣ + e⁻ʸ = C (B) eˣ + eʸ = C (C) e⁻ˣ + eʸ = C (D) e⁻ˣ + e⁻ʸ = C
Show solution
- dy/dx = eˣeʸ ⇒ e⁻ʸ dy = eˣ dx ⇒ −e⁻ʸ = eˣ + C₁
Answer: (A) eˣ + e⁻ʸ = C
Exercise 9.4
Question 1. Show that the given differential equation is homogeneous and solve it: (x² + xy) dy = (x² + y²) dx
Show solution
- dy/dx = (x² + y²)/(x² + xy) = F(x, y), and F(λx, λy) = F(x, y): homogeneous
- Put y = vx: v + x dv/dx = (1 + v²)/(1 + v) ⇒ x dv/dx = (1 − v)/(1 + v)
- (1 + v)/(1 − v) dv = dx/x ⇒ [−1 + 2/(1 − v)] dv = dx/x ⇒ −v − 2 log|1 − v| = log|x| + C₁
- With v = y/x: log|x| − 2 log|x − y| = C₁ + y/x ⇒ (x − y)² = Cx e^(−y/x)
Answer: (x − y)² = Cx e^(−y/x)
Question 2. Show that the given differential equation is homogeneous and solve it: y′ = (x + y)/x
Show solution
- F(x, y) = (x + y)/x is homogeneous of degree 0
- y = vx: v + x dv/dx = 1 + v ⇒ dv = dx/x ⇒ v = log|x| + C
Answer: y = x log|x| + Cx
Question 3. Show that the given differential equation is homogeneous and solve it: (x − y) dy − (x + y) dx = 0
Show solution
- dy/dx = (x + y)/(x − y), homogeneous
- y = vx: x dv/dx = (1 + v)/(1 − v) − v = (1 + v²)/(1 − v)
- (1 − v)/(1 + v²) dv = dx/x ⇒ tan⁻¹v − ½ log(1 + v²) = log|x| + C
- log|x| + ½ log(1 + y²/x²) = ½ log(x² + y²)
Answer: tan⁻¹(y/x) = ½ log(x² + y²) + C
Question 4. Show that the given differential equation is homogeneous and solve it: (x² − y²) dx + 2xy dy = 0
Show solution
- dy/dx = (y² − x²)/(2xy), homogeneous
- y = vx: x dv/dx = (v² − 1)/(2v) − v = −(1 + v²)/(2v)
- 2v/(1 + v²) dv = −dx/x ⇒ log(1 + v²) = −log|x| + log C ⇒ x(1 + y²/x²) = C
Answer: x² + y² = Cx
Question 5. Show that the given differential equation is homogeneous and solve it: x² dy/dx = x² − 2y² + xy
Show solution
- dy/dx = 1 − 2(y/x)² + y/x, homogeneous
- y = vx: x dv/dx = 1 − 2v² ⇒ dv/(1 − 2v²) = dx/x
- ∫dv/(1 − 2v²) = ½∫dv/(1/2 − v²) = (1/(2√2)) log|(1 + √2 v)/(1 − √2 v)|
Answer: (1/(2√2)) log|(x + √2 y)/(x − √2 y)| = log|x| + C
Question 6. Show that the given differential equation is homogeneous and solve it: x dy − y dx = √(x² + y²) dx
Show solution
- dy/dx = [y + √(x² + y²)]/x, homogeneous (take x > 0)
- y = vx: x dv/dx = √(1 + v²) ⇒ dv/√(1 + v²) = dx/x
- log|v + √(1 + v²)| = log|x| + log C ⇒ y/x + √(x² + y²)/x = Cx
Answer: y + √(x² + y²) = Cx²
Question 7. Show that the given differential equation is homogeneous and solve it: {x cos(y/x) + y sin(y/x)} y dx = {y sin(y/x) − x cos(y/x)} x dy
Show solution
- dy/dx = y[x cos(y/x) + y sin(y/x)]/(x[y sin(y/x) − x cos(y/x)]), a function of y/x: homogeneous
- y = vx: v + x dv/dx = v(cos v + v sin v)/(v sin v − cos v) ⇒ x dv/dx = 2v cos v/(v sin v − cos v)
- (v sin v − cos v)/(v cos v) dv = 2 dx/x ⇒ (tan v − 1/v) dv = 2 dx/x
- −log|cos v| − log|v| = 2 log|x| + log C₁ ⇒ x² v cos v = C
Answer: xy cos(y/x) = C
Question 8. Show that the given differential equation is homogeneous and solve it: x dy/dx − y + x sin(y/x) = 0
Show solution
- dy/dx = y/x − sin(y/x), homogeneous
- y = vx: x dv/dx = −sin v ⇒ cosec v dv = −dx/x
- log|cosec v − cot v| = −log|x| + log C ⇒ x(1 − cos v)/sin v = C
Answer: x[1 − cos(y/x)] = C sin(y/x)
Question 9. Show that the given differential equation is homogeneous and solve it: y dx + x log(y/x) dy − 2x dy = 0
Show solution
- dy/dx = y/[2x − x log(y/x)] = (y/x)/(2 − log(y/x)), homogeneous
- y = vx: x dv/dx = v/(2 − log v) − v = v(log v − 1)/(2 − log v)
- (2 − log v)/[v(log v − 1)] dv = dx/x; put log v − 1 = u: (1/u − 1) du = dx/x ⇒ log|u| − u = log|x| + C₁
- So log v − 1 = A x e^(log v − 1) = (A/e) x v = cy
Answer: log|y/x| − 1 = cy (c a constant)
Question 10. Show that the given differential equation is homogeneous and solve it: (1 + e^(x/y)) dx + e^(x/y)(1 − x/y) dy = 0
Show solution
- dx/dy = −e^(x/y)(1 − x/y)/(1 + e^(x/y)), a function of x/y: homogeneous
- Put x = vy: v + y dv/dy = −eᵛ(1 − v)/(1 + eᵛ) ⇒ y dv/dy = −(v + eᵛ)/(1 + eᵛ)
- (1 + eᵛ)/(v + eᵛ) dv = −dy/y ⇒ log|v + eᵛ| = −log|y| + log C ⇒ y(v + eᵛ) = C
Answer: x + y e^(x/y) = C
Question 11. Find the particular solution: (x + y) dy + (x − y) dx = 0; y = 1 when x = 1
Show solution
- dy/dx = (y − x)/(x + y). Put y = vx: x dv/dx = (v − 1)/(1 + v) − v = −(1 + v²)/(1 + v)
- (1 + v)/(1 + v²) dv = −dx/x ⇒ tan⁻¹v + ½ log(1 + v²) = −log|x| + C
- ⇒ tan⁻¹(y/x) + ½ log(x² + y²) = C; at (1, 1): C = π/4 + ½ log 2
Answer: log(x² + y²) + 2 tan⁻¹(y/x) = π/2 + log 2
Question 12. Find the particular solution: x² dy + (xy + y²) dx = 0; y = 1 when x = 1
Show solution
- dy/dx = −(y/x) − (y/x)². Put y = vx: x dv/dx = −v(v + 2)
- dv/[v(v + 2)] = −dx/x ⇒ ½ log|v/(v + 2)| = −log|x| + C ⇒ y/(y + 2x) = A/x²
- x²y = A(y + 2x); at (1, 1): 1 = 3A ⇒ A = 1/3 ⇒ 3x²y = y + 2x
- Check: y = 2x/(3x² − 1) gives y(1) = 1 and satisfies the equation
Answer: y = 2x/(3x² − 1), i.e. 3x²y = y + 2x
Question 13. Find the particular solution: [x sin²(y/x) − y] dx + x dy = 0; y = π/4 when x = 1
Show solution
- dy/dx = y/x − sin²(y/x). Put y = vx: x dv/dx = −sin²v
- cosec²v dv = −dx/x ⇒ −cot v = −log|x| − C ⇒ cot(y/x) = log|x| + C
- At (1, π/4): cot(π/4) = 1 = 0 + C ⇒ C = 1 = log e
Answer: cot(y/x) = log|ex|
Question 14. Find the particular solution: dy/dx − y/x + cosec(y/x) = 0; y = 0 when x = 1
Show solution
- Put y = vx: v + x dv/dx − v + cosec v = 0 ⇒ x dv/dx = −cosec v
- sin v dv = −dx/x ⇒ −cos v = −log|x| − C ⇒ cos(y/x) = log|x| + C
- At (1, 0): 1 = 0 + C ⇒ C = 1
Answer: cos(y/x) = log|ex|
Question 15. Find the particular solution: 2xy + y² − 2x² dy/dx = 0; y = 2 when x = 1
Show solution
- dy/dx = (2xy + y²)/(2x²) = y/x + ½(y/x)². Put y = vx: x dv/dx = v²/2
- 2 dv/v² = dx/x ⇒ −2/v = log|x| + C ⇒ −2x/y = log|x| + C
- At (1, 2): −1 = C ⇒ 2x/y = 1 − log|x|
Answer: y = 2x/(1 − log|x|) (x ≠ 0, e)
Question 16. A homogeneous differential equation of the form dx/dy = h(x/y) can be solved by making the substitution. (A) y = vx (B) v = yx (C) x = vy (D) x = v
Show solution
- Since the right side is a function of x/y, put x/y = v, i.e. x = vy
Answer: (C) x = vy
Question 17. Which of the following is a homogeneous differential equation? (A) (4x + 6y + 5) dy − (3y + 2x + 4) dx = 0 (B) (xy) dx − (x³ + y³) dy = 0 (C) (x³ + 2y²) dx + 2xy dy = 0 (D) y² dx + (x² − xy − y²) dy = 0
Show solution
- (A) has constant terms; (B) mixes degree 2 and degree 3; (C) mixes degrees 3 and 2
- (D): dy/dx = −y²/(x² − xy − y²), all terms of degree 2, so F(λx, λy) = F(x, y)
Answer: (D) y² dx + (x² − xy − y²) dy = 0
Exercise 9.5
Question 1. Find the general solution: dy/dx + 2y = sin x
Show solution
- Linear with P = 2, Q = sin x; I.F. = e^(2x)
- y e^(2x) = ∫e^(2x) sin x dx = (e^(2x)/5)(2 sin x − cos x) + C
Answer: y = (1/5)(2 sin x − cos x) + Ce^(−2x)
Question 2. Find the general solution: dy/dx + 3y = e^(−2x)
Show solution
- I.F. = e^(3x)
- y e^(3x) = ∫e^(−2x)e^(3x) dx = ∫eˣ dx = eˣ + C
Answer: y = e^(−2x) + Ce^(−3x)
Question 3. Find the general solution: dy/dx + y/x = x²
Show solution
- P = 1/x, I.F. = e^(log x) = x
- xy = ∫x³ dx = x⁴/4 + C
Answer: y = x³/4 + C/x
Question 4. Find the general solution: dy/dx + (sec x)y = tan x (0 ≤ x < π/2)
Show solution
- I.F. = e^(∫sec x dx) = sec x + tan x
- y(sec x + tan x) = ∫tan x(sec x + tan x) dx = ∫(sec x tan x + sec²x − 1) dx = sec x + tan x − x + C
Answer: y(sec x + tan x) = sec x + tan x − x + C
Question 5. Find the general solution: cos²x dy/dx + y = tan x (0 ≤ x < π/2)
Show solution
- dy/dx + sec²x · y = tan x sec²x; I.F. = e^(tan x)
- y e^(tan x) = ∫tan x sec²x e^(tan x) dx = ∫t eᵗ dt (t = tan x) = eᵗ(t − 1) + C
Answer: y = (tan x − 1) + Ce^(−tan x)
Question 6. Find the general solution: x dy/dx + 2y = x² log x
Show solution
- dy/dx + (2/x)y = x log x; I.F. = x²
- x²y = ∫x³ log x dx = (x⁴/4) log x − x⁴/16 + C
Answer: y = (x²/16)(4 log x − 1) + Cx⁻²
Question 7. Find the general solution: x log x dy/dx + y = (2/x) log x
Show solution
- dy/dx + y/(x log x) = 2/x²; I.F. = e^(log(log x)) = log x
- y log x = ∫(2/x²) log x dx = −(2/x) log x − 2/x + C
Answer: y log x = −(2/x)(1 + log x) + C
Question 8. Find the general solution: (1 + x²) dy + 2xy dx = cot x dx (x ≠ 0)
Show solution
- dy/dx + [2x/(1 + x²)]y = cot x/(1 + x²); I.F. = 1 + x²
- y(1 + x²) = ∫cot x dx = log|sin x| + C
Answer: y = (1 + x²)⁻¹ log|sin x| + C(1 + x²)⁻¹
Question 9. Find the general solution: x dy/dx + y − x + xy cot x = 0 (x ≠ 0)
Show solution
- dy/dx + (1/x + cot x)y = 1; I.F. = e^(log x + log sin x) = x sin x
- xy sin x = ∫x sin x dx = −x cos x + sin x + C
Answer: y = 1/x − cot x + C/(x sin x)
Question 10. Find the general solution: (x + y) dy/dx = 1
Show solution
- dx/dy = x + y ⇒ dx/dy − x = y: linear in x, I.F. = e^(−y)
- x e^(−y) = ∫y e^(−y) dy = −y e^(−y) − e^(−y) + C
Answer: x + y + 1 = Ceʸ
Question 11. Find the general solution: y dx + (x − y²) dy = 0
Show solution
- dx/dy + x/y = y: linear in x, I.F. = y
- xy = ∫y² dy = y³/3 + C
Answer: x = y²/3 + C/y
Question 12. Find the general solution: (x + 3y²) dy/dx = y (y > 0)
Show solution
- dx/dy = x/y + 3y ⇒ dx/dy − x/y = 3y; I.F. = 1/y
- x/y = ∫3 dy = 3y + C
Answer: x = 3y² + Cy
Question 13. Find a particular solution: dy/dx + 2y tan x = sin x; y = 0 when x = π/3
Show solution
- I.F. = e^(2 log sec x) = sec²x
- y sec²x = ∫sin x sec²x dx = ∫sec x tan x dx = sec x + C ⇒ y = cos x + C cos²x
- x = π/3: 0 = ½ + C/4 ⇒ C = −2
Answer: y = cos x − 2cos²x
Question 14. Find a particular solution: (1 + x²) dy/dx + 2xy = 1/(1 + x²); y = 0 when x = 1
Show solution
- dy/dx + [2x/(1 + x²)]y = 1/(1 + x²)²; I.F. = 1 + x²
- y(1 + x²) = ∫dx/(1 + x²) = tan⁻¹x + C
- x = 1: 0 = π/4 + C ⇒ C = −π/4
Answer: y(1 + x²) = tan⁻¹x − π/4
Question 15. Find a particular solution: dy/dx − 3y cot x = sin 2x; y = 2 when x = π/2
Show solution
- I.F. = e^(−3 log sin x) = 1/sin³x
- y/sin³x = ∫sin 2x/sin³x dx = ∫2 cos x/sin²x dx = −2/sin x + C ⇒ y = −2 sin²x + C sin³x
- x = π/2: 2 = −2 + C ⇒ C = 4
Answer: y = 4 sin³x − 2 sin²x
Question 16. Find the equation of a curve passing through the origin given that the slope of the tangent to the curve at any point (x, y) is equal to the sum of the coordinates of the point.
Show solution
- dy/dx = x + y ⇒ dy/dx − y = x; I.F. = e^(−x)
- y e^(−x) = ∫x e^(−x) dx = −x e^(−x) − e^(−x) + C ⇒ y = −x − 1 + Ceˣ
- Through (0, 0): 0 = −1 + C ⇒ C = 1
Answer: x + y + 1 = eˣ
Question 17. Find the equation of a curve passing through the point (0, 2) given that the sum of the coordinates of any point on the curve exceeds the magnitude of the slope of the tangent to the curve at that point by 5.
Show solution
- x + y − dy/dx = 5 (taking the slope positive) ⇒ dy/dx − y = x − 5; I.F. = e^(−x)
- y e^(−x) = ∫(x − 5)e^(−x) dx = −(x − 5)e^(−x) − e^(−x) + C = (4 − x)e^(−x) + C ⇒ y = 4 − x + Ceˣ
- At (0, 2): 2 = 4 + C ⇒ C = −2
Answer: y = 4 − x − 2eˣ
Question 18. The Integrating Factor of the differential equation x dy/dx − y = 2x² is (A) e⁻ˣ (B) e⁻ʸ (C) 1/x (D) x
Show solution
- dy/dx − y/x = 2x; P = −1/x
- I.F. = e^(−log x) = 1/x
Answer: (C) 1/x
Question 19. The Integrating Factor of the differential equation (1 − y²) dx/dy + yx = ay (−1 < y < 1) is (A) 1/(y² − 1) (B) 1/√(y² − 1) (C) 1/(1 − y²) (D) 1/√(1 − y²)
Show solution
- dx/dy + [y/(1 − y²)]x = ay/(1 − y²); P₁ = y/(1 − y²)
- ∫P₁ dy = −½ log(1 − y²), so I.F. = (1 − y²)^(−1/2)
Answer: (D) 1/√(1 − y²)
Miscellaneous Exercise on Chapter 9
Question 1. For each of the differential equations given below, indicate its order and degree (if defined).
(i) d²y/dx² + 5x(dy/dx)² − 6y = log x
Show solution
- Highest derivative d²y/dx², power 1
Answer: Order 2; degree 1.
(ii) (dy/dx)³ − 4(dy/dx)² + 7y = sin x
Show solution
- Highest derivative dy/dx; its highest power is 3
Answer: Order 1; degree 3.
(iii) d⁴y/dx⁴ − sin(d³y/dx³) = 0
Show solution
- Highest derivative d⁴y/dx⁴, so the order is 4
- sin(d³y/dx³) is not a polynomial term
Answer: Order 4; degree not defined.
Question 2. For each of the exercises given below, verify that the given function (implicit or explicit) is a solution of the corresponding differential equation.
(i) xy = aeˣ + be⁻ˣ + x² : x d²y/dx² + 2 dy/dx − xy + x² − 2 = 0
Show solution
- Differentiate: y + xy′ = aeˣ − be⁻ˣ + 2x
- Again: 2y′ + xy″ = aeˣ + be⁻ˣ + 2 = (xy − x²) + 2
- So xy″ + 2y′ − xy + x² − 2 = 0. Verified.
Answer: Verified.
(ii) y = eˣ(a cos x + b sin x) : d²y/dx² − 2 dy/dx + 2y = 0
Show solution
- y′ = y + eˣ(−a sin x + b cos x)
- y″ = y′ + eˣ(−a sin x + b cos x) − eˣ(a cos x + b sin x) = y′ + (y′ − y) − y = 2y′ − 2y
- So y″ − 2y′ + 2y = 0. Verified.
Answer: Verified.
(iii) y = x sin 3x : d²y/dx² + 9y − 6 cos 3x = 0
Show solution
- y′ = sin 3x + 3x cos 3x; y″ = 3 cos 3x + 3 cos 3x − 9x sin 3x = 6 cos 3x − 9y
- So y″ + 9y − 6 cos 3x = 0. Verified.
Answer: Verified.
(iv) x² = 2y² log y : (x² + y²) dy/dx − xy = 0
Show solution
- Differentiate: 2x = (4y log y + 2y) y′ ⇒ y′ = x/[y(2 log y + 1)]
- x² + y² = 2y² log y + y² = y²(2 log y + 1)
- (x² + y²)y′ = y²(2 log y + 1) · x/[y(2 log y + 1)] = xy. Verified.
Answer: Verified.
Question 3. Prove that x² − y² = c(x² + y²)² is the general solution of differential equation (x³ − 3xy²) dx = (y³ − 3x²y) dy, where c is a parameter.
Show solution
- dy/dx = (x³ − 3xy²)/(y³ − 3x²y), homogeneous. Put y = vx: x dv/dx = (1 − 3v²)/(v³ − 3v) − v = (1 − v⁴)/(v³ − 3v)
- (v³ − 3v)/[(1 − v²)(1 + v²)] dv = dx/x, and (v³ − 3v)/[(1 − v²)(1 + v²)] = −v/(1 − v²) − 2v/(1 + v²)
- Integrate: ½ log|1 − v²| − log(1 + v²) = log|x| + log C₁ ⇒ (1 − v²)/(1 + v²)² = C₁²x²
- With v = y/x: (x² − y²)x²/(x² + y²)² = C₁²x² ⇒ x² − y² = c(x² + y²)². Hence proved.
Answer: Proved.
Question 4. Find the general solution of the differential equation dy/dx + √((1 − y²)/(1 − x²)) = 0.
Show solution
- dy/√(1 − y²) = −dx/√(1 − x²)
- sin⁻¹y = −sin⁻¹x + C
Answer: sin⁻¹x + sin⁻¹y = C
Question 5. Show that the general solution of the differential equation dy/dx + (y² + y + 1)/(x² + x + 1) = 0 is given by (x + y + 1) = A(1 − x − y − 2xy), where A is parameter.
Show solution
- dy/(y² + y + 1) + dx/(x² + x + 1) = 0 ⇒ (2/√3)[tan⁻¹((2y + 1)/√3) + tan⁻¹((2x + 1)/√3)] = C
- So tan⁻¹a + tan⁻¹b = constant with a = (2x + 1)/√3, b = (2y + 1)/√3, i.e. (a + b)/(1 − ab) = k
- a + b = 2(x + y + 1)/√3; 1 − ab = 2(1 − x − y − 2xy)/3
- (a + b)/(1 − ab) = √3(x + y + 1)/(1 − x − y − 2xy) = k ⇒ x + y + 1 = A(1 − x − y − 2xy). Hence shown.
Answer: Proved.
Question 6. Find the equation of the curve passing through the point (0, π/4) whose differential equation is sin x cos y dx + cos x sin y dy = 0.
Show solution
- Divide by cos x cos y: tan x dx + tan y dy = 0
- log|sec x| + log|sec y| = log C ⇒ sec x sec y = C
- At (0, π/4): 1 × √2 = C ⇒ cos x cos y = 1/√2
Answer: cos y = sec x/√2
Question 7. Find the particular solution of the differential equation (1 + e^(2x)) dy + (1 + y²) eˣ dx = 0, given that y = 1 when x = 0.
Show solution
- dy/(1 + y²) = −eˣ dx/(1 + e^(2x)) ⇒ tan⁻¹y = −tan⁻¹(eˣ) + C
- x = 0, y = 1: π/4 = −π/4 + C ⇒ C = π/2
Answer: tan⁻¹y + tan⁻¹(eˣ) = π/2
Question 8. Solve the differential equation y e^(x/y) dx = (x e^(x/y) + y²) dy (y ≠ 0).
Show solution
- dx/dy = x/y + y e^(−x/y). Put x = vy: v + y dv/dy = v + y e^(−v)
- dv/dy = e^(−v) ⇒ eᵛ dv = dy ⇒ eᵛ = y + C
Answer: e^(x/y) = y + C
Question 9. Find a particular solution of the differential equation (x − y)(dx + dy) = dx − dy, given that y = −1, when x = 0. (Hint: put x − y = t)
Show solution
- (x − y)(1 + y′) = 1 − y′. With t = x − y: y′ = (1 − t)/(1 + t), so dt/dx = 1 − y′ = 2t/(1 + t)
- (1 + t)/t dt = 2 dx ⇒ t + log|t| = 2x + C ⇒ log|x − y| = x + y + C
- At (0, −1): log 1 = −1 + C ⇒ C = 1
Answer: log|x − y| = x + y + 1
Question 10. Solve the differential equation [e^(−2√x)/√x − y/√x] dx/dy = 1 (x ≠ 0).
Show solution
- dy/dx + y/√x = e^(−2√x)/√x: linear, I.F. = e^(∫x^(−1/2) dx) = e^(2√x)
- y e^(2√x) = ∫(1/√x) dx = 2√x + C
Answer: y e^(2√x) = 2√x + C
Question 11. Find a particular solution of the differential equation dy/dx + y cot x = 4x cosec x (x ≠ 0), given that y = 0 when x = π/2.
Show solution
- I.F. = e^(∫cot x dx) = sin x
- y sin x = ∫4x dx = 2x² + C
- x = π/2: 0 = π²/2 + C ⇒ C = −π²/2
Answer: y sin x = 2x² − π²/2 (x ≠ 0)
Question 12. Find a particular solution of the differential equation (x + 1) dy/dx = 2e⁻ʸ − 1, given that y = 0 when x = 0.
Show solution
- dy/(2e⁻ʸ − 1) = dx/(x + 1) ⇒ eʸ dy/(2 − eʸ) = dx/(x + 1)
- −log|2 − eʸ| = log|x + 1| + C₁ ⇒ (2 − eʸ)(x + 1) = A
- At (0, 0): A = 1 ⇒ eʸ = 2 − 1/(x + 1) = (2x + 1)/(x + 1)
Answer: y = log|(2x + 1)/(x + 1)| (x ≠ −1)
Question 13. The general solution of the differential equation (y dx − x dy)/y = 0 is (A) xy = C (B) x = Cy² (C) y = Cx (D) y = Cx²
Show solution
- y dx = x dy ⇒ dy/y = dx/x ⇒ log|y| = log|x| + log C
Answer: (C) y = Cx
Question 14. The general solution of a differential equation of the type dx/dy + P₁x = Q₁ is (A) y e^(∫P₁ dy) = ∫(Q₁e^(∫P₁ dy)) dy + C (B) y · e^(∫P₁ dx) = ∫(Q₁e^(∫P₁ dx)) dx + C (C) x e^(∫P₁ dy) = ∫(Q₁e^(∫P₁ dy)) dy + C (D) x e^(∫P₁ dx) = ∫(Q₁e^(∫P₁ dx)) dx + C
Show solution
- The equation is linear in x with P₁, Q₁ functions of y; I.F. = e^(∫P₁ dy)
- Solution: x · I.F. = ∫Q₁ · I.F. dy + C
Answer: (C) x e^(∫P₁ dy) = ∫(Q₁e^(∫P₁ dy)) dy + C
Question 15. The general solution of the differential equation eˣ dy + (y eˣ + 2x) dx = 0 is (A) x eʸ + x² = C (B) x eʸ + y² = C (C) y eˣ + x² = C (D) y eʸ + x² = C
Show solution
- eˣ dy + y eˣ dx = d(y eˣ), so the equation is d(y eˣ) + 2x dx = 0
- Integrate: y eˣ + x² = C
Answer: (C) y eˣ + x² = C
Key points of Differential Equations (quick revision)
- Order: the order of the highest derivative present. Degree: the highest power of that derivative when the equation is a polynomial in the derivatives (otherwise the degree is not defined).
- The general solution of an nth order equation has n arbitrary constants; a particular solution has none (they are fixed by given conditions).
- Variables separable: write dy/dx = g(x)h(y) as dy/h(y) = g(x) dx and integrate both sides.
- Homogeneous: dy/dx = F(x, y) where F(λx, λy) = F(x, y). Put y = vx, so dy/dx = v + x dv/dx, then separate v and x. (For dx/dy = h(x/y), put x = vy.)
- Linear in y: dy/dx + Py = Q (P, Q functions of x). Integrating factor I.F. = e^(∫P dx); solution y · I.F. = ∫Q · I.F. dx + C.
- Linear in x: dx/dy + P₁x = Q₁ (P₁, Q₁ functions of y). I.F. = e^(∫P₁ dy); solution x · I.F. = ∫Q₁ · I.F. dy + C.
- Growth/decay problems: 'rate proportional to the amount' means dy/dt = ky, whose solution is y = y₀e^(kt).
- To verify a given solution, differentiate it the required number of times and substitute into the equation.
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 9 Differential Equations?
6 (Exercise 9.1, Exercise 9.2, Exercise 9.3, Exercise 9.4, Exercise 9.5, Miscellaneous Exercise on Chapter 9), with 103 questions and parts in all. Every one is solved on this page.
Can I download the Class 12 Maths Chapter 9 Differential Equations 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 Differential Equations asked in the CBSE board exam?
Yes: 10 board questions from 4 papers (2022–2025), 17 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