Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

First- and second-order differential equations model how quantities change in time, space, or another independent variable. This cheat sheet helps students recognize common equation types and choose a solution method quickly. It is especially useful for reviewing solution forms, initial conditions, and the behavior of linear systems.

Clear formulas reduce confusion when moving between algebra, calculus, and applications.

Key Facts

  • A separable first-order equation has the form dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y) and is solved by rewriting it as 1h(y)dy=g(x)dx\frac{1}{h(y)}\,dy = g(x)\,dx before integrating.
  • A linear first-order equation has the form y+P(x)y=Q(x)y' + P(x)y = Q(x) and uses the integrating factor μ(x)=eP(x)dx\mu(x) = e^{\int P(x)\,dx}.
  • After multiplying by the integrating factor, y+P(x)y=Q(x)y' + P(x)y = Q(x) becomes ddx[μ(x)y]=μ(x)Q(x)\frac{d}{dx}\left[\mu(x)y\right] = \mu(x)Q(x).
  • A homogeneous second-order linear equation with constant coefficients has the form ay+by+cy=0ay'' + by' + cy = 0 and characteristic equation ar2+br+c=0ar^2 + br + c = 0.
  • If the characteristic roots are distinct real numbers r1r_1 and r2r_2, then the general solution is y=C1er1x+C2er2xy = C_1e^{r_1x} + C_2e^{r_2x}.
  • If the characteristic equation has a repeated real root rr, then the general solution is y=C1erx+C2xerxy = C_1e^{rx} + C_2xe^{rx}.
  • If the characteristic roots are complex r=α±βir = \alpha \pm \beta i, then the general solution is y=eαx(C1cos(βx)+C2sin(βx))y = e^{\alpha x}\left(C_1\cos(\beta x) + C_2\sin(\beta x)\right).
  • For a nonhomogeneous equation ay+by+cy=f(x)ay'' + by' + cy = f(x), the general solution is y=yh+ypy = y_h + y_p, where yhy_h solves the homogeneous equation and ypy_p is one particular solution.

Vocabulary

Differential equation
An equation involving an unknown function and one or more of its derivatives.
Order
The order of a differential equation is the highest derivative that appears, such as first order for yy' or second order for yy''.
Initial condition
A value such as y(0)=2y(0)=2 or y(0)=1y'(0)=-1 that is used to determine constants in a general solution.
Integrating factor
A function μ(x)=eP(x)dx\mu(x) = e^{\int P(x)\,dx} that turns a first-order linear equation into an exact derivative.
Characteristic equation
The algebraic equation ar2+br+c=0ar^2 + br + c = 0 obtained from a constant-coefficient homogeneous equation ay+by+cy=0ay'' + by' + cy = 0.
Particular solution
A single solution ypy_p that satisfies a nonhomogeneous differential equation such as ay+by+cy=f(x)ay'' + by' + cy = f(x).

Common Mistakes to Avoid

  • Forgetting the constant of integration in a first-order solution is wrong because the general solution needs an arbitrary constant such as CC before applying an initial condition.
  • Using an integrating factor on an equation that is not in the form y+P(x)y=Q(x)y' + P(x)y = Q(x) is wrong because P(x)P(x) must be the coefficient of yy after the coefficient of yy' is 11.
  • Solving ar2+br+c=0ar^2 + br + c = 0 incorrectly is serious because every second-order homogeneous solution depends on the correct characteristic roots.
  • Using y=C1erx+C2erxy = C_1e^{rx} + C_2e^{rx} for a repeated root is wrong because the two terms are not independent, so the correct form is y=C1erx+C2xerxy = C_1e^{rx} + C_2xe^{rx}.
  • Choosing a particular solution that duplicates part of yhy_h is wrong because it will not be linearly independent, so the trial form must be multiplied by xx when overlap occurs.

Practice Questions

  1. 1 Solve the separable equation dydx=3x2y\frac{dy}{dx} = 3x^2y with initial condition y(0)=4y(0)=4.
  2. 2 Solve the first-order linear equation y+2y=exy' + 2y = e^x using the integrating factor method.
  3. 3 Find the general solution of y5y+6y=0y'' - 5y' + 6y = 0.
  4. 4 Explain how the solution behavior changes when the characteristic roots of ay+by+cy=0ay'' + by' + cy = 0 are real distinct, repeated, or complex.

Understanding Differential Equations First- and Second-Order

A differential equation does not usually give a number as its answer. It gives a rule for a whole family of possible functions. The constants that appear after integration represent the different starting situations that can follow the same rule.

Initial values select one member of that family. In a first-order problem, one initial value is normally needed. In a second-order problem, two pieces of starting information are normally needed, often a position and an initial rate of change.

This matches physical motion. Knowing where an object is at one instant is not enough to predict its later motion. Its velocity matters too.

Separation works only when every factor involving the dependent variable can be placed with the differential for that variable, while the remaining terms stay with the independent variable. Students often divide too quickly and accidentally lose a solution. If a factor involving the dependent variable can equal zero, test that case separately before dividing by it.

Integration can introduce logarithms, so absolute values matter when the variable may be negative. The final answer may be implicit rather than solved for the dependent variable.

That is still a valid solution if it correctly describes the relationship. Differentiating the final result is a reliable check because it should rebuild the original rate rule.

An integrating factor is built from the product rule. Its purpose is to turn the left side of a linear equation into the derivative of one product. This is why the method is more than a formula to memorize.

The coefficient of the unknown function controls the factor used to reshape the equation. After integration, divide by the integrating factor to recover the unknown function. The constant of integration must remain until an initial condition is used.

These equations appear in cooling, drug concentration, charging circuits, and population models with a steady input or loss. The equation separates the natural tendency of the system from an outside source that pushes it.

For second-order equations, the characteristic roots describe the basic motion patterns. A positive real root creates growth, while a negative real root creates decay. Two different roots give two independent growth or decay patterns.

A repeated root needs an extra factor involving the independent variable because one exponential alone cannot provide two independent solutions. Complex roots produce oscillation. Their real part controls whether the oscillations fade, stay at a fixed size, or grow.

This is the mathematics behind springs, vibrations in structures, and electrical signals. When a forcing term is present, the homogeneous part describes the system's own behavior and the particular part describes its response to the input.

Pay close attention when a trial particular solution duplicates a homogeneous term. In that case, multiply the trial by a suitable power of the independent variable to make it independent.