Where Differential Equations Sit in JEE

JEE Main reliably asks 1-2 questions from this chapter every session: ordinary differential equations, their order and degree, the formation of differential equations, solution by the method of separation of variables, homogeneous and linear differential equations. That syllabus line is exactly the NCERT chapter — but JEE dresses the same five skills in heavier disguises and adds three tools the NCERT text only hints at:

1. The shift substitution. When the equation involves x+yx + y (or any ax+by+cax + by + c) as a block — say dydx=f(x+y)\dfrac{dy}{dx} = f(x + y) — substitute t=x+yt = x + y, so dtdx=1+dydx\dfrac{dt}{dx} = 1 + \dfrac{dy}{dx}. The equation in tt and xx is separable. This converts equations that look hopeless, like dydx=(x+y+1)2\dfrac{dy}{dx} = (x + y + 1)^2 or dydx=sin⁡(x+y)+cos⁡(x+y)\dfrac{dy}{dx} = \sin(x+y) + \cos(x+y), into two-line solves.

2. Bernoulli's equation. dydx+Py=Qyn\dfrac{dy}{dx} + Py = Qy^n is linear except for the yny^n. Divide by yny^n and substitute v=y1−nv = y^{1-n}, so dvdx=(1−n)y−ndydx\dfrac{dv}{dx} = (1-n)y^{-n}\dfrac{dy}{dx} — the equation becomes genuinely linear in vv. JEE Main loves n=2n = 2 and n=6n = 6.

3. Exact-differential recognition. Certain combinations are derivatives of famous quantities. Memorise this table:

Combination Equals
x dy+y dxx\,dy + y\,dx d(xy)d(xy)
x dy−y dxx2\dfrac{x\,dy - y\,dx}{x^2} d(yx)d\left(\dfrac{y}{x}\right)
y dx−x dyy2\dfrac{y\,dx - x\,dy}{y^2} d(xy)d\left(\dfrac{x}{y}\right)
x dy−y dxx2+y2\dfrac{x\,dy - y\,dx}{x^2 + y^2} d(tan⁡−1yx)d\left(\tan^{-1}\dfrac{y}{x}\right)
x dx+y dyx\,dx + y\,dy d(x2+y22)d\left(\dfrac{x^2 + y^2}{2}\right)

Spotting one of these rows collapses a five-minute integrating-factor grind into a single integration.

Orthogonal trajectories (JEE Main pattern staple): to find curves cutting a family at right angles, form the family's differential equation, replace dydx\dfrac{dy}{dx} by −dxdy-\dfrac{dx}{dy}, and solve the new equation.

The Speed Toolkit

  1. Classify in ten seconds. Right side factors as g(x)h(y)g(x)h(y) → separable. Every term the same total degree → homogeneous, y=vxy = vx. Shaped dydx+Py=Q\dfrac{dy}{dx} + Py = Q → linear I.F. A block ax+by+cax + by + c repeating → shift substitution t=ax+byt = ax + by. A stray yny^n on the right of a linear shape → Bernoulli.

  2. I.F. speed table (compute e∫Pdxe^{\int P dx} from memory): P=ax⇒xaP = \dfrac{a}{x} \Rightarrow x^a; P=tan⁡x⇒sec⁡xP = \tan x \Rightarrow \sec x; P=cot⁡x⇒sin⁡xP = \cot x \Rightarrow \sin x; P=sec⁡x⇒sec⁡x+tan⁡xP = \sec x \Rightarrow \sec x + \tan x; P=−x⇒e−x2/2P = -x \Rightarrow e^{-x^2/2}; P=11+x2P = \dfrac{1}{1+x^2}… only if you must — check first whether the left side is already d(something)d(\text{something}).

  3. The mirror reflex. If dydx\dfrac{dy}{dx} gives a nonlinear mess, immediately try dxdy\dfrac{dx}{dy} — equations linear in xx (with yy as the variable) are a favourite JEE trap. Marker: terms like x f(y)x\,f(y) and g(y)g(y) with a clean dydx\dfrac{dy}{dx} denominator.

  4. Formation drill. To form the DE of an nn-parameter family, differentiate nn times and eliminate all parameters. The order of the result always equals nn — an answer-check in itself.

  5. Definite-condition shortcut. When a particular value like y(π/4)y(\pi/4) or x0x_0 with y(x0)=ey(x_0) = e is asked, solve symbolically first, apply the condition once at the end. Substituting early breeds sign errors.

  6. Blow-up awareness. Solutions of nonlinear equations can fail to exist beyond a point: y′=y2y' = y^2, y(0)=1y(0) = 1 gives y=11−xy = \dfrac{1}{1 - x}, which explodes at x=1x = 1. JEE Advanced probes exactly this.

