A differential equation is an equation that relates an unknown function to one or more of its derivatives. In plain language, it tells you how a quantity changes and asks you to recover the function itself.
That is why differential equations show up in motion, population growth, cooling, circuits, and many other models. If the key information is about a rate of change, a differential equation is often the natural way to write the problem.
What A Differential Equation Means
A simple example is
This says the rate of change of is always three times the current value of . If is positive, it grows. If is negative, it moves farther downward. If , the rate of change is also .
The unknown is not a single number. The unknown is the whole function that makes the rule true.
Main Types Of Differential Equations
Ordinary vs. Partial
An ordinary differential equation, or ODE, uses derivatives with respect to one variable. For example,
is an ODE because depends only on .
A partial differential equation, or PDE, uses partial derivatives because the unknown depends on more than one variable. The heat equation is a standard example:
If you are just getting started, ODEs are usually the right entry point.
Order
The order of a differential equation is the highest derivative that appears.
- First-order:
- Second-order:
The order matters because it usually tells you how many conditions you need to pin down one specific solution.
Linear vs. Nonlinear
An equation is linear if the unknown function and its derivatives appear only to the first power and are not multiplied together. For example,
is linear, but
is nonlinear.
This distinction matters because linear equations often have more standard solution methods.
Why Initial And Boundary Conditions Matter
A differential equation often has many solutions, not just one. Extra information tells you which one you want.
An initial condition gives the value of the function, or sometimes its derivatives, at one point. For example, picks out one specific solution curve.
A boundary condition gives information at one or more endpoints, which is common in physics and engineering problems defined on an interval or region.
Worked Example: Solve With
Solve
This is a first-order ODE, and it is separable because the terms and terms can be placed on different sides.
For solutions with , divide by :
and write it as
Now integrate both sides:
so
Exponentiate both sides:
Absorb the sign into the constant and rewrite:
Now use the initial condition:
So the solution that matches the condition is
You can check it directly:
so it satisfies the differential equation and the condition.
One condition matters here: dividing by assumes . The constant solution also solves , but it does not satisfy , so it is not the solution to this initial-value problem.
Basic Methods And When They Apply
Different forms call for different methods. The method depends on the structure of the equation, not on preference.
- Separation of variables works when you can rearrange the equation into a form like .
- Integrating factors are used for first-order linear equations of the form .
- Characteristic equations are a standard tool for some linear constant-coefficient equations such as .
- Numerical methods are used when an exact formula is hard or impossible to find.
The safe workflow is: classify first, then pick the method that fits.
Common Mistakes In Differential Equations
One common mistake is solving before classifying. If you do not notice whether an equation is separable, linear, or higher-order, it is easy to pick the wrong method.
Another mistake is dropping the condition. Solving the differential equation usually gives a family of functions, but the initial or boundary condition is what chooses the actual answer for the problem.
A third mistake is dividing by an expression without stating the condition. In the worked example, dividing by is valid only on intervals where , which is why the zero solution has to be considered separately.
Where Differential Equations Are Used
Differential equations are used whenever a model depends on change over time, space, or both.
- In physics, they describe motion, oscillation, gravity, and heat flow.
- In biology, they model population change, spread, and reaction rates.
- In engineering, they appear in circuits, control systems, and signal behavior.
- In economics, they can describe growth and adjustment over time.
You do not need to solve advanced equations by hand to benefit from the idea. Even basic classification helps you understand what kind of model you are looking at.
Try A Similar Problem
Try your own version with
Classify it first, solve it by separation, and then check the result by differentiating your answer. If you want to go one step further, compare it with and notice why the method changes.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →