Linear means linear in y and y′
A first-order linear differential equation contains y and its first derivative to the first power, without products such as yy′ or nonlinear expressions such as sin(y). Coefficients may depend on the independent variable. Normalize the equation first so the coefficient of y′ is one. Division is legitimate only on an interval where the original derivative coefficient does not vanish.[1]
Continuous p and q on an interval give a unique solution there for each initial value within that interval.[1]
The solution is a function, not merely a number. An initial value selects one member of the general family. For constant coefficients, the specialized calculator evaluates that function at a selected time; variable coefficients remain part of the article’s symbolic method.[1]
Turn the left side into a product derivative
Choosing μ′=pμ makes the product rule reproduce the left side exactly. μ is nonzero.[1]
Integration leaves one essential constant C, determined by an initial value.[1]
For constant a,r in y′+ay=r and y(t0)=y0, the solution for a≠0 is r/a+(y0−r/a)e^(−a(t−t0)). For a=0 it is y=y0+r(t−t0). This special case does not replace the general method; its separate zero-coefficient branch avoids division by zero. The product rule underlies the integrating factor in the general method. For r=0 and a>0, this special solution describes exponential decay.[1]
Initial values and variable coefficients
Constant input with proportional outflow
- Given
- y′+2y=6, y(0)=1; x and y are normalized dimensionless quantities.
- Find
- Find the solution and its value at x=1.
The integrating factor is e^(2x).
Integrate, divide and impose the initial value.
Evaluate the selected solution.
Result: y(x)=3−2e^(−2x).
Check: y′=4e^(−2x), so y′+2y=6 and y(0)=1. As x→∞, y approaches equilibrium 3.
Variable coefficient requires an interval
- Given
- y′+(1/x)y=2 on x>0, y(1)=3.
- Find
- Find the initial-value solution on x>0.
On x>0, μ=e^(ln x)=x.
Integrate and divide by x.
The initial value gives C=2.
Result: y=x+2/x on x>0.
Check: y′=1−2/x2 and y/x=1+2/x2 sum to 2. Coefficients are undefined at x=0; no continuation through that point is promised.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Constant-coefficient initial-value calculator
The calculator covers only constant a and r in y′+ay=r with initial value y(t0)=y0. It returns y(t) and accepts no free p(t) or q(t) expressions. Inputs are normalized. For physical quantities, a has units 1/time and r has units y/time; exponents must be dimensionless. The stable form y0e^(−aΔt)+rΔt·φ1(−aΔt), with φ1(z)=(e^z−1)/z and φ1(0)=1, avoids unnecessary cancellation for small a.[1]
Find and verify solutions
Calculate · Foundation
Solve y′+3y=0, y(0)=2, and find y(1).
Show hint
The forcing term is zero.
Learning goal: Find a homogeneous initial-value solution.
Show solution and calculation
y=2e^(−3x), y(1)=2e^(−3)≈0.0995741.
Substitution gives y′+3y=−6e^(−3x)+6e^(−3x)=0.
Error analysis · Application
Someone proposes y=6+Ce^(−2x) for y′+2y=6. Find the error.
Show hint
Check a constant solution first.
Learning goal: Check the particular solution by substitution.
Show solution and calculation
A constant solution satisfies 2y=6, so it is 3 rather than 6.
The proposed expression gives 12 on the left.
Correct: y=3+Ce^(−2x).
Interpret · Foundation
Are y′+x2y=sin x and y′+y2=x both linear?
Show hint
Linearity refers to y, not x.
Learning goal: Recognize the variable in the linearity definition.
Show solution and calculation
The first is linear: p=x2, q=sin x.
The second is nonlinear because of y2.
Transfer · Application
Solve the case a=0, r=4, y(2)=5. Find y(3).
Show hint
Do not divide by a; integrate directly.
Learning goal: Handle a zero coefficient separately.
Show solution and calculation
y′=4 gives y=4(t−2)+5, so y(3)=9.
Both derivative and initial value agree.
Error analysis · Challenge
Divide xy′+y=2x by x. Which point is excluded, and what solution satisfies y(1)=3 on x>0?
Show hint
Use the second example.
Learning goal: Retain the solution interval.
Show solution and calculation
Division excludes x=0.
On x>0, y=x+2/x.
An initial value at x=1 does not establish a solution across x=0 without further analysis.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 1, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored a distinct DE/EN article with model limits, two worked examples and five varied exercises.
Cite this reference page
Quanta. First-order linear differential equation. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/lineare-differentialgleichung-erster-ordnung
When citing a specific scientific statement, also cite the specialist source linked to that statement.