JEE-Pattern Worked Examples

Example 1: The squared block

Solve dydx=(x+y+1)2\dfrac{dy}{dx} = (x + y + 1)^2.

Solution:

  1. Substitute the block: t=x+y+1t = x + y + 1, so dtdx=1+dydx=1+t2\dfrac{dt}{dx} = 1 + \dfrac{dy}{dx} = 1 + t^2.
  2. Separate: dt1+t2=dx\dfrac{dt}{1 + t^2} = dx.
  3. Integrate: tan⁡−1t=x+C\tan^{-1} t = x + C.

Answer: tan⁡−1(x+y+1)=x+C\tan^{-1}(x + y + 1) = x + C, i.e. x+y+1=tan⁡(x+C)x + y + 1 = \tan(x + C).


Example 2: A first Bernoulli

Solve dydx+yx=y2\dfrac{dy}{dx} + \dfrac{y}{x} = y^2.

Solution:

  1. Divide by y2y^2: 1y2dydx+1xy=1\dfrac{1}{y^2}\dfrac{dy}{dx} + \dfrac{1}{xy} = 1.
  2. Substitute v=1yv = \dfrac{1}{y}: then dvdx=−1y2dydx\dfrac{dv}{dx} = -\dfrac{1}{y^2}\dfrac{dy}{dx}, and the equation becomes −dvdx+vx=1-\dfrac{dv}{dx} + \dfrac{v}{x} = 1, i.e. dvdx−vx=−1\dfrac{dv}{dx} - \dfrac{v}{x} = -1 — linear.
  3. I.F.: e−∫dx/x=1xe^{-\int dx/x} = \dfrac{1}{x}, so ddx(vx)=−1x\dfrac{d}{dx}\left(\dfrac{v}{x}\right) = -\dfrac{1}{x}.
  4. Integrate: vx=−log⁡∣x∣+C\dfrac{v}{x} = -\log|x| + C.

Answer: 1xy=C−log⁡∣x∣\dfrac{1}{xy} = C - \log|x|, i.e. xy(C−log⁡∣x∣)=1xy\left(C - \log|x|\right) = 1.


Example 3: Product recognition

Solve x dy+y dx=x2y2 dxx\,dy + y\,dx = x^2 y^2\,dx.

Solution:

  1. Spot the row: x dy+y dx=d(xy)x\,dy + y\,dx = d(xy). The equation is d(xy)=(xy)2 dxd(xy) = (xy)^2\,dx.
  2. Treat u=xyu = xy as the unknown: duu2=dx\dfrac{du}{u^2} = dx.
  3. Integrate: −1u=x+C-\dfrac{1}{u} = x + C.

Answer: 1xy+x+C=0\dfrac{1}{xy} + x + C = 0 — three written lines, thanks to the exact-differential table.


Example 4: The other quotient

Solve y(1+xy) dx=x dyy(1 + xy)\,dx = x\,dy.

Solution:

  1. Expand and regroup: y dx+xy2 dx=x dy⇒y dx−x dy=−xy2 dxy\,dx + xy^2\,dx = x\,dy \Rightarrow y\,dx - x\,dy = -xy^2\,dx.
  2. Divide by y2y^2: y dx−x dyy2=−x dx\dfrac{y\,dx - x\,dy}{y^2} = -x\,dx — the left side is exactly d(xy)d\left(\dfrac{x}{y}\right).
  3. Integrate: xy=−x22+C\dfrac{x}{y} = -\dfrac{x^2}{2} + C.

Answer: xy+x22=C\dfrac{x}{y} + \dfrac{x^2}{2} = C.


Example 5: A logarithmic homogeneous equation

Solve xdydx=y(log⁡y−log⁡x+1)x\dfrac{dy}{dx} = y\left(\log y - \log x + 1\right).

Solution:

  1. Rewrite: dydx=yx(log⁡yx+1)\dfrac{dy}{dx} = \dfrac{y}{x}\left(\log\dfrac{y}{x} + 1\right) — a function of yx\dfrac{y}{x} alone: homogeneous.
  2. Substitute y=vxy = vx: v+xdvdx=v(log⁡v+1)v + x\dfrac{dv}{dx} = v(\log v + 1), so xdvdx=vlog⁡vx\dfrac{dv}{dx} = v\log v.
  3. Separate: dvvlog⁡v=dxx\dfrac{dv}{v \log v} = \dfrac{dx}{x}.
  4. Integrate (put w=log⁡vw = \log v): log⁡∣log⁡v∣=log⁡∣x∣+log⁡C\log|\log v| = \log|x| + \log C, so log⁡v=Cx\log v = Cx.

