Calculus
Differential Equations
Order, degree, and solution forms for differential equations including separable and second-order linear cases.
A differential equation relates a function to its derivatives. Order (highest derivative) and degree (power of that derivative) classify the problem. Standard techniques are separation of variables, substitution, and matching characteristic solution forms. For linear equations with constant coefficients, the characteristic equation dictates the form: real distinct roots give a sum of exponentials, repeated roots give exponentials times polynomials, complex roots give sines and cosines (optionally damped by an exponential). The general solution of an n-th-order linear equation is an n-parameter family. Initial or boundary conditions fix the constants.
A differential equation contains derivatives of the unknown function:
or differentials:
is called a differential equation.
The order is the highest derivative present (here, second order):
The degree is the exponent on the highest-order derivative (the source labels this example 3):
To form a differential equation by eliminating n arbitrary constants, differentiate n times.
A separable first-order equation in the form M(x) dx + N(y) dy = 0:
Integrate the two sides independently:
For equations not directly separable, a substitution reduces it to separable form:
For a combination of exponentials with opposite-sign exponents:
satisfies the second-order linear ODE with positive characteristic root n2:
A linear combination of two distinct real exponentials:
satisfies the second-order ODE with characteristic roots m and n:
Sinusoidal solutions for complex-conjugate characteristic roots:
Cosine form, equivalent up to phase:
General harmonic solution:
All three satisfy the simple harmonic oscillator equation: