Study guide
6.1 First-Order ODEs: Separable, Linear, and Exact Equations
GRE Subject Test: Mathematics Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Single-Variable Differential Calculus
1.1 Limits, Continuity, and Epsilon-Delta Definitions 1.2 Differentiation Rules, Implicit & Inverse Differentiation 1.3 Mean Value Theorem, Rolle's Theorem, and Function Extrema 1.4 L'Hôpital's Rule, Curve Sketching, and Optimization 1.5 Functions, Graphs, Transformations, and Inverses 1.6 Trigonometric Functions, Identities, and Equations 1.7 Coordinate Geometry, Lines, Circles, and Conics 1.8 Parametric and Polar Curves
2 Chapter 2: Single-Variable Integral Calculus
2.1 Riemann Sums and the Fundamental Theorem of Calculus 2.2 Advanced Integration Techniques 2.3 Geometric Applications: Areas, Volumes, and Arc Length 2.4 Improper Integrals and Convergence Criteria
3 Chapter 3: Sequences, Infinite Series & Power Series
3.1 Sequences, Monotonicity, and Limits 3.2 Infinite Series and Convergence Tests 3.3 Power Series, Radius and Interval of Convergence 3.4 Taylor and Maclaurin Series with Error Bounds
4 Chapter 4: Multivariable Differential Calculus
4.1 Multivariable Functions, Limits, and Partial Derivatives 4.2 Directional Derivatives, Gradients, and Tangent Planes 4.3 Multivariable Chain Rule and Implicit Differentiation 4.4 Multivariable Extrema, Hessian Matrix, and Lagrange Multipliers
5 Chapter 5: Multivariable Integration & Vector Calculus
5.1 Multiple Integrals in Cylindrical and Spherical Coordinates 5.2 Change of Variables and the Jacobian Determinant 5.3 Vector Fields, Line Integrals, and Green's Theorem 5.4 Surface Integrals, Stokes' Theorem, and the Divergence Theorem
6 Chapter 6: Ordinary Differential Equations
6.1 First-Order ODEs: Separable, Linear, and Exact Equations 6.2 Special First-Order ODEs: Homogeneous, Bernoulli, and Orthogonal Trajectories 6.3 Second-Order Linear Homogeneous ODEs with Constant Coefficients 6.4 Nonhomogeneous Linear ODEs: Undetermined Coefficients and Variation of Parameters
7 Chapter 7: Elementary Algebra & Number Theory
7.1 Elementary Algebra, Polynomials, Roots, and Factorization 7.2 Divisibility, Primes, and the Euclidean Algorithm 7.3 Modular Arithmetic, Chinese Remainder Theorem, and Euler's Totient
8 Chapter 8: Linear Algebra: Vector Spaces & Transformations
8.1 Vector Spaces, Subspaces, Span, and Linear Independence 8.2 Basis, Dimension, and Coordinate Representations 8.3 Linear Transformations, Kernel, Range, and the Rank-Nullity Theorem 8.4 Matrix Representations of Transformations and Change of Basis
9 Chapter 9: Linear Algebra: Matrices, Determinants & Spectral Theory
9.1 Systems of Linear Equations, Matrix Rank, and Row Reduction 9.2 Determinants, Matrix Inverses, and Cramer's Rule 9.3 Eigenvalues, Eigenvectors, and Diagonalization 9.4 Inner Product Spaces, Gram-Schmidt, and the Spectral Theorem
10 Chapter 10: Abstract Algebra: Groups, Rings & Fields
10.1 Groups, Subgroups, and Permutations 10.2 Cosets, Lagrange's Theorem, Normal Subgroups, and Homomorphisms 10.3 Rings, Ideals, Modules, Polynomial Rings, and Fields
11 Chapter 11: Introductory Real Analysis
11.1 The Real Field and Metric Space Topology 11.2 Compactness, Completeness, and Connectedness in R^n 11.3 Continuity, Uniform Continuity, and Value Theorems 11.4 Sequences and Series of Functions: Pointwise and Uniform Convergence
12 Chapter 12: Complex Analysis
12.1 Complex Numbers and Analytic Functions 12.2 Contour Integration and Cauchy's Theorems 12.3 Laurent Series, Singularities, and the Residue Theorem
13 Chapter 13: Topology, Geometry & Numerical Analysis
13.1 Topological Spaces, Open/Closed Sets, and Bases 13.2 Euclidean Geometry, Similarity, Circles, and Transformations 13.3 Numerical Analysis: Error, Root Finding, Interpolation, and Quadrature
14 Chapter 14: Probability, Statistics & Discrete Mathematics
14.1 Logic, Set Theory, Algorithms, and Combinatorics 14.2 Graph Theory: Trees, Cycles, Paths, and Planarity 14.3 Probability Spaces, Conditional Probability, and Bayes' Theorem 14.4 Random Variables, Expected Value, Variance, and Common Distributions
6.1 First-Order ODEs: Separable, Linear, and Exact Equations
Key Takeaways Explain This Topic AI
An ordinary differential equation of order n n n expresses the n n n -th derivative in terms of lower derivatives; linearity requires the dependent variable y y y and its derivatives to appear strictly to the first degree with coefficients depending solely on the independent variable x x x .
Separable equations d y d x = g ( x ) h ( y ) \frac{dy}{dx} = g(x)h(y) d x d y = g ( x ) h ( y ) are integrated as ∫ d y h ( y ) = ∫ g ( x ) d x + C \int \frac{dy}{h(y)} = \int g(x)\,dx + C ∫ h ( y ) d y = ∫ g ( x ) d x + C ; constant equilibrium solutions where h ( y ) = 0 h(y) = 0 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 ) y' + P(x)y = Q(x) y ′ + P ( x ) y = Q ( x ) are solved via the integrating factor μ ( x ) = exp ( ∫ P ( x ) d x ) \mu(x) = \exp\left(\int P(x)\,dx\right) μ ( x ) = exp ( ∫ P ( x ) d x ) , producing the general solution y ( x ) = 1 μ ( x ) ( ∫ μ ( x ) Q ( x ) d x + C ) y(x) = \frac{1}{\mu(x)}\left(\int \mu(x)Q(x)\,dx + C\right) y ( x ) = μ ( x ) 1 ( ∫ μ ( x ) Q ( x ) d x + C ) .
The differential form M ( x , y ) d x + N ( x , y ) d y = 0 M(x,y)\,dx + N(x,y)\,dy = 0 M ( x , y ) d x + N ( x , y ) d y = 0 is exact if and only if ∂ M ∂ y = ∂ N ∂ x \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} ∂ y ∂ M = ∂ x ∂ N on a simply connected domain; if non-exact, an integrating factor μ ( x ) = exp ( ∫ M y − N x N d x ) \mu(x) = \exp\left(\int \frac{M_y - N_x}{N}\,dx\right) μ ( x ) = exp ( ∫ N M y − N x d x ) or μ ( y ) = exp ( ∫ N x − M y M d y ) \mu(y) = \exp\left(\int \frac{N_x - M_y}{M}\,dy\right) μ ( y ) = exp ( ∫ M N x − M y d y ) can restore exactness.
Last updated: September 2026
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 x x , an unknown function y ( x ) y(x) y ( x ) , and its derivatives y ′ , y ′ ′ , … , y ( n ) y', y'', \dots, y^{(n)} y ′ , y ′′ , … , y ( n ) .
Order : The order of an ODE is the order of the highest derivative appearing in the equation.
Linearity : An n n n -th order ODE is linear if it can be written in the form: a n ( x ) y ( n ) + a n − 1 ( x ) y ( n − 1 ) + ⋯ + a 1 ( x ) y ′ + a 0 ( x ) y = g ( x ) a_n(x) y^{(n)} + a_{n-1}(x) y^{(n-1)} + \dots + a_1(x) y' + a_0(x) y = g(x) a n ( x ) y ( n ) + a n − 1 ( x ) y ( n − 1 ) + ⋯ + a 1 ( x ) y ′ + a 0 ( x ) y = g ( x ) Crucially, linearity requires that y y y and all its derivatives appear to the first power, are not multiplied together (e.g., y y ′ y y' y y ′ is nonlinear), and do not appear inside nonlinear transcendental functions (e.g., sin y \sin y sin y , e y e^y e y , or y ′ \sqrt{y'} y ′ ).
Normal Form : A first-order ODE in normal form is expressed as y ′ = f ( x , y ) y' = f(x, y) y ′ = f ( x , y ) .
Differential Equation Order Linearity Structural Reason
x 2 y ′ + ( cos x ) y = e x x^2 y' + (\cos x)y = e^x x 2 y ′ + ( cos x ) y = e x 1 Linear y y y and y ′ y' y ′ appear linearly with x x x -dependent coefficients
y ′ + x y 2 = 0 y' + x y^2 = 0 y ′ + x y 2 = 0 1 Nonlinear Degree 2 power in dependent variable y y y
y ′ ′ + 4 x y ′ + y = sin x y'' + 4x y' + y = \sin x y ′′ + 4 x y ′ + y = sin x 2 Linear Linear combination of y ′ ′ , y ′ , y y'', y', y y ′′ , y ′ , y
y ′ + sin ( y ) = 0 y' + \sin(y) = 0 y ′ + sin ( y ) = 0 1 Nonlinear Transcendental composition sin ( y ) \sin(y) sin ( y )
- ( y ′ ) 2 + y = x (y')^2 + y = x ( y ′ ) 2 + y = x 1 Nonlinear Derivative y ′ y' y ′ raised to power 2
- Separable Differential Equations
A first-order ODE is separable if the derivative factors into an x x x -dependent function and a y y y -dependent function: d y d x = g ( x ) h ( y ) \frac{dy}{dx} = g(x) h(y) d x d y = g ( x ) h ( y )
Analytical Solution Procedure
Identify Equilibrium (Singular) Solutions : Find all real roots y i y_i y i such that h ( y i ) = 0 h(y_i) = 0 h ( y i ) = 0 . The constant functions y ( x ) ≡ y i y(x) \equiv y_i y ( x ) ≡ y i are solutions. Dividing by h ( y ) h(y) h ( y ) assumes h ( y ) ≠ 0 h(y) \neq 0 h ( y ) = 0 , so omitting equilibrium solutions loses valid solutions.
Separate and Integrate : Rewrite the differential equation in separated form: 1 h ( y ) d y = g ( x ) d x ⟹ ∫ 1 h ( y ) d y = ∫ g ( x ) d x + C \frac{1}{h(y)}\,dy = g(x)\,dx \implies \int \frac{1}{h(y)}\,dy = \int g(x)\,dx + C h ( y ) 1 d y = g ( x ) d x ⟹ ∫ h ( y ) 1 d y = ∫ g ( x ) d x + C
Solve for Explicit Form : If feasible, isolate y ( x ) y(x) y ( x ) and determine the constant C C C from initial data.
First-Order Linear Equations and Integrating Factors
A first-order linear ODE can always be written in the standard form : y ′ + P ( x ) y = Q ( x ) y' + P(x)y = Q(x) y ′ + P ( x ) y = Q ( x )
If the leading coefficient a 1 ( x ) ≠ 1 a_1(x) \neq 1 a 1 ( x ) = 1 in a 1 ( x ) y ′ + a 0 ( x ) y = g ( x ) a_1(x)y' + a_0(x)y = g(x) a 1 ( x ) y ′ + a 0 ( x ) y = g ( x ) , you must divide the entire equation by a 1 ( x ) a_1(x) a 1 ( x ) before identifying P ( x ) P(x) P ( x ) and Q ( x ) Q(x) Q ( x ) .
Derivation of the Integrating Factor
We seek a strictly positive multiplier μ ( x ) \mu(x) μ ( x ) such that the left-hand side transforms into a single product derivative d d x [ μ ( x ) y ] \frac{d}{dx}[\mu(x)y] d x d [ μ ( x ) y ] : μ ( x ) y ′ + μ ( x ) P ( x ) y = d d x [ μ ( x ) y ] = μ ( x ) y ′ + μ ′ ( x ) y \mu(x)y' + \mu(x)P(x)y = \frac{d}{dx}[\mu(x)y] = \mu(x)y' + \mu'(x)y μ ( x ) y ′ + μ ( x ) P ( x ) y = d x d [ μ ( x ) y ] = μ ( x ) y ′ + μ ′ ( x ) y
Equating coefficients of y y y yields the separable differential equation for μ ( x ) \mu(x) μ ( x ) : μ ′ ( x ) = μ ( x ) P ( x ) ⟹ d μ μ = P ( x ) d x ⟹ μ ( x ) = exp ( ∫ P ( x ) d x ) \mu'(x) = \mu(x)P(x) \implies \frac{d\mu}{\mu} = P(x)\,dx \implies \mu(x) = \exp\left(\int P(x)\,dx\right) μ ′ ( x ) = μ ( x ) P ( x ) ⟹ μ d μ = P ( x ) d x ⟹ μ ( x ) = exp ( ∫ P ( x ) d x )
Multiplying the standard form by μ ( x ) \mu(x) μ ( x ) gives: d d x [ μ ( x ) y ] = μ ( x ) Q ( x ) \frac{d}{dx}[\mu(x)y] = \mu(x)Q(x) d x d [ μ ( x ) y ] = μ ( x ) Q ( x )
Integrating both sides yields the general solution formula: y ( x ) = 1 μ ( x ) ( ∫ μ ( x ) Q ( x ) d x + C ) y(x) = \frac{1}{\mu(x)}\left(\int \mu(x)Q(x)\,dx + C\right) y ( x ) = μ ( x ) 1 ( ∫ μ ( x ) Q ( x ) d x + C )
Interval of Validity : If P ( x ) P(x) P ( x ) and Q ( x ) Q(x) Q ( x ) are continuous on an open interval I I I containing x 0 x_0 x 0 , the unique solution to the IVP y ( x 0 ) = y 0 y(x_0) = y_0 y ( x 0 ) = y 0 exists and is differentiable across the entirety of I I I . Singularities in P ( x ) P(x) 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: M ( x , y ) d x + N ( x , y ) d y = 0 M(x, y)\,dx + N(x, y)\,dy = 0 M ( x , y ) d x + N ( x , y ) d y = 0
Condition for Exactness
The expression M d x + N d y M\,dx + N\,dy M d x + N d y is the total differential d Ψ = ∂ Ψ ∂ x d x + ∂ Ψ ∂ y d y d\Psi = \frac{\partial \Psi}{\partial x}\,dx + \frac{\partial \Psi}{\partial y}\,dy d Ψ = ∂ x ∂ Ψ d x + ∂ y ∂ Ψ d y of a scalar potential function Ψ ( x , y ) \Psi(x, y) Ψ ( x , y ) if and only if mixed second partial derivatives commute (Clairaut-Schwarz Theorem). On a simply connected domain D ⊆ R 2 D \subseteq \mathbb{R}^2 D ⊆ R 2 where M , N M, N M , N and their first partials are continuous: ∂ M ∂ y = ∂ N ∂ x \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} ∂ y ∂ M = ∂ x ∂ N
When this condition holds, the ODE is exact , and the general solution is implicitly defined by: Ψ ( x , y ) = C \Psi(x, y) = C Ψ ( x , y ) = C
Recovering the Potential Function Ψ ( x , y ) \Psi(x, y) Ψ ( x , y )
Integrate M ( x , y ) M(x, y) M ( x , y ) with respect to x x x , introducing an arbitrary function of integration g ( y ) g(y) g ( y ) : Ψ ( x , y ) = ∫ M ( x , y ) d x + g ( y ) \Psi(x, y) = \int M(x, y)\,dx + g(y) Ψ ( x , y ) = ∫ M ( x , y ) d x + g ( y )
Differentiate Ψ ( x , y ) \Psi(x, y) Ψ ( x , y ) with respect to y y y and equate to N ( x , y ) N(x, y) N ( x , y ) : ∂ Ψ ∂ y = ∂ ∂ y ( ∫ M ( x , y ) d x ) + g ′ ( y ) = N ( x , y ) \frac{\partial \Psi}{\partial y} = \frac{\partial}{\partial y}\left(\int M(x, y)\,dx\right) + g'(y) = N(x, y) ∂ y ∂ Ψ = ∂ y ∂ ( ∫ M ( x , y ) d x ) + g ′ ( y ) = N ( x , y )
Solve for g ′ ( y ) = N ( x , y ) − ∂ ∂ y ( ∫ M ( x , y ) d x ) g'(y) = N(x, y) - \frac{\partial}{\partial y}\left(\int M(x, y)\,dx\right) g ′ ( y ) = N ( x , y ) − ∂ y ∂ ( ∫ M ( x , y ) d x ) . Exactness guarantees that the right side is independent of x x x . Integrate to find g ( y ) g(y) g ( y ) .
Integrating Factors for Non-Exact Equations
When M y ≠ N x M_y \neq N_x M y = N x , we seek a multiplying function μ ( x , y ) \mu(x, y) μ ( x , y ) such that ( μ M ) d x + ( μ N ) d y = 0 (\mu M)\,dx + (\mu N)\,dy = 0 ( μ M ) d x + ( μ N ) d y = 0 is exact: ∂ ∂ y ( μ M ) = ∂ ∂ x ( μ N ) ⟹ M ∂ μ ∂ y + μ ∂ M ∂ y = N ∂ μ ∂ x + μ ∂ N ∂ x \frac{\partial}{\partial y}(\mu M) = \frac{\partial}{\partial x}(\mu N) \implies M\frac{\partial \mu}{\partial y} + \mu \frac{\partial M}{\partial y} = N\frac{\partial \mu}{\partial x} + \mu \frac{\partial N}{\partial x} ∂ y ∂ ( μ M ) = ∂ x ∂ ( μ N ) ⟹ M ∂ y ∂ μ + μ ∂ y ∂ M = N ∂ x ∂ μ + μ ∂ x ∂ N
On the GRE, testing for single-variable integrating factors is standard:
Function of x x x alone, μ = μ ( x ) \mu = \mu(x) μ = μ ( x ) : Here ∂ μ ∂ y = 0 \frac{\partial \mu}{\partial y} = 0 ∂ y ∂ μ = 0 and ∂ μ ∂ x = μ ′ ( x ) \frac{\partial \mu}{\partial x} = \mu'(x) ∂ x ∂ μ = μ ′ ( x ) : M y − N x N = f ( x ) ⟹ μ ( x ) = exp ( ∫ f ( x ) d x ) \frac{M_y - N_x}{N} = f(x) \implies \mu(x) = \exp\left(\int f(x)\,dx\right) N M y − N x = f ( x ) ⟹ μ ( x ) = exp ( ∫ f ( x ) d x )
Function of y y y alone, μ = μ ( y ) \mu = \mu(y) μ = μ ( y ) : Here ∂ μ ∂ x = 0 \frac{\partial \mu}{\partial x} = 0 ∂ x ∂ μ = 0 and ∂ μ ∂ y = μ ′ ( y ) \frac{\partial \mu}{\partial y} = \mu'(y) ∂ y ∂ μ = μ ′ ( y ) : N x − M y M = g ( y ) ⟹ μ ( y ) = exp ( ∫ g ( y ) d y ) \frac{N_x - M_y}{M} = g(y) \implies \mu(y) = \exp\left(\int g(y)\,dy\right) M N x − M y = g ( y ) ⟹ μ ( y ) = exp ( ∫ g ( y ) d y )
- Step-by-Step Worked Problems
- Problem 1: Non-Exact Equation Requiring an Integrating Factor
Find the general implicit solution to ( 3 x y + y 2 ) d x + ( x 2 + x y ) d y = 0 (3x y + y^2)\,dx + (x^2 + xy)\,dy = 0 ( 3 x y + y 2 ) d x + ( x 2 + x y ) d y = 0 .
Solution :
Identify M ( x , y ) = 3 x y + y 2 M(x, y) = 3xy + y^2 M ( x , y ) = 3 x y + y 2 and N ( x , y ) = x 2 + x y N(x, y) = x^2 + xy N ( x , y ) = x 2 + x y .
Compute partial derivatives: M y = 3 x + 2 y M_y = 3x + 2y M y = 3 x + 2 y and N x = 2 x + y N_x = 2x + y N x = 2 x + y .
Check difference: M y − N x = ( 3 x + 2 y ) − ( 2 x + y ) = x + y ≠ 0 M_y - N_x = (3x + 2y) - (2x + y) = x + y \neq 0 M y − N x = ( 3 x + 2 y ) − ( 2 x + y ) = x + y = 0 (not exact).
Evaluate single-variable criterion: M y − N x N = x + y x ( x + y ) = 1 x \frac{M_y - N_x}{N} = \frac{x + y}{x(x + y)} = \frac{1}{x} N M y − N x = x ( x + y ) x + y = x 1 Since this depends solely on x x x , compute μ ( x ) = exp ( ∫ 1 x d x ) = x \mu(x) = \exp\left(\int \frac{1}{x}\,dx\right) = x μ ( x ) = exp ( ∫ x 1 d x ) = x .
Multiply the ODE by μ ( x ) = x \mu(x) = x μ ( x ) = x : ( 3 x 2 y + x y 2 ) d x + ( x 3 + x 2 y ) d y = 0 (3x^2 y + x y^2)\,dx + (x^3 + x^2 y)\,dy = 0 ( 3 x 2 y + x y 2 ) d x + ( x 3 + x 2 y ) d y = 0
Integrate M ~ = 3 x 2 y + x y 2 \tilde{M} = 3x^2 y + x y^2 M ~ = 3 x 2 y + x y 2 with respect to x x x : Ψ ( x , y ) = x 3 y + 1 2 x 2 y 2 + g ( y ) \Psi(x, y) = x^3 y + \frac{1}{2} x^2 y^2 + g(y) Ψ ( x , y ) = x 3 y + 2 1 x 2 y 2 + g ( y )
Differentiate with respect to y y y : ∂ Ψ ∂ y = x 3 + x 2 y + g ′ ( y ) = x 3 + x 2 y ⟹ g ′ ( y ) = 0 ⟹ g ( y ) = C 0 \frac{\partial \Psi}{\partial y} = x^3 + x^2 y + g'(y) = x^3 + x^2 y \implies g'(y) = 0 \implies g(y) = C_0 ∂ y ∂ Ψ = x 3 + x 2 y + g ′ ( y ) = x 3 + x 2 y ⟹ g ′ ( y ) = 0 ⟹ g ( y ) = C 0
The general solution is x 3 y + 1 2 x 2 y 2 = C x^3 y + \frac{1}{2} x^2 y^2 = C x 3 y + 2 1 x 2 y 2 = C .
Problem 2: First-Order Linear Initial Value Problem
Solve x y ′ + 2 y = sin x x y' + 2y = \sin x x y ′ + 2 y = sin x on ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) subject to y ( π ) = 1 π 2 y(\pi) = \frac{1}{\pi^2} y ( π ) = π 2 1 .
Solution :
Put into standard form by dividing by x x x : y ′ + 2 x y = sin x x y' + \frac{2}{x}y = \frac{\sin x}{x} y ′ + x 2 y = x sin x
Compute integrating factor: μ ( x ) = exp ( ∫ 2 x d x ) = e 2 ln x = x 2 \mu(x) = \exp\left(\int \frac{2}{x}\,dx\right) = e^{2\ln x} = x^2 μ ( x ) = exp ( ∫ x 2 d x ) = e 2 l n x = x 2
Multiply and integrate: d d x [ x 2 y ] = x 2 ( sin x x ) = x sin x \frac{d}{dx}[x^2 y] = x^2 \left(\frac{\sin x}{x}\right) = x \sin x d x d [ x 2 y ] = x 2 ( x sin x ) = x sin x x 2 y = ∫ x sin x d x = − x cos x + sin x + C x^2 y = \int x \sin x\,dx = -x \cos x + \sin x + C x 2 y = ∫ x sin x d x = − x cos x + sin x + C
Isolate y ( x ) y(x) y ( x ) : y ( x ) = − cos x x + sin x x 2 + C x 2 y(x) = -\frac{\cos x}{x} + \frac{\sin x}{x^2} + \frac{C}{x^2} y ( x ) = − x cos x + x 2 sin x + x 2 C
Apply initial condition y ( π ) = 1 π 2 y(\pi) = \frac{1}{\pi^2} y ( π ) = π 2 1 : − cos π π + sin π π 2 + C π 2 = 1 π + C π 2 = 1 π 2 ⟹ C = 1 − π -\frac{\cos \pi}{\pi} + \frac{\sin \pi}{\pi^2} + \frac{C}{\pi^2} = \frac{1}{\pi} + \frac{C}{\pi^2} = \frac{1}{\pi^2} \implies C = 1 - \pi − π cos π + π 2 sin π + π 2 C = π 1 + π 2 C = π 2 1 ⟹ C = 1 − π
Thus y ( x ) = − cos x x + sin x + 1 − π x 2 y(x) = -\frac{\cos x}{x} + \frac{\sin x + 1 - \pi}{x^2} y ( x ) = − x c o s x + x 2 s i n x + 1 − π .
GRE Exam Traps & Pitfalls
Trap 1: Calculating μ ( x ) \mu(x) μ ( x ) Before Putting Linear ODE in Standard Form Given x 2 y ′ + 3 x y = 1 x^2 y' + 3x y = 1 x 2 y ′ + 3 x y = 1 , students often mistakenly set P ( x ) = 3 x P(x) = 3x P ( x ) = 3 x and write μ ( x ) = e 3 x 2 / 2 \mu(x) = e^{3x^2/2} μ ( x ) = e 3 x 2 /2 . You must divide by the leading coefficient first: y ′ + 3 x y = 1 x 2 y' + \frac{3}{x}y = \frac{1}{x^2} y ′ + x 3 y = x 2 1 , so P ( x ) = 3 x P(x) = \frac{3}{x} P ( x ) = x 3 and μ ( x ) = x 3 \mu(x) = x^3 μ ( x ) = x 3 .
Trap 2: Forgetting the Constant C C C Before Dividing by μ ( x ) \mu(x) μ ( x ) Writing y ( x ) = 1 μ ( x ) ∫ μ ( x ) Q ( x ) d x + C y(x) = \frac{1}{\mu(x)} \int \mu(x)Q(x)\,dx + C y ( x ) = μ ( x ) 1 ∫ μ ( x ) Q ( x ) d x + C is wrong; the constant of integration belongs inside the parentheses, yielding y ( x ) = 1 μ ( x ) ∫ μ ( x ) Q ( x ) d x + C μ ( x ) y(x) = \frac{1}{\mu(x)} \int \mu(x)Q(x)\,dx + \frac{C}{\mu(x)} y ( x ) = μ ( x ) 1 ∫ μ ( x ) Q ( x ) d x + μ ( x ) C . Omitting this leads to incorrect initial condition evaluations.
Trap 3: Sign Reversal in the Non-Exact Integrating Factor Test Do not confuse M y − N x N = f ( x ) \frac{M_y - N_x}{N} = f(x) N M y − N x = f ( x ) with N x − M y M = g ( y ) \frac{N_x - M_y}{M} = g(y) M N x − M y = g ( y ) . Reversing the signs produces incorrect integrating factors that fail to render the differential form exact.