Particular Solutions
An initial condition picks one function out of the general solution. This guide shows how to find the constant, choose signs, and state the interval where the solution is valid.
Separating variables gives a family \(y = \dots + C\). A particular solution is the member that passes through a given point \((x_0, y_0)\). Substitute the point to find \(C\), preferably right after integrating, before solving for \(y\). If solving for \(y\) involves a square root, the sign of \(y_0\) decides which root to keep. The solution is defined on the largest interval containing \(x_0\) where the formula stays valid.
1From general to particular
\(\dfrac{dy}{dx} = xy\), \(y(0) = 3\)
- 1General solution (separate and integrate): \(y = Ce^{x^2/2}\).
- 2Apply the initial condition: \(3 = Ce^{0}\), so \(C = 3\).
“Using the initial condition \(y(0) = 3\): \(3 = Ce^0\), so \(C = 3\). The particular solution is \(y = 3e^{x^2/2}\).”
\(\dfrac{dy}{dx} = y^2\cos x\), \(y(0) = 1\)
- 1Separate: \(y^{-2}\,dy = \cos x\,dx\). Integrate: \(-\dfrac1y = \sin x + C\).
- 2At \((0, 1)\): \(-1 = 0 + C\), so \(C = -1\). Then \(-\dfrac1y = \sin x - 1\), so \(y = \dfrac{1}{1 - \sin x}\).
- 3Check: \(y(0) = 1\). ✓
Finding \(C\) is usually easiest right after integrating, when the equation still reads \(-\frac1y = \sin x + C\). Waiting until after the algebra can lead to more mistakes with signs and exponents.
2Choosing signs
\(\dfrac{dy}{dx} = \dfrac{x}{y}\), \(y(0) = -2\)
- 1General solution: \(y^2 = x^2 + C\). At \((0, -2)\): \(4 = 0 + C\), so \(C = 4\).
- 2Then \(y = \pm\sqrt{x^2 + 4}\). The point has \(y = -2 \lt 0\), so take the negative root.
\(y = \pm\sqrt{x^2 + 4}\) is not a function. The initial point is below the axis, so only the negative root passes through it.
3The domain of a solution
\(\dfrac{dy}{dx} = y^2\), \(y(0) = 1\)
- 1General solution: \(-\dfrac1y = x + C\). At \((0, 1)\): \(C = -1\), so \(y = \dfrac{1}{1 - x}\).
- 2The formula breaks at \(x = 1\). A solution must be a single unbroken piece through the initial point, so the solution is defined only for \(x \lt 1\).
\(y = \frac{1}{1 - x}\) also has a branch for \(x \gt 1\), but that branch never meets \((0, 1)\). A particular solution is one connected piece through its initial point.
\(\dfrac{dy}{dx} = -\dfrac{x}{y}\), \(y(0) = 2\)
- 1Separate and integrate: \(y\,dy = -x\,dx\), so \(\dfrac{y^2}{2} = -\dfrac{x^2}{2} + C\).
- 2At \((0, 2)\): \(2 = C\). Multiply by 2: \(y^2 = 4 - x^2\).
- 3The point has \(y \gt 0\), so \(y = \sqrt{4 - x^2}\).
- 4At \(x = \pm 2\), \(y = 0\) and \(\frac{dy}{dx} = -\frac{x}{y}\) is undefined, so those endpoints are left out.
A solution has to satisfy the differential equation at every point of its interval. If \(\frac{dy}{dx}\) is undefined at an endpoint, as at \(x = \pm 2\) here, that endpoint is left out.
Quick reference
| Step | Action |
|---|---|
| 1 | Separate and integrate (one C) |
| 2 | Substitute the initial point to find C |
| 3 | Solve for y; choose the sign that matches the point |
| 4 | State the interval: largest one through x₀ where the formula works |
| 5 | Check: y(x₀) = y₀ |