What Are First-Order Differential Equations?
First-order differential equations are equations that involve an unknown function and its first derivative, but no second or higher derivatives. The general form is , and most first courses work with the solved form
where:
is the independent variable (often time in applications),
is the unknown function of ,
is its first derivative, the rate of change,
is a given rule that says what the slope is at every point .
The "first" refers to the order, the highest derivative present; the order and degree of a differential equation page explains how to read it. A first-order equation's general solution carries one arbitrary constant, so a single starting value is enough to fix one solution. These equations are the simplest branch of ordinary differential equations, and they are where every method you will use later first appears.
Geometrically, assigns a slope to each point of the plane, and a solution is a curve that follows those slopes everywhere. Algebraically, a solution is a function that makes the equation true when you substitute it. Both views come back in the examples.
How Do You Tell If A First-Order Equation Is Linear Or Nonlinear?
A first-order equation is linear when it can be rearranged into the standard form
with and functions of alone. That question, "How to determine if a first order differential equation is linear or non-linear", comes up on Quora because the test is about , not about . Run three checks on the dependent variable:
Power one only. and appear to the first power: no , or .
No products of with . A term such as makes the equation nonlinear.
No functions of . , or break linearity, even though , and are fine.
Equation | Linear? | Reason |
|---|---|---|
Yes | Standard form with , | |
Yes | Divide by ; coefficients depend on only | |
Yes | Rearranges to | |
No | term | |
No | Product of and | |
No | Function of |
The second row is the one that trips people. The functions of can be as complicated as you like; linearity only cares what happens to .
What Are The Main Types Of First-Order Differential Equations?
Five types cover almost every first-order equation in a calculus or first ODE course: separable, linear, exact, homogeneous and Bernoulli. Each has a test you can run in a few seconds and a method that the test points to.
Type | Recognisable form | Quick test | Method | Full lesson |
|---|---|---|---|---|
Separable | Right side factors into an -part times a -part | Separate and integrate both sides | Separable equations page | |
Linear | and appear to power one, no inside functions | Integrating factor | Linear equations page | |
Exact | Find with , | Exact equations page | ||
Homogeneous | Substitute , then separate | Homogeneous equations page | ||
Bernoulli | Linear except for a on the right | Substitute , then solve the linear equation | Covered in full below |
Two more names appear in longer courses. Autonomous equations are a special case of separable ones, and Riccati and Clairaut equations are nonlinear types you will meet after these five.
One warning before choosing: the types overlap. The equation is separable, linear and homogeneous all at once, and every route gives . When an equation fits several types, take the cheapest door, which is almost always separation.
How Do You Decide Which Method To Use?
Run the tests in order of effort and stop at the first one that passes. Separation is the fastest method, so it goes first; exactness takes partial derivatives, so it comes later.
Is it separable? Write alone on one side. If the right side factors as , separate.
Is it linear? If and appear only to power one, put it in standard form and use an integrating factor.
Is it Bernoulli? If it would be linear except for a single term, substitute .
Is it homogeneous? If replacing by and by leaves unchanged, substitute .
Is it exact? Write it as and compare with .
Nearly exact? If , look for an integrating factor that depends on alone or alone.
None of the above? Sketch the direction field or use a numerical method; many first-order equations have no formula solution at all.
The order matters less than the habit of testing at all. Most wrong answers in this topic come from reaching for a method before checking which type the equation is.
How Do You Solve A First-Order Linear Differential Equation?
You solve a first-order linear equation by putting it in standard form, multiplying through by the integrating factor , and integrating. The factor is built so that the left side becomes the single derivative :
The integrating factor method page derives this from the product rule and works several examples, and the linear differential equations page covers the standard form in depth. For a hub, two facts matter most:
Standard form first. If the coefficient of is not , divide by it before reading off .
There is a second route. Variation of parameters solves first, giving , then lets become a function . It produces the same answer and generalises to higher-order equations.
Those two bullets, plus one integration, are the whole answer to the Brainly question "How do you solve this first-order linear differential equation?". The first bullet is where most attempts go wrong: for , the correct is , not .
How Do You Solve First-Order Nonlinear Differential Equations?
You solve a nonlinear first-order equation by finding a type it belongs to that turns it into something you can integrate: separable, exact, homogeneous or Bernoulli. That answers the Quora question "How to solve first order nonlinear differential equations": three of the five standard types are designed for nonlinear equations.
Separable equations handle nonlinear terms in directly, because moves to the other side; is nonlinear but separates at once.
Homogeneous equations become separable after , however tangled looks.
Exact equations are often nonlinear and are solved as level curves .
Bernoulli equations become linear after one substitution.
When none of these fits, the honest answer is that most nonlinear equations have no closed-form solution. You then read the behaviour from a slope field or compute values numerically, which is what engineering software does every day.
What Is A Bernoulli Equation And How Do You Solve It?
A Bernoulli equation is a first-order equation of the form
where is any real number. For it is already linear, and for it is linear and separable, so the interesting cases are every other , where the term makes it nonlinear.
The substitution turns it into a linear equation. Divide through by and differentiate with the chain rule:
The last line is linear in , so the integrating factor finishes the job; then convert back with . Dividing by assumes , so for check separately: it always solves the original equation.
The equation is named after Jacob Bernoulli, who discussed it in 1695. Gottfried Leibniz published the earliest solution that same year, Jacob Bernoulli published his own in 1696, and the substitution above is the standard modern route. The best-known Bernoulli equation is the logistic population model , which is Bernoulli with (and also separable).
How Do You Solve A Homogeneous First-Order Equation?
You solve a homogeneous equation by substituting , so , which makes the equation separable in and . The Quora question "What are examples of first order homogeneous differential equations? How are they solved?" has a short answer: any equation whose right side depends only on the ratio , such as
The test is for every . For , replacing and by and puts on top and bottom, and they cancel. Example 4 below works a full one, taken from a Math Stack Exchange thread, and the homogeneous differential equations page has more.
A naming warning: "homogeneous" also describes linear equations with zero right side, . The two meanings are unrelated, and textbooks use both.
What Does A First-Order Equation Look Like Geometrically?
A first-order equation is a slope field: at every point it draws a short segment with slope , and each solution is a curve that runs along those segments. The general solution is the whole family of such curves, one for each value of the constant.
Initial values pick one curve. Choosing selects the curve through that point; pairing an equation with that value makes an initial value problem.
Equilibrium solutions are flat lines. Where for all at a fixed value , the horizontal line is a solution. For that line is .
Nearby curves show stability. If neighbouring curves bend toward an equilibrium, it is stable; if they peel away, it is unstable.
Examples Of First-Order Differential Equations
Each example names its type first, because recognising the type is the skill this page is about. Every answer is checked by substitution.
Example 1
Separable. Solve with .
Check: gives .
Final answer: .
Example 2
Solve with .
The right side has both letters, so the reflex is to separate:
Test it: , but . These are not equal, so the "solution" fails. The first line was the error: dividing by only separates a product , and the right side here is a sum .
Run the linearity test instead. appears to power one, so the equation is linear:
Check: gives and .
Final answer: .
Example 3
Exact. Solve .
The equation is exact, so look for with :
Check: has and .
Final answer: .
Example 4
Homogeneous. Solve .
This one comes from the Math Stack Exchange thread "Help in solving ODE which general solution includes modulus". Rewrite and substitute :
The absolute values, which caused the thread's confusion, disappear into the constant: can be any real number, positive or negative. Replace by :
Check: SymPy confirms satisfies the equation for every . The value gives , the two lines lost when dividing by .
Final answer: .
Example 5
Bernoulli. Solve for .
Here , so and the linear equation is :
The constant was written as only to keep the final fraction clean. Check: SymPy's dsolve returns , the same family, and substitution leaves a residual of . The solution also works and is not in the family.
Final answer: , plus .
Example 6
A 100-litre tank holds 20 kg of dissolved salt. Brine with 0.5 kg of salt per litre flows in at 4 litres per minute, and the mixed solution drains at 4 litres per minute. Find the salt after minutes, the amount after 25 minutes, and when it reaches 45 kg.
Salt enters at kg per minute and leaves at kg per minute:
The equation is both separable and linear. Treating it as linear, :
Check: and .
Final answer: ; about 38.96 kg after 25 minutes; 45 kg after about 44.79 minutes.
Why Do First-Order Differential Equations Matter?
First-order equations matter because so many processes follow one rule: the rate of change depends on the current amount. Once you can write that rule down, the equation predicts the future from a single measurement of the present.
Growth and decay. governs radioactive decay, continuously compounded interest and unchecked population growth, the core of exponential growth and decay.
Cooling and heating. Newton's law of cooling is first-order linear, as is the salt balance in Example 6.
Motion with drag. A falling object with air resistance proportional to speed obeys a first-order linear equation for its velocity, worked in OpenStax Calculus Volume 2.
Circuits. The current in a resistor and inductor circuit satisfies .
Limited growth. The logistic equation, a Bernoulli equation, caps growth at a carrying capacity.
Knowing the type pays off here. The same mixing equation, read as separable or as linear, gives the same answer, so an engineer can pick whichever method is faster.
Where Do Solutions Go Off The Rails?
Most mistakes with first-order equations happen before any integration, at the moment of deciding what kind of equation it is.
Mistake 1: Separating A Sum
Where it slips in: Equations such as or , where both variables appear on the right.
Don't do this: Divide by and multiply by as though the right side were a product.
The correct way: Separate only when the right side factors as . Otherwise test for linear, Bernoulli or homogeneous.
The rusher makes this one: they see and and start separating before reading the operation between them. Asking "is that a plus or a times?" before the first line of working stops it.
Mistake 2: Reading P Before Standard Form
Where it slips in: Linear equations that arrive as or .
Don't do this: Take or straight from the equation.
The correct way: Divide by the coefficient of first: in the first case and in the second.
Mistake 3: Calling An Equation Linear Because It Looks Simple
Where it slips in: Short equations such as or .
Don't do this: Reach for the integrating factor because the equation is first-order and short.
The correct way: Run the three linearity checks on . Both examples fail, and both turn out to be separable.
Mistake 4: Losing Solutions When Dividing
Where it slips in: Dividing by in separable equations, by in Bernoulli equations, or by in homogeneous ones.
Don't do this: Divide and move on without asking whether the divisor can be zero.
The correct way: Test each excluded value: in Examples 1 and 5, and in Example 4, are genuine solutions.
The student who memorised one method per chapter is the one these mistakes catch hardest, because a test asks which method, not which chapter. The fix is the seven-step checklist above, run every time, even when the answer feels obvious.
Practice Problems On First-Order Differential Equations
Solve with .
Find the general solution of .
Show that is exact and solve it.
Solve for .
Solve the Bernoulli equation with .
Name the type of each equation: (a) ; (b) ; (c) ; (d) .
Answer to Question 1: (separable).
Answer to Question 2: (linear, ).
Answer to Question 3: ; the solution is .
Answer to Question 4: (homogeneous, or linear as ).
Answer to Question 5: (Bernoulli with , ).
Answer to Question 6: (a) separable; (b) linear; (c) homogeneous; (d) Bernoulli with .
The Short Version
First-order differential equations involve only and need one starting value to fix one solution.
Five types cover most problems: separable, linear, exact, homogeneous and Bernoulli, each with a quick test.
Test in order of effort, separation first, and stop at the first test that passes.
Linearity is about only: power one, no inside functions, no products.
Check every division for lost solutions, and verify every answer by substitution.
Where To Go From Here
Work through problems 1 to 6 in order; if problem 6 feels like guessing, return to the decision checklist, and if problem 5 stalls, reread the Bernoulli derivation.
Book a free Bhanzu demo class:
Read More
Was this article helpful?
Your feedback helps us write better content
