- Foundation
- About 15 min
- 5 practice questions
Forming a differential equation by eliminating constants
Start from a family of curves with arbitrary constants and find the differential equation it satisfies, by differentiating as many times as there are constants and eliminating them.
If something looks wrong, please tell us.
In the last lesson a family such as y = Ae^(2x) was given as the general solution of dy/dx = 2y. This lesson runs that process the other way. Given a family of curves described by arbitrary constants, we find the differential equation that every member of the family satisfies and which contains no arbitrary constants. This skill shows clearly why the order of an equation matches the number of constants in its general solution.
The method
Suppose a family of curves is given by an equation containing n arbitrary constants. Differentiate the equation n times with respect to x. Together with the original equation you now have n + 1 equations. Use them to eliminate all n constants. What is left is a relation between x, y and the derivatives up to the nth, which is a differential equation of order n. One constant gives a first-order equation, two constants a second-order equation.
A family with n independent arbitrary constants leads to a differential equation of order n: differentiate n times, then eliminate the constants.
- Write down the family and count its independent arbitrary constants, n.
- Differentiate n times with respect to x.
- Use the equations to express or cancel each constant.
- Simplify to a relation in x, y, y′, …, y⁽ⁿ⁾ with no constants left.
Worked example 1: one constant
Form the differential equation of the family y = mx, the straight lines through the origin, where m is arbitrary. There is one constant, so differentiate once: dy/dx = m. Substitute m back into the family: y = x dy/dx. So the required equation is x dy/dx − y = 0, of order 1. Every line through the origin satisfies it, and m no longer appears.
Worked example 2: a parabola family
Form the differential equation of y = ax², where a is arbitrary. Differentiate once: dy/dx = 2ax. From the family, a = y/x² (for x ≠ 0). Substituting, dy/dx = 2x × y/x² = 2y/x. Hence x dy/dx = 2y. This matches the family met in the previous lesson, where y = Cx² was checked to satisfy exactly this equation.
Worked example 3: two constants
Form the differential equation of y = Aeˣ + Be^(2x), with A and B arbitrary. Two constants mean we differentiate twice: y′ = Aeˣ + 2Be^(2x) and y″ = Aeˣ + 4Be^(2x). Now eliminate. Subtract y from y′: y′ − y = Be^(2x). Subtract y′ from y″: y″ − y′ = 2Be^(2x). So y″ − y′ = 2(y′ − y), which gives y″ − 3y′ + 2y = 0, a second-order equation as expected. You can check it with A = 1, B = 0: y = eˣ gives 1 − 3 + 2 = 0 times eˣ.
Worked example 4: circles centred at the origin
The family x² + y² = r², where r is arbitrary, consists of all circles centred at the origin. Differentiate implicitly with respect to x: 2x + 2y dy/dx = 0. The constant r has already disappeared, so the equation is x + y dy/dx = 0. When a constant stands alone on one side, a single differentiation removes it directly.
Common mistakes
Do not differentiate more times than there are constants: that produces an equation of too high an order. Do not leave a constant in the final answer: if one remains, you have not finished eliminating. And count only independent constants: in y = Ae^(x + B), for instance, Ae^(x + B) = (Ae^B)eˣ, so there is really only one constant, and the equation is dy/dx = y, of order 1.
Key takeaways
To form a differential equation from a family of curves, count the independent arbitrary constants, differentiate that many times, and eliminate them. The result has order equal to the number of constants. Checking your answer with one member of the family takes seconds and catches most slips. With this background, the next lesson begins solving equations directly.
Check your understanding
-
1. A family of curves has 3 independent arbitrary constants. What is the order of its differential equation?
- 1
- 2
- 3
- 4
Show answer
Answer: C. Differentiate three times to eliminate three constants; the resulting differential equation has order 3.
-
2. Which differential equation is obtained by eliminating c from y = cx³?
- dy/dx = 3y
- x dy/dx = y
- dy/dx = 3x²
- x dy/dx = 3y
Show answer
Answer: D. dy/dx = 3cx² and c = y/x³, so dy/dx = 3x² × y/x³ = 3y/x, that is x dy/dx = 3y. The answer dy/dx = 3x² still assumes c = 1.
-
3. Which differential equation does the family y = Ae^(−2x) satisfy, with A arbitrary?
- dy/dx + 2y = 0
- dy/dx − 2y = 0
- dy/dx + y = 0
- d²y/dx² + 2y = 0
Show answer
Answer: A. dy/dx = −2Ae^(−2x) = −2y, so dy/dx + 2y = 0. One constant gives a first-order equation.
-
4. Which differential equation does the family y = Aeˣ + Be^(−x) satisfy, with A and B arbitrary?
- d²y/dx² + y = 0
- dy/dx − y = 0
- d²y/dx² − y = 0
- d²y/dx² − 2y = 0
Show answer
Answer: C. y′ = Aeˣ − Be^(−x) and y″ = Aeˣ + Be^(−x) = y, so y″ − y = 0. Two constants give a second-order equation.
-
5. What is the differential equation of the family of circles x² + y² = r², where r is arbitrary?
- x − y dy/dx = 0
- x + y dy/dx = 0
- y + x dy/dx = 0
- x² + y² dy/dx = 0
Show answer
Answer: B. Differentiate: 2x + 2y dy/dx = 0, so x + y dy/dx = 0, and r has been eliminated.
Sign in to keep track of the lessons you finish.