Concise answer
Exam differential equations are won at the classification step. First order splits into separable (integrate both sides after separating) and linear (multiply by so the left side becomes a product derivative). Second order with constant coefficients is decided entirely by the characteristic roots, and the three root cases — distinct real, repeated, complex conjugate — carry three fixed solution shapes.
Definitions
- Order
- The order of the highest derivative appearing in the equation. A general solution of an th-order equation carries arbitrary constants.
- Linear equation
- An equation in which and its derivatives appear only to the first power and are not multiplied together, such as .
- Separable equation
- A first-order equation that can be written , so that can be integrated term by term.
- Integrating factor
- The multiplier that turns into , making the equation directly integrable.
- Characteristic equation
- The polynomial obtained by substituting into ; its roots determine the solution shape.
- Initial-value problem
- A differential equation together with values of (and, for second order, ) at one point, which fixes the arbitrary constants.
Intuition
The integrating factor is not a trick to memorise but a reverse product rule. You want the left side of to be the derivative of something; multiplying by gives , which is precisely when — and that little equation is separable, with solution .
The characteristic equation appears because turns differentiation into multiplication by . Complex roots are not a separate world: , so the real and imaginary parts give the real solution pair, with controlling growth or decay and controlling oscillation frequency.
Concept walkthrough
Classification comes first. Read off the order, then ask whether the equation is linear. A first-order equation that factors as is separable: divide by , multiply by , integrate both sides, and remember that dividing by can discard the constant solutions where . A first-order equation in the form is linear: multiply by , recognise the left side as , integrate once, and divide by . Some equations are both, and either route works.
For with constant coefficients, substitute and solve . Distinct real roots give . A repeated root gives — the factor of is required because the two roots collapsed and a second independent solution is still needed. Complex conjugate roots give . Every constant-coefficient homogeneous item on the exam is one of these three lines.
Nonhomogeneous equations use superposition: the general solution is , a particular solution plus the general homogeneous solution. Undetermined coefficients guesses with the same shape as the forcing term — a polynomial for a polynomial, for an exponential, for a sinusoid — and always includes the full family, so a forcing term needs the trial and a forcing term needs both sine and cosine. If the trial function already solves the homogeneous equation, multiply it by (or for a repeated root) before solving for the coefficients.
After this page, you should be able to
- Classify an equation by order and linearity, and choose separation or an integrating factor for a first-order problem.
- Solve a first-order linear equation with the integrating factor and impose an initial condition.
- Write the general solution of from the characteristic roots in all three cases.
- Recognise a repeated root and supply the missing solution rather than a second copy of .
- Set up a particular solution by undetermined coefficients and detect when resonance forces an extra factor of .
Formulas and assumptions
Integrating factor for a first-order linear equation
Variables
- p(x): the coefficient of y after the equation is written in standard form
- q(x): the forcing term
- C: the constant of integration
Assumptions
- The equation is first written in standard form with coefficient 1 on y'.
- p and q are continuous on the interval of interest.
Separable equation
Variables
- g(x): the x-only factor
- h(y): the y-only factor
Assumptions
- h(y) is nonzero on the interval used; each root of h gives a constant solution that separation drops.
Characteristic equation, three cases
Variables
- a, b, c: the constant coefficients
- r: a root of the characteristic polynomial
- alpha, beta: the real and imaginary parts of a complex root
Assumptions
- The coefficients are constants and a is nonzero.
- The equation is homogeneous; a forcing term needs a particular solution added.
Worked example
A first-order linear initial-value problem
Solve for with .
- 1The equation is already in standard form with and , so it is first-order linear and the integrating factor applies.
- 2Compute for .
- 3Multiply through: , and the left side is exactly .
- 4Integrate: , so .
- 5Impose : , so .
- 6Check by substitution: with we get , and .
for .
Common traps
- Forgetting to divide by the leading coefficient before reading off ; the integrating factor is built from the standard form only.
- Writing a repeated root as , which is a single solution with a renamed constant — the second independent solution is .
- Mishandling a negative discriminant: is , so the roots of are , not .
- Losing constant solutions when separating: dividing by silently discards every with .
- Guessing only for a sinusoidal forcing term, or omitting the extra factor of when the trial solution already solves the homogeneous equation.
Related pages and practice
Question depth and domain coverage vary by exam. Practice answers are checked after submission.
Sources
- GRE Subject Test Content and Structure — ETS. Accessed 2026-07-06. Use as a cited source for exam facts; do not imply affiliation or reproduce protected test material.
- Calculus Volume 2, Section 4.1: Basics of Differential Equations — OpenStax. Accessed 2026-08-15. OpenStax textbook content is CC BY-NC-SA 4.0; attribute and avoid verbatim reuse beyond short cited references.
- Calculus Volume 2, Section 4.3: Separable Equations — OpenStax. Accessed 2026-08-15. OpenStax textbook content is CC BY-NC-SA 4.0; attribute and avoid verbatim reuse beyond short cited references.
- Calculus Volume 2, Section 4.5: First-order Linear Equations — OpenStax. Accessed 2026-08-15. OpenStax textbook content is CC BY-NC-SA 4.0; attribute and avoid verbatim reuse beyond short cited references.
- Calculus Volume 3, Section 7.1: Second-Order Linear Equations — OpenStax. Accessed 2026-08-15. OpenStax textbook content is CC BY-NC-SA 4.0; attribute and avoid verbatim reuse beyond short cited references.
- Calculus Volume 3, Section 7.2: Nonhomogeneous Linear Equations — OpenStax. Accessed 2026-08-15. OpenStax textbook content is CC BY-NC-SA 4.0; attribute and avoid verbatim reuse beyond short cited references.
Sources and corrections
Sources last checked 2026-08-15Every source cited on this page was checked on the date shown, and we update the page when a source changes. If something looks wrong, tell us and we'll recheck it.