Definition · Initial value problemA differential equation together with values of the unknown, and for a second-order equation of its derivative, at one starting t = t₀. For first order the problem is y′ = f(t, y) with y(t₀) = y₀.
A solution of the problem is a solution of the equation that also takes the stated values at t₀.
Take y′ = 2t with y(1) = 5. The family of solutions is y = t² + C. The value says that at t = 1 the function is 5, and t² + C at t = 1 is 1 + C, so 1 + C = 5 and C = 4. The solution of the problem is y = t² + 4. The lab reports this as C = 4 from y(1) = 5 and the residual stays 0: fixing a constant does not leave the family of solutions, it picks a member.
y′ = 2t, family y = t² + C
value equation for C C the solution
y(1) = 5 1 + C = 5 4 t² + 4
y(0) = 0 0 + C = 0 0 t²
y(2) = 1 4 + C = 1 −3 t² − 3
Each constant comes with a value
The same procedure works for any family linear in its constants. For y′ = 3y the family is C·e^(3t), and y(0) = 2 gives C·e⁰ = 2, so C = 2 and the solution is 2e^(3t). The value is taken at t = 0 because that is where the lab can evaluate an exponential exactly, since e⁰ = 1: at any other t the value would need an irrational number, and the lab says that it is refusing to fit there.
A second-order equation has two constants, and two values give two equations for them. Take y″ − y′ − 2y = 0, whose two exponentials “Checking a Proposed Solution” verified: the family is C·e^(2t) + D·e^(−t), with derivative 2C·e^(2t) − D·e^(−t). At t = 0 both exponentials are 1, so y(0) = C + D and y′(0) = 2C − D. The values y(0) = 1 and y′(0) = −2 give C + D = 1 and 2C − D = −2; adding them, 3C = −1, so C = −1/3 and D = 4/3, and the lab prints C = −1/3, D = 4/3. Two values, two equations, one small system.
For y″ + y = 0 the family is C·cos(t) + D·sin(t), with derivative −C·sin(t) + D·cos(t). That sine and cosine are each other's rates, with the one sign change, is taken on trust here and demonstrated in “Sine, Cosine and Their Rates” in Second-Order Linear Equations; what this fit needs is only their values at t = 0, where the cosine is 1 and the sine is 0, so y(0) = C and y′(0) = D. The values y(0) = 1 and y′(0) = −2 therefore give C = 1 and D = −2 at once, and the solution is cos(t) − 2·sin(t). One value would leave the other constant free.
Example · Why one value is not enough for a second-order equationGive the lab y″ + y = 0 with only y(0) = 1. It declines to fit anything: the constants tile shows a dash, and the banner says that two constants need two values, y(t₀) and y′(t₀).
By hand the situation is clear: y(0) = 1 forces C = 1 and says nothing about D. Every function cos(t) + D·sin(t) is a solution that passes through (0, 1), and they differ in how steeply they pass. The second value, the rate at the start, is the missing piece of information, and supplying it is what selects one.
A value selects a curve; it does not start the solution
It is tempting to read y(1) = 5 as saying that the solution begins at t = 1. It does not. The curve t² + 4 is defined on both sides of t = 1, and what the value does is identify which curve. The point t₀ is simply where the information is given; the solution runs both ways from it.
One fact about initial value problems is used on trust at this stage. For the equations in this course, a starting point selects exactly one solution. “Blow-Up and the Interval of Existence” states the condition under which that is true and shows an equation where the solution stops existing; the lab, here, only fits the constants.