Answer: log⁡yx=Cx\log\dfrac{y}{x} = Cx, i.e. y=x eCxy = x\,e^{Cx}.


Example 6: Linear with a designed right side

If dydx+ytan⁡x=2x+x2tan⁡x\dfrac{dy}{dx} + y\tan x = 2x + x^2\tan x and y(0)=1y(0) = 1, find yy.

Solution:

  1. I.F.: e∫tan⁡x dx=sec⁡xe^{\int \tan x\,dx} = \sec x.
  2. Solve: ysec⁡x=∫(2x+x2tan⁡x)sec⁡x dx=∫(2xsec⁡x+x2sec⁡xtan⁡x)dxy\sec x = \displaystyle\int \left(2x + x^2\tan x\right)\sec x\,dx = \int \left(2x\sec x + x^2 \sec x \tan x\right)dx.
  3. Spot the product rule: the integrand is exactly ddx(x2sec⁡x)\dfrac{d}{dx}\left(x^2\sec x\right), so ysec⁡x=x2sec⁡x+Cy \sec x = x^2\sec x + C.
  4. Apply y(0)=1y(0) = 1: 1=0+C1 = 0 + C, so C=1C = 1.

Answer: y=x2+cos⁡xy = x^2 + \cos x. The right side was built to be (x2sec⁡x)′\left(x^2\sec x\right)' — JEE setters design such gifts, and step 3 is where you either see it or lose four minutes.


Example 7: Homogeneous with a target value

If dydx=xyx2+y2\dfrac{dy}{dx} = \dfrac{xy}{x^2 + y^2} with y(1)=1y(1) = 1, find x0>0x_0 > 0 such that y(x0)=ey(x_0) = e.

Solution:

  1. Mirror: dxdy=x2+y2xy=xy+yx\dfrac{dx}{dy} = \dfrac{x^2 + y^2}{xy} = \dfrac{x}{y} + \dfrac{y}{x} — homogeneous in the mirror direction.
  2. Substitute x=vyx = vy: v+ydvdy=v+1vv + y\dfrac{dv}{dy} = v + \dfrac{1}{v}, so v dv=dyyv\,dv = \dfrac{dy}{y}.
  3. Integrate: v22=log⁡∣y∣+C\dfrac{v^2}{2} = \log|y| + C, i.e. x22y2=log⁡∣y∣+C\dfrac{x^2}{2y^2} = \log|y| + C.
  4. Apply y(1)=1y(1) = 1: 12=0+C\dfrac{1}{2} = 0 + C, so x2=y2(2log⁡∣y∣+1)x^2 = y^2\left(2\log|y| + 1\right).
  5. Set y=ey = e: x02=e2(2+1)=3e2x_0^2 = e^2(2 + 1) = 3e^2.

Answer: x0=3 ex_0 = \sqrt{3}\,e.


Example 8: Sine plus cosine of the block

Solve dydx=sin⁡(x+y)+cos⁡(x+y)\dfrac{dy}{dx} = \sin(x + y) + \cos(x + y).

Solution:

  1. Substitute t=x+yt = x + y: dtdx=1+sin⁡t+cos⁡t\dfrac{dt}{dx} = 1 + \sin t + \cos t.
  2. Half-angle everything: 1+cos⁡t=2cos⁡2t21 + \cos t = 2\cos^2\dfrac{t}{2} and sin⁡t=2sin⁡t2cos⁡t2\sin t = 2\sin\dfrac{t}{2}\cos\dfrac{t}{2}, so dtdx=2cos⁡2t2(1+tan⁡t2)\dfrac{dt}{dx} = 2\cos^2\dfrac{t}{2}\left(1 + \tan\dfrac{t}{2}\right).
  3. Separate: sec⁡2(t/2) dt2(1+tan⁡(t/2))=dx\dfrac{\sec^2(t/2)\,dt}{2\left(1 + \tan(t/2)\right)} = dx.
  4. Integrate (put u=1+tan⁡t2u = 1 + \tan\dfrac{t}{2}, du=12sec⁡2t2 dtdu = \dfrac{1}{2}\sec^2\dfrac{t}{2}\,dt): log⁡∣u∣=x+C\log|u| = x + C.

Answer: log⁡∣1+tan⁡x+y2∣=x+C\log\left|1 + \tan\dfrac{x + y}{2}\right| = x + C.