PYQ Vault

NDA Maths · Differential Equations

Forming an ODE from a Family of Curves

To form the differential equation of a family of curves, differentiate enough times to eliminate every arbitrary constant — n constants need n differentiations and produce an order-n equation.

Why this matters

12 PYQs running the reverse of solving: you are given the answer (a family of curves) and must find the equation. The recipe never changes — differentiate, eliminate the constants — so these are dependable marks once the routine is automatic.

Test yourself — a quick 13-question Differential Equations recall quiz, instant score.

Concept 1 of 2: Eliminating arbitrary constants

A family of curves with arbitrary constants is the general solution of some ODE. To recover that ODE, differentiate the family — each differentiation gives a new equation — until you have enough equations to eliminate every constant. With n constants, differentiate n times.

Definition

The elimination recipe:

  • Count the arbitrary constants — that is the order of the ODE you will get.
  • Differentiate the family that many times.
  • Eliminate the constants between the original equation and its derivatives; the constant-free relation is the ODE.
  • Examples: parabolas x2=4ayx^2=4ay (one constant) → x dydx=2yx\,\dfrac{dy}{dx}=2y; y=ex(acos⁡x+bsin⁡x)y=e^x(a\cos x+b\sin x) (two constants) → y′′−2y′+2y=0y''-2y'+2y=0.

The step BEFORE the recipe — writing a geometrically described family, with its parameter count (five PYQs turn on this line, not on the differentiation):

  • Lines through the origin: y=mxy=mx (1) → y=x y′y=x\,y'. All lines: y=mx+cy=mx+c (2) → y′′=0y''=0.
  • Circles touching the y-axis at the origin: centre (a,0)(a,0), radius aa: x2+y2=2axx^2+y^2=2ax (1) → 2xy y′=y2−x22xy\,y'=y^2-x^2. Touching the x-axis at the origin: x2+y2=2byx^2+y^2=2by (1).
  • Circles touching both axes in the first quadrant: (x−r)2+(y−r)2=r2(x-r)^2+(y-r)^2=r^2 (1). Circles with centre on the x-axis: (x−a)2+y2=r2(x-a)^2+y^2=r^2 (2) → 1+y′2+y y′′=01+y'^2+y\,y''=0. All circles: x2+y2+2gx+2fy+c=0x^2+y^2+2gx+2fy+c=0 (3, so order 3).
  • Parabolas with vertex at the origin and axis along yy: x2=4ayx^2=4ay (1); axis along xx: y2=4axy^2=4ax (1) → y=2x y′y=2x\,y'.
  • Ellipses with axes along the coordinate axes: x2a2+y2b2=1\dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}=1 (2) → x y y′′+x y′2−y y′=0x\,y\,y''+x\,y'^2-y\,y'=0. Concentric circles x2+y2=r2x^2+y^2=r^2 (1) → x+y y′=0x+y\,y'=0.

When a constant enters with a fractional power (e.g. y=c x+…y=\sqrt{c}\,x+\ldots, or y2=4a(x+a)y^2=4a(x+a)): eliminate it as usual, then clear the radical ONLY if the eliminated relation still carries one — squaring raises the degree ((y2−2xy y′)2=4(y y′)3(y^2-2xy\,y')^2=4(y\,y')^3 has degree 3). Squaring when the relation was already polynomial produces a non-minimal ODE and the wrong degree.

y = c·x²(one curve per c)eliminate c → x·y′ = 2y

Worked example

Form the differential equation of the family y=cx2y = cx^2 (c arbitrary).
Practice this conceptself-check · 3 quick reps

The same idea in a real exam question:

NDA · Sep 2022 · Q99Moderate

Example 1 · Differential Equations · Formation of ODE from Curves and General Solutions

What is the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis?

Differentiate as many times as there are constants

A one-constant family needs one differentiation (order 1); a two-constant family like y2=4a(x−b)y^2=4a(x-b) needs two (order 2, giving yy′′+(y′)2=0yy''+(y')^2=0). Differentiating too few times leaves a constant stranded in the answer.

The order of the resulting ODE equals the number of constants

Before you differentiate, the family y=Ae2x+Be−3xy=Ae^{2x}+Be^{-3x} has 2 arbitrary constants, so the eliminated ODE is order 2 — guaranteed. Reading the order off the highest derivative you happen to reach mid-working (or stopping early) gives the wrong order; count the independent constants first and that IS the order.

Concept 2 of 2: Matching an ODE to its general solution

Sometimes you are handed both a candidate ODE and a family, and must check they correspond — or decide what condition makes a solution a particular shape (a circle, say). Either differentiate the family to confirm it fits the ODE, or solve the ODE and compare.

Definition

Two directions, one idea:

  • Family → ODE: differentiate and eliminate constants (as above), then compare with the given option.
  • ODE → family: integrate the separable ODE and read off the curve type.
  • A solved family is a circle only when the x2x^2 and y2y^2 coefficients are equal — e.g. dydx=ax+hby+k\dfrac{dy}{dx}=\dfrac{ax+h}{by+k} integrates to a circle exactly when a=−ba=-b.

Worked example

For what relation between a and b does dydx=axby\dfrac{dy}{dx} = \dfrac{ax}{by} have circular solutions?
Practice this conceptself-check · 3 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q74Moderate

Example 2 · Differential Equations · Formation of ODE from Curves and General Solutions

The general solution of dydx=ax+hby+k\dfrac{dy}{dx} = \dfrac{ax + h}{by + k} represents a circle only when

A circle needs equal squared-term coefficients

After integrating, a2x2−b2y2\frac{a}{2}x^2 - \frac{b}{2}y^2 is a circle only if those coefficients match in magnitude (giving a=−ba=-b); otherwise it is an ellipse or hyperbola. Don't assume any separable solution is a circle.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Watch out for (3)

Test yourself on Differential Equations

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes