• Practice
  • About 19 min
  • 5 practice questions

Forming differential equations from physical laws and families of curves

Translate a statement about rates into a differential equation, and form the differential equation of a family of curves by eliminating its arbitrary constants.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write a physical statement such as "grows at a rate proportional to" as a differential equation.
  • Recognise the standard models: Newton's second law, population growth and logistic growth.
  • Form the differential equation of a family of curves by differentiating and eliminating constants.
  • Predict the order of the result from the number of arbitrary constants.

Differential equations arise in two ways. In science they come from laws about rates: a law is written down and the unknown quantity is found later by solving. In geometry they come from families of curves: a whole family, such as all lines through the origin, can be described by one equation with no constants in it. This lesson practises both directions of thinking.

Differential equations from physical situations

To turn a sentence into an equation, identify the quantity that changes, the variable it changes with (usually time t), and what the rate depends on. "Proportional to" means multiply by a constant k; "inversely proportional to" means divide.

  • Newton's second law. For an object of constant mass m falling with height h(t) above the ground, force = mass × acceleration gives m d²h/dt² = f(t, h, dh/dt), a second-order equation for the unknown height.
  • Population growth. If the rate of growth of a population N(t) is proportional to the population, dN/dt = rN with growth rate r > 0.
  • Logistic growth. A disease spreading in a fixed population L, at a rate proportional to the number infected N and the number not yet infected L − N, gives dN/dt = kN(L − N), k > 0.

Worked example 1: sentences into equations

  • "The amount A of a medicine in the blood decreases at a rate proportional to the amount present." The rate is dA/dt and it is negative, so dA/dt = −kA with k > 0.
  • "The area A of a circular oil patch increases at a rate inversely proportional to its radius r." First dA/dt = k/r. Since A = πr², dA/dt = 2πr dr/dt, so 2πr dr/dt = k/r, which gives dr/dt = k/(2πr²), an equation for the radius alone.
  • "The speed v of a boat after its engine stops falls at a rate proportional to the square of the speed." This gives dv/dt = −kv², k > 0.

Differential equations from families of curves

An equation with n arbitrary constants (parameters), such as y = mx with one constant m, represents a family of curves. To find the differential equation satisfied by every member:

Eliminating n arbitrary constants

  1. Write the family The given equation with n constants.
  2. Differentiate n times This gives n new equations.
  3. Eliminate Use the n + 1 equations to remove all n constants.
  4. Result A differential equation of order n with no constants.

Eliminating one arbitrary constant gives a first-order differential equation, two constants a second-order equation, and in general n constants an equation of order n.

— Formation rule

Worked example 2: one constant, y = A e^(3x)

Differentiate once: y′ = 3A e^(3x). But A e^(3x) = y, so y′ = 3y, that is dy/dx − 3y = 0. One constant gave a first-order equation, as expected.

Worked example 3: two constants, y = A e^(2x) + B e^(−3x)

Differentiate twice: y′ = 2A e^(2x) − 3B e^(−3x) and y″ = 4A e^(2x) + 9B e^(−3x). Add the last two: y″ + y′ = 6A e^(2x) + 6B e^(−3x) = 6y. So y″ + y′ − 6y = 0. Check with one member, y = e^(2x): y″ + y′ − 6y = 4e^(2x) + 2e^(2x) − 6e^(2x) = 0. Similarly, y = A cos 2x + B sin 2x gives y″ = −4A cos 2x − 4B sin 2x = −4y, that is y″ + 4y = 0.

Worked example 4: circles of radius 3 with centres on the x-axis

The family is (x − h)² + y² = 9, with one constant h. Differentiate with respect to x: 2(x − h) + 2y y′ = 0, so x − h = −y y′. Substitute in the family: (−y y′)² + y² = 9, that is y²[(y′)² + 1] = 9. This is of order 1 and degree 2: one constant, first order.

Worked example 5: parabolas x² = 4ay

These parabolas have vertex at the origin and axis along the y-axis; a is the constant. Differentiate: 2x = 4a y′, so 4a = 2x/y′. Substitute: x² = (2x/y′)·y, and dividing by x (x ≠ 0) gives x y′ = 2y, that is x dy/dx − 2y = 0. Check: y = x²/(4a) gives y′ = x/(2a) and 2y/x = x/(2a). They agree.

The number of constants fixes the order
FamilyConstantsDifferential equationOrder
y = mx1x y′ − y = 01
y = A e^(3x)1y′ − 3y = 01
x² = 4ay1x y′ − 2y = 01
y = A cos 2x + B sin 2x2y″ + 4y = 02
y = A e^(2x) + B e^(−3x)2y″ + y′ − 6y = 02

Key takeaways: a law about rates becomes a differential equation once "rate" is written as a derivative and "proportional" as a constant k. For a family with n constants, differentiate n times and eliminate the constants; the result has order n. Always check the answer by substituting one member of the family.

Check your understanding

  1. 1. What is the differential equation of the family y = A e^(−4x), where A is an arbitrary constant?

    1. y′ = 4y
    2. y′ + 4y = 0
    3. y″ + 4y = 0
    4. y′ + y = 4
    Show answer

    Answer: B. Differentiating, y′ = −4A e^(−4x) = −4y, so y′ + 4y = 0. One constant gives a first-order equation.

  2. 2. What is the order of the differential equation of all circles (x − h)² + (y − k)² = r² in a plane, where h, k and r are all arbitrary?

    1. 1
    2. 2
    3. 3
    4. 4
    Show answer

    Answer: C. There are three arbitrary constants h, k and r. Eliminating three constants needs three differentiations, so the differential equation has order 3.

  3. 3. Eliminating A and B from y = A cos 3x + B sin 3x gives which equation?

    1. y″ − 9y = 0
    2. y″ + 3y = 0
    3. y″ + 9y = 0
    4. y′ + 9y = 0
    Show answer

    Answer: C. y′ = −3A sin 3x + 3B cos 3x and y″ = −9A cos 3x − 9B sin 3x = −9y. Hence y″ + 9y = 0.

  4. 4. "The rate at which a population P grows is proportional to the square root of P." Which equation states this?

    1. dP/dt = kP²
    2. dP/dt = k√P
    3. dP/dt = k/P
    4. dP/dt = √(kt)
    Show answer

    Answer: B. The rate of growth is dP/dt and "proportional to √P" means a constant k times √P, so dP/dt = k√P.

  5. 5. What is the differential equation of the family y = c x², c an arbitrary constant?

    1. x y′ + 2y = 0
    2. y′ − 2xy = 0
    3. x² y′ = y
    4. x y′ − 2y = 0
    Show answer

    Answer: D. y′ = 2cx. From the family c = y/x², so y′ = 2(y/x²)x = 2y/x, which gives x y′ − 2y = 0.

Privacy · Terms · Refunds · Delivery