6.1 First-Order ODEs: Separable, Linear, and Exact Equations
Key Takeaways
- An ordinary differential equation of order $n$ expresses the $n$-th derivative in terms of lower derivatives; linearity requires the dependent variable $y$ and its derivatives to appear strictly to the first degree with coefficients depending solely on the independent variable $x$.
- Separable equations $\frac{dy}{dx} = g(x)h(y)$ are integrated as $\int \frac{dy}{h(y)} = \int g(x)\,dx + C$; constant equilibrium solutions where $h(y) = 0$ must be tracked separately to avoid omitting singular solutions.
- First-order linear ODEs in standard form $y' + P(x)y = Q(x)$ are solved via the integrating factor $\mu(x) = \exp\left(\int P(x)\,dx\right)$, producing the general solution $y(x) = \frac{1}{\mu(x)}\left(\int \mu(x)Q(x)\,dx + C\right)$.
- The differential form $M(x,y)\,dx + N(x,y)\,dy = 0$ is exact if and only if $\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}$ on a simply connected domain; if non-exact, an integrating factor $\mu(x) = \exp\left(\int \frac{M_y - N_x}{N}\,dx\right)$ or $\mu(y) = \exp\left(\int \frac{N_x - M_y}{M}\,dy\right)$ can restore exactness.
6.1 First-Order ODEs: Separable, Linear, and Exact Equations
Ordinary differential equations (ODEs) constitute approximately 10% to 15% of the GRE Mathematics Subject Test. Mastery of first-order differential equations requires rapid classification by algebraic structure, rigorous tracking of domains and singular solutions, and fluency with integrating factors and exact differentials.
Classification: Order, Linearity, and Normal Form
An ordinary differential equation relates an independent variable $x$, an unknown function $y(x)$, and its derivatives $y', y'', \dots, y^{(n)}$.
- Order: The order of an ODE is the order of the highest derivative appearing in the equation.
- Linearity: An $n$-th order ODE is linear if it can be written in the form: Crucially, linearity requires that $y$ and all its derivatives appear to the first power, are not multiplied together (e.g., $y y'$ is nonlinear), and do not appear inside nonlinear transcendental functions (e.g., $\sin y$, $e^y$, or $\sqrt{y'}$).
- Normal Form: A first-order ODE in normal form is expressed as $y' = f(x, y)$.
| Differential Equation | Order | Linearity | Structural Reason |
|---|---|---|---|
| $x^2 y' + (\cos x)y = e^x$ | 1 | Linear | $y$ and $y'$ appear linearly with $x$-dependent coefficients |
| $y' + x y^2 = 0$ | 1 | Nonlinear | Degree 2 power in dependent variable $y$ |
| $y'' + 4x y' + y = \sin x$ | 2 | Linear | Linear combination of $y'', y', y$ |
| $y' + \sin(y) = 0$ | 1 | Nonlinear | Transcendental composition $\sin(y)$ |
| $(y')^2 + y = x$ | 1 | Nonlinear | Derivative $y'$ raised to power 2 |
Separable Differential Equations
A first-order ODE is separable if the derivative factors into an $x$-dependent function and a $y$-dependent function:
Analytical Solution Procedure
- Identify Equilibrium (Singular) Solutions: Find all real roots $y_i$ such that $h(y_i) = 0$. The constant functions $y(x) \equiv y_i$ are solutions. Dividing by $h(y)$ assumes $h(y) \neq 0$, so omitting equilibrium solutions loses valid solutions.
- Separate and Integrate: Rewrite the differential equation in separated form:
- Solve for Explicit Form: If feasible, isolate $y(x)$ and determine the constant $C$ from initial data.
First-Order Linear Equations and Integrating Factors
A first-order linear ODE can always be written in the standard form:
If the leading coefficient $a_1(x) \neq 1$ in $a_1(x)y' + a_0(x)y = g(x)$, you must divide the entire equation by $a_1(x)$ before identifying $P(x)$ and $Q(x)$.
Derivation of the Integrating Factor
We seek a strictly positive multiplier $\mu(x)$ such that the left-hand side transforms into a single product derivative $\frac{d}{dx}[\mu(x)y]$: Equating coefficients of $y$ yields the separable differential equation for $\mu(x)$:
Multiplying the standard form by $\mu(x)$ gives: Integrating both sides yields the general solution formula:
Interval of Validity: If $P(x)$ and $Q(x)$ are continuous on an open interval $I$ containing $x_0$, the unique solution to the IVP $y(x_0) = y_0$ exists and is differentiable across the entirety of $I$. Singularities in $P(x)$ define the boundary of the maximal existence interval.
Exact Differential Equations and Potential Functions
A first-order equation written in total differential form is:
Condition for Exactness
The expression $M,dx + N,dy$ is the total differential $d\Psi = \frac{\partial \Psi}{\partial x},dx + \frac{\partial \Psi}{\partial y},dy$ of a scalar potential function $\Psi(x, y)$ if and only if mixed second partial derivatives commute (Clairaut-Schwarz Theorem). On a simply connected domain $D \subseteq \mathbb{R}^2$ where $M, N$ and their first partials are continuous: When this condition holds, the ODE is exact, and the general solution is implicitly defined by:
Recovering the Potential Function $\Psi(x, y)$
- Integrate $M(x, y)$ with respect to $x$, introducing an arbitrary function of integration $g(y)$:
- Differentiate $\Psi(x, y)$ with respect to $y$ and equate to $N(x, y)$:
- Solve for $g'(y) = N(x, y) - \frac{\partial}{\partial y}\left(\int M(x, y),dx\right)$. Exactness guarantees that the right side is independent of $x$. Integrate to find $g(y)$.
Integrating Factors for Non-Exact Equations
When $M_y \neq N_x$, we seek a multiplying function $\mu(x, y)$ such that $(\mu M),dx + (\mu N),dy = 0$ is exact:
On the GRE, testing for single-variable integrating factors is standard:
- Function of $x$ alone, $\mu = \mu(x)$: Here $\frac{\partial \mu}{\partial y} = 0$ and $\frac{\partial \mu}{\partial x} = \mu'(x)$:
- Function of $y$ alone, $\mu = \mu(y)$: Here $\frac{\partial \mu}{\partial x} = 0$ and $\frac{\partial \mu}{\partial y} = \mu'(y)$:
Step-by-Step Worked Problems
Problem 1: Non-Exact Equation Requiring an Integrating Factor
Find the general implicit solution to $(3x y + y^2),dx + (x^2 + xy),dy = 0$.
Solution:
- Identify $M(x, y) = 3xy + y^2$ and $N(x, y) = x^2 + xy$.
- Compute partial derivatives: $M_y = 3x + 2y$ and $N_x = 2x + y$.
- Check difference: $M_y - N_x = (3x + 2y) - (2x + y) = x + y \neq 0$ (not exact).
- Evaluate single-variable criterion: Since this depends solely on $x$, compute $\mu(x) = \exp\left(\int \frac{1}{x},dx\right) = x$.
- Multiply the ODE by $\mu(x) = x$:
- Integrate $\tilde{M} = 3x^2 y + x y^2$ with respect to $x$:
- Differentiate with respect to $y$:
- The general solution is $x^3 y + \frac{1}{2} x^2 y^2 = C$.
Problem 2: First-Order Linear Initial Value Problem
Solve $x y' + 2y = \sin x$ on $(0, \infty)$ subject to $y(\pi) = \frac{1}{\pi^2}$.
Solution:
- Put into standard form by dividing by $x$:
- Compute integrating factor:
- Multiply and integrate:
- Isolate $y(x)$:
- Apply initial condition $y(\pi) = \frac{1}{\pi^2}$:
- Thus $y(x) = -\frac{\cos x}{x} + \frac{\sin x + 1 - \pi}{x^2}$.
GRE Exam Traps & Pitfalls
Trap 1: Calculating $\mu(x)$ Before Putting Linear ODE in Standard Form Given $x^2 y' + 3x y = 1$, students often mistakenly set $P(x) = 3x$ and write $\mu(x) = e^{3x^2/2}$. You must divide by the leading coefficient first: $y' + \frac{3}{x}y = \frac{1}{x^2}$, so $P(x) = \frac{3}{x}$ and $\mu(x) = x^3$.
Trap 2: Forgetting the Constant $C$ Before Dividing by $\mu(x)$ Writing $y(x) = \frac{1}{\mu(x)} \int \mu(x)Q(x),dx + C$ is wrong; the constant of integration belongs inside the parentheses, yielding $y(x) = \frac{1}{\mu(x)} \int \mu(x)Q(x),dx + \frac{C}{\mu(x)}$. Omitting this leads to incorrect initial condition evaluations.
Trap 3: Sign Reversal in the Non-Exact Integrating Factor Test Do not confuse $\frac{M_y - N_x}{N} = f(x)$ with $\frac{N_x - M_y}{M} = g(y)$. Reversing the signs produces incorrect integrating factors that fail to render the differential form exact.
Consider the initial value problem x \frac{dy}{dx} - 3y = x^5 e^{2x} on (0, \infty) with initial condition y(1) = 0. What is the value of y(2)?
For what real value of the constant k is the differential form (k x^2 y + 2y^3) dx + (2x^3 + 6x y^2) dy = 0 exact on R^2, and what is the resulting implicit general solution?
Which of the following functions serves as an integrating factor that converts the non-exact equation (x^2 + y^2 + x) dx + xy dy = 0 into an exact equation, and what is the corresponding general solution?