Skip to content

Mathematics · Ch 10 — Ordinary Differential Equations

Formation of Differential Equations from Geometrical Problems

10.4.2

Formation of Differential Equations from Geometrical Problems

When a family of curves is given by an equation containing nn arbitrary constants, the differential equation the whole family satisfies is found by differentiating nn times and eliminating the constants from the resulting (n+1)(n+1) equations (§10.4). Two symmetry checks help along the way: eliminating one arbitrary constant always yields a first-order equation; eliminating two always yields a second-order equation; and so on.

Example 10.2 (one constant → order 1). The family of all straight lines through the origin is y=mxy=mx, with mm the only arbitrary constant (Fig. 10.1 sketches four members of this family: y=x, y=2x, y=−x, y=−2xy=x,\ y=2x,\ y=-x,\ y=-2x). Differentiating once gives dydx=m\dfrac{dy}{dx}=m; substituting back into y=mxy=mx eliminates mm, leaving the first-order equation

y=xdydx.y=x\dfrac{dy}{dx}.

Example 10.3 (two constants → order 2). For y=Acos⁡x+Bsin⁡xy=\mathrm A\cos x+\mathrm B\sin x (two constants A,B\mathrm A,\mathrm B), differentiating twice gives y′=−Asin⁡x+Bcos⁡xy'=-\mathrm A\sin x+\mathrm B\cos x and y′′=−Acos⁡x−Bsin⁡x=−yy''=-\mathrm A\cos x-\mathrm B\sin x=-y. So directly, d2ydx2+y=0\dfrac{d^2y}{dx^2}+y=0 — no further substitution was even needed, since the second derivative reproduces −y-y exactly.

Example 10.4 (circles through two fixed points). For the family of circles through the fixed points (a,0)(a,0) and (−a,0)(-a,0), the centre must lie on the yy-axis: writing the centre as (0,b)(0,b) with bb arbitrary gives x2+(y−b)2=a2+b2x^2+(y-b)^2=a^2+b^2. Differentiating once: 2x+2(y−b)y′=0⇒b=y+xy′2x+2(y-b)y'=0\Rightarrow b=y+\dfrac{x}{y'}. Substituting back and simplifying yields the first-order equation

(x2−y2)−2xydydx−a2=0 ⟹ x2−y2−a2−2xydydx=0.\left(x^2-y^2\right)-2xy\dfrac{dy}{dx}-a^2=0\ \Longrightarrow\ x^2-y^2-a^2-2xy\dfrac{dy}{dx}=0.

Example 10.5 (parabola family). For y2=4axy^2=4ax (one constant aa), differentiating gives 2yy′=4a⇒a=yy′22y y'=4a\Rightarrow a=\dfrac{yy'}{2}; substituting back and simplifying gives the first-order equation

dydx=2yx.\dfrac{dy}{dx}=\dfrac{2y}{x}. …

Figure 10.1The family of straight lines $y=mx$ through the origin (e.g. $y=x,\ y=2x,\ y=-x,\ y=-2x$) whose differential equation is $y=x\frac{dy}{dx}$
Fig. 10.1 — The family of straight lines $y=mx$ through the origin (e.g. $y=x,\ y=2x,\ y=-x,\ y=-2x$) whose differential equation is $y=x\frac{dy}{dx}$

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. A set of axes with several lines y=mxy=mx drawn through the origin OO for different slopes mm (four rays labelled y=x, y=2x, y=−x, y=−2xy=x,\ y=2x,\ y=-x,\ y=-2x are shown), illustrating the one-parameter family whose differential equation is derived in Example 10.2. …