Make learning comfortable
Ordinary Differential Equations / LEVEL 1 · DIFFICULTY 4/5
Ordinary Differential Equations
Read the prerequisite, study a worked example and justify each step in these selected university topics.
Choose a node to explore its lesson.
STAGE UODE 1.1 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
First-Order Equations & Initial Values
Useful preparation: Integrals & the Fundamental Theorem
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
A differential equation specifies how a quantity changes at each state, rather than giving the quantity directly. An initial value selects a trajectory from a family. Separation reverses a chain rule; an integrating factor reverses a product rule. Choosing a method means recognizing the structure that makes one of those reversals possible.
- Initial-value problem
- An equation y prime=f(t,y), together with , asks for a differentiable function satisfying both conditions on an interval containing t0.
- Separable equation
- An equation y prime=g(t)h(y) separates its dependence on time and state. Where h(y) is nonzero, integrating with respect to y can recover the trajectory.
- Linear first-order equation
- The form y prime+ is linear in y and its derivative. An integrating factor mu(t)=(integral p(t) dt) turns the left side into one product derivative.
Conditions before calculation
- Before dividing by h(y), record all equilibrium solutions ; otherwise valid constant solutions can disappear.
- Continuous p and q on an interval give a unique solution of a linear initial-value problem throughout that interval. A leading coefficient must be nonzero before dividing into standard form.
- For nonlinear problems, continuity of f ensures local existence; local Lipschitz continuity in y ensures local uniqueness. Even smooth equations may have solutions that blow up in finite time.
Why the method works
1. Inspect before integrating
Determine whether the equation separates or is linear. Some equations have both structures; others have neither. Identify the independent variable and units before manipulating symbols.
2. Reverse a differentiation rule
For a linear equation choose mu so that mu prime=p mu. The product rule then supplies a directly integrable derivative.
3. Use the initial condition and verify
Integrate, solve for the constant, then check the original derivative equation. Report the interval containing the initial time on which the result remains defined.
Worked examples
EXAMPLE 1
Solve y prime=2t y with .
The initial value is nonzero. Separating on a nonzero branch gives the logarithm of the absolute value.
Exponentiation gives (t squared); the initial condition fixes .
Differentiate the result and evaluate at zero to verify both requirements.
Conclusion: This solution is defined for all real t. The separate equilibrium belongs to the differential equation but fails this initial condition.
EXAMPLE 2
Solve y prime+ with .
Choose the integrating factor , whose derivative supplies the coefficient 2.
Integrate and divide by the positive factor.
The initial value gives ; substituting the derivative verifies the equation.
Conclusion: The solution tends to the equilibrium 2 as time increases.
Pitfalls & counterexamples
Tempting claim: A smooth differential equation guarantees a solution for all time.
Correction: Smoothness gives local control; the solution can still become unbounded.
Test the claim: For y prime=y squared and , the solution is , whose maximal interval containing zero is .
Check your understanding
Does dividing y prime= by preserve every solution?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
No.
The constant solutions and must be recorded separately before division.
Connect this idea
The same product-rule idea underlies conservation laws and Laplace-transform solutions. Qualitative slope information can check whether a computed trajectory rises, falls, or approaches an equilibrium.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
Solve for the constant , . In , find C.
An equation is . If an integrating factor is , find a.
An initial-value problem has and . Find y(2).
For , find the equilibrium value of y.
A growth model satisfies , . In , find C.
A cooling model is . If an integrating factor is , find a.
A motion model has and . Find y(2).
A stable adjustment follows , find the equilibrium value of y.
STAGE UODE 1.2 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Second-Order Equations & Linear Systems
Useful preparation: First-Order Equations & Initial Values
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
A second-order equation tracks a state and its rate of change. Two initial numbers are needed because position alone does not determine motion. For constant coefficients, exponentials reproduce their own shape under differentiation, making them natural building blocks. The characteristic roots identify whether these building blocks grow, decay, or oscillate.
- Second-order linear equation
- The equation a y double prime+b y prime+, with nonzero constant a, is linear. It is homogeneous when g is identically zero.
- Characteristic polynomial
- For the homogeneous constant-coefficient equation, substituting gives a r squared+. Its roots determine the homogeneous solution modes.
- State system
- Writing and prime turns one second-order equation into two first-order equations, so the state records both the value and its velocity.
Conditions before calculation
- The elementary characteristic-polynomial method applies directly to homogeneous equations with constant coefficients, not arbitrary variable-coefficient equations.
- Distinct real roots give two exponentials; a repeated root requires and ; conjugate roots alpha plus or minus i beta give real sine and cosine modes times (alpha t).
- For the homogeneous constant-coefficient system =Ax, all eigenvalues with strictly negative real parts imply asymptotic stability of zero. Zero real parts require further analysis, including possible repeated-root growth.
Why the method works
1. Choose a complete family
A second-order homogeneous equation needs two independent solutions. Writing the same exponential twice provides only one adjustable direction and cannot satisfy arbitrary initial data.
2. Fit both initial conditions
Differentiate the proposed general solution before using the initial velocity. The resulting two linear equations determine its two constants.
3. Connect to a system
A forcing term enters the velocity equation. For a nonhomogeneous problem, add one particular solution to the full homogeneous family.
Worked examples
EXAMPLE 1
Solve y double prime+3y prime+, with and y prime(0)=0.
Factor the characteristic polynomial to find two distinct decay rates.
Write the general solution and its initial-value equations.
Solving gives and . Each exponential satisfies the differential equation, and the two initial conditions check.
Conclusion: The solution is , which tends to zero as t increases.
EXAMPLE 2
Solve y double prime-2y prime+, with and y prime(0)=1.
The characteristic polynomial has a repeated root.
Use an independent second solution; forces .
Differentiate to obtain y prime=; the initial derivative gives . Direct substitution yields zero.
Conclusion: The solution grows without bound; the repeated positive root produces an unstable mode.
Pitfalls & counterexamples
Tempting claim: Purely imaginary roots make every linear system asymptotically stable.
Correction: They can produce persistent oscillation rather than decay; repeated structures can also cause growth.
Test the claim: The equation y double prime+ has the nondecaying solution .
Check your understanding
What extra factor is needed for the second solution at a repeated real root r?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
A factor of t.
The functions and are independent, unlike two constant multiples of .
Connect this idea
Eigenvalues of the companion matrix equal the characteristic roots. Mechanical damping, circuits, and coupled linear systems use the same mode analysis; nonlinear stability needs additional hypotheses.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
For the equation y″, find the larger characteristic root.
For y″=0 with and , find y(2).
A diagonal system has and . Is its zero equilibrium asymptotically stable? Enter 1 for yes, 0 for no.
The ODE y″. In its solution , what is the positive angular frequency ?
An exponential mode of the equation y″, find the larger characteristic root.
A response satisfies y″=0 with and , find y(2).
A two-component model has and . Is its zero equilibrium asymptotically stable? Enter 1 for yes, 0 for no.
An oscillator obeys y″. In its solution , what is the positive angular frequency ?
STAGE UODE 1.3 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Laplace Transforms & Euler Steps
Useful preparation: Second-Order Equations & Linear Systems
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
A Laplace transform converts a time-dependent equation into an algebraic equation in a new variable s. Integration by parts turns a derivative into multiplication by s and an initial-value term. Euler stepping approaches the same initial-value problem locally: follow the current tangent for a short time, then recompute the slope at the new approximate point.
- Unilateral Laplace transform
- For a function f defined for nonnegative time, its transform F(s) is the integral of from zero to infinity, whenever that improper integral converges.
- Derivative rule
- If Y is the transform of y and the relevant integrals exist, the transform of y prime is sY-y(0). Initial conditions therefore become part of the algebra.
- Explicit Euler method
- For y prime=f(t,y), step size h gives y at the next grid point approximately as the current y plus h times the current slope.
Conditions before calculation
- Piecewise continuity on finite intervals and an exponential growth bound are sufficient for transform existence for sufficiently large real s. Transform existence is not automatic.
- The derivative rule requires suitable regularity of y and convergence of the transforms, with the boundary term at infinity vanishing; use the right-hand initial value at zero.
- Euler is a numerical approximation. Under standard smoothness and Lipschitz assumptions it has global error of order h over a fixed finite interval; stability can still force a small step.
Why the method works
1. Keep the initial term
Integration by parts explains the minus sign at zero. Dropping this term solves a different initial-value problem.
2. Solve and invert
After algebraically isolating Y, split it into known transforms. Check the recovered time function in both the original equation and the initial condition.
3. Assess numerical behavior
Euler uses the slope at the old state. For decay y prime=-k y with positive k, the multiplier must have magnitude below one to decay numerically.
Worked examples
EXAMPLE 1
Use a Laplace transform to solve y prime+ with .
Transform both sides, retaining the initial value and the transform of a constant.
Isolate Y and decompose it into two known transforms.
Invert and verify the differential equation and initial value.
Conclusion: The solution starts at 1 and approaches equilibrium 2 for increasing nonnegative time.
EXAMPLE 2
Take two Euler steps for y prime=-3y, , with .
The current-slope rule gives a multiplier of 0.7.
Apply the update twice, always using the previous approximate value.
Compare with the exact exponential at the same time.
Conclusion: Euler underestimates this decaying exponential here; the computed value is an approximation, even though the update arithmetic is exact.
Pitfalls & counterexamples
Tempting claim: A stable differential equation stays stable under any Euler step size.
Correction: The discretization has its own stability restriction.
Test the claim: For y prime=-3y, a step gives multiplier -2, so the numerical magnitudes double while the exact solution decays.
Check your understanding
What is the Laplace transform of y double prime when and y prime(0)=b?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
s squared Y minus sa minus b.
Apply the first-derivative rule twice, retaining both initial values.
Connect this idea
Transforms are especially useful for linear systems and switched forcing. Euler links derivatives to algorithms; better accuracy and stiffness handling motivate higher-order and implicit methods.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
For , evaluate its Laplace transform at .
For with , the transformed equation is sY=b. Find b.
Use one Euler step for , , with step . What is the approximate ?
Use two Euler steps for , , with . What is ?
A transformed input is , evaluate its Laplace transform at .
A constant-state initial-value problem has with , the transformed equation is sY=b. Find b.
A numerical growth forecast uses one Euler step for , , with step . What is the approximate ?
A numerical decay forecast uses two Euler steps for , , with . What is ?

