wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 3.1.9 • Dual 2DPublished Interactive Labs~35 min study

First-Order ODEs: LDE, Integrating Factors & Bernoulli's Equation

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}.

Engineering & Physical Application Context

RC/RL transient electrical circuits, Newton thermal cooling, brine tank mixing, and nonlinear logistic saturation dynamics.

Governing Mathematical Formulation
y′+P(x)y=Q(x)  ⟹  μ(x)=e∫P(x) dxy' + P(x)y = Q(x) \implies \mu(x) = e^{\int P(x)\,dx}
y′+P(x)y=Q(x)yn→v=y1−nv′+(1−n)P(x)v=(1−n)Q(x)y' + P(x)y = Q(x)y^n \xrightarrow{v=y^{1-n}} v' + (1-n)P(x)v = (1-n)Q(x)
Volume III • Module 3.12 Interactive Lab(s)

The Question You Should Ask

How does multiplying by an integrating factor μ(x)\mu(x) collapse a first-order linear ODE into a single product derivative, and how does Bernoulli's substitution tame a nonlinear yny^n term?

In Simple Words & Math

Write a first-order linear ODE in standard form y′+P(x)y=Q(x)y' + P(x)y = Q(x) on an interval where PP and QQ are continuous, then multiply through by μ(x)=e∫P(x) dx\mu(x) = e^{\int P(x)\,dx}. Since μ′(x)=P(x)μ(x)\mu'(x) = P(x)\mu(x), the left side collapses into ddx[μ(x) y]=μ(x)Q(x)\frac{d}{dx}[\mu(x)\,y] = \mu(x)Q(x), solved directly by one integration.

A Bernoulli equation y′+P(x)y=Q(x)yny' + P(x)y = Q(x)y^n (n≠0,1n \neq 0, 1) is nonlinear in yy, yet dividing by yny^n and substituting v=y1−nv = y^{1-n} turns it into the linear ODE v′+(1−n)P(x)v=(1−n)Q(x)v' + (1 - n)P(x)v = (1 - n)Q(x) (remembering to check the equilibrium y≡0y \equiv 0 separately when n>0n > 0).

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 3.1.9
STEP 1 • GEOMETRIC QUESTION

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?

STEP 2 • INTERACTIVE LAB EXPLORATION

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.

STEP 3 • SYMBOLIC FORMALIZATION
ddx ⁣[μ(x) y]=μ(x)Q(x)  ⟹  y(x)=1μ(x) ⁣(∫μ(x)Q(x) dx+C)\frac{d}{dx}\!\left[\color{#FBEAA4}{\mu(x)}\,y\right] = \color{#FBEAA4}{\mu(x)}Q(x) \implies y(x) = \frac{1}{\mu(x)}\!\left(\int \mu(x)Q(x)\,dx + C\right)
STEP 4 • EDGE CASES & NEXT BRIDGE

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.

Interactive Laboratories in Chapter 3.1.9
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

First-Order Solution Cookbook: LDE in y, LDE in x, and Bernoulli Reduction

1. STANDARD LDE IN y
dydx+P(x)y=Q(x)  ⟹  μ(x)=e∫P(x) dx\frac{dy}{dx} + P(x)y = Q(x) \implies \mu(x) = e^{\int P(x)\,dx}
2. REVERSED LDE IN x
dxdy+P(y)x=Q(y)  ⟹  x μ(y)=∫μ(y)Q(y) dy+C\frac{dx}{dy} + P(y)x = Q(y) \implies x\,\mu(y) = \int \mu(y)Q(y)\,dy + C
3. BERNOULLI REDUCTION
y−ny′+Py1−n=Q→v=y1−ndvdx+(1−n)Pv=(1−n)Qy^{-n}y' + P y^{1-n} = Q \xrightarrow{v = y^{1-n}} \frac{dv}{dx} + (1-n)Pv = (1-n)Q
First-Order Linear & Bernoulli ODEs • Ch. 3.1.9

Integrating-Factor Product Collapse, Standard Form & Bernoulli Equilibria

Open First-Order ODE Formulas →
1. STANDARD FORM & PRODUCT COLLAPSE
y′+P(x)y=Q(x),μ(x)=e∫P(x) dx  ⟹  ddx[μy]=μQy' + P(x)y = Q(x),\quad \mu(x) = e^{\int P(x)\,dx} \implies \frac{d}{dx}[\mu y] = \mu Q

Always divide out any leading coefficient a1(x)a_1(x) first so P(x)P(x) carries the exact ratio! Because μ′=Pμ\mu' = P\mu, multiplying collapses the left side into a single derivative ready for direct quadrature.

2. BERNOULLI POWER REDUCTION
v=y1−n  ⟹  dvdx+(1−n)P(x)v=(1−n)Q(x)v = y^{1-n} \implies \frac{dv}{dx} + (1-n)P(x)v = (1-n)Q(x)

Substituting v=y1−nv = y^{1-n} removes the nonlinear yny^n factor cleanly, converting logistic and fluid drag laws into linear constant/variable-coefficient first-order ODEs in vv.

3. EQUILIBRIUM CAVEAT & DOMAIN
n>0  ⟹  y≡0  is always an equilibriumn > 0 \implies y \equiv 0 \;\text{is always an equilibrium}

Dividing through by yny^n can silently discard the trivial zero curve y≡0y \equiv 0 when n>0n > 0; always inspect endpoints and restrict solutions to the largest interval where P,QP, Q remain continuous.

Chapter 3.1.9 Laboratory Specifications

2 Interactive Lab(s)
LAB 3.1.9.1Component: LinearOdeIntegratingFactorLab

Linear ODE Slope Field & Integrating Factor μ(x) Lab

Trace integral curves and inspect exactness under μ(x).

(μy)′=μQ(\mu y)' = \mu Q
LAB 3.1.9.2Component: BernoulliReductionLab

Bernoulli Nonlinear-to-Linear Substitution v = y^{1-n} Lab

Compare curved (x, y) Bernoulli slopes beside straightened (x, v) LDE slopes.

v=y1−nv = y^{1-n}