Differential equations and initial conditions
Introduced| English | Meaning |
|---|---|
| initial condition/ɪˈnɪʃl kənˈdɪʃn/ | A specified starting value used to determine a particular solution of an equation or model. |
| characteristic equation/ˌkærɪktəˈrɪstɪk ɪˈkweɪʒn/ | The polynomial equation obtained by substituting an exponential trial solution into a constant-coefficient linear differential equation. |
One spring equation, many motions
- An ideal undamped spring can obey $y''+4y=0$. The equation permits many motions; specifying starting position and velocity selects one. An initial condition 初始条件 is a specified value of a solution or its derivative at a starting point.
- We will solve separable and linear first-order equations, then homogeneous constant-coefficient second-order equations. A proposed solution must satisfy the differential equation, the initial data and a valid interval of definition.
Separate only where division is valid
- For $y'=g(t)h(y)$, first check constant solutions: each value $c$ with $h(c)=0$ gives $y(t)=c$. Where $h(y)\ne0$, separate $dy/h(y)=g(t)\,dt$ and integrate.
- Dividing can hide a solution. For $y'=y(1-y)$, the constants $y=0$ and $y=1$ must be checked before dividing by $y(1-y)$. A divided equation describes only portions where that denominator is nonzero.
Which constant solutions of $y\prime=y(1-y)$ must be checked before dividing by $y(1-y)$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
For a constant solution the derivative is zero, so y(1 − y) = 0. Both 0 and 1 work in the original equation, although division by y(1 − y) would exclude them.
Exponential growth includes the zero solution
- For $y'=ky$ with real constant $k$, separation of nonzero solutions gives $\ln|y|=kt+C$. Allowing positive, negative and zero constants gives the full family $y=Ce^{kt}$.
- An initial value $y(t_0)=y_0$ selects $y=y_0e^{k(t-t_0)}$. In particular, $y'=2y$ with $y(0)=5$ gives $y=5e^{2t}$; its derivative and initial value verify the answer directly.
$y' = 2y$, $y(0) = 5$. Find $y(\ln 2)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$y = 5e^{2t}$, $e^{2\ln2} = 4$.
A formula needs a connected solution interval
- For $y'=ty^2$, $y(0)=1$, separation gives $-1/y=t^2/2+C$. The initial value gives $C=-1$, hence $y=2/(2-t^2)$.
- The maximal real solution interval containing zero is $(-\sqrt2,\sqrt2)$. The formula also solves the equation on separate intervals beyond its poles, but those intervals cannot contain the initial point. A solution cannot cross an infinite blow-up as an ordinary real-valued differentiable function.
The solution of $y\prime=ty^2$, $y(0)=1$, is $2/(2-t^2)$. Its maximal interval containing the initial point is
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The poles are ±√2. The interval must be connected and contain 0, so it is the component between them. Deleting two points from ℝ gives three separate intervals, not one IVP interval.
A linear first-order equation has an integrating factor
- Put the equation in the form $y'+p(t)y=q(t)$ on an interval where $p,q$ are continuous. Divide by the leading coefficient only where it is nonzero. Choose $\mu(t)=e^{\int p(t)\,dt}$, which never vanishes.
- The product rule gives $(\mu y)'=\mu q$. Integrate to obtain $\mu y=\int\mu q\,dt+C$, then divide by $\mu$ and impose the initial value. This method does not require the equation to be separable.
For $y\prime+2y=4$, an integrating factor is $e^{kt}$. Find k.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
In normal form p(t) = 2, so μ = exp(∫2 dt) = e²ᵗ. Multiplying turns the left side into the derivative of e²ᵗy.
Work the product rule all the way through
- For $y'+2y=4$, $y(0)=1$, use $\mu=e^{2t}$. Then $(e^{2t}y)'=4e^{2t}$ and integration gives $e^{2t}y=2e^{2t}+C$.
- Thus $y=2+Ce^{-2t}$ and $C=-1$: $y=2-e^{-2t}$. Check $y(0)=1$ and $y'+2y=2e^{-2t}+4-2e^{-2t}=4$. As $t\to\infty$, the solution approaches the constant solution 2.
For $y\prime+2y=4$, $y(0)=1$, find $y(\ln2)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The solution is y = 2 − e⁻²ᵗ. At t = ln 2, e⁻²ln2 = 1/4, so y = 7/4 = 1.75.
Solve $ty\prime+y=t^2$ for t > 0 with y(1) = 0. State the normalised equation and integrating factor, and verify the result.
Divide by t on the given interval: $y\prime+y/t=t$. The integrating factor is t, so $(ty)\prime=t^2$ and $ty=t^3/3+C$. From y(1) = 0, C = −1/3, giving $y=t^2/3-1/(3t)$ for t > 0. Its derivative is $2t/3+1/(3t^2)$; substitution into $ty\prime+y$ gives $t^2$, and y(1) = 0. The division was justified only where t is nonzero.
Second order needs two independent solutions
- For real constants $a,b,c$ with $a\ne0$, try $y=e^{rt}$ in $ay''+by'+cy=0$. The characteristic equation 特征方程 is the polynomial equation obtained by substituting an exponential trial solution into a constant-coefficient linear differential equation.
- Here the polynomial is $ar^2+br+c=0$. The general solution must contain two independent solution functions; two multiples of the same exponential do not provide two independent constants. The two initial values are usually $y(t_0)$ and $y'(t_0)$.
Distinct and repeated real roots
- Distinct real roots $r_1,r_2$ give $y=C_1e^{r_1t}+C_2e^{r_2t}$. A repeated root $r$ gives $y=(C_1+C_2t)e^{rt}$. The factor $t$ supplies the second independent solution.
- For $y''-2y'+y=0$, the repeated root is 1. With $y(0)=1$, $y'(0)=0$, we get $C_1=1$ and $C_1+C_2=0$, so $y=(1-t)e^t$. Replacing the second term by another multiple of $e^t$ would lose this solution.
The general solution of $y'' - 6y' + 9y = 0$ is
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The characteristic equation r² − 6r + 9 = (r − 3)² = 0 has the repeated root 3, so the second solution is t e^{3t}: y = (C₁ + C₂t)e^{3t}. Writing C₁e^{3t} + C₂e^{3t} gives only one independent solution.
For $y\prime\prime-2y\prime+y=0$, $y(0)=1$, $y\prime(0)=0$, find $y(1)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The repeated-root solution is (C₁ + C₂t)eᵗ. The conditions give C₁ = 1 and C₂ = −1, so y(1) = 0.
Complex roots and the starting velocity
- Roots $\alpha\pm i\beta$ with $\beta>0$ give the real solution $y=e^{\alpha t}(A\cos\beta t+B\sin\beta t)$. The exponential sets the envelope; $\beta$ sets the angular frequency. Differentiate the whole expression before applying a velocity condition.
- For $y''+4y=0$, $y(0)=3$, $y'(0)=4$, the roots are $\pm2i$. Hence $y=A\cos2t+B\sin2t$, with $A=3$ and $2B=4$. The solution is $3\cos2t+2\sin2t$, so $y(\pi/4)=2$.

