NCERT Solutions · Class 12 Maths · NCERT Mathematics Part I and II Part II · Chapter 9
Chapter 9: Differential Equations (Calculus)
Step-by-step solutions to all exercises of Chapter 9, Differential Equations (NCERT Class 12 Maths Part II, 2026-27): Exercise 9.1 (order and degree), 9.2 (verifying solutions), 9.3 (variables separable), 9.4 (homogeneous equations), 9.5 (linear equations) and the Miscellaneous Exercise. All 98 questions are answered, with the key answer highlighted.
Print / save as PDF NCERT textbook Chapter 9 (PDF)
Exam revision? Chapter 9 notes with key points, diagrams and practice questions: see the free sample · ₹199 for all 13 chapters
Free NCERT solutions by Notes Bazar · www.notesbazar.in/ncert-solutions/class-12-maths/chapter-9-differential-equations
Exercise 9.1 Exercise 9.2 Exercise 9.3 Exercise 9.4 Exercise 9.5 Miscellaneous Exercise on Chapter 9 Order = highest derivative; degree = its power when the equation is a polynomial in the derivatives (else not defined). Variables separable: bring all y to one side, all x to the other, integrate. Homogeneous d x d y = F ( x y ) : put y = v x , d x d y = v + x d x d v . Linear d x d y + P y = Q : integrating factor IF = e ∫ P d x , solution y ⋅ IF = ∫ Q ⋅ IF d x + C .
Exercise 9.1
1 Determine order and degree (if defined): d x 4 d 4 y + sin ( y ′′′ ) = 0
Solution
Highest derivative: y ′′′′ , so order 4. The term sin ( y ′′′ ) is not a polynomial in the derivatives, so the degree is not defined.
Order 4; degree not defined
2 Determine order and degree: y′ + 5y = 0
Solution
Highest derivative y′ with power 1.
Order 1; degree 1
3 Determine order and degree: ( d t d s ) 4 + 3 s d t 2 d 2 s = 0
Solution
Highest derivative is d t 2 d 2 s (order 2), appearing with power 1.
Order 2; degree 1
4 Determine order and degree: ( d x 2 d 2 y ) 2 + cos ( d x d y ) = 0
Solution
Order 2. cos ( d x d y ) is not a polynomial term.
Order 2; degree not defined
5 Determine order and degree: d x 2 d 2 y = cos 3 x + sin 3 x
Solution
Order 2; degree 1
6 Determine order and degree: (y‴)² + (y″)³ + (y′)⁴ + y⁵ = 0
Solution
Highest derivative y‴, power 2.
Order 3; degree 2
7 Determine order and degree: y‴ + 2y″ + y′ = 0
Solution
Order 3; degree 1
8 Determine order and degree: y′ + y = eˣ
Solution
Order 1; degree 1
9 Determine order and degree: y″ + (y′)² + 2y = 0
Solution
Highest derivative y″ appears with power 1.
Order 2; degree 1
10 Determine order and degree: y″ + 2y′ + sin y = 0
Solution
sin y is a function of y, not of a derivative, so the equation is a polynomial in the derivatives.
Order 2; degree 1
11 The degree of the differential equation ( d x 2 d 2 y ) 3 + ( d x d y ) 2 + sin ( d x d y ) + 1 = 0 is (A) 3 (B) 2 (C) 1 (D) not defined
Solution
sin ( d x d y ) makes it a non-polynomial in the derivatives.
(D)
12 The order of the differential equation 2 x 2 d x 2 d 2 y − 3 d x d y + y = 0 is (A) 2 (B) 1 (C) 0 (D) not defined
Exercise 9.2
1 Verify that y = eˣ + 1 is a solution of y″ – y′ = 0.
Solution
y ′ = e x , y ′′ = e x . So y ′′ − y ′ = 0 .
Verified.
2 Verify that y = x² + 2x + C is a solution of y′ – 2x – 2 = 0.
Solution
y ′ = 2 x + 2 , so y ′ − 2 x − 2 = 0 .
Verified.
3 Verify that y = cos x + C is a solution of y′ + sin x = 0.
Solution
y ′ = − sin x , so y ′ + sin x = 0 .
Verified.
4 Verify that
y = 1 + x 2 is a solution of
y ′ = 1 + x 2 x y .
Solution
y ′ = 1 + x 2 x = 1 + x 2 x 1 + x 2 = 1 + x 2 x y .
Verified.
5 Verify that y = Ax is a solution of xy′ = y (x ≠ 0).
Solution
y ′ = A , so x y ′ = A x = y .
Verified.
6 Verify that y = x sin x is a solution of
x y ′ = y + x x 2 − y 2 (x ≠ 0 and x > y or x < –y).
Solution
y ′ = sin x + x cos x , so x y ′ = x sin x + x 2 cos x = y + x 2 cos x .
RHS: x x 2 − x 2 sin 2 x = x ⋅ x cos x = x 2 cos x (in the given range). So LHS = RHS.
Verified.
7 Verify that xy = log y + C is a solution of y ′ = 1 − x y y 2 (xy ≠ 1).
Solution
Differentiate: y + x y ′ = y y ′ ⇒ y ′ ( y 1 − x ) = y ⇒ y ′ ⋅ y 1 − x y = y .
y ′ = 1 − x y y 2 : verified.
8 Verify that y – cos y = x is a solution of (y sin y + cos y + x) y′ = y.
Solution
Differentiate: y ′ + sin y ⋅ y ′ = 1 ⇒ y ′ = 1 + sin y 1 .
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 + sin y 1 = y .
Verified.
9 Verify that x + y = tan⁻¹ y is a solution of y² y′ + y² + 1 = 0.
Solution
Differentiate: 1 + y ′ = 1 + y 2 y ′ ⇒ y ′ ( 1 + y 2 1 − 1 ) = 1 ⇒ y ′ ⋅ 1 + y 2 − y 2 = 1 .
So − y 2 y ′ = 1 + y 2 , i.e. y 2 y ′ + y 2 + 1 = 0 .
Verified.
10 Verify that
y = a 2 − x 2 , x ∈ (–a, a) is a solution of
x + y d x d y = 0 (y ≠ 0).
Solution
d x d y = a 2 − x 2 − x = − y x , so x + y d x d y = x − x = 0 .
Verified.
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
Solution
The general solution has as many arbitrary constants as the order.
(D)
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
Solution
A particular solution has no arbitrary constants.
(D)
Exercise 9.3
1 Find the general solution: d x d y = 1 + cos x 1 − cos x
Solution
1 + cos x 1 − cos x = tan 2 2 x = sec 2 2 x − 1 , so y = ∫ ( sec 2 2 x − 1 ) d x .
y = 2 tan 2 x − x + C
2 Find the general solution:
d x d y = 4 − y 2 (–2 < y < 2)
Solution
4 − y 2 d y = d x ⇒ sin − 1 2 y = x + C .
y = 2 sin ( x + C )
3 Find the general solution: d x d y + y = 1 (y ≠ 1)
Solution
1 − y d y = d x ⇒ − log ∣1 − y ∣ = x + C ⇒ 1 − y = ± e − C e − x .
y = 1 + A e − x
4 Find the general solution: sec² x tan y dx + sec² y tan x dy = 0
Solution
Divide by tan x tan y : tan x sec 2 x d x + tan y sec 2 y d y = 0 .
log ∣ tan x ∣ + log ∣ tan y ∣ = log C .
tan x tan y = C
5 Find the general solution: (eˣ + e⁻ˣ) dy – (eˣ – e⁻ˣ) dx = 0
Solution
d y = e x + e − x e x − e − x d x ; the numerator is the derivative of the denominator.
y = log ( e x + e − x ) + C
6 Find the general solution: d x d y = ( 1 + x 2 ) ( 1 + y 2 )
Solution
1 + y 2 d y = ( 1 + x 2 ) d x .
tan − 1 y = x + 3 x 3 + C
7 Find the general solution: y log y dx – x dy = 0
Solution
y log y d y = x d x ⇒ log ∣ log y ∣ = log ∣ x ∣ + log c ⇒ log y = c x .
y = e c x
8 Find the general solution: x 5 d x d y = − y 5
Solution
y − 5 d y = − x − 5 d x ⇒ − 4 y − 4 = − − 4 x − 4 + C ′ ⇒ − y − 4 = x − 4 + 4 C ′ .
x − 4 + y − 4 = C
9 Find the general solution: d x d y = sin − 1 x
Solution
y = ∫ sin − 1 x d x = x sin − 1 x − ∫ 1 − x 2 x d x = x sin − 1 x + 1 − x 2 .
y = x sin − 1 x + 1 − x 2 + C
10 Find the general solution: eˣ tan y dx + (1 – eˣ) sec² y dy = 0
Solution
tan y sec 2 y d y = e x − 1 e x d x ⇒ log ∣ tan y ∣ = log ∣ e x − 1∣ + log C .
tan y = C ( 1 − e x ) (sign absorbed in C)
11 Find a particular solution: ( x 3 + x 2 + x + 1 ) d x d y = 2 x 2 + x ; y = 1 when x = 0
Solution
x 3 + x 2 + x + 1 = ( x + 1 ) ( x 2 + 1 ) . ( x + 1 ) ( x 2 + 1 ) 2 x 2 + x = x + 1 1/2 + x 2 + 1 2 3 x − 2 1 .
y = 2 1 log ∣ x + 1∣ + 4 3 log ( x 2 + 1 ) − 2 1 tan − 1 x + C . At x = 0 , y = 1 : C = 1 .
y = 4 1 log [ ( x + 1 ) 2 ( x 2 + 1 ) 3 ] − 2 1 tan − 1 x + 1
12 Find a particular solution: x ( x 2 − 1 ) d x d y = 1 ; y = 0 when x = 2
Solution
x ( x − 1 ) ( x + 1 ) 1 = − x 1 + x − 1 1/2 + x + 1 1/2 , so y = 2 1 log x 2 x 2 − 1 + C .
At x = 2 : 0 = 2 1 log 4 3 + C ⇒ C = − 2 1 log 4 3 .
y = 2 1 log ( x 2 x 2 − 1 ) − 2 1 log 4 3
13 Find a particular solution: cos ( d x d y ) = a (a ∈ R); y = 1 when x = 0
Solution
d x d y = cos − 1 a ⇒ y = x cos − 1 a + C . At x = 0 : C = 1 . So x y − 1 = cos − 1 a .
cos ( x y − 1 ) = a
14 Find a particular solution: d x d y = y tan x ; y = 1 when x = 0
Solution
y d y = tan x d x ⇒ log ∣ y ∣ = log ∣ sec x ∣ + C . At x = 0 , y = 1 : C = 0 .
y = sec x
15 Find the equation of a curve passing through the point (0, 0) and whose differential equation is y′ = eˣ sin x.
Solution
y = ∫ e x sin x d x = 2 e x ( sin x − cos x ) + C (by parts twice). At (0, 0): 0 = − 2 1 + C ⇒ C = 2 1 .
2 y − 1 = e x ( sin x − cos x )
16 For the differential equation x y d x d y = ( x + 2 ) ( y + 2 ) , find the solution curve passing through the point (1, –1).
Solution
y + 2 y d y = x x + 2 d x ⇒ ( 1 − y + 2 2 ) d y = ( 1 + x 2 ) d x .
y − 2 log ∣ y + 2∣ = x + 2 log ∣ x ∣ + C . At (1, −1): − 1 = 1 + C ⇒ C = − 2 .
y − x + 2 = log ( x 2 ( y + 2 ) 2 )
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.
Solution
y d x d y = x ⇒ y d y = x d x ⇒ 2 y 2 = 2 x 2 + C ′ , so y 2 − x 2 = C . At (0, −2): C = 4 .
y 2 − x 2 = 4
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).
Solution
d x d y = x + 4 2 ( y + 3 ) ⇒ y + 3 d y = x + 4 2 d x ⇒ y + 3 = K ( x + 4 ) 2 .
At (−2, 1): 4 = 4 K ⇒ K = 1 .
( x + 4 ) 2 = y + 3
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.
Solution
d t d V = k ⇒ 3 4 π r 3 = k t + C .
t = 0 , r = 3 : C = 36 π . t = 3 , r = 6 : 288 π = 3 k + 36 π ⇒ k = 84 π .
3 4 π r 3 = 84 π t + 36 π ⇒ r 3 = 63 t + 27 .
r = ( 63 t + 27 ) 1/3
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).
Solution
d t d P = 100 r P ⇒ P = P 0 e r t /100 . Doubling in 10 years: 2 = e r /10 ⇒ r = 10 log e 2 = 6.931 .
r = 6.93%
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⁰·⁵ = 1.648).
Solution
P = 1000 e 0.05 × 10 = 1000 e 0.5 = 1000 × 1.648 .
₹1648
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?
Solution
d t d N = k N ⇒ N = N 0 e k t . After 2 h: 1 , 10 , 000 = 1 , 00 , 000 e 2 k ⇒ e 2 k = 10 11 , k = 2 1 log 10 11 .
For N = 2 , 00 , 000 : 2 = e k t ⇒ t = k log 2 = log 10 11 2 log 2 .
log ( 11/10 ) 2 log 2 hours (about 14.5 h)
23 The general solution of the differential equation d x d y = e x + y is (A) eˣ + e⁻ʸ = C (B) eˣ + eʸ = C (C) e⁻ˣ + eʸ = C (D) e⁻ˣ + e⁻ʸ = C
Solution
e − y d y = e x d x ⇒ − e − y = e x + c ⇒ e x + e − y = C .
(A)
Exercise 9.4
1 Show that the equation is homogeneous and solve: (x² + xy) dy = (x² + y²) dx
Solution
d x d y = x 2 + x y x 2 + y 2 (degree 0 in x, y: homogeneous). Put y = v x :
v + x d x d v = 1 + v 1 + v 2 ⇒ x d x d v = 1 + v 1 − v .
1 − v 1 + v d v = x d x , and 1 − v 1 + v = − 1 + 1 − v 2 : − v − 2 log ∣1 − v ∣ = log ∣ x ∣ + C .
With v = x y : log ∣ x ∣ − 2 log ∣ x − y ∣ = C + x y , i.e. ( x − y ) 2 x = C 1 e y / x .
( x − y ) 2 = C x e − y / x
2 Show that the equation is homogeneous and solve: y ′ = x x + y
Solution
v + x d x d v = 1 + v ⇒ d v = x d x ⇒ v = log ∣ x ∣ + C .
y = x log ∣ x ∣ + C x
Revise Chapter 9 faster Class 12 Mathematics notes: short explanations, diagrams, important questions with answers.
Free sample
3 Show that the equation is homogeneous and solve: (x – y) dy – (x + y) dx = 0
Solution
d x d y = x − y x + y ; y = v x : x d x d v = 1 − v 1 + v − v = 1 − v 1 + v 2 .
1 + v 2 1 − v d v = x d x ⇒ tan − 1 v − 2 1 log ( 1 + v 2 ) = log ∣ x ∣ + C .
Since 2 1 log ( 1 + v 2 ) + log ∣ x ∣ = 2 1 log ( x 2 + y 2 ) :
tan − 1 ( x y ) = 2 1 log ( x 2 + y 2 ) + C
4 Show that the equation is homogeneous and solve: (x² – y²) dx + 2xy dy = 0
Solution
d x d y = 2 x y y 2 − x 2 ; y = v x : x d x d v = 2 v v 2 − 1 − v = − 2 v 1 + v 2 .
1 + v 2 2 v d v = − x d x ⇒ log ( 1 + v 2 ) = − log ∣ x ∣ + log C ⇒ x ( 1 + v 2 ) = C .
x 2 + y 2 = C x
5 Show that the equation is homogeneous and solve: x 2 d x d y = x 2 − 2 y 2 + x y
Solution
d x d y = 1 − 2 v 2 + v ; y = v x : x d x d v = 1 − 2 v 2 ⇒ 1 − 2 v 2 d v = x d x .
∫ 1 − ( 2 v ) 2 d v = 2 2 1 log 1 − 2 v 1 + 2 v .
2 2 1 log x − 2 y x + 2 y = log ∣ x ∣ + C
6 Show that the equation is homogeneous and solve:
x d y − y d x = x 2 + y 2 d x Solution
d x d y = x y + x 2 + y 2 ; y = v x : x d x d v = 1 + v 2 .
1 + v 2 d v = x d x ⇒ log v + 1 + v 2 = log ∣ x ∣ + log C ⇒ v + 1 + v 2 = C x .
y + x 2 + y 2 = C x 2
7 Show that the equation is homogeneous and solve: { x cos ( x y ) + y sin ( x y ) } y d x = { y sin ( x y ) − x cos ( x y ) } x d y
Solution
d x d y = v sin v − cos v v ( cos v + v sin v ) . With y = v x :
x d x d v = v sin v − cos v v cos v + v 2 sin v − v 2 sin v + v cos v = v sin v − cos v 2 v cos v .
( tan v − v 1 ) d v = x 2 d x ⇒ − log ∣ cos v ∣ − log ∣ v ∣ = 2 log ∣ x ∣ + C ⇒ x 2 v cos v = C ′ .
x y cos ( x y ) = C
8 Show that the equation is homogeneous and solve: x d x d y − y + x sin ( x y ) = 0
Solution
d x d y = v − sin v ; y = v x : x d x d v = − sin v .
cosec v d v = − x d x ⇒ log ∣ cosec v − cot v ∣ = − log ∣ x ∣ + log C ⇒ x ⋅ sin v 1 − cos v = C .
x [ 1 − cos ( x y ) ] = C sin ( x y )
9 Show that the equation is homogeneous and solve: y d x + x log ( x y ) d y − 2 x d y = 0
Solution
d x d y = 2 x − x log x y y = 2 − log v v . With y = v x : x d x d v = 2 − log v v ( log v − 1 ) .
v ( log v − 1 ) 2 − log v d v = x d x . Put t = log v − 1 , d t = v d v : t 1 − t d t = x d x .
log ∣ t ∣ − t = log ∣ x ∣ + C ⇒ x t = K e t , and e t = e x y : log x y − 1 = e K y .
cy = log x y − 1
10 Show that the equation is homogeneous and solve: ( 1 + e x / y ) d x + e x / y ( 1 − y x ) d y = 0
Solution
d y d x = − 1 + e x / y e x / y ( 1 − y x ) . Put x = v y : v + y d y d v = − 1 + e v e v ( 1 − v ) .
y d y d v = 1 + e v − e v + v e v − v − v e v = − 1 + e v v + e v .
v + e v 1 + e v d v = − y d y ⇒ log ∣ v + e v ∣ = − log ∣ y ∣ + log C ⇒ y ( v + e v ) = C .
x + y e x / y = C
11 Find the particular solution: (x + y) dy + (x – y) dx = 0; y = 1 when x = 1
Solution
d x d y = x + y y − x ; y = v x : x d x d v = 1 + v v − 1 − v = − 1 + v 1 + v 2 .
1 + v 2 1 + v d v = − x d x ⇒ tan − 1 v + 2 1 log ( 1 + v 2 ) = − log ∣ x ∣ + C , i.e. tan − 1 x y + 2 1 log ( x 2 + y 2 ) = C .
At (1, 1): C = 4 π + 2 1 log 2 .
log ( x 2 + y 2 ) + 2 tan − 1 ( x y ) = 2 π + log 2
12 Find the particular solution: x² dy + (xy + y²) dx = 0; y = 1 when x = 1
Solution
d x d y = − ( v + v 2 ) ; x d x d v = − ( v 2 + 2 v ) .
v ( v + 2 ) d v = − x d x ⇒ 2 1 log v + 2 v = − log ∣ x ∣ + C ⇒ v + 2 x 2 v = K , i.e. y + 2 x x 2 y = K .
At (1, 1): K = 3 1 .
y + 2 x = 3 x 2 y
13 Find the particular solution: [ x sin 2 ( x y ) − y ] d x + x d y = 0 ; y = π/4 when x = 1
Solution
d x d y = v − sin 2 v ; x d x d v = − sin 2 v .
cosec 2 v d v = − x d x ⇒ − cot v = − log ∣ x ∣ − C ⇒ cot v = log ∣ x ∣ + C .
At x = 1 , v = 4 π : 1 = C . And log ∣ x ∣ + 1 = log ∣ e x ∣ .
cot ( x y ) = log ∣ e x ∣
14 Find the particular solution: d x d y − x y + cosec ( x y ) = 0 ; y = 0 when x = 1
Solution
y = v x : x d x d v = − cosec v ⇒ sin v d v = − x d x ⇒ cos v = log ∣ x ∣ + C .
At (1, 0): C = 1 .
cos ( x y ) = log ∣ e x ∣
15 Find the particular solution: 2 x y + y 2 − 2 x 2 d x d y = 0 ; y = 2 when x = 1
Solution
d x d y = v + 2 v 2 ; x d x d v = 2 v 2 .
v 2 2 d v = x d x ⇒ − v 2 = log ∣ x ∣ + C ⇒ − y 2 x = log ∣ x ∣ + C . At (1, 2): C = − 1 .
y = 1 − log ∣ x ∣ 2 x (x ≠ 0, x ≠ e)
16 A homogeneous differential equation of the form d y d x = h ( y x ) can be solved by making the substitution (A) y = vx (B) v = yx (C) x = vy (D) x = v
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
Solution
In (D) every term has degree 2; (A) has constants, (B) and (C) mix degrees.
(D)
Exercise 9.5
1 Find the general solution: d x d y + 2 y = sin x
Solution
P = 2 , IF = e 2 x . y e 2 x = ∫ e 2 x sin x d x = 5 e 2 x ( 2 sin x − cos x ) + C .
y = 5 1 ( 2 sin x − cos x ) + C e − 2 x
2 Find the general solution: d x d y + 3 y = e − 2 x
Solution
IF = e 3 x : y e 3 x = ∫ e x d x = e x + C .
y = e − 2 x + C e − 3 x
3 Find the general solution: d x d y + x y = x 2
Solution
IF = e l o g x = x : x y = ∫ x 3 d x .
x y = 4 x 4 + C
4 Find the general solution: d x d y + ( sec x ) y = tan x (0 ≤ x < π/2)
Solution
IF = e ∫ s e c x d x = sec x + tan x .
y ( sec x + tan x ) = ∫ ( sec x tan x + tan 2 x ) d x = ∫ ( sec x tan x + sec 2 x − 1 ) d x
y ( sec x + tan x ) = sec x + tan x − x + C
5 Find the general solution: cos 2 x d x d y + y = tan x (0 ≤ x < π/2)
Solution
d x d y + sec 2 x ⋅ y = tan x sec 2 x ; IF = e t a n x .
y e t a n x = ∫ tan x sec 2 x e t a n x d x = ∫ t e t d t (t = tan x) = ( t − 1 ) e t + C .
y = ( tan x − 1 ) + C e − t a n x
6 Find the general solution: x d x d y + 2 y = x 2 log x
Solution
d x d y + x 2 y = x log x ; IF = x 2 .
x 2 y = ∫ x 3 log x d x = 4 x 4 log x − 16 x 4 + C .
y = 16 x 2 ( 4 log x − 1 ) + C x − 2
7 Find the general solution: x log x d x d y + y = x 2 log x
Solution
d x d y + x log x y = x 2 2 ; IF = e ∫ x l o g x d x = log x .
y log x = ∫ x 2 2 log x d x = 2 [ − x log x + ∫ x 2 d x ] = − x 2 ( 1 + log x ) + C .
y log x = − x 2 ( 1 + log x ) + C
8 Find the general solution: (1 + x²) dy + 2xy dx = cot x dx (x ≠ 0)
Solution
d x d y + 1 + x 2 2 x y = 1 + x 2 cot x ; IF = 1 + x 2 .
y ( 1 + x 2 ) = ∫ cot x d x .
y ( 1 + x 2 ) = log ∣ sin x ∣ + C
9 Find the general solution: x d x d y + y − x + x y cot x = 0 (x ≠ 0)
Solution
d x d y + ( x 1 + cot x ) y = 1 ; IF = e l o g x + l o g s i n x = x sin x .
x y sin x = ∫ x sin x d x = − x cos x + sin x + C .
y = x 1 − cot x + x sin x C
10 Find the general solution: ( x + y ) d x d y = 1
Solution
d y d x = x + y ⇒ d y d x − x = y (linear in x); IF = e − y .
x e − y = ∫ y e − y d y = − y e − y − e − y + C ⇒ x = − y − 1 + C e y .
x + y + 1 = C e y
11 Find the general solution: y dx + (x – y²) dy = 0
Solution
d y d x + y x = y ; IF = y . x y = ∫ y 2 d y = 3 y 3 + C .
x = 3 y 2 + y C
12 Find the general solution: ( x + 3 y 2 ) d x d y = y (y > 0)
Solution
d y d x = y x + 3 y 2 ⇒ d y d x − y x = 3 y ; IF = y 1 . y x = ∫ 3 d y = 3 y + C .
x = 3 y 2 + C y
13 Find a particular solution: d x d y + 2 y tan x = sin x ; y = 0 when x = π/3
Solution
IF = e 2 l o g s e c x = sec 2 x . y sec 2 x = ∫ sin x sec 2 x d x = ∫ sec x tan x d x = sec x + C .
At x = 3 π : 0 = 2 + C ⇒ C = − 2 . So y sec 2 x = sec x − 2 .
y = cos x − 2 cos 2 x
14 Find a particular solution: ( 1 + x 2 ) d x d y + 2 x y = 1 + x 2 1 ; y = 0 when x = 1
Solution
d x d y + 1 + x 2 2 x y = ( 1 + x 2 ) 2 1 ; IF = 1 + x 2 . y ( 1 + x 2 ) = tan − 1 x + C .
At x = 1 : 0 = 4 π + C .
y ( 1 + x 2 ) = tan − 1 x − 4 π
15 Find a particular solution: d x d y − 3 y cot x = sin 2 x ; y = 2 when x = π/2
Solution
IF = e − 3 l o g s i n x = sin 3 x 1 . sin 3 x y = ∫ sin 3 x 2 sin x cos x d x = ∫ sin 2 x 2 cos x d x = − sin x 2 + C .
At x = 2 π : 2 = − 2 + C ⇒ C = 4 .
y = 4 sin 3 x − 2 sin 2 x
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.
Solution
d x d y = x + y ⇒ d x d y − y = x ; IF = e − x .
y e − x = ∫ x e − x d x = − ( x + 1 ) e − x + C . Through (0, 0): C = 1 . So y = − ( x + 1 ) + e x .
x + y + 1 = e x
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.
Solution
x + y − d x d y = 5 ⇒ d x d y − y = x − 5 ; IF = e − x .
y e − x = ∫ ( x − 5 ) e − x d x = − ( x − 5 ) e − x − e − x + C = ( 4 − x ) e − x + C , so y = 4 − x + C e x .
At (0, 2): 2 = 4 + C ⇒ C = − 2 .
y = 4 − x − 2 e x
18 The Integrating Factor of the differential equation x d x d y − y = 2 x 2 is (A) e⁻ˣ (B) e⁻ʸ (C) 1/x (D) x
Solution
d x d y − x y = 2 x : P = − x 1 , IF = e − l o g x = x 1 .
(C)
19 The Integrating Factor of the differential equation
( 1 − y 2 ) d y d x + y x = a y (–1 < y < 1) is (A)
y 2 − 1 1 (B)
y 2 − 1 1 (C)
1 − y 2 1 (D)
1 − y 2 1 Solution
d y d x + 1 − y 2 y x = 1 − y 2 a y : IF = e ∫ 1 − y 2 y d y = e − 2 1 l o g ( 1 − y 2 ) = 1 − y 2 1 .
(D)
Miscellaneous Exercise on Chapter 9
1 Indicate order and degree (if defined): (i) d x 2 d 2 y + 5 x ( d x d y ) 2 − 6 y = log x (ii) ( d x d y ) 3 − 4 ( d x d y ) 2 + 7 y = sin x (iii) d x 4 d 4 y − sin ( d x 3 d 3 y ) = 0
Solution
(i) Highest derivative y ′′ , power 1. (ii) Only y ′ appears; highest power 3. (iii) sin ( y ′′′ ) is not polynomial.
(i) Order 2; degree 1 (ii) Order 1; degree 3 (iii) Order 4; degree not defined
2 Verify that the given function is a solution of the corresponding differential equation: (i) xy = aeˣ + be⁻ˣ + x² : x d x 2 d 2 y + 2 d x d y − x y + x 2 − 2 = 0 (ii) y = eˣ (a cos x + b sin x) : d x 2 d 2 y − 2 d x d y + 2 y = 0 (iii) y = x sin 3x : d x 2 d 2 y + 9 y − 6 cos 3 x = 0 (iv) x² = 2y² log y : ( x 2 + y 2 ) d x d y − x y = 0
Solution
(i) Differentiate: y + x y ′ = a e x − b e − x + 2 x . Again: 2 y ′ + x y ′′ = a e x + b e − x + 2 = ( x y − x 2 ) + 2 . So x y ′′ + 2 y ′ − x y + x 2 − 2 = 0 .
(ii) y ′ = e x [( a + b ) cos x + ( b − a ) sin x ] , y ′′ = e x [ 2 b cos x − 2 a sin x ] .
y ′′ − 2 y ′ + 2 y = e x [( 2 b − 2 a − 2 b + 2 a ) cos x + ( − 2 a − 2 b + 2 a + 2 b ) sin x ] = 0 .
(iii) y ′ = sin 3 x + 3 x cos 3 x , y ′′ = 6 cos 3 x − 9 x sin 3 x = 6 cos 3 x − 9 y . So y ′′ + 9 y − 6 cos 3 x = 0 .
(iv) Differentiate: 2 x = y ′ ( 4 y log y + 2 y ) = 2 y y ′ ( 2 log y + 1 ) . From the equation, 2 log y = y 2 x 2 , so 2 x = 2 y y ′ ⋅ y 2 x 2 + y 2 , giving y ′ = x 2 + y 2 x y .
All four verified.
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.
Solution
Differentiate: 2 x − 2 y y ′ = 2 c ( x 2 + y 2 ) ( 2 x + 2 y y ′ ) ⇒ x − y y ′ = 2 c ( x 2 + y 2 ) ( x + y y ′ ) .
Eliminate c using c = ( x 2 + y 2 ) 2 x 2 − y 2 : ( x − y y ′ ) ( x 2 + y 2 ) = 2 ( x 2 − y 2 ) ( x + y y ′ ) .
x 3 + x y 2 − y y ′ ( x 2 + y 2 ) = 2 x 3 − 2 x y 2 + 2 y y ′ ( x 2 − y 2 )
y ′ ( − x 2 y − y 3 − 2 x 2 y + 2 y 3 ) = x 3 − 3 x y 2 ⇒ y ′ ( y 3 − 3 x 2 y ) = x 3 − 3 x y 2 .
This is ( x 3 − 3 x y 2 ) d x = ( y 3 − 3 x 2 y ) d y . Proved.
4 Find the general solution of the differential equation
d x d y + 1 − x 2 1 − y 2 = 0 .
Solution
1 − y 2 d y = − 1 − x 2 d x ⇒ sin − 1 y = − sin − 1 x + C .
sin − 1 y + sin − 1 x = C
5 Show that the general solution of the differential equation d x d y + x 2 + x + 1 y 2 + y + 1 = 0 is given by (x + y + 1) = A (1 – x – y – 2xy), where A is parameter.
Solution
y 2 + y + 1 d y + x 2 + x + 1 d x = 0 . Since ∫ ( x + 2 1 ) 2 + 4 3 d x = 3 2 tan − 1 3 2 x + 1 :
tan − 1 3 2 y + 1 + tan − 1 3 2 x + 1 = C .
Take tan of both sides:
1 − 3 ( 2 x + 1 ) ( 2 y + 1 ) 3 2 x + 2 y + 2 = 2 − 2 x − 2 y − 4 x y 2 3 ( x + y + 1 ) = 1 − x − y − 2 x y 3 ( x + y + 1 ) = tan C
x + y + 1 = A ( 1 − x − y − 2 x y ) with A = 3 tan C . Shown.
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.
Solution
Divide by cos x cos y : tan x d x + tan y d y = 0 ⇒ log ∣ sec x ∣ + log ∣ sec y ∣ = log C ⇒ sec x sec y = C .
At ( 0 , 4 π ) : C = 2 .
cos y = 2 sec x
7 Find the particular solution of the differential equation (1 + e²ˣ) dy + (1 + y²) eˣ dx = 0, given that y = 1 when x = 0.
Solution
1 + y 2 d y = − 1 + e 2 x e x d x ⇒ tan − 1 y = − tan − 1 e x + C .
At x = 0 , y = 1 : 4 π = − 4 π + C ⇒ C = 2 π .
tan − 1 y + tan − 1 ( e x ) = 2 π
8 Solve the differential equation y e x / y d x = ( x e x / y + y 2 ) d y (y ≠ 0).
Solution
d y d x = y x + y e − x / y . Put x = v y : v + y d y d v = v + y e − v ⇒ e v d v = d y ⇒ e v = y + C .
e x / y = y + C
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)
Solution
t = x − y , d t = d x − d y , so d x + d y = 2 d x − d t : t ( 2 d x − d t ) = d t ⇒ 2 d x = ( 1 + t 1 ) d t .
2 x = t + log ∣ t ∣ + C ⇒ 2 x = x − y + log ∣ x − y ∣ + C ⇒ x + y = log ∣ x − y ∣ + C .
At (0, −1): − 1 = 0 + C .
log ∣ x − y ∣ = x + y + 1
10 Solve the differential equation
[ x e − 2 x − x y ] d y d x = 1 (x ≠ 0).
Solution
d x d y + x y = x e − 2 x ; IF = e ∫ x − 1/2 d x = e 2 x .
y e 2 x = ∫ x d x .
y e 2 x = 2 x + C
11 Find a particular solution of the differential equation d x d y + y cot x = 4 x cosec x (x ≠ 0), given that y = 0 when x = π/2.
Solution
IF = e ∫ c o t x d x = sin x . y sin x = ∫ 4 x d x = 2 x 2 + C .
At x = 2 π : 0 = 2 π 2 + C .
y sin x = 2 x 2 − 2 π 2 (sin x ≠ 0)
12 Find a particular solution of the differential equation ( x + 1 ) d x d y = 2 e − y − 1 , given that y = 0 when x = 0.
Solution
2 e − y − 1 d y = x + 1 d x ⇒ 2 − e y e y d y = x + 1 d x ⇒ − log ∣2 − e y ∣ = log ∣ x + 1∣ + C ⇒ ( 2 − e y ) ( x + 1 ) = K .
At (0, 0): K = 1 . So e y = 2 − x + 1 1 = x + 1 2 x + 1 .
y = log x + 1 2 x + 1 , x ≠ −1
13 The general solution of the differential equation y y d x − x d y = 0 is (A) xy = C (B) x = Cy² (C) y = Cx (D) y = Cx²
Solution
y d x = x d y ⇒ x d x = y d y ⇒ log ∣ y ∣ = log ∣ x ∣ + log C .
(C)
14 The general solution of a differential equation of the type d y d x + P 1 x = Q 1 is (A) y e ∫ P 1 d y = ∫ ( Q 1 e ∫ P 1 d y ) d y + C (B) y e ∫ P 1 d x = ∫ ( Q 1 e ∫ P 1 d x ) d x + C (C) x e ∫ P 1 d y = ∫ ( Q 1 e ∫ P 1 d y ) d y + C (D) x e ∫ P 1 d x = ∫ ( Q 1 e ∫ P 1 d x ) d x + C
Solution
The equation is linear in x with y as the independent variable, so IF = e ∫ P 1 d y and x is multiplied by it.
(C)
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
Solution
e x d y + y e x d x = d ( y e x ) , so d ( y e x ) + 2 x d x = 0 ⇒ y e x + x 2 = C .
(C)
Found a mistake or need help with a question? Message us on WhatsApp . Free study tips and new solutions: join our WhatsApp Channel .