- Foundation
- About 15 min
- 5 practice questions
General and particular solutions
Understand what it means for a function to solve a differential equation, verify solutions by substitution, and tell a general solution (with arbitrary constants) from a particular one.
If something looks wrong, please tell us.
The solution of an algebraic equation such as x² − 5x + 6 = 0 is a number (here 2 or 3). The solution of a differential equation is a function. Before learning to find solutions, it helps to know exactly what a solution is and how to check one.
What a solution is
A function y = φ(x) is a solution of a differential equation if, when φ and its derivatives are substituted for y and its derivatives, the left side becomes equal to the right side for all x in some interval. The graph of a solution is called a solution curve (or integral curve).
For example, for y″ + 4y = 0, try y = a cos 2x + b sin 2x, where a and b are any real numbers. Then y′ = −2a sin 2x + 2b cos 2x and y″ = −4a cos 2x − 4b sin 2x = −4y. So y″ + 4y = −4y + 4y = 0. ✓ Every choice of a and b gives a solution.
General and particular solutions
A solution that contains arbitrary constants (parameters) is called the general solution (or primitive). The function y = a cos 2x + b sin 2x above is the general solution of y″ + 4y = 0; it has two arbitrary constants, matching the order 2 of the equation. A solution obtained by giving particular values to the constants, such as y = 3 cos 2x − sin 2x (a = 3, b = −1), contains no arbitrary constants and is called a particular solution.
In general, the general solution of a differential equation of order n contains n arbitrary constants, and a particular solution contains none. The extra information needed to fix the constants, such as y(0) = 1, is called an initial condition or boundary condition.
General solution and particular solution
-
General solution
- Contains arbitrary constants
- Number of constants = order
- Represents a family of curves
- Example: y = a cos 2x + b sin 2x
-
Particular solution
- No arbitrary constants
- Fixed by given conditions
- Represents one curve of the family
- Example: y = 3 cos 2x − sin 2x
To verify a solution: differentiate as many times as the order, substitute into the equation, and show that the left side equals the right side.
Worked examples
Worked example 1: an exponential solution
Verify that y = e²ˣ is a solution of y″ − y′ − 2y = 0. Differentiate: y′ = 2e²ˣ, y″ = 4e²ˣ. Substitute: 4e²ˣ − 2e²ˣ − 2e²ˣ = 0 = right side. ✓ (You can check in the same way that y = e^(−x) is also a solution, and that y = Ae²ˣ + Be^(−x) is the general solution, with two constants.)
Worked example 2: a first-order equation
Verify that y = Cx³ is a solution of x (dy/dx) = 3y for every constant C. y′ = 3Cx², so x y′ = 3Cx³ = 3y. ✓ This one-parameter family is the general solution of this first-order equation.
Worked example 3: an implicit solution
Verify that the relation x² − y² = C (C a constant) satisfies the differential equation y (dy/dx) = x. Differentiating implicitly: 2x − 2y (dy/dx) = 0, so y (dy/dx) = x. ✓ A solution need not be written as y = φ(x); a relation between x and y that satisfies the equation is enough.
Worked example 4: finding a particular solution
The general solution of dy/dx = 3x² + 2 is y = x³ + 2x + C. Find the particular solution with y = 5 when x = 1. Substitute: 5 = 1 + 2 + C, so C = 2. The particular solution is y = x³ + 2x + 2. Geometrically, of all the curves y = x³ + 2x + C, this is the one that passes through (1, 5).
| Order of the equation | Constants in the general solution | Constants in a particular solution |
|---|---|---|
| 1 | 1 | 0 |
| 2 | 2 | 0 |
| 3 | 3 | 0 |
| n | n | 0 |
Key takeaways
- A solution of a differential equation is a function (or a relation) that satisfies it identically.
- Verify by differentiating and substituting.
- A general solution of an nth-order equation has n arbitrary constants.
- A particular solution has no arbitrary constants; extra conditions fix them.
- Each particular solution is one curve of the family given by the general solution.
Check your understanding
-
1. How many arbitrary constants are there in the general solution of a differential equation of order 3?
- 0
- 1
- 2
- 3
Show answer
Answer: D. The general solution of an equation of order n contains n arbitrary constants, so here there are 3.
-
2. Which function is a solution of y″ + 9y = 0?
- y = sin 3x
- y = e³ˣ
- y = x³
- y = cos 9x
Show answer
Answer: A. For y = sin 3x: y′ = 3 cos 3x, y″ = −9 sin 3x = −9y, so y″ + 9y = 0. For e³ˣ, y″ = 9y, giving 18y ≠ 0; for cos 9x, y″ = −81y.
-
3. The function y = x eˣ satisfies which differential equation?
- y″ + 2y′ + y = 0
- y″ − y = 0
- y″ − 2y′ + y = 0
- y′ − y = 0
Show answer
Answer: C. y′ = (x + 1)eˣ and y″ = (x + 2)eˣ. Then y″ − 2y′ + y = [(x + 2) − 2(x + 1) + x]eˣ = 0. For y′ − y we get eˣ ≠ 0.
-
4. For dy/dx = 3x² + 2 with y = 5 when x = 1, what is y when x = 2?
- 12
- 14
- 10
- 16
Show answer
Answer: B. y = x³ + 2x + C. At x = 1: 5 = 3 + C, so C = 2. At x = 2: y = 8 + 4 + 2 = 14.
-
5. Assertion (A): y = 3 cos(x − π/3) is a particular solution of y″ + y = 0. Reason (R): It is obtained from the general solution y = a cos(x + b) of y″ + y = 0 by giving the particular values a = 3 and b = −π/3 to the arbitrary constants.
- Both A and R are true, and R is the correct explanation of A
- Both A and R are true, but R is not the correct explanation of A
- A is true, but R is false
- A is false, but R is true
Show answer
Answer: A. For y = a cos(x + b), y″ = −a cos(x + b) = −y, so it is the general solution (two constants for order 2). Fixing a = 3 and b = −π/3 gives a solution with no arbitrary constants, which is what a particular solution means. R explains A.
Sign in to keep track of the lessons you finish.