Linear ODE Slope Field & Integrating Factor μ(x) Lab
Trace integral curves and inspect exactness under μ(x).
Solve linear first-order differential equations y' + P(x)y = Q(x) via μ(x) = e^{∫P dx} and linearize Bernoulli equations via v = y^{1-n}.
RC/RL transient electrical circuits, Newton thermal cooling, brine tank mixing, and nonlinear logistic saturation dynamics.
How does multiplying by an integrating factor collapse a first-order linear ODE into a single product derivative, and how does Bernoulli's substitution tame a nonlinear term?
Write a first-order linear ODE in standard form on an interval where and are continuous, then multiply through by . Since , the left side collapses into , solved directly by one integration.
A Bernoulli equation () is nonlinear in , yet dividing by and substituting turns it into the linear ODE (remembering to check the equilibrium separately when ).
Why does multiplying a non-exact linear equation y' + P(x)y = Q(x) by the integrating factor μ(x) = e^{∫P dx} collapse its left-hand side into a single product derivative—and how does Bernoulli's substitution pull nonlinear flows into the same straight framework?
Click to launch initial conditions across slope fields and integrating factor curves in Lab 3.1.9A, then compare nonlinear Bernoulli trajectories side-by-side against their linearized (x, v) flows in Lab 3.1.9B.
Watch out for division-by-zero coefficient singularities P(x) = 2/x splitting domains at x = 0 and trivial equilibrium loss y = 0 when n > 0; next, Chapter 3.1.10 scales linearity up to 2nd- and higher-order ODEs via the Wronskian.
Trace integral curves and inspect exactness under μ(x).
Compare curved (x, y) Bernoulli slopes beside straightened (x, v) LDE slopes.
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Always divide out any leading coefficient first so carries the exact ratio! Because , multiplying collapses the left side into a single derivative ready for direct quadrature.
Substituting removes the nonlinear factor cleanly, converting logistic and fluid drag laws into linear constant/variable-coefficient first-order ODEs in .
Dividing through by can silently discard the trivial zero curve when ; always inspect endpoints and restrict solutions to the largest interval where remain continuous.
Trace integral curves and inspect exactness under μ(x).
Compare curved (x, y) Bernoulli slopes beside straightened (x, v) LDE slopes.
All initial curves exponentially relax toward the steady-state equilibrium y = 2 as the homogeneous transient dies out.
Setting v = 1/y transforms the nonlinear logistic S-curve into a completely standard constant-coefficient exponential LDE v' + v = 1!