Which solution form?
Read the real general-solution form for homogeneous second-order equations with real constant coefficients and nonzero leading coefficient.
$y'' + 9y = 0$, $y(0) = 0$, $y'(0) = 6$. Find $y(\pi/6)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$y = 2\sin 3t$; $\sin(\pi/2) = 1$.
The characteristic roots are $3 \pm 5i$. The solutions oscillate as $\cos \beta t$ and $\sin \beta t$. Find $\beta$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Roots $\alpha \pm i\beta$ give $e^{\alpha t}\cos\beta t$ and $e^{\alpha t}\sin\beta t$.
Solve $y\prime\prime-2y\prime+5y=0$ with $y(0)=1$ and $y\prime(0)=0$. Does its exponential envelope grow or decay for positive time?
The characteristic roots are 1 ± 2i, so $y=e^t(A\cos2t+B\sin2t)$. The first condition gives A = 1. Differentiating the whole expression gives $y\prime(0)=A+2B=0$, so B = −1/2. Thus $y=e^t(\cos2t-\tfrac12\sin2t)$. Its envelope grows like $e^t$; oscillation alone does not imply decay.
A sufficient theorem gives local uniqueness
- For $y'=f(t,y)$, $y(t_0)=y_0$, continuity of $f$ and $f_y$ on an open neighbourhood of $(t_0,y_0)$ guarantees a unique solution on some interval around $t_0$. These are sufficient conditions, not a definition of uniqueness.
- The conclusion is local. Smooth $f(t,y)=y^2$ gives the solution $y=1/(1-t)$ for $y(0)=1$, but it blows up at 1. Local existence and uniqueness do not promise a solution for all real time. Failure of a sufficient hypothesis alone also does not prove nonuniqueness.
For $y\prime=y^2$, solve the IVPs y(0) = 0 and y(0) = 1. Explain what division by $y^2$ can hide, and state each maximal interval containing zero.
The first IVP has the solution y = 0, which is lost if one divides by $y^2$. Since f(y) = y² and its y-derivative are continuous, local uniqueness confirms this constant branch; it extends for all real t. For nonzero solutions, separation gives $-1/y=t+C$. The second IVP gives $y=1/(1-t)$, with maximal interval $(-\infty,1)$ containing zero. The expression beyond 1 is a different branch and cannot extend this IVP across its blow-up.
Prove nonuniqueness by exhibiting solutions
- Interpret $y^{2/3}$ as the square of the real cube root. For $y'=3y^{2/3}$, $y(0)=0$, both $y=0$ and $y=t^3$ satisfy the equation and the initial value. They differ arbitrarily close to zero, so local uniqueness fails.
- The derivative $f_y=2y^{-1/3}$ for $y\ne0$ is not defined at zero, and this right-hand side is not locally Lipschitz there. This explains why the sufficient uniqueness results do not cover the initial point; the two verified solutions establish the failure itself.
$y' = 3y^{2/3}$, $y(0) = 0$ has exactly one solution.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
False. Both $y=0$ and $y=t^3$ satisfy the equation and initial value, proving nonuniqueness. The right-hand side is not locally Lipschitz at zero, so the usual sufficient uniqueness theorem does not apply; that failed hypothesis alone would not have been a proof.
A solution can wait before departing
- The same equation permits a whole family, for any $c\ge0$:
- At the join, both the function and its derivative match: the one-sided derivatives are zero. The differential equation holds there as well as on both pieces, and every member has $y_c(0)=0$. The initial value therefore does not determine a departure time.
Choose the waiting solution with c = 1: $y(t)=0$ for $t\le1$ and $y(t)=(t-1)^3$ for $t\ge1$. Find $y(2)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
At t = 2 the second branch applies, giving (2 − 1)³ = 1. It still shares y(0) = 0 with the always-zero solution.
A failed derivative test can still leave uniqueness
- More generally, continuity of $f$ near the initial point and a local Lipschitz bound in $y$, uniform for nearby $t$, guarantee local existence and uniqueness. Continuity of $f_y$ is one convenient way to obtain this, but is not necessary.
- For $y'=|y|$, the inequality $\big||u|-|v|\big|\le|u-v|$ gives a Lipschitz constant of 1. The derivative with respect to $y$ does not exist at zero, yet $y(0)=0$ has the unique solution $y=0$. This is different from the cubic-root example.
Is the solution unique near the start?
Use verified solutions and uniqueness theorems; unique means near the starting time, including a forward neighbourhood for the stated square-root case.
If the derivative of f with respect to y does not exist at the initial point, the initial-value problem must have more than one solution.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
For $y\prime=|y|$, the derivative with respect to y fails at zero, but the right-hand side is Lipschitz and $y(0)=0$ has the unique solution y = 0. The continuous-partial-derivative condition is sufficient, not necessary.
Verify the solution and the claim
- Check constant solutions before dividing. Normalise linear equations only on valid intervals, use an integrating factor, and verify both the equation and the initial data. Keep the connected interval containing the starting point.
- For homogeneous second-order equations, use two independent functions and both initial values. State uniqueness theorems as sufficient local results. To prove nonuniqueness, exhibit different solutions with the same data; do not infer it merely from a failed hypothesis.
A student says: “The partial derivative $f_y$ is not continuous at the initial point, so uniqueness fails.” Compare $y\prime=|y|$ and $y\prime=3y^{2/3}$, both with y(0) = 0. Verify the join of a waiting solution for the second equation.
The statement reverses a sufficient theorem. For |y|, the inequality $\big||u|-|v|\big|\le|u-v|$ proves a Lipschitz bound, so the zero initial value has the unique solution y = 0 even though $f_y$ does not exist at zero. For the cubic-root equation, y = 0 and y = t³ already prove nonuniqueness. A waiting solution can be 0 for t ≤ c and (t − c)³ for t ≥ c, with c ≥ 0. At t = c both branches have value 0 and derivative 0, matching the right-hand side; elsewhere direct differentiation verifies the equation. Every such solution has y(0) = 0.