Math Lab
Home/Class XII/Ch 9/Forming differential equations from curve families

Forming differential equations from curve families

Solving a DE produces a family of curves (the general solution). The reverse operation is also useful: given a family of curves described by an equation containing nn arbitrary constants, find a DE of order nn that the family satisfies. This skill is regularly tested on board exams.

The algorithm

Suppose the family is described by F(x,y,c1,c2,,cn)=0F(x, y, c_1, c_2, \ldots, c_n) = 0 with nn arbitrary constants.

  1. Differentiate the equation with respect to xx. (Treat yy as a function of xx.) Get a new equation.
  2. Differentiate again, and again, until you have n+1n + 1 equations: the original plus nn differentiations.
  3. Eliminate all nn constants from these n+1n + 1 equations.
  4. The result is a DE involving only xx, yy, yy', …, y(n)y^{(n)}.

The order of the resulting DE is nn , same as the number of constants.

Why does it work?

You have nn constants in the family. Differentiating once produces one new equation but does not introduce new constants. After nn differentiations, you have n+1n+1 equations and only nn unknown constants , so the constants can (generically) be eliminated.

Worked examples

Example 1. Form the DE for y=mx+cy = mx + c (mm and cc arbitrary, two constants).

Differentiate: y=my' = m. Differentiate again: y=0y'' = 0. This is the DE , no constants present. Order 22.

Example 2. Form the DE for y=Aex+Bexy = A e^x + B e^{-x}.

y=AexBexy' = Ae^x - B e^{-x}, y=Aex+Bex=yy'' = Ae^x + B e^{-x} = y. So d2ydx2y=0\dfrac{d^2y}{dx^2} - y = 0. Order 22.

Example 3. Form the DE for y=Acosx+Bsinxy = A \cos x + B \sin x.

y=Asinx+Bcosxy' = -A\sin x + B \cos x. y=AcosxBsinx=yy'' = -A \cos x - B \sin x = -y. DE: y+y=0y'' + y = 0.

Example 4. Form the DE for y=ae2x+be3xy = a e^{2x} + b e^{3x}.

y=2ae2x+3be3xy' = 2a e^{2x} + 3b e^{3x}. y=4ae2x+9be3xy'' = 4a e^{2x} + 9 b e^{3x}.

We have three equations in two unknowns a,ba, b. Eliminate. From the first two: ae2x=3yya e^{2x} = 3y - y', be3x=y2yb e^{3x} = y' - 2y. (Solve as a 2x2 linear system.) Substitute into the third: y=4(3yy)+9(y2y)=12y4y+9y18y=6y+5yy'' = 4(3y - y') + 9(y' - 2y) = 12y - 4y' + 9y' - 18y = -6y + 5y'. So y5y+6y=0y'' - 5y' + 6y = 0.

Example 5. Form the DE for the family of all parabolas with axis along xx-axis and vertex at the origin: y2=4axy^2 = 4ax, aa arbitrary (one constant).

Differentiate: 2yy=4a2y y' = 4a, so a=yy2a = \dfrac{yy'}{2}. Substitute back: y2=4yy2x=2xyyy^2 = 4 \cdot \dfrac{yy'}{2} \cdot x = 2xyy'. DE: y2=2xyyy^2 = 2xyy', or y=2xyy = 2xy' (assuming y0y \neq 0).

Example 6. Form the DE of all circles passing through the origin with centres on the yy-axis.

Family: x2+(ya)2=a2x^2 + (y - a)^2 = a^2, i.e. x2+y22ay=0x^2 + y^2 - 2ay = 0. One constant: order 11.

Differentiate: 2x+2yy2ay=02x + 2yy' - 2a y' = 0, so a=x+yyya = \dfrac{x + yy'}{y'} (assuming y0y' \neq 0). Substitute back: x2+y2=2yx+yyyx^2 + y^2 = 2y \cdot \dfrac{x + yy'}{y'}, giving (x2+y2)y=2y(x+yy)=2xy+2y2y(x^2 + y^2) y' = 2y(x + yy') = 2xy + 2y^2 y'. Rearrange: (x2+y22y2)y=2xy(x^2 + y^2 - 2y^2) y' = 2xy, so (x2y2)y=2xy(x^2 - y^2) y' = 2xy, i.e. dydx=2xyx2y2\dfrac{dy}{dx} = \dfrac{2xy}{x^2 - y^2}.

A note on the geometric setup

When you read "family of all parabolas with vertex at origin and axis along xx-axis," translate carefully:

  • Family: a parametrised collection of curves.
  • Parameters: count them. They become the constants.
  • Equation form: write the most general expression that fits the description.

The number of parameters equals the order of the resulting DE.

Try it yourself

  1. Form the DE for y=ex(Acosx+Bsinx)y = e^x(A \cos x + B \sin x).
  2. Form the DE for x2+y2=a2x^2 + y^2 = a^2 (circles centred at origin).
  3. Form the DE for the family of all lines through the origin.
  4. Form the DE for y=ax3y = a x^3.
  5. Form the DE for xy=cxy = c (rectangular hyperbolas).
  6. Form the DE for y=c1+c2exy = c_1 + c_2 e^x.
  7. Form the DE for y=eaxsin(bx)y = e^{ax}\sin(bx) (aa, bb arbitrary, two constants).
  8. Form the DE for y=ax2+bx+cy = a x^2 + bx + c (aa, bb, cc arbitrary).
  9. Form the DE of all parabolas with axis parallel to yy-axis.
  10. Form the DE of all circles passing through the origin with centres on the xx-axis.
  11. Form the DE of (xa)2+(yb)2=r2(x - a)^2 + (y - b)^2 = r^2 , all circles of fixed radius rr, with a,ba, b arbitrary.
  12. Form the DE for y=alogx+by = a \log x + b.
  13. Form the DE for the family of curves y=Ax+By = \dfrac{A}{x} + B.
  14. Form the DE for the family of ellipses x2a2+y2b2=1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1 (aa, bb arbitrary).

Pitfalls and tricks

  • Count constants carefully. Number of constants == order of resulting DE.
  • Eliminate, don't solve. You don't need explicit values for the constants , just remove them.
  • Use algebraic substitution to eliminate. From the differentiated equations, solve for each constant as a function of xx, yy, yy', …, then substitute.
  • The final answer should contain only xx, yy, yy', yy'', …, and constants from the problem (no arbitrary parameters).
  • Recognise hidden constants. sin(ax+b)\sin(ax + b) has two constants; sin(ax)+b\sin(ax) + b also has two but different DEs.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Forming DEs
6 questions · pick the best answer
Q1

Number of arbitrary constants in y=ax2+by = a x^2 + b is

Q2

Order of DE for y=ax2+by = a x^2 + b is

Q3

DE for y=cx+c2y = c x + c^2 : note: only one constant

Q4

DE for y=Aex+Bexy = Ae^x + Be^{-x} is

Q5

DE for circles x2+y2=r2x^2 + y^2 = r^2 (rr arbitrary)

Q6

Number of constants in y=Asin(x+B)y = A\sin(x + B) is