Differential Equations
Order & degree of ODEs, general vs particular solutions, variable separable method, homogeneous equations (y = vx), linear ODEs with integrating factor, and growth/cooling models.
Topic 9.2: Order & Degree of Differential Equations (Polynomial-in-Derivatives Trap)
x + 3 = 7 hunts for a single mystery number. A Differential Equation hunts for an entire curve y(x) by connecting y with its rates of change (y', y'', y''') — just like saying "how fast a cricket ball slows down depends on its current speed!" Before solving any differential equation, we classify it by two tags: Order and Degree.1, 2, 3...)Note:
y''' beats (y')⁴!sin(y'), cos(y''), e^(y'), log(y')!sin, cos, e^, or log, yell "NOT DEFINED!" (Functions of x like cos x are TOTALLY FINE!)y''' is King, y'' is Duke, y' is Knight. Order just asks "Who is the highest-ranking derivative in the room?" Degree asks "What clean whole-number exponent is on that highest derivative?" — provided NO derivative is locked inside trig, log, or exponential jail!| Differential Equation | Order | Degree | Reason |
|---|---|---|---|
(y''')² + (y'')³ + (y')⁴ + y⁵ = 0 | 3 | 2 | Highest derivative is y''', raised to power 2 |
dydx − cos x = 0 | 1 | 1 | cos x wraps x (NOT y'!), so polynomial in y' |
d⁴ydx⁴ + sin(y''') = 0 | 4 | Not Defined | y''' is trapped inside sin(...)! |
(1 + (y')²)3/2 = k y'' | 2 | 2 | Square both sides: (1+(y')²)³ = k²(y'')² |
d²ydx² + cos(3x) = 0 and wrongly writing "Degree Not Defined" — cos(3x) has NO derivative inside it, so Degree = 1! (2) Seeing y''' + y² + e^(y') = 0 and looking only at y''' — even though e^(y') has a lower derivative, it STILL breaks the polynomial rule, making Degree Not Defined! (3) Forgetting to square fractional powers like √y'' or (y')^(1/3) before reading Degree!Topic 9.3: General Solution (Arbitrary Constants = Order) vs Particular Solution
dydx = 2x, forming an infinite stacked family y = x² + C — that whole family is the General Solution! Plant ONE flag at (1, 3), and only ONE single track passes through it (C = 2 ⇒ y = x² + 2) — that unique curve is the Particular Solution!1 constant C; 3rd order → 3 constants)y(0) = 1) to eliminate ALL C's → ZERO arbitrary constants!y(x) up to order n, plug into LHS & verify LHS = RHS!C's (Count of C's = Order of DE). Particular = Pinpointed single curve with ZERO C's!1 unknown constant C. A 2nd-order equation integrates twice, producing 2 constants (c₁, c₂). Give enough pinpoint coordinates to lock every constant down, and the general family collapses into ONE particular curve!- 1Count constants in General Solution: Always equal to the order of the DE (Order 4 ⇒ 4 constants).
- 2Count constants in Particular Solution: Always 0 (every arbitrary constant gets solved to a specific number!).
- 3Verify a given solution: Compute
y', y''and substitute directly into the differential equation — don't try to re-solve from scratch when asked to "verify"!
y = a cos x + b sin x is a solution of d²ydx² + y = 0.• Differentiate once:
y' = −a sin x + b cos x.• Differentiate twice:
y'' = −a cos x − b sin x = −y.• Add
y'' + y = −y + y = 0 = RHS! Notice 2 arbitrary constants (a, b) match Order 2!
• "Number of arbitrary constants in the general solution of a differential equation of 4th order?" → Answer is
4!• "Number of arbitrary constants in the particular solution of a differential equation of 3rd order?" → Answer is
0 (ZERO), NOT 3! Read General vs Particular carefully!Topic 9.4.1: Variable Separable Method with Exponential & Trig Forms
y-terms together with dy) into the left basket, and every coloured shirt (x-terms together with dx) into the right basket! Once y and x stand neatly separated on opposite sides, integrate BOTH baskets at once and drop in one + C!dydx = f(x) · g(y)⇒
∫ dyg(y) = ∫ f(x) dx + Clog or tan⁻¹, write constant as log C (or tan⁻¹ C) for clean combining!e^(x − y) = eˣ / eʸ or e^(x + y) = eˣ · eʸ to separate powers!dy and dx MUST sit upstairs (numerators), NEVER in the denominator! Put all y's with dy on Left, all x's with dx on Right!dy/dx factors cleanly as (x-stuff) × (y-stuff) or (x-stuff) / (y-stuff)! Cross-multiply so dy stays on top of its y-fraction and dx stays on top of its x-fraction, then slap ∫ on both sides!- 1Factor into
xandyblocks: E.g.,dydx = e^(x−y) + x²e^(−y) = e^(−y)(eˣ + x²)! - 2Separate baskets: Move
y-factor besidedyanddxbesidex-factor:eʸ dy = (eˣ + x²) dx. - 3Integrate both sides & plug initial point (if a particular solution is requested) to solve
C.
1. NCERT Ex 9.3 Q5 (
sec² x tan y dx + sec² y tan x dy = 0): Divide by tan x tan y:sec² xtan x dx + sec² ytan y dy = 0 ⇒ log|tan x| + log|tan y| = log C ⇒ tan x · tan y = C!2. NCERT Example 6 (
dydx = −4xy², y(0) = 1): ∫ y⁻² dy = ∫ −4x dx ⇒ −1y = −2x² + C. Put (0, 1) ⇒ C = −1 ⇒ y = 12x² + 1!
∫ dyy² = log(y²) — WRONG! Only 1/y integrates to log|y|; 1/y² is y⁻² whose integral is −1/y! (2) Trying to separate dydx = x + y directly — addition CANNOT be separated by dividing! (3) Forgetting the sign when rewriting e^(x−y)!Topic 9.4.2: Homogeneous Differential Equations (y = vx Substitution)
dydx = x² + y²xy — notice how x and y are welded together so you can't pull them apart directly, YET every single term (x², y², xy) has exact total degree 2! That balanced-degree clue unlocks a magic zipper: substitute y = vx (the ratio v = y/x), and the equation unzips instantly into Variable Separable form!x → λx, y → λy in dydx = F(x, y):If all
λ's cancel (F(λx, λy) = λ⁰ F(x, y)), it's Homogeneous of degree 0!y = vx ⇒dydx = v + x dvdxe^(x/y) or cos(x/y) appears, write dxdy = G(x/y) & put x = vy ⇒ dxdy = v + y dvdy!y = vx! Never forget Product Rule on vx: dy/dx = v + x(dv/dx) — and swap v = y/x back at the finish!x and y in every single term (ignoring constants): in (x − y) dy = (x + 2y) dx, every term has power 1; in (x² + xy) dx + y² dy = 0, every term has power 2! Equal powers = Homogeneous!- 1Write
dydx = F(x, y)and proveF(λx, λy) = F(x, y)(needed for full 4-mark board credit!). - 2Substitute
y = vxanddydx = v + xdvdx, then cancelxto getv + xdvdx = g(v). - 3Separate
vandx:∫ dvg(v) − v = ∫ dxx→ integrate and restorev = yx!
(x² + xy) dy = (x² + y²) dx.•
dydx = x² + y²x² + xy (every term degree 2). Put y = vx ⇒ v + xdvdx = 1 + v²1 + v.• Subtract
v: xdvdx = 1 + v² − v − v²1 + v = 1 − v1 + v ⇒ ∫ 1 + v1 − v dv = ∫ dxx.• Rewrite
1 + v1 − v = −1 + 21 − v ⇒ −v − 2 log|1 − v| = log|x| + C ⇒ (x − y)² = k x e^(y/x)!
y = vx and writing dydx = xdvdx (forgetting the leading v + from Product Rule!). (2) Leaving your final answer in v instead of replacing v = y/x! (3) When you spot e^(x/y) (note x/y on top of e!), DO NOT use y = vx — use x = vy!Topic 9.4.3: First-Order Linear Differential Equations (dy/dx + Py = Q) & IF
dydx + y tan x = sec x is NEITHER separable NOR homogeneous? Meet the secret rescue key: multiply BOTH sides by one tailored function called the Integrating Factor (IF), and the entire left side magically snaps shut into a single Product Rule derivative ddx(y · IF) — letting one clean integral finish the job!dydx + Py = Q (P, Q of x only)IF = e∫ P dxy · (IF) = ∫ Q · (IF) dx + Cdxdy + P₁x = Q₁ (P₁, Q₁ of y only)IF = e∫ P₁ dyx · (IF) = ∫ Q₁ · (IF) dy + Cek log x = elog(xk) = xk(NEVER
kx! Move k to power first!)dy/dx equal to 1! Grab P WITH its +/− sign, compute IF = e∫ P dx, and write y × IF = ∫ Q × IF dx + C!y and dy/dx appear ONLY to power 1 and never multiply each other! Once you multiply by IF = e∫ P dx, the left side ALWAYS collapses to ddx(y · IF) — no guesswork!- 1Divide out anything multiplying
dy/dx: Turnx dydx + 2y = x²intodydx + 2x y = xFIRST! - 2Find Integrating Factor
IF = e∫ P dx: Remembere−log x = elog(x⁻¹) = 1x! - 3Write final integral formula:
y · (IF) = ∫ Q · (IF) dx + Cand integrate RHS cleanly!
x dydx + 2y = x² log x.• Divide by
x: dydx + (2x) y = x log x ⇒ P = 2x, Q = x log x.•
IF = e∫ (2/x) dx = e2 log x = elog(x²) = x².• Solution:
y · x² = ∫ (x log x) · x² dx = ∫ x³ log x dx (By Parts: u = log x, v = x³):y x² = x⁴4 log x − x⁴16 + C!
P = 2 from x dy/dx + 2y = x² WITHOUT dividing by x first (true P = 2/x!). (2) Dropping the minus sign on P in dy/dx − y = cos x (true P = −1 ⇒ IF = e−x!). (3) Simplifying e−log x as −x instead of 1/x (and elog(sin x) = sin x)!Topic 9.4: Real-Life Models: Population Growth, Cooling & Compound Interest
dPdt = r100 P⇒
P(t) = P₀ e(r/100)tdydt = −k y⇒
y(t) = y₀ e−kt (k > 0)(x, y) is ..." ⇒ immediately write dydx = ...!dy/dt = k·y ⇒ Instant Exponential y = y₀ ekt! Set t = 0 FIRST to find C = log y₀!r% per year" simply translates sentence-by-sentence into algebra: "Rate of change of Principal" = dP/dt, "equals r% of Principal" = (r/100) P! Separate dP/P = (r/100) dt, integrate to log P, and exponentiate!- 1Translate words into a DE: "Slope of tangent" =
dy/dx; "Rate of growth of bacteriaN" =dN/dt = kN. - 2Solve by Variable Separable:
∫ dPP = ∫ k dt ⇒ log P = kt + C ⇒ P = A ekt. - 3Plug
t = 0first to lockA = P₀, then plug the second condition (e.g. "doubles in 10 years") to solvekor target time!
5% per year. In how many years does ₹1000 double itself?• Model:
dPdt = 5100 P = P20 ⇒ ∫ dPP = ∫ 120 dt ⇒ log P = t20 + C.• At
t = 0, P = 1000 ⇒ C = log 1000. Set P = 2000: log(20001000) = t20 ⇒ t = 20 log 2 years (≈ 13.86 yrs)!
dPdt = 5 P instead of 5100 P for 5% interest — forgetting the percent /100 makes ₹1000 explode in seconds! (2) In curve geometry problems like "passes through (0, −2) with slope equal to 2y/x", always evaluate C with the given point at the end!Solved Previous Year Questions (Kerala DHSE & NCERT)
Q1 (Kerala HSE March • 1 Marks): Find the order and degree of the differential equation (d³ydx³)² + d²ydx² + sin(dydx) = 0.
d³ydx³ ⇒ Order = 3.• Because
dy/dx lies inside sin(...), it is not a polynomial equation in derivatives ⇒ Degree = Not Defined.Q2 (Kerala HSE Say • 2 Marks): Find the order and degree of [1 + (dydx)²]3/2 = k d²ydx².
3/2:[1 + (y')²]³ = k² (d²ydx²)².• Highest derivative is
d²y/dx² ⇒ Order = 2.• Exponent on
d²y/dx² is 2 ⇒ Degree = 2.Q3 (Kerala HSE March • 2 Marks): Verify that y = e⁻³ˣ is a solution of the differential equation d²ydx² + dydx − 6y = 0.
y = e⁻³ˣ:y' = −3e⁻³ˣ, and y'' = 9e⁻³ˣ.Substitute in LHS:
9e⁻³ˣ + (−3e⁻³ˣ) − 6(e⁻³ˣ) = (9 − 3 − 6)e⁻³ˣ = 0 = RHS. Verified!Q4 (Kerala HSE March • 3 Marks): Find the particular solution of dydx = 1 + y²1 + x² given that y = √3 when x = 1.
dy1 + y² = dx1 + x².Integrate:
tan⁻¹ y = tan⁻¹ x + C.Plug
x = 1, y = √3: π3 = π4 + C ⇒ C = π12.Particular solution:
tan⁻¹ y − tan⁻¹ x = π12.Q5 (Kerala HSE Model • 4 Marks): Solve the homogeneous differential equation (x − y) dydx = x + 2y.
dydx = x + 2yx − y (homogeneous of degree 0). Put y = vx ⇒ v + x dvdx = 1 + 2v1 − v.x dvdx = 1 + 2v − v + v²1 − v = v² + v + 11 − v ⇒ ∫ 1 − vv² + v + 1 dv = ∫ dxx.Write
1 − v = −12(2v + 1) + 32 and complete square (v + ½)² + (√3/2)²:log|x² + xy + y²| = 2√3 tan⁻¹(x + 2y√3 x) + C.Q6 (Kerala HSE March • 4 Marks): Find the general solution of (1 + x²) dydx + 2xy = 11 + x².
(1 + x²): dydx + 2x1 + x² y = 1(1 + x²)².P = 2x1 + x² ⇒ IF = e∫ 2x/(1+x²) dx = elog(1+x²) = 1 + x².Solution:
y(1 + x²) = ∫ 1(1 + x²)² · (1 + x²) dx = ∫ dx1 + x² = tan⁻¹ x + C.Answer:
y(1 + x²) = tan⁻¹ x + C.Q7 (NCERT / DHSE Say • 4 Marks): Find the particular solution of dydx + y cot x = 2x + x² cot x given y = 0 when x = π2.
P = cot x ⇒ IF = e∫ cot x dx = elog|sin x| = sin x.y sin x = ∫ (2x sin x + x² cos x) dx. Notice ddx(x² sin x) = 2x sin x + x² cos x!So
y sin x = x² sin x + C. Plug x = π/2, y = 0 ⇒ 0 = π²4 + C ⇒ C = −π²4.Answer:
y = x² − π²4 sin x.Q8 (Kerala HSE Model • 3 Marks): In a culture, bacteria count is 1,00,000 initially and grows by 10% in 2 hours. In how many hours will it reach 2,00,000 if growth rate is proportional to count present?
dNdt = kN ⇒ N(t) = N₀ ekt with N₀ = 100000.At
t = 2, N = 1.1 N₀ ⇒ e2k = 1110 ⇒ k = 12 log(1110).Set
N = 2 N₀: ekt = 2 ⇒ t = log 2k = 2 log 2log(11/10) hours.