How to Use This Section

Twenty-five fully worked problems in five batches: order/degree and verification, separable equations, homogeneous equations, linear equations, and mixed curve/model problems at miscellaneous level.

The classification ritual for every solving problem:

  1. Is the right side a product g(x)h(y)g(x)h(y)? → separable.
  2. Is it a function of the ratio yx\frac yx (uniform degrees)? → homogeneous: y=vxy = vx.
  3. Do yy and y′y' appear linearly? → linear: compute the I.F. (Check the mirror orientation too — linear in xx.)
  4. Solve generally, then apply any given condition to fix CC.

Key Point: Marks are lost at classification, not at integration. Spend the first fifteen seconds of every problem naming its type — the rest is Chapter 7 machinery.

Batch 1 — Order, Degree and Verification (Easy)

Example 1: A clean third-order equation

Find the order and degree of y′′′+2y′′+y′=0y''' + 2y'' + y' = 0.

Solution:

  1. Order: highest derivative y′′′y''' — order 33.
  2. Degree: polynomial in all derivatives, power of y′′′y''' is 11.

Final Answer: order 33, degree 11.

Example 2: Clear the root first

Find the order and degree of y′′=1+(y′)2y'' = \sqrt{1 + \left(y'\right)^2}.

Solution:

  1. Clear the radical: square both sides: (y′′)2=1+(y′)2\left(y''\right)^2 = 1 + \left(y'\right)^2 — now polynomial in derivatives.
  2. Read off: order 22; power of y′′y'' is 22.

Final Answer: order 22, degree 22.

Takeaway: Roots and fractions of derivatives must be cleared before reading the degree — but a sin⁡(y′)\sin(y') can never be cleared; that stays "not defined".

Example 3: Verification with a product

Verify that y=xsin⁡3xy = x\sin 3x is a solution of d2ydx2+9y−6cos⁡3x=0\dfrac{d^2y}{dx^2} + 9y - 6\cos 3x = 0.

Solution:

  1. Differentiate twice: y′=sin⁡3x+3xcos⁡3xy' = \sin 3x + 3x\cos 3x; y′′=6cos⁡3x−9xsin⁡3xy'' = 6\cos 3x - 9x\sin 3x.
  2. Substitute: L.H.S. =(6cos⁡3x−9xsin⁡3x)+9xsin⁡3x−6cos⁡3x=0= (6\cos 3x - 9x\sin 3x) + 9x\sin 3x - 6\cos 3x = 0. ✓

Final Answer: Verified.

Example 4: A two-parameter damped-oscillation family

Verify that y=c1eaxcos⁡bx+c2eaxsin⁡bxy = c_1e^{ax}\cos bx + c_2e^{ax}\sin bx (c1,c2c_1, c_2 arbitrary) solves d2ydx2−2adydx+(a2+b2)y=0\dfrac{d^2y}{dx^2} - 2a\dfrac{dy}{dx} + \left(a^2 + b^2\right)y = 0.

Solution:

  1. First derivative: y′=eax[(bc2+ac1)cos⁡bx+(ac2−bc1)sin⁡bx]y' = e^{ax}\left[(bc_2 + ac_1)\cos bx + (ac_2 - bc_1)\sin bx\right].
  2. Second derivative: differentiating again multiplies in another mix of aa's and bb's.
  3. Substitute and collect: the coefficients of both cos⁡bx\cos bx and sin⁡bx\sin bx cancel identically, giving L.H.S. =eax⋅0=0= e^{ax}\cdot 0 = 0. ✓

Final Answer: Verified — and with two arbitrary constants matching order 22, this family is the general solution.

Example 5: Reading the constants

Without solving, state how many arbitrary constants appear in (i) the general solution of y′′−2ay′+(a2+b2)y=0y'' - 2ay' + \left(a^2 + b^2\right)y = 0, and (ii) any particular solution of it.

Solution:

  1. (i): order 22 → general solution has 22 arbitrary constants (visible as c1,c2c_1, c_2 in Example 4).
  2. (ii): particular solutions have 00 arbitrary constants, by definition.

Final Answer: (i) 22; (ii) 00.

Batch 2 — Variables Separable (Easy-Medium)

Example 6: A one-line separation

Solve dydx=(1+y2)ex\dfrac{dy}{dx} = \left(1 + y^2\right)e^x.

Solution:

  1. Separate: dy1+y2=exdx\frac{dy}{1 + y^2} = e^x dx.
  2. Integrate: tan⁡−1y=ex+C\tan^{-1}y = e^x + C.

Final Answer: tan⁡−1y=ex+C\tan^{-1}y = e^x + C.

Example 7: A logarithmic disguise

Find the particular solution of log⁡(dydx)=3x+4y\log\left(\dfrac{dy}{dx}\right) = 3x + 4y, given y=0y = 0 when x=0x = 0.

Solution:

  1. Exponentiate: dydx=e3x+4y=e3xe4y\frac{dy}{dx} = e^{3x + 4y} = e^{3x}e^{4y} — separable.
  2. Separate and integrate: ∫e−4ydy=∫e3xdx\int e^{-4y}dy = \int e^{3x}dx gives e−4y−4=e3x3+C\frac{e^{-4y}}{-4} = \frac{e^{3x}}{3} + C, i.e. 4e3x+3e−4y+12C=04e^{3x} + 3e^{-4y} + 12C = 0.
  3. Apply (0,0)(0,0): 4+3+12C=04 + 3 + 12C = 0, so 12C=−712C = -7.

Final Answer: 4e3x+3e−4y−7=04e^{3x} + 3e^{-4y} - 7 = 0.

Example 8: Exponential of the unknown

Solve dydx=x3e−y\dfrac{dy}{dx} = x^3e^{-y}.

Solution:

  1. Separate: eydy=x3dxe^y dy = x^3dx.
  2. Integrate: ey=x44+Ce^y = \frac{x^4}{4} + C.

Final Answer: ey=x44+Ce^y = \dfrac{x^4}{4} + C, i.e. y=log⁡(x44+C)y = \log\left(\dfrac{x^4}{4} + C\right).

Example 9: Bacterial growth

In a culture the bacteria count is 1,00,0001{,}00{,}000 and increases by 10% in 2 hours. If the growth rate is proportional to the count, in how many hours will the count reach 2,00,0002{,}00{,}000?

Solution:

  1. Model: dNdt=kN\frac{dN}{dt} = kN gives N=N0ektN = N_0e^{kt} with N0=1,00,000N_0 = 1{,}00{,}000.
  2. Use the 10% data: 1,10,000=N0e2k1{,}10{,}000 = N_0e^{2k}, so e2k=1110e^{2k} = \frac{11}{10}, i.e. k=12log⁡1110k = \frac12\log\frac{11}{10}.
  3. Doubling: 2=ekt2 = e^{kt} gives t=log⁡2kt = \frac{\log 2}{k}.

Final Answer: t=2log⁡2log⁡1110t = \dfrac{2\log 2}{\log\frac{11}{10}} hours.

Example 10: The inflating balloon

A spherical balloon's volume changes at a constant rate. Its radius is 33 units initially and 66 units after 33 seconds. Find the radius after tt seconds.

Solution:

  1. Model: dVdt=k\frac{dV}{dt} = k with V=43πr3V = \frac43\pi r^3, so 4πr2drdt=k4\pi r^2\frac{dr}{dt} = k.
  2. Separate and integrate: 43πr3=kt+C\frac{4}{3}\pi r^3 = kt + C — i.e. r3r^3 is linear in tt: r3=at+br^3 = at + b.
  3. Fit the data: r(0)=3r(0) = 3 gives b=27b = 27; r(3)=6r(3) = 6 gives 216=3a+27216 = 3a + 27, so a=63a = 63.

Final Answer: r(t)=(63t+27)1/3r(t) = \left(63t + 27\right)^{1/3} units.

Batch 3 — Homogeneous Equations (Medium)

Example 11: Log-and-arctangent pair

Solve (x−y) dy−(x+y) dx=0(x - y)\,dy - (x + y)\,dx = 0.

Solution:

  1. Rearrange: dydx=x+yx−y\frac{dy}{dx} = \frac{x + y}{x - y} — homogeneous (uniform degree 1).
  2. Substitute y=vxy = vx: xdvdx=1+v1−v−v=1+v21−vx\frac{dv}{dx} = \frac{1 + v}{1 - v} - v = \frac{1 + v^2}{1 - v}.
  3. Separate: 1−v1+v2dv=dxx\frac{1 - v}{1 + v^2}dv = \frac{dx}{x}; integrate term-wise: tan⁡−1v−12log⁡(1+v2)=log⁡∣x∣+C\tan^{-1}v - \frac12\log\left(1 + v^2\right) = \log|x| + C.
  4. Back-substitute and merge logs:

Final Answer: tan⁡−1yx=log⁡x2+y2+C\tan^{-1}\dfrac{y}{x} = \log\sqrt{x^2 + y^2} + C.

Example 12: A grand trig-homogeneous equation

Solve (x dy−y dx) ysin⁡(yx)=(y dx+x dy) xcos⁡(yx)(x\,dy - y\,dx)\,y\sin\left(\dfrac{y}{x}\right) = (y\,dx + x\,dy)\,x\cos\left(\dfrac{y}{x}\right).

Solution:

  1. Collect dydy and dxdx: dydx=xycos⁡yx+y2sin⁡yxxysin⁡yx−x2cos⁡yx\frac{dy}{dx} = \frac{xy\cos\frac yx + y^2\sin\frac yx}{xy\sin\frac yx - x^2\cos\frac yx} — dividing by x2x^2 shows a pure function of yx\frac yx: homogeneous.
  2. Substitute y=vxy = vx: xdvdx=2vcos⁡vvsin⁡v−cos⁡vx\frac{dv}{dx} = \frac{2v\cos v}{v\sin v - \cos v}.
  3. Separate: vsin⁡v−cos⁡vvcos⁡vdv=2 dxx\frac{v\sin v - \cos v}{v\cos v}dv = \frac{2\,dx}{x}, i.e. ∫tan⁡v dv−∫dvv=2∫dxx\int\tan v\,dv - \int\frac{dv}{v} = 2\int\frac{dx}{x}.
  4. Integrate and merge: log⁡∣sec⁡vv∣=log⁡∣x2∣+log⁡∣C1∣\log\left|\frac{\sec v}{v}\right| = \log\left|x^2\right| + \log|C_1|, so sec⁡vvx2=±C1\frac{\sec v}{vx^2} = \pm C_1.
  5. Back-substitute v=yxv = \frac yx:

Final Answer: sec⁡(yx)=Cxy\sec\left(\dfrac{y}{x}\right) = Cxy.

Example 13: A sine-driven equation

Solve xdydx−y+xsin⁡(yx)=0x\dfrac{dy}{dx} - y + x\sin\left(\dfrac{y}{x}\right) = 0.

Solution:

  1. Rearrange: dydx=yx−sin⁡yx\frac{dy}{dx} = \frac yx - \sin\frac yx — homogeneous.
  2. Substitute y=vxy = vx: xdvdx=−sin⁡vx\frac{dv}{dx} = -\sin v.
  3. Separate: cosec v dv=−dxx\mathrm{cosec}\,v\,dv = -\frac{dx}{x}; integrate: log⁡∣cosec v−cot⁡v∣=−log⁡∣x∣+log⁡C\log\left|\mathrm{cosec}\,v - \cot v\right| = -\log|x| + \log C.
  4. Simplify (cosec v−cot⁡v=1−cos⁡vsin⁡v\mathrm{cosec}\,v - \cot v = \frac{1 - \cos v}{\sin v}) and back-substitute:

Final Answer: x(1−cos⁡yx)=Csin⁡yxx\left(1 - \cos\dfrac{y}{x}\right) = C\sin\dfrac{y}{x}.

Example 14: Particular solution with a log

Solve 2xy+y2−2x2dydx=02xy + y^2 - 2x^2\dfrac{dy}{dx} = 0, given y=2y = 2 when x=1x = 1.

Solution:

  1. Rearrange: dydx=2xy+y22x2=v+v22\frac{dy}{dx} = \frac{2xy + y^2}{2x^2} = v + \frac{v^2}{2} with v=yxv = \frac yx.
  2. Substitute: xdvdx=v22x\frac{dv}{dx} = \frac{v^2}{2}; separate: 2 dvv2=dxx\frac{2\,dv}{v^2} = \frac{dx}{x}.
  3. Integrate: −2v=log⁡∣x∣+C-\frac2v = \log|x| + C, i.e. −2xy=log⁡∣x∣+C-\frac{2x}{y} = \log|x| + C.
  4. Apply (1,2)(1, 2): −1=0+C-1 = 0 + C, so C=−1C = -1: 2xy=1−log⁡∣x∣\frac{2x}{y} = 1 - \log|x|.

Final Answer: y=2x1−log⁡∣x∣y = \dfrac{2x}{1 - \log|x|} (for x≠ex \neq e).

Example 15: A squared-sine equation

Solve [xsin⁡2(yx)−y]dx+x dy=0\left[x\sin^2\left(\dfrac{y}{x}\right) - y\right]dx + x\,dy = 0, given y=π4y = \dfrac{\pi}{4} when x=1x = 1.

Solution:

  1. Rearrange: dydx=yx−sin⁡2yx\frac{dy}{dx} = \frac yx - \sin^2\frac yx — homogeneous.
  2. Substitute y=vxy = vx: xdvdx=−sin⁡2vx\frac{dv}{dx} = -\sin^2v; separate: cosec2v dv=−dxx\mathrm{cosec}^2v\,dv = -\frac{dx}{x}.
  3. Integrate: −cot⁡v=−log⁡∣x∣−C-\cot v = -\log|x| - C, i.e. cot⁡v=log⁡∣x∣+C\cot v = \log|x| + C.
  4. Apply the condition: cot⁡π4=0+C\cot\frac{\pi}{4} = 0 + C gives C=1C = 1.

Final Answer: cot⁡(yx)=log⁡∣x∣+1=log⁡∣ex∣\cot\left(\dfrac{y}{x}\right) = \log|x| + 1 = \log|ex|.

Batch 4 — Linear Equations (Medium)

Example 16: Constant coefficient, trig right side

Solve dydx+2y=sin⁡x\dfrac{dy}{dx} + 2y = \sin x.

Solution:

  1. I.F.: e2xe^{2x}.
  2. Solve: ye2x=∫e2xsin⁡x dx+Cye^{2x} = \int e^{2x}\sin x\,dx + C — the loop-back by parts gives e2x(2sin⁡x−cos⁡x)5\frac{e^{2x}(2\sin x - \cos x)}{5}.
  3. Divide:

Final Answer: y=2sin⁡x−cos⁡x5+Ce−2xy = \dfrac{2\sin x - \cos x}{5} + Ce^{-2x}.

Example 17: Secant coefficient

Solve dydx+(sec⁡x) y=tan⁡x\dfrac{dy}{dx} + (\sec x)\,y = \tan x (for 0≤x<π20 \leq x < \frac{\pi}{2}).

Solution:

  1. I.F.: e∫sec⁡x dx=elog⁡∣sec⁡x+tan⁡x∣=sec⁡x+tan⁡xe^{\int\sec x\,dx} = e^{\log|\sec x + \tan x|} = \sec x + \tan x.
  2. Solve: y(sec⁡x+tan⁡x)=∫tan⁡x(sec⁡x+tan⁡x)dx+C=∫(sec⁡xtan⁡x+sec⁡2x−1)dx+Cy(\sec x + \tan x) = \int\tan x(\sec x + \tan x)dx + C = \int\left(\sec x\tan x + \sec^2x - 1\right)dx + C.
  3. Integrate: sec⁡x+tan⁡x−x+C\sec x + \tan x - x + C.

Final Answer: y(sec⁡x+tan⁡x)=sec⁡x+tan⁡x−x+Cy\left(\sec x + \tan x\right) = \sec x + \tan x - x + C.

Example 18: A ready-made left side

Solve (1+x2)dy+2xy dx=cot⁡x dx\left(1 + x^2\right)dy + 2xy\,dx = \cot x\,dx (with x≠0x \neq 0).

Solution:

  1. Standardise: dydx+2x1+x2y=cot⁡x1+x2\frac{dy}{dx} + \frac{2x}{1+x^2}y = \frac{\cot x}{1 + x^2}: P=2x1+x2P = \frac{2x}{1+x^2}.
  2. I.F.: elog⁡(1+x2)=1+x2e^{\log(1+x^2)} = 1 + x^2.
  3. Solve: y(1+x2)=∫cot⁡x dx+C=log⁡∣sin⁡x∣+Cy\left(1 + x^2\right) = \int\cot x\,dx + C = \log|\sin x| + C.

Final Answer: y(1+x2)=log⁡∣sin⁡x∣+Cy\left(1 + x^2\right) = \log|\sin x| + C.

Takeaway: The original equation was already d[y(1+x2)]=cot⁡x dxd\left[y(1+x^2)\right] = \cot x\,dx — recognising exact left sides skips the whole I.F. computation.

Example 19: Linear in xx with an inverse-trig drive

Solve (tan⁡−1y−x)dy=(1+y2)dx\left(\tan^{-1}y - x\right)dy = \left(1 + y^2\right)dx.

Solution:

  1. Reorient: dxdy+x1+y2=tan⁡−1y1+y2\frac{dx}{dy} + \frac{x}{1 + y^2} = \frac{\tan^{-1}y}{1 + y^2} — linear in xx with P1=11+y2P_1 = \frac{1}{1+y^2}.
  2. I.F.: etan⁡−1ye^{\tan^{-1}y}.
  3. Solve (substitute t=tan⁡−1yt = \tan^{-1}y in the integral): xetan⁡−1y=∫tetdt+C=et(t−1)+Cxe^{\tan^{-1}y} = \int te^t dt + C = e^t(t - 1) + C.
  4. Divide:

Final Answer: x=(tan⁡−1y−1)+Ce−tan⁡−1yx = \left(\tan^{-1}y - 1\right) + Ce^{-\tan^{-1}y}.

Example 20: Particular solution with matching arctangents

Solve (1+x2)dydx+2xy=11+x2\left(1 + x^2\right)\dfrac{dy}{dx} + 2xy = \dfrac{1}{1 + x^2}, given y=0y = 0 when x=1x = 1.

Solution:

  1. Standardise: P=2x1+x2P = \frac{2x}{1+x^2}; I.F. =1+x2= 1 + x^2.
  2. Solve: y(1+x2)=∫dx1+x2+C=tan⁡−1x+Cy\left(1 + x^2\right) = \int\frac{dx}{1 + x^2} + C = \tan^{-1}x + C.
  3. Apply (1,0)(1, 0): 0=π4+C0 = \frac{\pi}{4} + C, so C=−π4C = -\frac{\pi}{4}.

Final Answer: y(1+x2)=tan⁡−1x−π4y\left(1 + x^2\right) = \tan^{-1}x - \dfrac{\pi}{4}.

Batch 5 — Curves and Mixed Problems (Medium-Hard)

Example 21: Curve through the origin

Find the equation of the curve through the origin whose tangent slope at (x,y)(x, y) equals the sum of the coordinates.

Solution:

  1. Translate: dydx=x+y\frac{dy}{dx} = x + y, i.e. dydx−y=x\frac{dy}{dx} - y = x — linear, I.F. =e−x= e^{-x}.
  2. Solve: ye−x=∫xe−xdx+C=−(x+1)e−x+Cye^{-x} = \int xe^{-x}dx + C = -(x + 1)e^{-x} + C, so y=−(x+1)+Cexy = -(x + 1) + Ce^x.
  3. Apply (0,0)(0, 0): 0=−1+C0 = -1 + C, so C=1C = 1.

Final Answer: y=ex−x−1y = e^x - x - 1, i.e. x+y+1=exx + y + 1 = e^x.

Example 22: A worded slope condition

Find the equation of the curve through (0,2)(0, 2), given that the sum of the coordinates of any point exceeds the magnitude of the tangent slope there by 55.

Solution:

  1. Translate: x+y=dydx+5x + y = \frac{dy}{dx} + 5, i.e. dydx−y=x−5\frac{dy}{dx} - y = x - 5 — linear, I.F. =e−x= e^{-x}.
  2. Solve: ye−x=∫(x−5)e−xdx+C=−(x−4)e−x+Cye^{-x} = \int(x - 5)e^{-x}dx + C = -(x - 4)e^{-x} + C, so y=4−x+Cexy = 4 - x + Ce^x.
  3. Apply (0,2)(0, 2): 2=4+C2 = 4 + C, so C=−2C = -2.

Final Answer: y=4−x−2exy = 4 - x - 2e^x.

Example 23: A product-rule left side

Solve xdydx+y=xlog⁡xx\dfrac{dy}{dx} + y = x\log x (for x>0x > 0).

Solution:

  1. Recognise the exact form: the left side is ddx(xy)\frac{d}{dx}(xy).
  2. Integrate: xy=∫xlog⁡x dx+Cxy = \int x\log x\,dx + C — by parts: x22log⁡x−x24+C\frac{x^2}{2}\log x - \frac{x^2}{4} + C.

Final Answer: xy=x22log⁡x−x24+Cxy = \dfrac{x^2}{2}\log x - \dfrac{x^2}{4} + C.

Example 24: A cubic-sine particular solution

Solve dydx−3ycot⁡x=sin⁡2x\dfrac{dy}{dx} - 3y\cot x = \sin 2x, given y=2y = 2 when x=π2x = \dfrac{\pi}{2}.

Solution:

  1. I.F.: e−3∫cot⁡x dx=e−3log⁡sin⁡x=1sin⁡3xe^{-3\int\cot x\,dx} = e^{-3\log\sin x} = \dfrac{1}{\sin^3x}.
  2. Solve: ysin⁡3x=∫2sin⁡xcos⁡xsin⁡3xdx+C=2∫cot⁡x cosec x dx+C=−2 cosec x+C\frac{y}{\sin^3x} = \int\frac{2\sin x\cos x}{\sin^3x}dx + C = 2\int\cot x\,\mathrm{cosec}\,x\,dx + C = -2\,\mathrm{cosec}\,x + C.
  3. Apply the condition: at x=π2x = \frac{\pi}{2}: 2=−2+C2 = -2 + C, so C=4C = 4.
  4. Isolate: y=4sin⁡3x−2sin⁡2xy = 4\sin^3x - 2\sin^2x.

Final Answer: y=4sin⁡3x−2sin⁡2xy = 4\sin^3 x - 2\sin^2 x.

Example 25: A one-line integrating factor classic

Solve dydx+ytan⁡x=sec⁡x\dfrac{dy}{dx} + y\tan x = \sec x.

Solution:

  1. I.F.: e∫tan⁡x dx=elog⁡sec⁡x=sec⁡xe^{\int\tan x\,dx} = e^{\log\sec x} = \sec x.
  2. Solve: ysec⁡x=∫sec⁡2x dx+C=tan⁡x+Cy\sec x = \int\sec^2x\,dx + C = \tan x + C.
  3. Divide:

Final Answer: y=sin⁡x+Ccos⁡xy = \sin x + C\cos x.

Takeaway: With the four-entry I.F. speed-table (tan⁡x→sec⁡x\tan x \to \sec x, cot⁡x→sin⁡x\cot x \to \sin x, ax→xa\frac ax \to x^a, constant k→ekxk \to e^{kx}), problems like this compress to three written lines — full marks, minimal ink.