TOPIC 7.7 · STUDY
Finding Particular Solutions Using Initial Conditions and Separation of Variables
An initial condition selects one curve from the general solution. For dy/dx = 2x with y(1) = 4, the particular solution is y = x^2 + 3. For dy/dx = y with y(0) = 3, it is y = 3e^x.
FUN-7.E
Particular Solutions Using Initial Conditions and Separation
A general solution of a first-order equation is a family, with one arbitrary constant. A particular solution is the member that also satisfies an initial condition such as $y(x_0)=y_0$. Separate and integrate first, then substitute the initial condition to find the constant. Afterward, check two facts: the derivative matches the differential equation, and the function value matches the initial condition.
Example. Solve $\frac{dy}{dx}=2x$ with $y(1)=4$. Separate as $dy=2x\,dx$ and integrate: $y=x^2+C$. Apply the initial condition: $4=1^2+C$, so $C=3$. The particular solution is $y=x^2+3$. Check the derivative: $\frac{d}{dx}(x^2+3)=2x$, which matches. Check the condition: $y(1)=1+3=4$. Both checks pass. The guess $y=x^2+4$ still has derivative $2x$, so it solves the differential equation, but $y(1)=5$, so it misses the initial condition.
The particular solution $y=x^2+3$ passes through $(1,4)$. Its derivative is $2x$, so it solves $\frac{dy}{dx}=2x$ with $y(1)=4$.
Example. Solve $\frac{dy}{dx}=y$ with $y(0)=3$. Where $y\neq 0$, separate to get $\frac{1}{y}\,dy=dx$, so $\ln|y|=x+C_1$ and $y=Ae^{x}$ with $A\neq 0$. The constant function $y=0$ is also a solution, as the case $A=0$. The initial condition $y(0)=3$ gives $A=3$, because $3=Ae^{0}=A$. The particular solution is $y=3e^{x}$. Check the derivative: $\frac{d}{dx}(3e^{x})=3e^{x}=y$. Check the condition: $y(0)=3\cdot 1=3$. The figure uses coefficient $3$ and base $2.718281828$.
The same family shows what a zero initial value does. If the condition had been $y(0)=0$, then $A=0$ and $y=0$. That constant function was easy to lose in the division step, and the initial condition asks for it. Its derivative is $0$, which equals $y$, so it is a genuine particular solution of $\frac{dy}{dx}=y$, $y(0)=0$.
The particular solution $y=3e^{x}$ passes through $(0,3)$. It is drawn with coefficient $3$ and base $2.718281828$. Differentiation gives $\frac{d}{dx}(3e^{x})=3e^{x}$, which equals $y$.
Key points
- Find the general solution, then use $y(x_0)=y_0$ to determine the constant.
- For $\frac{dy}{dx}=2x$ and $y(1)=4$, $1+C=4$, so $C=3$ and $y=x^2+3$.
- Check both $y'(x)=2x$ and $y(1)=4$. The function $y=x^2+4$ solves only the differential equation.
- For $\frac{dy}{dx}=y$ and $y(0)=3$, the particular solution is $y=3e^{x}$.
- Check both $y'(x)=3e^{x}$ and $y(0)=3$. The drawing uses base $2.718281828$.
- The condition $y(0)=0$ selects the constant solution $y=0$ of $\frac{dy}{dx}=y$.
A common mistake is to set the constant equal to the initial $y$-value without substituting $x$. For $y(1)=4$ and $y=x^2+C$, the equation is $1+C=4$, so $C=3$, not $4$. Another slip is to add the initial value on the exponential model and write $y=e^{x}+3$. That function has derivative $e^{x}$, not $e^{x}+3$, and $y(0)=4$, not $3$.