FP2.4 - First order differential equations
- Syllabus
- 2019
- Topic
- —
- Level
- A2
A first-order equation is separable when it can be written as dxdy=g(x)h(y), so every factor involving y can be placed with dy and every factor involving x with dx. The constant of integration produces a family of solution curves; an initial condition selects one member.
| Step | Reason |
|---|---|
| Form the equation | Translate a rate statement into dy/dx and define every variable and constant. |
| Record equilibrium solutions | If h(y)=0, constant curves may solve the equation and would be lost by division. |
| Separate and integrate | Write h(y)1dy=g(x)dx, then include one arbitrary constant. |
| Apply the condition | Substitute the given (x,y) pair to obtain the particular solution. |
| Analyse before sketching | Find the domain, asymptotes and stationary points; use the sign of dy/dx for increasing or decreasing branches. |
For dxdy=x(1+y),y(0)=0, first record the equilibrium solution y=−1. For the other solutions,∫1+y1dy=∫xdx,so ln∣1+y∣=2x2+C⟹y=Aex2/2−1.The condition y(0)=0 gives A=1, hence y=ex2/2−1.
For the full family y=Aex2/2−1, every curve is symmetric about the y-axis and has dy/dx=0 at x=0. Curves with A>0 lie above the equilibrium and have a minimum at x=0; curves with A<0 lie below it and have a maximum there. This qualitative information should agree with any plotted member.
Do not divide by a function of y before checking where it is zero, because this can discard equilibrium solutions. Keep the integration constant until an initial or boundary condition is applied, and state the interval on which logarithms, denominators and the explicit solution are defined. A sketch must follow the solved curve and the differential equation's gradient signs, not a generic shape.
A first-order linear equation must first be written in the standard form dxdy+P(x)y=Q(x). Its integrating factor is μ(x)=e∫P(x)dx. Because μ′=Pμ, multiplying by μ turns the entire left side into the product derivative dxd(μy).
dxd(μy)=μQ⟹y=μ(x)∫μ(x)Q(x)dx+C
| Step | Check |
|---|---|
| Normalise | Divide by the coefficient of dy/dx; identify P and Q only afterwards. |
| Build μ | Integrate P with the correct sign; a non-zero constant factor in μ is immaterial. |
| Multiply every term | Verify that the left side equals (μy)′. |
| Integrate once | Integrate μQ, add C, then divide by μ. |
| Particularise and verify | Apply the condition, then substitute or differentiate to check the result. |
For dxdy−2y=x, we have P=−2 and μ=e−2x. Thus (e−2xy)′=xe−2x.Integration by parts gives e−2xy=−e−2x(2x+41)+C, so y=−2x−41+Ce2x. If y(0)=43, then C=1.
The term containing C is the homogeneous part of the family, while the remaining terms form one particular response to Q(x). Their sum is still a solution because the equation is linear.
The integrating-factor formula applies after the equation is in standard linear form; P and Q may be functions of x but not of y. Multiplying only some terms, using eP instead of e∫Pdx, or forgetting to divide the final expression by μ breaks the product-derivative identity. Preserve the stated x-domain when division or logarithms are involved.
A given substitution is useful when it converts a non-standard first-order equation into either a separable equation or a linear equation. The essential move is to differentiate the substitution with the chain rule, replace every occurrence of the old dependent variable consistently, and solve the resulting equation in the new variable.
| Given form | Differentiate as |
|---|---|
| v=y−g(x) | dxdv=dxdy−g′(x) |
| v=yn | dxdv=nyn−1dxdy |
| v=y−n | dxdv=−ny−n−1dxdy |
| y=F(v) | dxdy=F′(v)dxdv |
After differentiating, substitute into the original equation and simplify until only x, v and dv/dx remain. Identify the transformed equation as separable or linear, solve it by the corresponding earlier method, restore the integration constant, and finally replace v to express the result in the requested variable and form.
Consider dxdy+2y=xy3 with the given substitution v=y−2. Since dxdv=−2y−3dxdy, multiplying the original equation by −2y−3 gives dxdv−4v=−2x.This is linear. With integrating factor e−4x,ve−4x=∫−2xe−4xdx=e−4x(2x+81)+C,so v=2x+81+Ce4x,y2=2x+81+Ce4x1.
The substitution may impose restrictions. Here v=y−2 assumes y=0, so the original equation must be checked separately: y=0 is also a solution and was excluded during the transformation. Do not stop at the equation in v unless that is what was requested, and do not confuse this first-order reduction with the separate second-order workflow in FP2.5.