📐 Official Reference & Formula Sheets/ أوراق القوانين والمفاهيم الرسمية
📋 Mistake Log
0 mistakes recorded
📊 Your Progress
Across your visited tracks
☁️ Sync Your Progress
Sign in to save your mistake log, flashcard schedule, and streaks across every device — and to use the AI tutor and question generator.
Also unlocks Google Forms export for generated quizzes.
or use email
🏫 Classes
Create a class to get a code you can share with students, or join one with a code your teacher gave you. You can do both.
Join a class
Create a class
🔗 Connect Google Account
Differential Equations
Level · University · builds on single-variable CalculusChapters · 9Feeds into · Physics · Population modeling · Engineering
✓ Official Syllabus VerifiedLast reviewed against official syllabus:2025–2026 Academic YearStandards & Rigor ↗
1
First-Order Differential Equations, Separable Equations & Existence Theory
A differential equation expresses an intrinsic law of change, connecting an unknown function directly to its own derivatives. In nature and technology, physical laws rarely dictate exact states; instead, they dictate instantaneous rates of progression — cooling rates proportional to temperature differentials, chemical reaction kinetics determined by molecular concentrations, and gravitational acceleration dictating planetary velocities. This foundational chapter develops the analytical theory of first-order differential equations, the method of separation of variables, and the fundamental Picard–Lindelöf Existence and Uniqueness Theorem.
● Level 1 Foundation — Definition 1.1: Differential Equations, Solutions & Initial Value Problems (IVPs)
An ordinary differential equation (ODE) is an equation relating an unknown single-variable function y=y(x) to one or more of its derivatives y′,y′′,…,y(n). The order of the ODE is the order of the highest derivative present.
A solution on an open interval I⊆R is an n-times differentiable function y(x) that identically satisfies the equation for all x∈I. The general solution is the complete family of all possible solutions, containing n essential arbitrary constants.
An Initial Value Problem (IVP) couples an n-th order ODE with n prescribed conditions at a single point x0∈I: y(x0)=y0,y′(x0)=y1,…,y(n−1)(x0)=yn−1. A solution satisfying both the differential equation and these initial conditions is designated a particular solution.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
Worked example 1.A — Solution Verification & Interval of Definition
Verify that y(x)=Ce2x is a solution of dxdy=2y for any real constant C, prove that these are the only solutions on R, and determine the unique solution satisfying y(0)=5.
Verification: Differentiating gives dxdy=dxd[Ce2x]=2Ce2x=2y(x), satisfying the ODE for all x∈R.
Exhaustiveness Proof: Suppose y(x) is any arbitrary solution to y′=2y. Consider the product u(x)=e−2xy(x). Applying the product rule: u′(x)=−2e−2xy(x)+e−2xy′(x)=e−2x(y′(x)−2y(x))=e−2x(0)=0. By the Zero Derivative Theorem (a direct corollary of the Mean Value Theorem), a function whose derivative vanishes on an interval is constant: u(x)=C. Hence y(x)=Ce2x, proving no other solutions exist.
Initial Condition: Setting x=0: y(0)=Ce0=C=5. The unique particular solution is y(x)=5e2x.
A first-order differential equation is separable if the derivative factors into an explicit function of x multiplied by an explicit function of y: dxdy=f(x)g(y).
An ODE is autonomous if the independent variable does not appear explicitly: dxdy=g(y). Any real value y∗ such that g(y∗)=0 produces a constant solution y(x)≡y∗, termed an equilibrium solution (or critical point). Geometrically, equilibrium solutions correspond to horizontal integral curves in the xy-plane.
Analytical Procedure for Separable Equations
1. Equilibrium Extraction
Locate all roots of g(y)=0. Every real root y=y∗ is a constant equilibrium solution that must be recorded before division to avoid singular division by zero.
2. Differential Separation
On intervals where g(y)=0, rewrite the equation in differential form: g(y)1dy=f(x)dx.
3. Indefinite Integration
Integrate both differentials: ∫g(y)1dy=∫f(x)dx+C. A single arbitrary constant C suffices, as constants of integration combine.
4. Explicit Isolation & Domain
Invert the algebraic relation to solve explicitly for y(x) where possible, and determine the maximal open interval of existence I containing the initial point.
Let I,J⊆R be open intervals. Suppose f:I→R is continuous and g:J→R is continuous with g(y)=0 for all y∈J. Let F(x) be an antiderivative of f(x) on I, and let G(y) be an antiderivative of 1/g(y) on J. A differentiable function y:I→J satisfies dxdy=f(x)g(y) if and only if there exists a constant C∈R such that G(y(x))=F(x)+C.
Proof
Sufficiency (⇒): Suppose y(x) satisfies the ODE with y(x)∈J. Since g(y(x))=0, divide by g(y(x)): g(y(x))1y′(x)=f(x). By the Chain Rule, dxd[G(y(x))]=G′(y(x))y′(x)=g(y(x))1y′(x). Thus: dxd[G(y(x))]=dxd[F(x)]. Integrating both sides with respect to x yields G(y(x))−F(x)=C, so G(y(x))=F(x)+C.
Necessity (⇐): Conversely, suppose G(y(x))=F(x)+C. Differentiating both sides with respect to x using the Chain Rule yields: G′(y(x))y′(x)=F′(x)⟹g(y(x))1y′(x)=f(x). Multiplying by g(y(x)) yields y′(x)=f(x)g(y(x)), completing the proof.
Worked example 1.B — Initial Value Problems & Finite-Time Blowup
Solve the initial value problem dxdy=2xy2,y(0)=1, and determine its maximal open interval of valid existence.
Step 1: Check equilibrium:g(y)=y2=0⟹y≡0. Since y(0)=1=0, the solution lies on the positive branch y>0.
Step 2: Separate and integrate:∫y−2dy=∫2xdx⟹−y1=x2+C. Applying y(0)=1: −11=02+C⟹C=−1.
Step 3: Solve for y(x):−y1=x2−1⟹y(x)=1−x21.
Step 4: Maximal interval of existence: The function y(x)=1−x21 has vertical asymptotes at x=±1. Because a solution to an ODE must be continuous on an interval containing the initial point x0=0, the maximal interval of existence is strictly: I=(−1,1). As x→1− or x→−1+, y(x)→+∞. This phenomenon is known as finite-time blowup, demonstrating that even when the ODE's right-hand side f(x,y)=2xy2 is infinitely smooth everywhere on R2, solutions to non-linear equations can cease to exist in finite time.
Worked example 1.C — Analytical Application: Logistic Growth & Critical Harvesting Threshold
A biological population P(t) with carrying capacity K and intrinsic growth rate r is subject to a constant harvesting rate H>0: dtdP=rP(1−KP)−H. Determine the critical harvesting threshold Hcrit above which population collapse is inevitable.
Equilibrium Analysis: Set dtdP=0: −KrP2+rP−H=0⟹rP2−rKP+KH=0. The roots are given by the quadratic formula: P1,2=2rrK±r2K2−4rKH=2K(1±1−rK4H).
Saddle-Node Bifurcation: The discriminant Δ=r2K2−4rKH dictates the physical dynamics:
If \( H < \frac{rK}{4} \): Two real equilibria exist: a stable carrying capacity \( P_1 \) and an unstable threshold \( P_2 \). If \( P(0) > P_2 \), the population stabilizes at P1.
If H=Hcrit=4rK: A single semi-stable equilibrium exists at P=K/2.
If H>4rK: \( \Delta < 0 \), so \( \frac{dP}{dt} < 0 \) for all \( P \ge 0 \). No equilibria exist, and the population drops to 0 in finite time.
Hence, the maximum sustainable yield is precisely Hcrit=4rK.
⊙ Explorer · Slope field for dxdy = ky
interactive
Sample points along the solution curve y = y0·e^(kx), with the field's own slope at each
x
y(x)
slope k⋅y
dxdy at (0,y0)0.500
y(1)1.649
This is the same family as Worked examples 1.A (k=2) and 1.C (radioactive decay: there, dN/dt=−kdecay⋅N for a positive decay constant kdecay; here that's this explorer's k=−kdecay, negative): dxdy = ky has exact solution y = y0·e^(kx) — the amber dot marks the initial point (0,y0), and the indigo curve is that exact formula, not a numerical approximation. Every gray arrow is the field's own slope ky at that point; drag k or y0 and watch the curve stay tangent to the field along its entire length. The field itself is drawn everywhere in view, not just along this one curve — a different starting point would trace a different solution curve through that same field, which is what "the field belongs to the whole equation, not just one solution" means.
▲ Level 3 University Rigor — Theorem 1.2: Picard–Lindelöf Existence and Uniqueness Theorem
Consider the initial value problem dxdy=f(x,y),y(x0)=y0. Let R={(x,y)∈R2:∣x−x0∣≤a,∣y−y0∣≤b} be a closed rectangle centered at (x0,y0). Suppose:
f(x,y) is continuous on R, so it is bounded by \( M = \max_{(x,y)\in R} |f(x, y)| < \infty \).
f(x,y) satisfies a Lipschitz condition in y on R: there exists L>0 such that ∣f(x,y1)−f(x,y2)∣≤L∣y1−y2∣∀(x,y1),(x,y2)∈R. (A continuous partial derivative ∂y∂f on R guarantees this with L=maxR∣∂y∂f∣).
Then the IVP has a unique continuously differentiable solution y(x) defined on the interval [x0−h,x0+h], where h=min{a,Mb}.
Picard Successive Iteration Operator: Converting the IVP into an equivalent Volterra integral equation y(x)=y0+∫x0xf(t,y(t))dt, the sequence defined by y0(x)=y0 and yk+1(x)=y0+∫x0xf(t,yk(t))dt converges uniformly on [x0−h,x0+h] to the unique solution by the Banach Fixed-Point Contraction Principle.
Pathological Breakdown of Uniqueness: Consider dxdy=3y2/3 with y(0)=0. Here f(x,y)=3y2/3 is continuous on R2 (so Peano's Theorem guarantees existence). However, ∂y∂f=2y−1/3 is unbounded as y→0, violating the Lipschitz condition. Separating variables gives y(x)=x3, but y(x)≡0 is also a solution! In fact, for any c>0, the family y(x)={0(x−c)3x≤cx>c is continuously differentiable and satisfies the IVP, yielding infinitely many solutions originating from (0,0).
The geometry of solutions to first-order ODEs is fully characterized by integral curves. For the separable differential equation dxdy=−yx, separation gives ydy=−xdx, which integrates to the family of concentric circles x2+y2=C, as illustrated below.
Integral curves for the separable differential equation dxdy=−yx. Separating variables gives ydy=−xdx, integrating to concentric circular trajectories x2+y2=C.
⚠️ Common Traps & University Pitfalls — Lost Singular Solutions & Non-Linear Intervals
Dividing by zero drops equilibrium solutions: When separating dxdy=g(y)h(x) by dividing by g(y), you assume g(y)=0. Any constant value y=k where g(k)=0 is a valid equilibrium solution that will not appear in the separated integral unless checked separately!
Constant of integration placement: You must add the constant +C immediately after performing integration. For example, in ln∣y∣=2x+C, exponentiating gives ∣y∣=e2x+C=eCe2x=Ae2x, NOT e2x+C.
Finite-Time Blowup & Maximal Interval: In linear equations, solutions are guaranteed to exist wherever the coefficient functions are continuous. In non-linear equations, solutions frequently experience finite-time singularities (blowup) within bounded domains, requiring explicit verification of the maximal open interval of existence.
Worked Example D — First-Order Differential Equations, Separable Equations & Existence Theory (Hard Application)
Problem (Hard): What is the general solution to the initial value problem dtdy=−3y with y(0)=50?
Step-by-Step Solution: Separable: ydy=−3dt⟹ln∣y∣=−3t+C⟹y(t)=y(0)e−3t. Using y(0)=50 yields y(t)=50e−3t.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (First-Order Differential Equations, Separable Equations & Existence Theory)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
▲ Exam Pacing & Verification Strategy — First-Order Differential Equations, Separable Equations & Existence Theory
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Solve the initial value problem dxdy=2x(y2+1) with y(0)=1, and determine its maximal interval of existence.
💡 Hint 1 of 3
Separate variables:y2+11dy=2xdx.
💡 Hint 2 of 3
Integrate both sides:∫y2+11dy=∫2xdx⟹arctan(y)=x2+CApply the initial condition y(0)=1:arctan(1)=02+C⟹C=4π.
💡 Hint 3 of 3
Since x2≥0, the constraint is \(x^2 < \frac{\pi}{4}\).
Step 1: Separate variables:y2+11dy=2xdx.
Step 2: Integrate both sides:∫y2+11dy=∫2xdx⟹arctan(y)=x2+C.
Step 3: Apply the initial condition y(0)=1:arctan(1)=02+C⟹C=4π.
Step 4: Solve explicitly for y(x):y(x)=tan(x2+4π).
Step 5: Interval of existence: The tangent function has vertical asymptotes where its argument equals ±2π. To contain x0=0: \[ -\frac{\pi}{2} < x^2 + \frac{\pi}{4} < \frac{\pi}{2} \implies -\frac{3\pi}{4} < x^2 < \frac{\pi}{4}. \] Since \( x^2 \ge 0 \), the constraint is \( x^2 < \frac{\pi}{4} \implies x \in \left(-\frac{\sqrt{\pi}}{2}, \frac{\sqrt{\pi}}{2}\right) \).
Find all equilibrium solutions to dxdy=y(4−y)−3, classify their stability, and find the particular solution passing through y(0)=2.
Step 2: Stability via derivative: Let f(y)=−y2+4y−3. Then f′(y)=−2y+4. At y=1, f′(1)=2>0⟹y=1 is an unstable source. At y=3, \( f'(3) = -2 < 0 \implies y = 3 \) is a stable sink.
Step 3: Separate variables for IVP y(0)=2:(y−1)(3−y)1dy=dx⟹21(y−11+3−y1)dy=dx. Integrating: 21(ln∣y−1∣−ln∣3−y∣)=x+C1⟹ln3−yy−1=2x+C2.
Applying y(0)=2: ln∣1/1∣=0=0+C2⟹C2=0. Since \( 1 < y < 3 \), \( \frac{y - 1}{3 - y} = e^{2x} \). Solving for \( y \): \[ y(x) = \frac{1 + 3e^{2x}}{1 + e^{2x}}. \] Note that as \( x \to \infty \), \( y(x) \to 3 \), verifying convergence to the stable equilibrium sink.
Compute the first three Picard successive approximations y1(x),y2(x),y3(x) for the initial value problem dxdy=2x(1+y) with y(0)=0, and identify the Taylor series of the exact solution.
💡 Hint 1 of 3
Picard Integral Operator:yk+1(x)=y0+∫0x2t(1+yk(t))dt,y0(x)=0.
Exact Solution: By inspection, yk(x)=m=1∑km!(x2)mk→∞ex2−1. Verifying by separation: 1+ydy=2xdx⟹ln∣1+y∣=x2⟹y(x)=ex2−1, confirming uniform convergence of the Picard approximations.
[Practice 4 · Easy] Consider the separable differential equation dxdy=2x with the initial condition y(0)=3. Find the value of y(2).
💡 Hint 1 of 3
The differential equation is dxdy=2x.
💡 Hint 2 of 3
This is a separable equation. We can rewrite it as dy=2xdx.
💡 Hint 3 of 3
Substituting x=2 into the particular solution, we have y(2)=(2)2+3=4+3.
The differential equation is dxdy=2x. This is a separable equation. We can rewrite it as dy=2xdx. Integrating both sides gives ∫dy=∫2xdx, which results in y=x2+C, where C is the constant of integration. We are given the initial condition y(0)=3. Substituting these values into the general solution, we get 3=(0)2+C, so C=3. Therefore, the particular solution is y=x2+3. We need to find the value of y(2). Substituting x=2 into the particular solution, we have y(2)=(2)2+3=4+3=7.
📝 Chapter Quiz
2
Linear First-Order Equations, Integrating Factors & Nonlinear Reductions
While Chapter 1 addressed separable equations where rates factor into independent coordinate components, physical systems routinely combine internal dissipation with external driving forces: thermal cooling under active heating, inductive-resistive electrical circuits under AC forcing, or chemical reactors subject to continuous inflow and outflow. Such systems are modeled by first-order linear differential equations. This chapter develops the exact integrating factor technique, analyzes transient versus steady-state dynamics, and presents nonlinear transformations including Bernoulli and Riccati equations.
● Level 1 Foundation — Definition 2.1: First-Order Linear Equations & Standard Normal Form
A first-order differential equation is linear if it can be expressed in the canonical standard form: dxdy+P(x)y=Q(x), where P(x) and Q(x) are continuous functions on an open interval I⊆R. The equation is homogeneous if Q(x)≡0; otherwise it is nonhomogeneous.
The differential operator L[y]=dxdy+P(x)y is a linear mapping from C1(I)→C(I): L[c1y1+c2y2]=c1L[y1]+c2L[y2] for any scalars c1,c2∈R. If an equation is presented with a non-constant coefficient preceding y′, e.g. a1(x)y′+a0(x)y=b(x), it must be normalized by dividing through by a1(x) on intervals where a1(x)=0 before computing integrating factors.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
▲ Level 1 Foundation — Theorem 2.1: The Integrating Factor & Product Rule Inversion
Let P(x) and Q(x) be continuous on an open interval I. Define the integrating factor: μ(x)=exp(∫P(x)dx). Then μ(x)>0 for all x∈I, and a function y(x) is a solution to y′+P(x)y=Q(x) if and only if y(x)=μ(x)1(∫μ(x)Q(x)dx+C) for some constant C∈R.
Proof
By the Fundamental Theorem of Calculus and Chain Rule, the derivative of μ(x)=e∫P(x)dx is: μ′(x)=P(x)e∫P(x)dx=P(x)μ(x). Multiplying the standard form y′+P(x)y=Q(x) by μ(x): μ(x)y′(x)+μ(x)P(x)y(x)=μ(x)Q(x). Since μ(x)P(x)=μ′(x), the left side collapses into the exact product rule: dxd[μ(x)y(x)]=μ(x)Q(x). Integrating both sides with respect to x: μ(x)y(x)=∫μ(x)Q(x)dx+C. Since μ(x)=e∫P(x)dx>0 is strictly positive everywhere on I, dividing by μ(x) yields the unique general solution family.
Analytical Procedure for First-Order Linear Equations
1. Normalization
Divide through by the leading coefficient to obtain standard form y′+P(x)y=Q(x). Identify P(x) and Q(x), including any negative signs.
2. Integrating Factor
Compute μ(x)=e∫P(x)dx. Do not add a constant of integration +C here, as any scalar multiple of μ(x) cancels.
3. Exact Product Collapse
Multiply the entire differential equation by μ(x), collapsing the left side into dxd[μ(x)y]=μ(x)Q(x).
4. Integration & Isolation
Integrate μ(x)Q(x) with respect to x, add the constant +C, and divide the entire right side by μ(x).
Worked example 2.A — Integrating Factor with Variable Coefficients
Find the general solution of the differential equation xdxdy+2y=4x2,x>0.
Step 1: Normalize: Divide by x: dxdy+x2y=4x. Here P(x)=x2 and Q(x)=4x.
Worked example 2.C — Analytical Application: Dynamic Inflow-Outflow Mixing Tanks
A tank initially contains V0=100 L of fresh water. Brine with salt concentration cin=0.5 kg/L flows in at rin=4 L/min. Well-mixed solution is pumped out at rout=2 L/min. Determine the total salt mass Q(t) in the tank as a function of time.
Step 1: Dynamic volume: Because rin=rout, volume changes with time: V(t)=V0+(rin−rout)t=100+2t.
Step 2: Differential balance equation:dtdQ=Rate In−Rate Out=rincin−routV(t)Q(t)=4(0.5)−2100+2tQ. In standard linear form: dtdQ+50+t1Q=2,Q(0)=0.
Step 4: Integrate and solve:dtd[(50+t)Q]=2(50+t)⟹(50+t)Q=(50+t)2+C. Applying Q(0)=0: 50(0)=502+C⟹C=−2500. Thus: Q(t)=50+t−50+t2500.
⊙ Explorer · dxdy + ky = b (constant-coefficient linear equation)
interactive
Sample points along y(x) showing decay toward the steady state yinf=b/k
x
y(x)
y(x)−yinf
Drag to rotate, scroll to zoom · loads a small 3D library on first use
steady state yinf=b/k2.000
y(1)0.896
For constant coefficients P(x)=k and Q(x)=b with k>0, the integrating factor is e^(kx) and the exact solution is y(x)=b/k+(y0−b/k)e^(-kx). The term (y0−b/k)e^(-kx) is the transient — it decays exponentially to 0 as x grows — leaving only the steady state yinf=b/k (dashed amber line). Drag k to change the decay rate (a larger k pulls the curve toward the steady state faster; a smaller k lets the transient linger); drag b to shift the steady-state level; drag y0 to move the starting point above or below it.
1. Bernoulli Equations: An ODE of the form dxdy+P(x)y=Q(x)yn,n∈R,n=0,1 is nonlinear. Dividing by yn yields y−ny′+P(x)y1−n=Q(x). Introducing the change of variable v(x)=[y(x)]1−n⟹dxdv=(1−n)y−ndxdy transforms the nonlinear ODE into an exact first-order linear ODE for v(x): dxdv+(1−n)P(x)v=(1−n)Q(x).
2. Riccati Equations: A quadratic first-order ODE of the form dxdy=q0(x)+q1(x)y+q2(x)y2,q2(x)=0 cannot generally be solved by quadratures. However:
If one particular solution y1(x) is known, the substitution y(x)=y1(x)+v(x)1 reduces the Riccati equation to a first-order linear ODE for v(x): v′+(q1(x)+2q2(x)y1(x))v=−q2(x).
Alternatively, the substitution y(x)=−q2(x)u(x)u′(x) transforms the Riccati equation into a second-order linear homogeneous ODE: u′′−(q1(x)+q2(x)q2′(x))u′+q0(x)q2(x)u=0.
Linear systems under constant input display a fundamental decomposition into a transient solution (which decays to zero) and a steady-state response (which dominates as x→∞), as plotted below for y(x)=3−2e−2x.
Decomposition of y(x)=3−2e−2x. The exponential term −2e−2x is the transient component decaying rapidly toward zero, leaving the steady-state asymptote y∞=3.
⚠️ Common Traps & University Pitfalls — Standard Form & Integrating Factors
Failure to normalize first: Never read P(x) directly from a(x)y′+b(x)y=c(x)! You must divide by a(x) first. If xy′+2y=4, P(x)=2/x, NOT 2. Using μ=e2x instead of x2 is a catastrophic error.
Minus sign omissions: For y′−3y=ex, P(x)=−3 and μ(x)=e−3x. Dropping the negative sign results in μ(x)=e3x, causing product-rule collapse to fail.
Exponent laws:exp(3lnx)=exp(lnx3)=x3. It is NOT 3x or 3lnx. Furthermore, remember to distribute the 1/μ(x) across the constant C: y=μ∫μQdx+μC, never +C placed outside the fraction.
Worked Example D — Linear First-Order Equations, Integrating Factors & Nonlinear Reductions (Hard Application)
Problem (Hard): The Laplace transform of R(m)=48e20m is S(s)=s−2048 for s>20. Determine the evaluated transform S(21).
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Solve the initial value problem (x2+1)dxdy+4xy=x with y(0)=1.
Step 3: Integrating factor for linear equation in v:μ(x)=exp(∫−x1dx)=e−lnx=x1. Multiply through: dxd[xv]=x1(−x)=−1⟹xv=−x+C⟹v(x)=Cx−x2.
Step 4: Revert to y:y(x)=v(x)1=Cx−x21. Apply y(1)=−1: −1=C(1)−121=C−11⟹C−1=−1⟹C=0. Therefore: y(x)=−x21.
[Practice 3 · Easy] Consider the linear first-order differential equation dxdy+2y=6. If the initial condition is y(0)=1, find the value of y(1).
💡 Hint 1 of 3
The given differential equation is a linear first-order ODE of the form dxdy+P(x)y=Q(x), where P(x)=2 and Q(x)=6. The integrating factor μ(x) is given by μ(x)=e∫P(x)dx.
💡 Hint 2 of 3
Calculating the integrating factor: μ(x)=e∫2dx=e2x. Multiplying the differential equation by the integrating factor: e2xdxdy+2e2xy=6e2x.
💡 Hint 3 of 3
Now, we need to find y(1): y(1)=3−2e−2(1).
The given differential equation is a linear first-order ODE of the form dxdy+P(x)y=Q(x), where P(x)=2 and Q(x)=6. The integrating factor μ(x) is given by μ(x)=e∫P(x)dx.
Calculating the integrating factor: μ(x)=e∫2dx=e2x.
Multiplying the differential equation by the integrating factor: e2xdxdy+2e2xy=6e2x.
The left side is the derivative of the product yμ(x): dxd(ye2x)=6e2x.
Integrating both sides with respect to x: ye2x=∫6e2xdx.
ye2x=6⋅21e2x+C.
ye2x=3e2x+C.
Solving for y: y=3+Ce−2x.
Using the initial condition y(0)=1 to find C: 1=3+Ce−2(0).
1=3+C.
C=1−3=−2.
So, the particular solution is y(x)=3−2e−2x.
Now, we need to find y(1): y(1)=3−2e−2(1)=3−2e−2.
This matches choice C.
[Practice 4 · Medium] The separable initial value problem drdP=34r satisfies P(0)=8. Determine the solution value P(7).
💡 Hint 1 of 3
Solve drdP=34r over the specified interval using reference angles and quadrant symmetry.
💡 Hint 2 of 3
Integrating gives P(r)=17r2+8.
💡 Hint 3 of 3
Count the total number of distinct solutions that lie within the given domain.
Integrating gives P(r)=17r2+8, so P(7)=841.
📝 Chapter Quiz
3
Second-Order Linear Homogeneous Equations, Auxiliary Roots & Wronskian Theory
While first-order equations require one initial condition to determine a trajectory, physical dynamics governed by Newton's Second Law (F=ma=mx′′) require two independent initial specifications: initial position and initial velocity. A second-order equation's solution set forms a two-dimensional vector space. This chapter establishes the complete algebraic theory of constant-coefficient linear homogeneous equations, proves the characteristic root trichotomy, and introduces Abel's Identity and the Wronskian determinant for linear independence.
● Level 1 Foundation — Definition 3.1: Second-Order Linear Homogeneous ODEs & Characteristic Polynomial
A second-order linear homogeneous differential equation with constant coefficients has the form: adx2d2y+bdxdy+cy=0,a,b,c∈R,a=0. Substituting the exponential ansatz y(x)=erx (with y′=rerx and y′′=r2erx) produces: erx(ar2+br+c)=0. Because erx=0 for all x∈R, y=erx solves the ODE if and only if r satisfies the characteristic (auxiliary) equation: ar2+br+c=0.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
▲ Level 1 Foundation — Theorem 3.1: Superposition Principle & Vector Space of Solutions
Let L[y]=ay′′+by′+cy be the linear differential operator. If y1(x) and y2(x) are solutions to L[y]=0 on an open interval I, then any linear combination y(x)=C1y1(x)+C2y2(x),C1,C2∈R is also a solution. The solution set ker(L) forms a two-dimensional vector subspace of C2(I).
Proof
Differentiation is linear: (C1y1+C2y2)′=C1y1′+C2y2′ and (C1y1+C2y2)′′=C1y1′′+C2y2′′. Evaluating L: L[C1y1+C2y2]=a(C1y1′′+C2y2′′)+b(C1y1′+C2y2′)+c(C1y1+C2y2)=C1(ay1′′+by1′+cy1)+C2(ay2′′+by2′+cy2)=C1(0)+C2(0)=0. Thus linearity is established.
Repeated Root (Δ=0): One solution is y1(x)=erx with r=−b/(2a). Seek a second solution using reduction of order: y2(x)=v(x)erx. Differentiating yields y2′=erx(v′+rv) and y2′′=erx(v′′+2rv′+r2v). Substituting into ay′′+by′+cy=0: erx[av′′+(2ar+b)v′+(ar2+br+c)v]=0. Since ar2+br+c=0 and 2ar+b=2a(−b/(2a))+b=0, the equation collapses to av′′=0⟹v′′(x)=0. Integrating twice gives v(x)=C1+C2x, establishing y(x)=(C1+C2x)erx.
Complex Conjugate Roots (\( \Delta < 0 \)): Roots are r=α±iβ. By Euler's formula, e(α±iβ)x=eαx(cosβx±isinβx). By Theorem 3.1, real linear combinations of solutions are solutions: y1=2e(α+iβ)x+e(α−iβ)x=eαxcos(βx),y2=2ie(α+iβ)x−e(α−iβ)x=eαxsin(βx). These are linearly independent since their Wronskian W(y1,y2)(x)=βe2αx=0.
Analytical Procedure for Homogeneous Second-Order Equations
1. Auxiliary Quadratic
Write down ar2+br+c=0 directly from coefficients ay′′+by′+cy=0.
2. Discriminant Evaluation
Compute Δ=b2−4ac to classify roots as distinct real (>0), repeated (=0), or complex conjugate (\( <0 \)).
3. Fundamental Basis
Construct linearly independent solutions y1,y2 and assemble y(x)=C1y1(x)+C2y2(x).
4. Initial Conditions System
Differentiate y(x) once and solve the 2×2 linear algebraic system for C1,C2 using y(x0)=y0 and y′(x0)=y1.
Worked example 3.A — Overdamped Motion & Distinct Real Roots
Solve the initial value problem y′′−5y′+4y=0,y(0)=0,y′(0)=3.
Step 1: Auxiliary equation:r2−5r+4=(r−1)(r−4)=0⟹r1=1,r2=4. General solution: y(x)=C1ex+C2e4x.
Worked example 3.C — Underdamped Harmonic Oscillator & Quasi-Frequency
A mass-spring-damper system satisfies y′′+2y′+5y=0,y(0)=3,y′(0)=1. Determine its quasi-frequency ωd and express the solution in phase-amplitude form y(x)=Ae−γxcos(ωdx−ϕ).
⊙ Explorer · The auxiliary equation's three cases, y′′+by′+cy=0
interactive
Characteristic roots and solution values at sample points
x
y(x)
y'(x)
discriminant b2−4c−15.000
RegimeUnderdamped
Drag b (damping) and c (stiffness) to shift the characteristic roots r2 + br + c=0 across the three dynamical regimes: when b2>4c, roots are real and distinct (overdamped, no oscillations); when b2=4c, the root is repeated (critically damped, fastest return to equilibrium without overshoot); when \(b^{2} < 4c\), roots are complex conjugate (underdamped, oscillatory decay within an exponential envelope).
▲ Level 3 University Rigor — Theorem 3.3: Abel's Identity, Wronskian Determinant & Reduction of Order
1. Abel's Identity: Let y1(x) and y2(x) be solutions to the normalized second-order linear homogeneous ODE y′′+P(x)y′+Q(x)y=0 on an open interval I where P,Q∈C(I). The Wronskian determinant is defined by W(y1,y2)(x)=det(y1(x)y1′(x)y2(x)y2′(x))=y1(x)y2′(x)−y1′(x)y2(x). Differentiating W with respect to x: W′(x)=y1y2′′−y1′′y2=y1(−Py2′−Qy2)−(−Py1′−Qy1)y2=−P(x)(y1y2′−y1′y2)=−P(x)W(x). Integrating yields Abel's Formula: W(y1,y2)(x)=W(y1,y2)(x0)exp(−∫x0xP(t)dt). Consequently, W(x) is either identically zero everywhere on I (in which case y1,y2 are linearly dependent) or never zero anywhere on I (in which case {y1,y2} forms a fundamental solution set).
2. Reduction of Order Formula: If one non-zero solution y1(x) is known, setting y2(x)=v(x)y1(x) produces y1y2′−y1′y2=y12v′=W(x). Thus: v′(x)=y1(x)2W(x)=y1(x)2Ce−∫P(x)dx⟹y2(x)=y1(x)∫y1(x)2e−∫P(x)dxdx. This formula systematically generates the second linearly independent solution for any linear ODE, including Cauchy-Euler equations ax2y′′+bxy′+cy=0.
In underdamped oscillators, the oscillatory sinusoidal trajectory is strictly bounded within an exponential decay envelope ±Ae−γx, touching the envelope tangentially at quasi-extrema, as graphed below.
Underdamped harmonic oscillator y(x)=2e−0.7xcos(3x). The solution oscillates with quasi-frequency ωd=3 rad/s strictly bounded within the exponential envelope ±2e−0.7x.
⚠️ Common Traps & University Pitfalls — Repeated and Complex Characteristic Roots
Missing secular factor in repeated roots: When b2−4ac=0, the roots are r1=r2=r. The general solution is (C1+C2x)erx, NOT C1erx+C2erx. Writing C1erx+C2erx=(C1+C2)erx=Cerx collapses two degrees of freedom into one, making it impossible to satisfy arbitrary initial conditions.
Product rule errors on repeated roots: When differentiating y=(C1+C2x)erx, students frequently write y′=r(C1+C2x)erx, forgetting the derivative of C2x. The correct derivative is y′=C2erx+r(C1+C2x)erx.
Complex numbers in real solutions: Real physical ODEs produce real solutions. For r=α±iβ, the basis is {eαxcosβx,eαxsinβx}. Do not leave imaginary units i in final real-variable solutions.
Worked Example D — Second-Order Linear Homogeneous Equations, Auxiliary Roots & Wronskian Theory (Easy Application)
Problem (Easy): Consider the second-order linear homogeneous differential equation y′′−5y′+6y=0. If the auxiliary equation has roots r1 and r2, find the value of r1+r2.
Step-by-Step Solution: The given differential equation is y′′−5y′+6y=0. The auxiliary equation for a second-order linear homogeneous differential equation of the form ay′′+by′+cy=0 is ar2+br+c=0. In this case, a=1, b=−5, and c=6. So the auxiliary equation is r2−5r+6=0. Let the roots of this quadratic equation be r1 and r2. According to Vieta's formulas, for a quadratic equation ar2+br+c=0, the sum of the roots r1+r2 is equal to −ab. In our auxiliary equation r2−5r+6=0, a=1 and b=−5. Therefore, the sum of the roots is r1+r2=−1−5=5.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Second-Order Linear Homogeneous Equations, Auxiliary Roots & Wronskian Theory)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
▲ Exam Pacing & Verification Strategy — Second-Order Linear Homogeneous Equations, Auxiliary Roots & Wronskian Theory
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Solve the initial value problem y′′+4y′+13y=0 with y(0)=2 and y′(0)=−1.
Step 2: Second solution via reduction of order or variable change x=et: For repeated root m in Cauchy-Euler equations, the fundamental basis is {xm,xmlnx}. Thus: y(x)=x2(C1+C2lnx).
Step 3: Initial conditions at x=1:y(1)=12(C1+C2ln1)=C1=3. Differentiating: y′(x)=2x(C1+C2lnx)+x2(xC2)=2x(C1+C2lnx)+C2x.y′(1)=2(C1+0)+C2=2(3)+C2=6+C2. Setting y′(1)=8⟹6+C2=8⟹C2=2.
Step 4: Particular solution:y(x)=x2(3+2lnx).
[Practice 3 · Medium] Consider the second-order linear homogeneous differential equation y′′−2y′+y=0. \\
If one of the fundamental solutions is y1(x)=ex, and the Wronskian of two linearly independent solutions y1(x) and y2(x) is given by W(y1,y2)(x)=5e2x, find the unknown parameter k in y2(x)=kxex.
💡 Hint 1 of 3
The given differential equation is y′′−2y′+y=0. The characteristic equation is r2−2r+1=0, which factors as (r−1)2=0. Thus, the roots are repeated: r1=r2.
💡 Hint 2 of 3
Rewrite and simplify to obtain: y2′(x)=dxd(kxex)=k(1⋅ex+x⋅ex)=kex(1+x).
💡 Hint 3 of 3
We equate this to the given Wronskian to determine ke2x.
The given differential equation is y′′−2y′+y=0. The characteristic equation is r2−2r+1=0, which factors as (r−1)2=0. Thus, the roots are repeated: r1=r2=1. \\
One fundamental solution is given as y1(x)=ex. For a second-order linear homogeneous equation y′′+p(x)y′+q(x)y=0 with a known solution y1(x), the Wronskian is given by W(y1,y2)(x)=y1(x)y2′(x)−y1′(x)y2(x)=Ce−∫p(x)dx. \\
In our equation, p(x)=−2. So, −∫p(x)dx=−∫(−2)dx=2x. Therefore, W(y1,y2)(x)=Ce2x. \\
We are given that W(y1,y2)(x)=5e2x, which means C=5. \\
We are also given y1(x)=ex and y2(x)=kxex. \\
Let's compute the Wronskian using these forms: \\
y1′(x)=ex \\
y2′(x)=dxd(kxex)=k(1⋅ex+x⋅ex)=kex(1+x)
\\
Now, substitute into the Wronskian formula: \\
W(y1,y2)(x)=y1(x)y2′(x)−y1′(x)y2(x)W(y1,y2)(x)=ex⋅[kex(1+x)]−ex⋅[kxex]W(y1,y2)(x)=ke2x(1+x)−kxe2xW(y1,y2)(x)=ke2x+kxe2x−kxe2xW(y1,y2)(x)=ke2x
\\
We equate this to the given Wronskian: \\
ke2x=5e2x
\\
Therefore, k=5.
[Practice 4 · Hard] Consider the second-order linear homogeneous differential equation y′′−3y′+2y=0. Find the general solution to this equation.
💡 Hint 1 of 3
The characteristic equation for the differential equation y′′−3y′+2y=0 is r2−3r+2=0.
💡 Hint 2 of 3
Factoring this quadratic equation gives (r−1)(r−2)=0. The roots are r1=1 and r2=2. Since the roots are real and distinct, the general solution is of the form y(x)=c1er1x+c2er2x.
💡 Hint 3 of 3
Substituting the roots, we get y(x)=c1ex+c2e2x.
The characteristic equation for the differential equation y′′−3y′+2y=0 is r2−3r+2=0. Factoring this quadratic equation gives (r−1)(r−2)=0. The roots are r1=1 and r2=2. Since the roots are real and distinct, the general solution is of the form y(x)=c1er1x+c2er2x. Substituting the roots, we get y(x)=c1ex+c2e2x.
Choice B is incorrect because it uses negative roots.
Choice C is incorrect because it corresponds to complex roots.
Choice D is incorrect because it corresponds to a repeated root.
When physical systems are subjected to time-varying external inputs — such as aerodynamic gusts on an aircraft wing, periodic magnetic fields driving an electric motor, or oscillating alternating currents driving an RLC filter — the governing equation becomes nonhomogeneous: ay′′+by′+cy=g(x). The total response decomposes into internal natural dynamics (the complementary function) plus forced response (the particular solution). This chapter develops the method of undetermined coefficients, formalizes the Annihilator Method, and rigorously analyzes physical resonance and secular amplitude growth.
● Level 1 Foundation — Definition 4.1: Linear Nonhomogeneous Equations, Complementary & Particular Solutions
A second-order linear nonhomogeneous ODE with constant coefficients is written: ay′′+by′+cy=g(x),a=0. The associated homogeneous equation ay′′+by′+cy=0 is called the reduced (complementary) equation, and its general solution is the complementary functionyc(x)=C1y1(x)+C2y2(x). Any single specific function yp(x) satisfying ayp′′+byp′+cyp=g(x) is termed a particular solution.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
⊙ Explorer · Undetermined Coefficients: Beats vs. Pure Resonance (ω→ω0)
interactive
Live numerical table for Undetermined Coefficients: Beats vs. Pure Resonance (ω→ω0)
Parameter / Metric
Value
Detuning ∣ω−ω0∣∣ω−ω0∣=0.40
Amplitude Gain 1/∣ω02−ω2∣Gain = 0.57
Regime (Beats vs. Resonance)Periodic Beats Envelope
For y'' + ω02y = cos(ωt), when ω=ω0 the response exhibits periodic beats with envelope ±1/∣ω02−ω2∣. When ω=ω0, undetermined coefficients requires the secular term t⋅sin(ω0t) (pure resonance!).
▲ Level 1 Foundation — Theorem 4.1: General Solution Structure & Affine Subspaces
Let L[y]=ay′′+by′+cy. If yp(x) is any fixed particular solution of L[y]=g(x), then the complete general solution is y(x)=yc(x)+yp(x)=C1y1(x)+C2y2(x)+yp(x), where {y1,y2} is a fundamental solution set of L[y]=0. Geometrically, the solution set is an affine subspace of C2(I) formed by shifting ker(L) by yp.
Proof
Let y(x) be any arbitrary solution to L[y]=g(x). Consider the difference u(x)=y(x)−yp(x). By linearity of L: L[u]=L[y−yp]=L[y]−L[yp]=g(x)−g(x)=0. Thus u(x)∈ker(L), so u(x)=C1y1(x)+C2y2(x)=yc(x) for some unique constants C1,C2. Therefore, y(x)=u(x)+yp(x)=yc(x)+yp(x).
Standard Trial Forms for Undetermined Coefficients
If any term in the standard trial form yp(x) replicates a term in the complementary function yc(x) (meaning its associated characteristic root is a root of the auxiliary equation ar2+br+c=0 of multiplicity s≥1), then the basic trial form must be multiplied by xs:
yp(x)=xs⋅[Basic Trial Form],
where s=1 if the root is simple, and s=2 if the root is repeated. This multiplication prevents the differential operator L from annihilating the trial form to zero, allowing the undetermined coefficients to be matched uniquely.
Analytical Procedure for Undetermined Coefficients
1. Solve Homogeneous Equation
Find characteristic roots of ar2+br+c=0 and write out the complementary function yc(x)=C1y1(x)+C2y2(x).
2. Select Basic Trial Form
From the shape of g(x), select the general family containing g(x) and all of its derivatives.
3. Check Duplication (Multiply by x^s)
Compare with yc(x). If any term is duplicated, multiply the entire trial candidate by x (or x2) until no duplication remains.
4. Substitute & Match Coefficients
Compute yp′,yp′′, substitute into ayp′′+byp′+cyp=g(x), group like functions, and solve the linear system for coefficients.
Worked example 4.A — Polynomial & Exponential Forcing without Resonance
Step 2: Trial form with resonance: The standard trial Ae2x and Axe2x are both already present in yc because r=2 is a double root (multiplicity s=2). Therefore: yp(x)=Ax2e2x.
Step 4: Substitute:e2x[2A(1+4x+2x2)−4⋅2A(x+x2)+4⋅Ax2]=6e2xe2x[2A+(8A−8A)x+(4A−8A+4A)x2]=2Ae2x=6e2x⟹2A=6⟹A=3. Thus yp(x)=3x2e2x, and general solution is y(x)=(C1+C2x+3x2)e2x.
Worked example 4.C — Analytical Application: Driven RLC Circuit & Steady-State Gain
A series RLC circuit with charge Q(t) is driven by alternating voltage: Ldt2d2Q+RdtdQ+C1Q=V0cos(ωt). Compute the steady-state current Iss(t)=dtdQss and the resonant driving frequency ωres that maximizes current amplitude.
Step 2: Steady-state current:Ip(t)=Qp′(t)=iωQ0eiωt=R+i(Lω−Cω1)V0eiωt=Z(ω)V0ei(ωt−ϕ), where impedance magnitude is: ∣Z(ω)∣=R2+(Lω−ωC1)2.
Step 3: Resonant frequency: Current amplitude I0=∣Z(ω)∣V0 is maximized when impedance ∣Z∣ is minimized: Lω−ωC1=0⟹ωres=LC1. At electrical resonance, impedance is purely resistive Z=R, and current reaches its absolute physical peak Imax=V0/R.
▲ Level 3 University Rigor — Theorem 4.2: Annihilator Operator Theory, Pure Resonance & Secular Amplitude Catastrophe
1. Annihilator Operator Theory: Let D=dxd be the differential operator. A polynomial operator A(D) is an annihilator of g(x) if A(D)[g(x)]≡0. Fundamental annihilators include:
Dk+1 annihilates xk.
(D−α)k+1 annihilates xkeαx.
(D2−2αD+α2+β2)k+1 annihilates xkeαxcos(βx) and xkeαxsin(βx).
Applying A(D) to P(D)y=g(x) yields the higher-order homogeneous ODE A(D)P(D)y=0. Any solution to P(D)y=g(x) must be a solution to this homogeneous equation. The roots of A(r) that are distinct from P(r) generate the basic trial form; roots of A(r) that match roots of P(r) with multiplicity s require multiplying by xs, rigorously establishing the resonance rule.
2. Pure Resonance & Secular Amplitude Catastrophe: Consider the undamped oscillator y′′+ω02y=F0cos(ωt) with y(0)=0,y′(0)=0. For ω=ω0, the exact solution is the beat waveform: y(t)=ω02−ω2F0(cos(ωt)−cos(ω0t)). Taking the pure resonance limit as ω→ω0 via L'Hôpital's Rule: ω→ω0limy(t)=ω→ω0limdωd[ω02−ω2]dωd[F0(cosωt−cosω0t)]=ω→ω0lim−2ω−F0tsin(ωt)=2ω0F0tsin(ω0t). The secular factor t causes the oscillation amplitude to grow linearly toward infinity: ∣y(t)∣∝t, leading inevitably to physical destruction (secular catastrophe) in the absence of damping.
When an undamped mechanical system is driven at its exact natural frequency, energy accumulates continuously without dissipation, generating linear secular amplitude growth, as plotted below.
Pure resonance in y′′+4y=4cos(2t). The particular solution yp(t)=tsin(2t) displays an amplitude expanding proportionally to t, bounded by the linear envelopes ±t.
⚠️ Common Traps & University Pitfalls — Duplication with Homogeneous Solutions
Incomplete trigonometric pairs: If g(x)=cos(βx), the trial form MUST be Acos(βx)+Bsin(βx). Omitting the sine term will cause the linear system to be inconsistent whenever b=0, because the first derivative y′ produces sines from cosines.
Resonance scaling: When multiplying by x due to root duplication, the ENTIRE trial pair must be multiplied: x(Acosβx+Bsinβx), NOT just Axcosβx+Bsinβx.
Method limitations: Undetermined coefficients strictly applies ONLY when g(x) is a linear combination of products of polynomials, exponentials, and sines/cosines. For forcing terms like tanx,secx,lnx,1/x, or ex2, you MUST use Variation of Parameters (Chapter 5).
Worked Example D — Nonhomogeneous Equations, Undetermined Coefficients & Resonance (Hard Application)
Problem (Hard): Consider the second-order linear nonhomogeneous differential equation: y′′(x)−3y′(x)+2y(x)=4. Find the particular solution, yp(x), using the method of Undetermined Coefficients.
Step-by-Step Solution: The given differential equation is y′′(x)−3y′(x)+2y(x)=4. Since the right-hand side is a constant, we guess a particular solution of the form yp(x)=A, where A is a constant. Then, yp′(x)=0 and yp′′(x)=0. Substituting these into the differential equation:
0−3(0)+2(A)=42A=4A=2
Therefore, the particular solution is yp(x)=2.
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Find the general solution of the differential equation y′′+y=4sinx+2e−x.
Particular solution trial form: For 4sinx: roots ±i match yc (multiplicity s=1), so trial is yp1=x(Acosx+Bsinx). For 2e−x: r=−1 is not a root of r2+1=0, so trial is yp2=Ce−x.
Step 2: Particular solution trial form: For 4sinx: roots ±i match yc (multiplicity s=1), so trial is yp1=x(Acosx+Bsinx). For 2e−x: r=−1 is not a root of r2+1=0, so trial is yp2=Ce−x. Total trial: yp=x(Acosx+Bsinx)+Ce−x.
Step 3: Solve for yp1:yp1′′+yp1=−2Asinx+2Bcosx=4sinx⟹−2A=4⟹A=−2, and 2B=0⟹B=0. Thus yp1=−2xcosx.
Step 4: Solve for yp2:yp2′′+yp2=Ce−x+Ce−x=2Ce−x=2e−x⟹C=1. Thus yp2=e−x.
Step 5: General solution:y(x)=C1cosx+C2sinx−2xcosx+e−x.
Solve the initial value problem y′′−2y′+y=(x+1)ex with y(0)=1 and y′(0)=0.
Step 2: Particular trial form: Basic trial for (x+1)ex is (Ax+B)ex. Both xex and ex are in yc (multiplicity s=2). Multiply by x2: yp(x)=x2(Ax+B)ex=(Ax3+Bx2)ex.
Step 3: Derivatives and substitution: Using operator (D−1)2[uex]=exD2[u]: (D−1)2[(Ax3+Bx2)ex]=exdx2d2[Ax3+Bx2]=ex(6Ax+2B). Match with (x+1)ex: 6Ax+2B=x+1⟹6A=1⟹A=1/6,2B=1⟹B=1/2. Thus yp(x)=(6x3+2x2)ex.
Step 4: General solution and initial conditions:y(x)=(C1+C2x+2x2+6x3)ex.y(0)=C1=1. y′(x)=(C2+x+2x2)ex+(1+C2x+2x2+6x3)ex⟹y′(0)=C2+1=0⟹C2=−1. Particular solution: y(x)=(1−x+2x2+6x3)ex.
[Practice 3 · Easy] Consider the nonhomogeneous second-order linear differential equation y′′+4y=8. What is the particular solution, yp(x), to this equation?
💡 Hint 1 of 3
The given differential equation is y′′+4y=8.
💡 Hint 2 of 3
This is a nonhomogeneous second-order linear differential equation. We use the method of undetermined coefficients to find a particular solution, yp(x).
💡 Hint 3 of 3
Therefore, the particular solution is yp(x).
The given differential equation is y′′+4y=8. This is a nonhomogeneous second-order linear differential equation. We use the method of undetermined coefficients to find a particular solution, yp(x). The nonhomogeneous term is a constant, 8. We guess a particular solution of the form yp(x)=A, where A is a constant. Then, yp′(x)=0 and yp′′(x)=0. Substituting these into the differential equation: 0+4(A)=8. Solving for A, we get 4A=8, which means A=2. Therefore, the particular solution is yp(x)=2.
[Practice 4 · Medium] Consider the nonhomogeneous second-order linear differential equation y′′−5y′+6y=12x+8. yh(x)=c1e2x+c2e3x is the general solution to the corresponding homogeneous equation. Find the particular solution yp(x) using the method of undetermined coefficients, and then determine the value of the constant A such that yp(x)=Ax+B for some constant B.
💡 Hint 1 of 3
The given nonhomogeneous differential equation is y′′−5y′+6y=12x+8.
💡 Hint 2 of 3
The form of the nonhomogeneous term is g(x)=12x+8, which is a polynomial of degree 1. Thus, we assume a particular solution of the form yp(x)=Ax+B. We need to find the first and second derivatives of yp(x): yp′(x)=A.
💡 Hint 3 of 3
Therefore, the particular solution is yp(x)=2x+3. The value of the constant A is 2.
The given nonhomogeneous differential equation is y′′−5y′+6y=12x+8.
The form of the nonhomogeneous term is g(x)=12x+8, which is a polynomial of degree 1. Thus, we assume a particular solution of the form yp(x)=Ax+B.
We need to find the first and second derivatives of yp(x):
yp′(x)=Ayp′′(x)=0
Substitute these into the differential equation:
0−5(A)+6(Ax+B)=12x+8−5A+6Ax+6B=12x+86Ax+(6B−5A)=12x+8
Equating the coefficients of like powers of x:
For the x term: 6A=12⇒A=2.
For the constant term: 6B−5A=8.
Substitute A=2 into the second equation:
6B−5(2)=86B−10=86B=18B=3
Therefore, the particular solution is yp(x)=2x+3. The value of the constant A is 2.
📝 Chapter Quiz
5
Variation of Parameters, Wronskian Systems & Green's Kernel
While undetermined coefficients requires forcing terms to belong to finite-dimensional derivative-invariant families (polynomials, exponentials, sines, and cosines), modern applied mathematics frequently encounters non-elementary inputs: aerodynamic drag terms, logarithmic potentials, tangent/secant waveforms in nonlinear oscillators, and Dirac impulse distributions. The method of Variation of Parameters (originated by Joseph-Louis Lagrange) provides a universally applicable analytical technique to construct particular solutions for any continuous forcing function, formalizing the transition to Green's functions and linear response theory.
● Level 1 Foundation — Definition 5.1: The Fundamental Matrix & Wronskian Determinant
Consider the second-order linear differential equation in standard normalized form: y′′+P(x)y′+Q(x)y=g(x), where P,Q,g∈C(I). Let {y1(x),y2(x)} be a fundamental set of solutions to the homogeneous equation y′′+Py′+Qy=0. Their Wronskian determinant is W(y1,y2)(x)=y1(x)y2′(x)−y1′(x)y2(x)=0∀x∈I.
Instead of treating arbitrary constants C1,C2 as fixed numbers, Lagrange replaced them with unknown variable parameter functions u1(x),u2(x): yp(x)=u1(x)y1(x)+u2(x)y2(x).
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
⊙ Explorer · Variation of Parameters: Wronskian W(y1,y2) & Causal Green's Kernel G(t,s)
interactive
Live numerical table for Variation of Parameters: Wronskian W(y1,y2) & Causal Green's Kernel G(t,s)
Parameter / Metric
Value
Wronskian W(cosωt,sinωt)=ωW=1.50
Green's Kernel Max 1/ω1/ω=0.667
Causal Response G(4.0,s)G(4,s)=−0.381
Plot fundamental solutions y1(t)=cos(ωt), y2(t)=sin(ωt) (dashed) and the causal Green's kernel G(t,s)=(y1(s)y2(t)−y2(s)y1(t))/W(s)=sin(ω(t−s))/ω for t≥s (solid amber).
▲ Level 1 Foundation — Theorem 5.1: Variation of Parameters Formula & Lagrange Substitution
Let {y1,y2} be a fundamental solution set of y′′+P(x)y′+Q(x)y=0 with Wronskian W(x). A particular solution to the nonhomogeneous equation y′′+P(x)y′+Q(x)y=g(x) is given by: yp(x)=−y1(x)∫W(x)y2(x)g(x)dx+y2(x)∫W(x)y1(x)g(x)dx.
Proof
Differentiating yp=u1y1+u2y2 via the product rule: yp′=(u1y1′+u2y2′)+(u1′y1+u2′y2). Because we have two unknown functions u1,u2 but only one governing differential equation, we are free to impose one auxiliary constraint. To avoid second derivatives of u1,u2, Lagrange imposed the condition: u1′(x)y1(x)+u2′(x)y2(x)=0. With this constraint, the derivative simplifies to yp′=u1y1′+u2y2′. Differentiating again: yp′′=u1y1′′+u2y2′′+u1′y1′+u2′y2′. Substituting yp,yp′,yp′′ into y′′+Py′+Qy=g(x): u1(y1′′+Py1′+Qy1)+u2(y2′′+Py2′+Qy2)+u1′y1′+u2′y2′=g(x). Since y1,y2 solve the homogeneous equation, the first two grouped expressions vanish, leaving: u1′(x)y1′(x)+u2′(x)y2′(x)=g(x). We now have a simultaneous linear algebraic system for the derivatives u1′,u2′: (y1y1′y2y2′)(u1′u2′)=(0g(x)). Solving this system via Cramer's Rule (determinant is W(x)=0): u1′(x)=W(x)det(0gy2y2′)=−W(x)y2(x)g(x),u2′(x)=W(x)det(y1y1′0g)=W(x)y1(x)g(x). Integrating u1′ and u2′ yields the stated particular solution formula.
Analytical Procedure for Variation of Parameters
1. Standard Normalization
Verify the equation is in standard form y′′+P(x)y′+Q(x)y=g(x). If the leading coefficient is a(x)=1, divide through by a(x) so that g(x)=f(x)/a(x).
2. Homogeneous Basis & Wronskian
Determine {y1,y2} from ar2+br+c=0 and evaluate W(x)=y1y2′−y1′y2.
3. Parameter Derivative Integrals
Compute u1(x)=−∫W(x)y2(x)g(x)dx and u2(x)=∫W(x)y1(x)g(x)dx. Constants of integration may be taken as zero.
4. Assemble General Solution
Combine to write y(x)=C1y1(x)+C2y2(x)+u1(x)y1(x)+u2(x)y2(x).
Worked example 5.A — Non-Elementary Forcing: Secant Function
Find the general solution of y′′+4y=sec(2x),x∈(−4π,4π).
Step 2: Variation of Parameters integrals:u1′=−−2e−xe2x=21ex⟹u1(x)=21ex,u2′=−2exe2x=−21e3x⟹u2(x)=−61e3x.yp=u1y1+u2y2=(21ex)ex+(−61e3x)e−x=21e2x−61e2x=31e2x.
Undetermined Coefficients check: Guess yp=Ae2x. 4Ae2x−Ae2x=3Ae2x=e2x⟹A=1/3. While both methods succeed for elementary functions, Variation of Parameters remains fully operational when Undetermined Coefficients fails completely (e.g. secx or lnx).
▲ Level 3 University Rigor — Theorem 5.2: Generalization to n-th Order Linear ODEs & Green's Kernel Representation
1. Generalization to n-th Order Equations: Consider the normalized n-th order linear ODE y(n)+pn−1(x)y(n−1)+⋯+p1(x)y′+p0(x)y=g(x). Let {y1,y2,…,yn} be a fundamental solution set. Then yp(x)=∑k=1nuk(x)yk(x), where the derivatives uk′(x) satisfy the algebraic system: y1y1′⋮y1(n−1)y2y2′⋮y2(n−1)……⋱…ynyn′⋮yn(n−1)u1′u2′⋮un′=00⋮g(x). By Cramer's Rule: uk′(x)=W(x)Wk(x)g(x), where Wk(x) is the determinant of the matrix obtained by replacing the k-th column of the Wronskian matrix with (0,0,…,0,1)T.
2. One-Sided Green's Function (Cauchy Kernel): The particular solution satisfying zero initial conditions y(x0)=0,y′(x0)=0 can be written as an integral operator: yp(x)=∫x0xG(x,t)g(t)dt, where the Green's kernel is: G(x,t)=W(t)det(y1(t)y1(x)y2(t)y2(x))=W(t)y1(t)y2(x)−y1(x)y2(t).G(x,t) represents the physical impulse response of the linear system to a unit Dirac delta impulse applied at time t.
The linear independence of fundamental solutions y1=cos(2x),y2=sin(2x) ensures that the Wronskian determinant W=2 remains strictly non-zero everywhere, guaranteeing that the parameter integrals never encounter singular denominators.
Fundamental basis {cos2x,sin2x} and constant non-vanishing Wronskian W(x)=2. Abel's Theorem guarantees that W(x) never crosses zero on R.
⚠️ Common Traps & University Pitfalls — Standard Form & Signs in Parameter Derivatives
Non-standard leading coefficients: If the differential equation is 2y′′+8y=sec(2x), you MUST divide by 2 first so g(x)=21sec(2x). Using the unnormalized right-hand side is the #1 student error in Variation of Parameters exams.
Sign error in u1′: Remember that u1′(x)=−W(x)y2(x)g(x) has a mandatory NEGATIVE sign from Cramer's Rule, while u2′(x)=+W(x)y1(x)g(x) is positive.
Arbitrary constants of integration: When integrating u1′ and u2′, constants +C1,+C2 are unnecessary because adding them merely regenerates the complementary function C1y1+C2y2.
Worked Example D — Variation of Parameters, Wronskian Systems & Green's Kernel (Medium Application)
Problem (Medium): Consider the second-order linear nonhomogeneous differential equation y′′−y=sinx. If yp(x)=Acosx+Bsinx is a particular solution, find the values of the constants A and B.
Step-by-Step Solution: We are given the differential equation y′′−y=sinx and a proposed particular solution yp(x)=Acosx+Bsinx. We need to find the derivatives of yp(x) and substitute them into the differential equation.
First derivative: yp′(x)=−Asinx+Bcosx.
Second derivative: yp′′(x)=−Acosx−Bsinx.
Substitute these into the differential equation:
(−Acosx−Bsinx)−(Acosx+Bsinx)=sinx
Combine like terms:
(−A−A)cosx+(−B−B)sinx=sinx−2Acosx−2Bsinx=sinx
For this equation to hold for all x, the coefficients of cosx and sinx on both sides must be equal.
Comparing coefficients of cosx: −2A=0, which implies A=0.
Comparing coefficients of sinx: −2B=1, which implies B=−21.
Therefore, the values of the constants are A=0 and B=−21.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Variation of Parameters, Wronskian Systems & Green's Kernel)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
▲ Exam Pacing & Verification Strategy — Variation of Parameters, Wronskian Systems & Green's Kernel
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Find the general solution of y′′+y=tanx for x∈(−π/2,π/2).
Step 3: Evaluate integral with zero initial conditions:y(x)=∫0xG(x,t)g(t)dt=∫0x(x−t)ex−t(t2+1et)dt=ex∫0xt2+1x−tdt=ex(x∫0xt2+11dt−∫0xt2+1tdt)=ex(xarctanx−21ln(x2+1)).
Thus: y(x)=ex(xarctanx−21ln(x2+1)).
[Practice 3 · Hard] Consider the second-order linear non-homogeneous differential equation: dx2d2y+4y=sec(2x). Suppose a particular solution is found using the method of variation of parameters. Let the fundamental set of solutions for the associated homogeneous equation be y1(x)=cos(2x) and y2(x)=sin(2x). If the particular solution is expressed in the form yp(x)=u1(x)y1(x)+u2(x)y2(x), determine the value of u2′(x).
💡 Hint 1 of 3
The given differential equation is dx2d2y+4y=sec(2x). The associated homogeneous equation is dx2d2y+4y=0. The characteristic equation is r2+4=0, which has roots r=±2i. Thus, the fundamental set of solutions for the homogeneous equation is y1(x)=cos(2x) and y2(x)=sin(2x).
💡 Hint 2 of 3
We use the method of variation of parameters to find a particular solution of the form yp(x)=u1(x)y1(x)+u2(x)y2(x). The Wronskian of y1 and y2 is: W(y1,y2)(x)=y1y2′−y1′y2=cos(2x)(2cos(2x))−(−sin(2x))(2sin(2x)).
💡 Hint 3 of 3
The value of u2′(x) is 21.
The given differential equation is dx2d2y+4y=sec(2x). The associated homogeneous equation is dx2d2y+4y=0. The characteristic equation is r2+4=0, which has roots r=±2i. Thus, the fundamental set of solutions for the homogeneous equation is y1(x)=cos(2x) and y2(x)=sin(2x).
We use the method of variation of parameters to find a particular solution of the form yp(x)=u1(x)y1(x)+u2(x)y2(x).
The Wronskian of y1 and y2 is:
W(y1,y2)(x)=y1y2′−y1′y2=cos(2x)(2cos(2x))−(−sin(2x))(2sin(2x))W(y1,y2)(x)=2cos2(2x)+2sin2(2x)=2(cos2(2x)+sin2(2x))=2.
The non-homogeneous term is g(x)=sec(2x).
The formulas for u1′(x) and u2′(x) are:
u1′(x)=−W(x)y2(x)g(x)u2′(x)=W(x)y1(x)g(x)
Substituting the given functions:
u2′(x)=2cos(2x)⋅sec(2x)u2′(x)=2cos(2x)cos(2x)u2′(x)=21.
The value of u2′(x) is 21.
[Practice 4 · Easy] Find a particular solution of y′′−y=2 using variation of parameters.
💡 Hint 1 of 3
Set up the initial relation: y1=ex, y2=e−x, W=−2.
💡 Hint 2 of 3
Rewrite and simplify to obtain: u1′=−Wy2(2)=e−x⇒u1=−e−x.
💡 Hint 3 of 3
Use the resulting form to finish: u2′=Wy1(2)=−ex⟹u2=−ex.
y1=ex, y2=e−x, W=−2. u1′=−Wy2(2)=e−x⇒u1=−e−x; u2′=Wy1(2)=−ex⇒u2=−ex. So yp=u1y1+u2y2=−e−xex−exe−x=−2.
📝 Chapter Quiz
6
The Laplace Transform, Discontinuous Forcing & Convolution Theory
In electrical engineering, structural dynamics, and control theory, physical systems are often driven by inputs that are discontinuous, piecewise-defined, or instantaneous — such as switching on a power supply, applying a hammer blow to a structural beam, or tracking digital pulse sequences. Traditional calculus techniques struggle with non-smooth forcing terms. The Laplace transform acts as an operational calculus, converting differential operators into algebraic polynomials, incorporating initial conditions automatically, and handling Heaviside step functions, Dirac delta distributions, and convolution integrals with mathematical precision.
● Level 1 Foundation — Definition 6.1: The One-Sided Laplace Transform & Exponential Order
Let f:[0,∞)→R be a piecewise continuous function. The one-sided Laplace transform of f(t) is the function F(s)=L{f(t)} defined by the improper integral: F(s)=L{f(t)}=∫0∞e−stf(t)dt, for all complex or real numbers s for which the integral converges.
A function f(t) is of exponential order c if there exist constants M>0 and T≥0 such that ∣f(t)∣≤Mect for all t≥T. If f(t) is piecewise continuous on [0,∞) and of exponential order c, the integral converges absolutely for all Re(s)>c, and lims→∞F(s)=0.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
Linearity follows directly from the linearity of integration: ∫0∞e−st(c1f(t)+c2g(t))dt=c1∫0∞e−stf(t)dt+c2∫0∞e−stg(t)dt=c1F(s)+c2G(s).
For the First Shift Theorem: L{eatf(t)}=∫0∞e−st(eatf(t))dt=∫0∞e−(s−a)tf(t)dt=F(s−a).
▲ Level 1 Foundation — Theorem 6.2: Operational Calculus for Derivatives & IVPs
Let f(t) be continuously differentiable on [0,∞) with f′(t) of exponential order. Then: L{f′(t)}=sL{f(t)}−f(0)=sF(s)−f(0). Applying this result inductively to higher derivatives: L{f′′(t)}=s2F(s)−sf(0)−f′(0),L{f(n)(t)}=snF(s)−sn−1f(0)−sn−2f′(0)−⋯−f(n−1)(0). Initial conditions at t=0 are thus baked directly into the algebraic domain.
Proof (Derivative Transform via Integration by Parts)
Evaluating by integration by parts with u=e−st and dv=f′(t)dt (so du=−se−stdt and v=f(t)): L{f′(t)}=∫0∞e−stf′(t)dt=[e−stf(t)]0∞−∫0∞(−se−st)f(t)dt. Because f(t) is of exponential order c, for Re(s)>c, limt→∞e−stf(t)=0. At the lower limit t=0, e0f(0)=f(0). Hence: L{f′(t)}=0−f(0)+s∫0∞e−stf(t)dt=sF(s)−f(0). Replacing f by f′ immediately yields L{f′′}=s(sF(s)−f(0))−f′(0)=s2F(s)−sf(0)−f′(0).
Worked example 6.A — Solving a 2nd-Order IVP via Partial Fractions
Solve the initial value problem y′′−3y′+2y=4e3t,y(0)=1,y′(0)=0.
1. Heaviside Unit Step Function: Defined by \[ u_a(t) = u(t - a) = \begin{cases} 0 & t < a \\ 1 & t \ge a \end{cases} \qquad (a \ge 0). \] Its Laplace transform is \( \mathcal{L}\{u(t - a)\} = \int_a^\infty e^{-st}\,dt = \frac{e^{-as}}{s} \).
2. Second Shift Theorem (Time Shift): If L{f(t)}=F(s), then: L{u(t−a)f(t−a)}=e−asF(s),L−1{e−asF(s)}=u(t−a)f(t−a).
3. Dirac Delta Distribution (Unit Impulse): The idealized impulse δ(t−a) represents a pulse of infinite intensity and zero duration concentrated at t=a with total area 1: ∫0∞f(t)δ(t−a)dt=f(a)⟹L{δ(t−a)}=e−as,L{δ(t)}=1.
Operational Properties of the Laplace Transform
First Shift: e^(at) f(t)
L{eatf(t)}=F(s−a). Replaces every s in F(s) with s−a.
Second Shift: u(t - a) f(t - a)
L{u(t−a)f(t−a)}=e−asF(s). Incorporates time delays and piecewise switching.
Derivative of Transform: t^n f(t)
L{tnf(t)}=(−1)ndsndnF(s). Multiplication by t corresponds to frequency differentiation.
Integration: int_0^t f(tau) dtau
L{∫0tf(τ)dτ}=sF(s). Integration in time corresponds to division by s.
Worked example 6.B — Discontinuous Pulse & Impact Forcing
Solve the oscillator IVP driven by a finite rectangular pulse of duration 2: y′′+4y=u(t−1)−u(t−3),y(0)=0,y′(0)=0.
Step 2: Partial fractions on transfer factor:s(s2+4)1=sA+s2+4Bs+C=s1/4−s2+4s/4. Inverse transform: h(t)=L−1{41(s1−s2+4s)}=41(1−cos(2t)).
Step 3: Apply Second Shift Theorem:y(t)=u(t−1)h(t−1)−u(t−3)h(t−3)=41u(t−1)(1−cos(2(t−1)))−41u(t−3)(1−cos(2(t−3))).
▲ Level 3 University Rigor — Theorem 6.3: The Convolution Theorem & Volterra Integral Equations
1. Convolution Definition: The convolution of two functions f,g:[0,∞)→R is defined by: (f∗g)(t)=∫0tf(τ)g(t−τ)dτ=∫0tf(t−τ)g(τ)dτ=(g∗f)(t).
2. Convolution Theorem: If F(s)=L{f(t)} and G(s)=L{g(t)} exist for s>c, then: L{(f∗g)(t)}=F(s)G(s)⟺L−1{F(s)G(s)}=(f∗g)(t).
Proof: By definition of the double integral: L{(f∗g)(t)}=∫0∞e−st(∫0tf(τ)g(t−τ)dτ)dt=∫0∞∫0te−stf(τ)g(t−τ)dτdt. The region of integration is the triangular wedge \( \{0 \le \tau \le t < \infty\} \). Reversing the order of integration via Fubini's Theorem: \[ \int_0^\infty f(\tau) \left(\int_\tau^\infty e^{-st}g(t - \tau)\,dt\right)d\tau. \] Substitute \( u = t - \tau \) (so \( t = u + \tau \) and \( dt = du \)): \[ \int_0^\infty f(\tau) \left(\int_0^\infty e^{-s(u + \tau)}g(u)\,du\right)d\tau = \left(\int_0^\infty e^{-s\tau}f(\tau)\,d\tau\right)\left(\int_0^\infty e^{-su}g(u)\,du\right) = F(s)G(s). \]
3. Volterra Integral Equations: An equation of the form y(t)=f(t)+∫0tK(t−τ)y(τ)dτ is recognized as y=f+K∗y. Applying the Laplace transform yields Y(s)=F(s)+K(s)Y(s)⟹Y(s)=1−K(s)F(s), solving the integral equation algebraically.
The kernel e−st acts as an exponential damping filter that suppresses functions of exponential order, ensuring convergence of the improper integral over [0,∞), as illustrated below for varying parameter values s.
Exponential decay of the Laplace kernel e−st for s=1,2,3. Higher values of s induce faster damping, guaranteeing absolute convergence for all functions of exponential order \( c < s \).
⚠️ Common Traps & University Pitfalls — Derivative Transform Initial Conditions
Sign of initial values in derivative transforms: Remember that L{y′′}=s2Y(s)−sy(0)−y′(0). Both initial condition terms are SUBTRACTED. When y(0)=−3, −s(−3)=+3s. A sign error here ruins the entire partial fraction decomposition.
Second Shift unshifted arguments:L{u(t−a)g(t)}=e−asL{g(t)}! You must write g(t)=f(t−a) before transforming: L{u(t−a)g(t)}=e−asL{g(t+a)}. For example, L{u(t−2)t}=e−2sL{t+2}=e−2s(s21+s2), NOT s2e−2s.
Pointwise multiplication fallacy:L−1{F(s)G(s)}=f(t)g(t). The inverse of a product of transforms is always the convolution(f∗g)(t)=∫0tf(τ)g(t−τ)dτ.
Worked Example C — The Laplace Transform, Discontinuous Forcing & Convolution Theory (Hard Application)
Problem (Hard): Consider the differential equation y′′(t)+4y(t)=u(t−2), where u(t) is the Heaviside step function, with initial conditions y(0)=0 and y′(0)=0. Apply the Laplace Transform to both sides of the equation. If Y(s)=L{y(t)} and L{u(t−a)}=se−as, which of the following expressions represents Y(s)?
Step-by-Step Solution: Applying the Laplace Transform to the given differential equation: L{y′′(t)}+4L{y(t)}=L{u(t−2)}. Using the properties of the Laplace Transform and the given initial conditions y(0)=0 and y′(0)=0, we have L{y′′(t)}=s2Y(s)−sy(0)−y′(0)=s2Y(s). The Laplace Transform of y(t) is Y(s). The Laplace Transform of the Heaviside step function u(t−2) is se−2s. Substituting these into the transformed equation gives: s2Y(s)+4Y(s)=se−2s. Factoring out Y(s), we get Y(s)(s2+4)=se−2s. Solving for Y(s), we obtain Y(s)=s(s2+4)e−2s.
Worked Example D — The Laplace Transform, Discontinuous Forcing & Convolution Theory (Easy Application)
Problem (Easy): The second-order linear homogeneous ODE f′′(x)−39f′(x)+350f(x)=0 has characteristic roots λ1,λ2. Determine the trace sum λ1+λ2.
Step-by-Step Solution: From λ2−39λ+350=0, the sum of roots is 39.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (The Laplace Transform, Discontinuous Forcing & Convolution Theory)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
▲ Exam Pacing & Verification Strategy — The Laplace Transform, Discontinuous Forcing & Convolution Theory
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Solve the initial value problem with Dirac delta forcing: y′′+4y=δ(t−π),y(0)=1,y′(0)=0.
Rewrite and simplify to obtain: Y(s)=s2+4s+e−πs⋅s2+41=s2+4s+21e−πs⋅s2+42Inverse transform:y(t)=cos(2t)+21u(t−π)sin(2(t−π)).
💡 Hint 3 of 3
Physical interpretation: For \(0 \le t < \pi\), the system oscillates as \(\cos(2t)\). At \(t = \pi\), the delta impulse imparts an instantaneous velocity jump of \(\Delta y' = 1\), altering the amplitude and phase for \(t \ge \pi\).
Step 2: Inverse transform:y(t)=cos(2t)+21u(t−π)sin(2(t−π)). Using sin(2t−2π)=sin(2t): y(t)=cos(2t)+21u(t−π)sin(2t).
Physical interpretation: For \( 0 \le t < \pi \), the system oscillates as \( \cos(2t) \). At \( t = \pi \), the delta impulse imparts an instantaneous velocity jump of \( \Delta y' = 1 \), altering the amplitude and phase for \( t \ge \pi \).
Use the Laplace transform and the Convolution Theorem to solve the Volterra integral equation y(t)=t+∫0tsin(t−τ)y(τ)dτ.
💡 Hint 1 of 3
Identify convolution: The equation is y(t)=t+sin(t)∗y(t).
💡 Hint 2 of 3
Solve for Y(s):Y(s)(1−s2+11)=s21⟹Y(s)(s2+1s2)=s21⟹Y(s)=s4s2+1=s21+s41.
💡 Hint 3 of 3
Inverse transform:y(t)=L−1{s21+61⋅s43!}.
Step 1: Identify convolution: The equation is y(t)=t+sin(t)∗y(t).
Step 2: Transform both sides:Y(s)=s21+(s2+11)Y(s).
Step 3: Solve for Y(s):Y(s)(1−s2+11)=s21⟹Y(s)(s2+1s2)=s21⟹Y(s)=s4s2+1=s21+s41.
[Practice 3 · Medium] Consider the initial value problem y′′+4y=δ(t−π) with y(0)=0 and y′(0)=0. Which of the following represents the Laplace Transform of the solution, Y(s)=L{y(t)}?
💡 Hint 1 of 3
Taking the Laplace transform of the differential equation, we have s2Y(s)−sy(0)−y′(0)+4Y(s)=L{δ(t−π)}.
💡 Hint 2 of 3
Given the initial conditions y(0)=0 and y′(0)=0, this simplifies to s2Y(s)+4Y(s)=e−πs. Factoring out Y(s), we get Y(s)(s2+4)=e−πs.
💡 Hint 3 of 3
Therefore, the Laplace transform of the solution is Y(s)=s2+4e−πs.
Taking the Laplace transform of the differential equation, we have s2Y(s)−sy(0)−y′(0)+4Y(s)=L{δ(t−π)}. Given the initial conditions y(0)=0 and y′(0)=0, this simplifies to s2Y(s)+4Y(s)=e−πs. Factoring out Y(s), we get Y(s)(s2+4)=e−πs. Therefore, the Laplace transform of the solution is Y(s)=s2+4e−πs.
Auxiliary equation r2−12r+35=0 has roots r=5,7, so y=C1e5x+C2e7x.
💡 Hint 2 of 3
Solving y(0)=C1+C2=−1 and y′(0)=5C1+7C2=−13 gives C1=3, C2=−4.
💡 Hint 3 of 3
So y=3e5x−4e7x, and y(2) follows by substitution.
Auxiliary equation r2−12r+35=0 has roots r=5,7, so y=C1e5x+C2e7x. Solving y(0)=C1+C2=−1 and y′(0)=5C1+7C2=−13 gives C1=3, C2=−4. So y=3e5x−4e7x, and y(2) follows by substitution.
📝 Chapter Quiz
7
Systems of Linear Differential Equations, Phase Plane Topology & Matrix Exponentials
Most realistic mechanical, ecological, and chemical systems consist of interconnected components whose states evolve simultaneously — such as predator-prey populations, multi-loop electrical networks, coupled harmonic oscillators, or satellite orbital attitudes. These multi-dimensional dynamics are modeled by systems of linear differential equationsx′=Ax. This chapter bridges linear algebra and dynamical systems, exploring the eigenvalue-eigenvector method, geometric phase portraits, the trace-determinant classification, and the matrix exponentialeAt.
● Level 1 Foundation — Definition 7.1: First-Order Linear Systems & Phase Space
A system of two first-order linear homogeneous differential equations with constant coefficients is written in matrix-vector form: dtdx=Ax,x(t)=(x1(t)x2(t)),A=(acbd)∈R2×2. The x1x2-plane is called the phase plane. At each point x, the matrix product Ax defines a velocity vector x′, establishing a continuous direction field. A curve x(t) tangent to this field at every instant is a trajectory (orbit), and the complete geometric collection of trajectories is the phase portrait.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
▲ Level 1 Foundation — Theorem 7.1: Eigenpairs & Fundamental Solution Sets
Substituting the exponential ansatz x(t)=eλtv into x′=Ax yields: λeλtv=A(eλtv)=eλtAv⟺Av=λv. Thus x(t)=eλtv is a non-trivial solution if and only if λ is an eigenvalue of A with associated non-zero eigenvectorv.
If A has two distinct real eigenvalues λ1=λ2 with linearly independent eigenvectors v1,v2, the general solution is: x(t)=C1eλ1tv1+C2eλ2tv2.
Proof
Since Av1=λ1v1, dtd[eλ1tv1]=λ1eλ1tv1=eλ1tAv1=A(eλ1tv1), satisfying the system. Linear combinations satisfy the system by linearity of matrix multiplication: dtd[C1x1+C2x2]=C1x1′+C2x2′=C1Ax1+C2Ax2=A(C1x1+C2x2). Because λ1=λ2, their eigenvectors v1,v2 are linearly independent in R2. The Wronskian W(t)=det[eλ1tv1eλ2tv2]=e(λ1+λ2)tdet[v1v2]=0, proving that every initial vector x(0)=x0 can be uniquely represented.
The eigenvalues of A=(acbd) are the roots of the characteristic equation det(A−λI)=λ2−τλ+Δ=0, where τ=tr(A)=a+d and Δ=det(A)=ad−bc. The discriminant is D=τ2−4Δ. The topological classification of the equilibrium point at the origin (0,0) is completely determined by (τ,Δ):
Saddle Point (\( \Delta < 0 \)): Eigenvalues are real with opposite signs (λ1>0>λ2). Always unstable. Trajectories approach along the eigenvector direction of \( \lambda_2 < 0 \) and escape along the direction of \( \lambda_1 > 0 \).
Nodal Sink / Stable Node (\( \Delta > 0, D > 0, \tau < 0 \)): Real negative eigenvalues (\( \lambda_2 < \lambda_1 < 0 \)). All trajectories converge to origin tangentially to \( \mathbf{v}_1 \). Asymptotically stable.
Nodal Source / Unstable Node (Δ>0,D>0,τ>0): Real positive eigenvalues (λ1>λ2>0). All trajectories diverge to infinity. Unstable.
Spiral Sink (\( \Delta > 0, D < 0, \tau < 0 \)): Complex roots λ=α±iβ with \( \alpha < 0 \). Trajectories spiral inward to origin. Asymptotically stable.
Center (\( \Delta > 0, D < 0, \tau = 0 \)): Purely imaginary roots λ=±iβ. Trajectories form closed concentric ellipses. Neutrally stable.
Worked example 7.A — Saddle Point & Stable/Unstable Manifolds
Find the general solution and classify the phase portrait for x′=(141−2)x.
Step 1: Characteristic polynomial:det(A−λI)=det(1−λ41−2−λ)=(1−λ)(−2−λ)−4=λ2+λ−6=(λ−2)(λ+3)=0. Eigenvalues: λ1=2 (positive), λ2=−3 (negative). Since \( \Delta = -6 < 0 \), the origin is a saddle point.
Step 2: Eigenvectors: For λ1=2: (A−2I)v=(−141−4)(v1v2)=0⟹−v1+v2=0⟹v1=(11). For λ2=−3: (A+3I)v=(4411)(v1v2)=0⟹4v1+v2=0⟹v2=(1−4).
Step 3: General solution:x(t)=C1e2t(11)+C2e−3t(1−4). The line spanned by (1,−4)T is the stable manifold (inflowing as t→∞); the line spanned by (1,1)T is the unstable manifold (outflowing as t→∞).
Worked example 7.B — Complex Conjugate Eigenvalues & Spiral Sink
Solve x′=(−11−4−1)x, and verify the rotational direction of trajectories.
Step 2: Complex eigenvector for λ=−1+2i:(A−λI)v=(−2i1−4−2i)(v1v2)=0⟹v1−2iv2=0⟹v=(2i1)=(01)+i(20).
Step 3: Decompose into real and imaginary parts:eλtv=e−t(cos2t+isin2t)[(01)+i(20)]=e−t[cos2t(01)−sin2t(20)]+ie−t[sin2t(01)+cos2t(20)]. Fundamental real solutions: x1(t)=e−t(−2sin2tcos2t),x2(t)=e−t(2cos2tsin2t).x(t)=C1e−t(−2sin2tcos2t)+C2e−t(2cos2tsin2t).
Step 4: Rotational sense: Test the velocity vector at (1,0): x′=A(10)=(−11). Since x2′=+1>0, motion is directed upward into the second quadrant, establishing counterclockwise inward spiraling.
⊙ Explorer · Phase portrait of x′ = Ax
interactive
The matrix's eigenvalues and the resulting classification
quantity
value
Drag to rotate, scroll to zoom · loads a small 3D library on first use
eigenvalues2.000,−3.000
classificationSaddle
Default a=1, b=1, c=4, d=−2 is Worked example 7.A's saddle. The two amber curves are trajectories launched from (1.5,0.5) and (−1.5,−0.5), integrated forward with a small Runge-Kutta step; the grey arrows are the direction field ẋ = Ax itself. Try a=−1, b=1, c=−1, d=−1 (Worked example 7.B's spiral) or a=−1, b=0, c=0, d=−1 (a node — both eigenvalues -1) to see the classification table's other rows.
▲ Level 3 University Rigor — Theorem 7.3: The Matrix Exponential e^(At), Defective Systems & Generalized Eigenvectors
1. The Matrix Exponential: For any n×n matrix A, the matrix exponential is defined by the absolutely convergent power series: eAt=k=0∑∞k!tkAk=I+tA+2!t2A2+… Differentiating term-by-term yields dtdeAt=AeAt. Consequently, the unique solution to the IVP x′=Ax,x(0)=x0 is: x(t)=eAtx0.
2. Cayley-Hamilton Construction: By the Cayley-Hamilton Theorem, A satisfies its own characteristic equation: A2−τA+ΔI=0. Thus higher powers Ak reduce linearly to A and I, enabling exact evaluation of eAt=a0(t)I+a1(t)A.
3. Defective Systems & Generalized Eigenvectors: When A has a repeated eigenvalue λ with only one linearly independent eigenvector v1 (algebraic multiplicity 2, geometric multiplicity 1), A is defective. A second linearly independent solution requires a generalized eigenvectorv2 satisfying: (A−λI)v2=v1. The general solution is then given exactly by: x(t)=C1eλtv1+C2eλt(v2+tv1).
In a saddle equilibrium, trajectories approach along the stable eigenspace and deflect hyperbolically away along the unstable eigenspace, forming distinct topological sectors separated by straight-line separatrices, as shown below.
Hyperbolic trajectories of a saddle point. The stable manifold pulls state trajectories inward toward the origin, while the unstable manifold drives trajectories outward to infinity.
⚠️ Common Traps & University Pitfalls — Defective Eigenvalues & Spiral Direction
Incorrect defective ansatz: For a repeated eigenvalue, students often mistakenly write C1eλtv1+C2teλtv1. Substituting teλtv1 gives x′=eλtv1+λteλtv1, but Ax=λteλtv1 — leaving an unbalanced eλtv1! The correct second term is eλt(v2+tv1) where (A−λI)v2=v1.
Spiral orientation test: Eigenvalues α±iβ tell you stability and frequency, but CANNOT tell you whether the spiral turns clockwise or counterclockwise. Always test the velocity vector at (1,0): compute A(10)=(ac). If c>0, rotation is counterclockwise; if \( c < 0 \), rotation is clockwise.
Worked Example C — Systems of Linear Differential Equations, Phase Plane Topology & Matrix Exponentials (Medium Application)
Problem (Medium): Consider the system of linear differential equations given by: ⎩⎨⎧dtdx=−x+2ydtdy=3x−2y
Let the general solution be of the form x(t)=c1v1eλ1t+c2v2eλ2t, where \( \lambda_1 < \lambda_2 \). Determine the value of \( \lambda_2 \).
Step-by-Step Solution: The given system can be written in matrix form as dtdx=Ax, where A=(−132−2).
To find the eigenvalues λ, we solve the characteristic equation det(A−λI)=0.
det(−1−λ32−2−λ)=0(−1−λ)(−2−λ)−(2)(3)=0(1+λ)(2+λ)−6=02+λ+2λ+λ2−6=0λ2+3λ−4=0
Factoring the quadratic equation:
(λ+4)(λ−1)=0
The eigenvalues are λ1=−4 and λ2=1.
Since the problem states \( \lambda_1 < \lambda_2 \), we have \( \lambda_1 = -4 \) and \( \lambda_2 = 1 \). The question asks for \( \lambda_2 \).
Worked Example D — Systems of Linear Differential Equations, Phase Plane Topology & Matrix Exponentials (Hard Application)
Problem (Hard): Taking the Laplace transform of y′+2y=2et, y(0)=−3, gives Y(s)=
Step-by-Step Solution:sY−(−3)+2Y=s−12, so Y=(s−1)(s+2)5−3s.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Systems of Linear Differential Equations, Phase Plane Topology & Matrix Exponentials)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
▲ Exam Pacing & Verification Strategy — Systems of Linear Differential Equations, Phase Plane Topology & Matrix Exponentials
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Solve the initial value problem x′=(32−2−2)x,x(0)=(31).
Step 2: Eigenvectors: For λ1=2: (12−2−4)v=0⟹v1−2v2=0⟹v1=(21). For λ2=−1: (42−2−1)v=0⟹2v1−v2=0⟹v2=(12).
Step 3: Apply initial condition x(0)=(3,1)T:C1(21)+C2(12)=(31)⟹{2C1+C2=3C1+2C2=1 Multiplying second equation by 2 and subtracting: 3C1=5⟹C1=5/3, C2=1−2(5/3)=−7/3.
Step 4: General solution:x(t)=C1e3t(1−1)+C2e3t[(10)+t(1−1)]=e3t(C1+C2(1+t)−C1−C2t).
[Practice 3 · Easy] Consider the system of linear differential equations: dtdxdtdy=ax+by=cx+dy where a,b,c,d are constants. The characteristic equation for the system is λ2−(a+d)λ+(ad−bc)=0. We are given that the eigenvalues of the system are λ1=2 and λ2=−1. The trace of the coefficient matrix, T=a+d, is 1. Determine the value of the determinant of the coefficient matrix, D=ad−bc.
💡 Hint 1 of 3
The characteristic equation of a 2x2 system of linear differential equations dtdx=ax+by.
💡 Hint 2 of 3
Rewrite and simplify to obtain: dtdy=cx+dy is given by λ2−(a+d)λ+(ad−bc)=0. This can be written in terms of the trace (T = a+d) and determinant (D = ad-bc) of the coefficient matrix as λ2−Tλ+D=0.
💡 Hint 3 of 3
Using the product of the eigenvalues: D=λ1λ2=(2)(−1).
The characteristic equation of a 2x2 system of linear differential equations dtdxdtdy=ax+by=cx+dy is given by λ2−(a+d)λ+(ad−bc)=0. This can be written in terms of the trace (T = a+d) and determinant (D = ad-bc) of the coefficient matrix as λ2−Tλ+D=0. We are given that the eigenvalues are λ1=2 and λ2=−1. The sum of the roots of a quadratic equation pλ2+qλ+r=0 is −q/p, and the product of the roots is r/p. For the characteristic equation λ2−Tλ+D=0, the sum of the eigenvalues is λ1+λ2=−(−T)/1=T, and the product of the eigenvalues is λ1λ2=D/1=D. We are given that the trace T=a+d=1. Let's verify this with the given eigenvalues: λ1+λ2=2+(−1)=1, which matches the given trace. We need to find the determinant D=ad−bc. Using the product of the eigenvalues: D=λ1λ2=(2)(−1)=−2.
[Practice 4 · Medium] Consider the system of linear differential equations given by:
dtdxdtdy=x+2y=3x+2y
If the solution to this system is of the form x(t)=c1eλ1t+c2eλ2t and y(t)=k1c1eλ1t+k2c2eλ2t, what is the value of the larger eigenvalue λ?
💡 Hint 1 of 3
The given system can be written in matrix form as x′(t)=Ax(t), where A=(1322) and x(t)=(x(t)y(t)).
💡 Hint 2 of 3
To find the eigenvalues λ, we solve the characteristic equation det(A−λI)=0, where I is the identity matrix. det(1−λ322−λ)=0.
💡 Hint 3 of 3
The eigenvalues are λ1=4 and λ2. The larger eigenvalue is 4.
The given system can be written in matrix form as x′(t)=Ax(t), where A=(1322) and x(t)=(x(t)y(t)).
To find the eigenvalues λ, we solve the characteristic equation det(A−λI)=0, where I is the identity matrix.
det(1−λ322−λ)=0(1−λ)(2−λ)−(2)(3)=02−λ−2λ+λ2−6=0λ2−3λ−4=0
Factoring the quadratic equation:
(λ−4)(λ+1)=0
The eigenvalues are λ1=4 and λ2=−1. The larger eigenvalue is 4.
📝 Chapter Quiz
8
Power Series Solutions, Ordinary Points & the Method of Frobenius
Many of the most important differential equations in theoretical physics and applied mathematics — including Airy's equation (quantum tunneling and diffraction optics), Legendre's equation (spherical harmonics and gravitational multipoles), Bessel's equation (cylindrical heat flow and drumhead vibrations), and Hermite's equation (quantum harmonic oscillator) — have variable coefficients and cannot be integrated using elementary functions. When closed-form formulas fail, power series provide an exact representation. This chapter explores series solutions about ordinary points, index-shifting algebra, and the Method of Frobenius for regular singular points.
● Level 1 Foundation — Definition 8.1: Ordinary vs Singular Points & Analytic Coefficients
Consider the second-order homogeneous linear equation in standard form: y′′+P(x)y′+Q(x)y=0. A point x0∈R is called an ordinary point if both coefficient functions P(x) and Q(x) are analytic at x0 — that is, they possess convergent Taylor series expansions in a neighborhood of x0. If either P(x) or Q(x) fails to be analytic at x0, the point x0 is called a singular point.
For rational coefficient equations A(x)y′′+B(x)y′+C(x)y=0, a point x0 is ordinary if and only if A(x0)=0. Real or complex roots of A(x)=0 constitute singular points.
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
⊙ Explorer · Power Series ODE Solution y'' + x⋅y=0 (Airy Series Truncation)
interactive
Live numerical table for Power Series ODE Solution y'' + x⋅y=0 (Airy Series Truncation)
Parameter / Metric
Value
Recurrence Ratio c_{n+2}/c_{n-1}−1/((k+2)(k+1))
Series Value yN(2.0)Degree N=5
Approximation Bandwidth∣x∣≈1.9
Compare the exact numerical Airy solution of y'' + x⋅y=0 (indigo) against its power series ∑_{n=0}^N cnxn (amber) generated by the 3-term recurrence c_{k+2} = −c_{k-1}/((k+2)(k+1)).
▲ Level 1 Foundation — Theorem 8.1: Existence of Analytic Power Series Solutions & Radius of Convergence
If x0 is an ordinary point of y′′+P(x)y′+Q(x)y=0, then there exist two linearly independent solutions analytic at x0, represented by power series: y(x)=n=0∑∞an(x−x0)n=a0y1(x)+a1y2(x), where a0=y(x0) and a1=y′(x0) serve as the two essential arbitrary constants.
Radius of Convergence Guarantee: The radius of convergence R for both series solutions is at least as large as the distance in the complex plane from x0 to the nearest singular point of P(x) or Q(x): R≥min{∣z−x0∣:z∈C is a singularity of P(z) or Q(z)}.
Analytical Mechanics of Power Series Solutions
1. Power Series Expansions
Write y=∑n=0∞anxn, y′=∑n=1∞nanxn−1, and y′′=∑n=2∞n(n−1)anxn−2.
2. Index Shifting
Shift summation indices so that every sum involves the identical power xk. Adjust summation limits accordingly.
3. Recurrence Relation
Combine sums and set the coefficient of each power xk to zero (Identity Theorem for power series) to extract the recurrence relation.
4. Basis Decomposition
Express higher coefficients in terms of a0 and a1 to form y(x)=a0y1(x)+a1y2(x).
◆ Why It Works — First-Principles Derivation (Power Series Solutions, Ordinary Points & the Method of Frobenius)
Why Integration by Parts & Integrating Factors Work: Differentiating a product u(x)v(x) gives (uv)′=u′v+uv′. Integrating both sides and rearranging yields the Integration by Parts formula:
∫udxdvdx=uv−∫vdxdudx
Similarly, for a linear first-order ODE y′+P(x)y=Q(x), multiplying by the integrating factor μ(x)=e∫P(x)dx (which satisfies μ′(x)=P(x)μ(x)) collapses the left-hand side into an exact product derivative: dxd[μ(x)y]=μ(x)Q(x).
Worked example 8.A — Airy's Differential Equation
Find the power series solution about the ordinary point x0=0 for Airy's equation: y′′−xy=0.
Step 1: Series substitution:y′′=n=2∑∞n(n−1)anxn−2,xy=n=0∑∞anxn+1.n=2∑∞n(n−1)anxn−2−n=0∑∞anxn+1=0.
Step 2: Shift indices to power xk: In first sum, let k=n−2⟹n=k+2: ∑k=0∞(k+2)(k+1)ak+2xk. In second sum, let k=n+1⟹n=k−1: ∑k=1∞ak−1xk. Extract k=0 term from first sum: 2(1)a2+k=1∑∞[(k+2)(k+1)ak+2−ak−1]xk=0.
Step 5: Fundamental solutions:y(x)=a0(1+6x3+180x6+…)+a1(x+12x4+504x7+…). Since P(x)=0 and Q(x)=−x have no singularities anywhere in C, the radius of convergence is R=∞.
Worked example 8.B — Hermite's Equation & Polynomial Truncation
Find the recurrence relation for Hermite's equation y′′−2xy′+2λy=0 about x0=0, and show that if λ=m is an integer, the series terminates into a polynomial.
Step 1: Series substitution:n=2∑∞n(n−1)anxn−2−2n=1∑∞nanxn+2λn=0∑∞anxn=0. Shifting first sum k=n−2: k=0∑∞(k+2)(k+1)ak+2xk−k=0∑∞2kakxk+k=0∑∞2λakxk=0k=0∑∞[(k+2)(k+1)ak+2−2(k−λ)ak]xk=0.
Step 3: Polynomial truncation: If λ=m∈{0,1,2,…}, setting k=m makes am+2=0. Consequently, all subsequent coefficients of the same parity vanish: am+4=am+6=⋯=0. If m is even, setting a1=0 produces an even polynomial of degree m; if m is odd, setting a0=0 produces an odd polynomial of degree m. These are the orthogonal Hermite polynomialsHm(x) fundamental to the quantum harmonic oscillator.
▲ Level 3 University Rigor — Theorem 8.2: Regular Singular Points, Method of Frobenius & Indicial Equations
1. Classification of Singular Points: A singular point x0 of y′′+P(x)y′+Q(x)y=0 is a regular singular point if both p0=x→x0lim(x−x0)P(x)andq0=x→x0lim(x−x0)2Q(x) exist and are finite (i.e. (x−x0)P(x) and (x−x0)2Q(x) are analytic at x0). Otherwise, x0 is an irregular singular point.
2. The Method of Frobenius: If x0=0 is a regular singular point, there exists at least one solution of the form: y(x)=xrn=0∑∞anxn=n=0∑∞anxn+r,a0=0, where r is a root of the indicial equation: F(r)=r(r−1)+p0r+q0=0.
3. Structure of the Second Solution: Let r1,r2 be the roots of the indicial equation with Re(r1)≥Re(r2):
Case 1 (r1−r2∈/Z): Two linearly independent Frobenius series exist: y1(x)=xr1n=0∑∞anxn,y2(x)=xr2n=0∑∞bnxn.
Case 2 (r1=r2): The second solution contains a logarithmic singularity: y2(x)=y1(x)lnx+xr1n=1∑∞bnxn.
Case 3 (r1−r2=N∈Z+): The second solution takes the form: y2(x)=Cy1(x)lnx+xr2n=0∑∞bnxn, where C may or may not be zero (e.g. Bessel's equation of integer order).
Polynomial truncation approximates transcendental functions with exceptional precision within the radius of convergence, as shown below for the Taylor series polynomials P2,P4,P6 converging to cos(x).
Progressive convergence of Taylor polynomials P2(x),P4(x),P6(x) to y(x)=cos(x). Each higher degree extends the interval of high-fidelity agreement.
⚠️ Common Traps & University Pitfalls — Shifting Summation Indices & Initial Terms
Index shifting misalignments: When changing indices from n to k, verify both the exponent and the starting index. In ∑n=2∞n(n−1)anxn−2, letting k=n−2 means when n=2, k=0, so the sum starts at k=0, NOT k=2.
Radius of convergence and complex poles: For (x2+4)y′′+y=0, the coefficients are continuous for all real x. However, the roots of A(x)=x2+4=0 are x=±2i. The distance from x0=0 to ±2i is ∣2i∣=2. Hence, Theorem 8.1 guarantees convergence ONLY for \( |x| < 2 \), not on all of \( \mathbb{R} \)! Complex singularities dictate real convergence boundaries.
Worked Example C — Power Series Solutions, Ordinary Points & the Method of Frobenius (Hard Application)
Problem (Hard): Consider the second-order linear homogeneous differential equation: x2y′′+xy′+(x2−ν2)y=0, where ν is a constant. This is Bessel's equation of order ν. Assume ν=1/2 and that x>0. Part 1: Ordinary Point Analysis.x=0 is a regular singular point. Determine the indicial equation for this differential equation and find its roots.
Step-by-Step Solution: The given differential equation is x2y′′+xy′+(x2−ν2)y=0. We can rewrite this in the standard form y′′+P(x)y′+Q(x)y=0 by dividing by x2: y′′+x1y′+x2x2−ν2y=0. Thus, P(x)=x1 and Q(x)=x2x2−ν2=1−x2ν2. x=0 is a singular point. To determine if it's a regular singular point, we examine xP(x) and x2Q(x). xP(x)=x⋅x1=1, which is analytic at x=0. x2Q(x)=x2⋅x2x2−ν2=x2−ν2, which is also analytic at x=0. Therefore, x=0 is a regular singular point. The method of Frobenius assumes a solution of the form y(x)=∑n=0∞cnxn+r, where c0=0. Substituting this into the differential equation, we get the indicial equation, which is a quadratic equation in r. For Bessel's equation, the indicial equation is given by r(r−1)+p0r+q0=0, where p0=limx→0xP(x) and q0=limx→0x2Q(x). In our case, p0=1 and q0=−ν2. So the indicial equation is r(r−1)+1⋅r−ν2=0, which simplifies to r2−r+r−ν2=0, or r2−ν2=0. Given ν=1/2, the indicial equation becomes r2−(1/2)2=0, which is r2−41=0. The roots of this equation are r=±41=±21.
Worked Example D — Power Series Solutions, Ordinary Points & the Method of Frobenius (Easy Application)
Problem (Easy): Consider the differential equation y′′−xy=0. The point x=0 is an ordinary point. If we assume a power series solution of the form y(x)=∑n=0∞cnxn, find the recurrence relation for the coefficients cn.
Step-by-Step Solution: We are given the differential equation y′′−xy=0 and assume a power series solution of the form y(x)=∑n=0∞cnxn. \newline Differentiating twice with respect to x, we get: y′(x)=∑n=1∞ncnxn−1 and y′′(x)=∑n=2∞n(n−1)cnxn−2. \newline Substituting these into the differential equation: ∑n=2∞n(n−1)cnxn−2−x∑n=0∞cnxn=0. \newline We can rewrite the second term as ∑n=0∞cnxn+1. To combine the series, we need the powers of x to be the same. Let k=n−2 in the first series, so n=k+2. When n=2,k=0. The first series becomes ∑k=0∞(k+2)(k+1)ck+2xk. \newline Let k=n+1 in the second series, so n=k−1. When n=0,k=1. The second series becomes ∑k=1∞ck−1xk. \newline So the equation is ∑k=0∞(k+2)(k+1)ck+2xk−∑k=1∞ck−1xk=0. \newline We can separate the k=0 term from the first sum: 2(1)c2+∑k=1∞(k+2)(k+1)ck+2xk−∑k=1∞ck−1xk=0. \newline For this equation to hold for all x, the coefficients of each power of x must be zero. \newline For k=0: 2c2=0 implies c2=0. \newline For k≥1: (k+2)(k+1)ck+2−ck−1=0. \newline Thus, the recurrence relation is ck+2=(k+2)(k+1)ck−1 for k≥1. Replacing k with n, we get cn+2=(n+2)(n+1)cn−1 for n≥1.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Power Series Solutions, Ordinary Points & the Method of Frobenius)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
▲ Exam Pacing & Verification Strategy — Power Series Solutions, Ordinary Points & the Method of Frobenius
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Find the recurrence relation and the first three non-zero terms of the power series solution about x0=0 to y′′+xy′+2y=0,y(0)=1,y′(0)=0.
💡 Hint 1 of 3
Series substitution:∑n=2∞n(n−1)anxn−2+∑n=1∞nanxn+2∑n=0∞anxn=0.
💡 Hint 2 of 3
Shift first sum k=n−2: ∑k=0∞(k+2)(k+1)ak+2xk+∑k=1∞kakxk+∑k=0∞2akxk=0Recurrence relation: For k=0: 2(1)a2+2a0=0⟹a2=−a0.
💡 Hint 3 of 3
Particular solution:y(x)=1−x2+31x4−151x6+….
Step 1: Series substitution:n=2∑∞n(n−1)anxn−2+n=1∑∞nanxn+2n=0∑∞anxn=0. Shift first sum k=n−2: k=0∑∞(k+2)(k+1)ak+2xk+k=1∑∞kakxk+k=0∑∞2akxk=0.
Step 2: Recurrence relation: For k=0: 2(1)a2+2a0=0⟹a2=−a0. For k≥1: (k+2)(k+1)ak+2+(k+2)ak=0⟹ak+2=−k+1ak.
Step 3: Initial conditions:a0=y(0)=1, a1=y′(0)=0. Since a1=0, all odd coefficients vanish: a3=a5=a7=0. For even coefficients: k=0⟹a2=−a0=−1. k=2⟹a4=−2+1a2=−3−1=31. k=4⟹a6=−4+1a4=−51/3=−151.
Find the indicial equation and roots about x=0 for the differential equation 2x2y′′−xy′+(x−5)y=0, and state the form of the two linearly independent Frobenius solutions.
💡 Hint 1 of 3
Check regular singularity at x0=0:P(x)=−2x1,Q(x)=2x2x−5.
💡 Hint 2 of 3
Rewrite and simplify to obtain: p0=limx→0xP(x)=−21,q0=limx→0x2Q(x)=−25 Both limits are finite, confirming x=0 is a regular singular point.
💡 Hint 3 of 3
Because the roots do not differ by an integer, Case 1 of Frobenius' Theorem applies. Two linearly independent Frobenius series solutions exist without any logarithmic terms: y1(x)=x5/2∑n=0∞anxn,y2(x).
Step 1: Check regular singularity at x0=0:P(x)=−2x1,Q(x)=2x2x−5.p0=x→0limxP(x)=−21,q0=x→0limx2Q(x)=−25. Both limits are finite, confirming x=0 is a regular singular point.
Step 3: Root difference:r1−r2=25−(−1)=27otinZ. Because the roots do not differ by an integer, Case 1 of Frobenius' Theorem applies. Two linearly independent Frobenius series solutions exist without any logarithmic terms: y1(x)=x5/2n=0∑∞anxn,y2(x)=x−1n=0∑∞bnxn(a0,b0eq0).
[Practice 3 · Medium] Find L{u(t−2)sin(3(t−2))}.
💡 Hint 1 of 3
Second shifting theorem with f(t)=sin(3t).
💡 Hint 2 of 3
Rewrite and simplify to obtain: s2+93e−2s.
💡 Hint 3 of 3
Evaluate and simplify s2+93e−2s carefully (checking signs and units) to obtain the final answer.
Second shifting theorem with f(t)=sin(3t): s2+93e−2s.
[Practice 4 · Hard] If L{y}=Y(s), y(0)=−3 and y′(0)=−1, find L{y′′}.
💡 Hint 1 of 3
Start with the expression: L{y′′}.
💡 Hint 2 of 3
Rewrite and substitute: L{y′′}=s2Y(s)−sy(0)−y′(0).
💡 Hint 3 of 3
Evaluate s2Y(s)−sy(0)−y′(0) to obtain the final answer.
In scientific computing, weather forecasting, aerospace navigation, and chemical reactor design, nonlinear differential equations almost never possess closed-form analytical solutions. Instead, mathematicians and engineers rely on numerical integration algorithms to advance the solution forward step by step along discrete time grids. Understanding numerical ODE algorithms requires analyzing two competing forces: truncation error (the accuracy of the local Taylor polynomial approximation) and numerical stability (whether propagation errors attenuate or blow up uncontrollably). This chapter investigates Forward Euler, Heun's Predictor-Corrector (RK2), Fourth-Order Runge–Kutta (RK4), and the phenomenon of stiffness.
Consider the initial value problem: dtdy=f(t,y),y(t0)=y0. Discretize the time domain into uniform intervals of step size h>0, generating discrete grid points tn=t0+nh. Forward Euler's Method approximates the continuous solution y(tn+1) by extrapolating along the tangent line evaluated at the beginning of the step: yn+1=yn+hf(tn,yn),n=0,1,2,…
Slope field for dxdy=x−y with the integral curve passing through initial condition (0,1).
▲ Level 1 Foundation — Theorem 9.1: Local Truncation Error O(h2) vs Global Error O(h)
1. Local Truncation Error (LTE): By Taylor's Theorem with Lagrange remainder, assuming y∈C2: y(tn+h)=y(tn)+hy′(tn)+2h2y′′(ξn)=y(tn)+hf(tn,y(tn))+2h2y′′(ξn) for some ξn∈(tn,tn+1). The local error committed in a single step is: en+1=y(tn+1)−(y(tn)+hf(tn,y(tn)))=2h2y′′(ξn)=O(h2).
2. Global Truncation Error (GTE): To integrate across a fixed interval [t0,T], the total number of steps is N=hT−t0=O(h−1). The accumulated global error is: E(T)≤N⋅O(h2)=(hT−t0)⋅Ch2=O(h). Forward Euler is therefore a first-order method: halving the step size h only halves the global error.
Forward Euler's error arises because it evaluates slope exclusively at the beginning of the interval tn. Improved Euler (Heun's Method) eliminates first-order bias by averaging the slope at the start with a predicted slope at the end (analogous to the Trapezoidal Rule in numerical quadrature):
Heun's method has local truncation error O(h3) and global error O(h2), making it a second-order Runge–Kutta method (RK2).
Hierarchy of Numerical Integration Methods
Forward Euler (RK1)
Local error O(h2), Global error O(h). Single function evaluation per step: yn+1=yn+hfn.
Heun's Method (RK2)
Local error O(h3), Global error O(h2). Two evaluations per step: predictor y~ and average slope.
Classical RK4
Local error O(h5), Global error O(h4). Four evaluations per step with Simpson-rule weighting.
Backward (Implicit) Euler
yn+1=yn+hf(tn+1,yn+1). Solves implicit equation at each step; unconditionally stable for stiff systems.
◆ Why It Works — First-Principles Derivation (Numerical Methods: Euler, Improved Euler (RK2), RK4 & Numerical Stability)
Why Integration by Parts & Integrating Factors Work: Differentiating a product u(x)v(x) gives (uv)′=u′v+uv′. Integrating both sides and rearranging yields the Integration by Parts formula:
∫udxdvdx=uv−∫vdxdudx
Similarly, for a linear first-order ODE y′+P(x)y=Q(x), multiplying by the integrating factor μ(x)=e∫P(x)dx (which satisfies μ′(x)=P(x)μ(x)) collapses the left-hand side into an exact product derivative: dxd[μ(x)y]=μ(x)Q(x).
Worked example 9.A — Manual Step Comparison: Euler vs Heun
Apply one step of step size h=0.2 to approximate y(0.2) for dtdy=y−t2+1,y(0)=0.5. Compare Forward Euler and Heun's method with the exact analytical solution y(t)=t2+2t+1−0.5et (at t=0.2, y(0.2)=0.22+2(0.2)+1−0.5e0.2≈1.44−0.6107=0.8293).
Heun's Method (Improved Euler): Predictor: y~1=0.8000. Slope at endpoint: f(t1,y~1)=f(0.2,0.8)=0.8−(0.2)2+1=0.8−0.04+1=1.76. Average slope: 2f0+f1=21.5+1.76=1.63. Corrector: y1=0.5+0.2(1.63)=0.5+0.326=0.8260. Absolute error: ∣0.8293−0.8260∣=0.0033. Notice that Heun's method reduces the error by nearly a factor of 10 in a single step!
⊙ Explorer · Euler's method vs the exact solution
interactive
The approximation at each step, alongside the exact value
x
approx y
exact y
approx y(2)4.866
exact y(2)5.305
error0.440
The IVP is Worked examples 9.A/9.B's y′=y−x2+1, y(0)=0.5, run out to x=2 with h=0.2by default — matching plain Euler's known error of about 0.44 at that step size. Drag h down toward its smallest value and watch the amber polyline hug the indigo exact curve; tick the improved-Euler checkbox at the same h and watch the error drop by roughly an order of magnitude, exactly as Definition 9.2 predicts.
1. Classical Fourth-Order Runge–Kutta (RK4): The gold standard explicit solver evaluates four slope samples per time step, weighted according to Simpson's Rule: k1=f(tn,yn),k2=f(tn+2h,yn+2hk1),k3=f(tn+2h,yn+2hk2),k4=f(tn+h,yn+hk3).yn+1=yn+6h(k1+2k2+2k3+k4). RK4 achieves local truncation error O(h5) and global error O(h4). Halving h reduces global error by a factor of 24=16.
2. Numerical Stiffness & Dahlquist Absolute Stability: Consider Dahlquist's linear test equation: \[ \frac{dy}{dt} = \lambda y, \qquad \operatorname{Re}(\lambda) < 0. \] The true solution \( y(t) = y_0 e^{\lambda t} \) decays exponentially to zero as \( t \to \infty \). Applying Forward Euler: \[ y_{n+1} = y_n + h(\lambda y_n) = (1 + h\lambda)y_n \implies y_n = (1 + h\lambda)^n y_0. \] For numerical stability (ensuring \( y_n \to 0 \)), the amplification factor must satisfy: \[ |1 + h\lambda| < 1 \implies -1 < 1 + h\lambda < 1 \implies h < \frac{2}{|\lambda|}. \] If \( h > \frac{2}{|\lambda|} \), the numerical solution diverges to infinity with alternating signs, even though the true solution is rapidly decaying! Systems possessing rapid decaying transients (large ∣λ∣) are termed stiff. Stiff systems require Implicit (Backward) Euler: yn+1=yn+hλyn+1⟹yn+1=1−hλ1yn. Since ∣1−hλ∣>1 for all h>0 whenever \( \operatorname{Re}(\lambda) < 0 \), Backward Euler is unconditionally A-stable.
Forward Euler creates a piecewise linear approximation that diverges from the true curve due to accumulating curvature truncation error, as compared below.
Tangent extrapolation in Forward Euler for y′=y,y(0)=1. A single large step h=1 yields y(1)≈2 (error ≈0.718); refining to h=0.5 brings the polyline closer to the true exponential curve.
⚠️ Common Traps & University Pitfalls — Global vs. Local Error and Step Size Stiff Instability
Confusing Local and Global error orders: Forward Euler has local truncation error O(h2), but its global error is O(h). Students often confuse the two and mistakenly expect Euler's method to have second-order global accuracy.
Rounding error vs. truncation error tradeoff: Reducing h reduces truncation error, but dramatically increases the total number of floating-point arithmetic operations N. Eventually, machine roundoff error accumulates and overwhelms the solution if h is made excessively tiny.
Stiff instability blowup: In systems with fast decay (e.g. y′=−100y), choosing h=0.05 violates \( h < 2/100 = 0.02 \). Forward Euler produces wildly oscillating explosive numbers \( y_n = (-4)^n \to \pm \infty \), mistaking mathematical decay for physical explosion!
Worked Example B — Numerical Methods: Euler, Improved Euler (RK2), RK4 & Numerical Stability (Medium Application)
Problem (Medium): Consider the differential equation dxdy=x+y with the initial condition y(0)=1. You are asked to approximate y(0.2) using Euler's method. If the step size h=0.1 is used, and it is known that the exact solution at x=0.2 is y(0.2)=1.24, determine the value of k such that y(0.2)Euler=1.24−k.
Step-by-Step Solution: Euler's method for approximating the solution to dxdy=f(x,y) with initial condition y(x0)=y0 and step size h is given by yn+1=yn+hf(xn,yn).
In this problem, f(x,y)=x+y, x0=0, y0=1, and h=0.1.
We want to approximate y(0.2) with h=0.1. This requires two steps:
Step 1: From x0=0 to x1=0.1.
y1=y0+hf(x0,y0)y1=1+0.1(0+1)y1=1+0.1(1)y1=1+0.1y1=1.1
Step 2: From x1=0.1 to x2=0.2.
y2=y1+hf(x1,y1)y2=1.1+0.1(0.1+1.1)y2=1.1+0.1(1.2)y2=1.1+0.12y2=1.22
So, the approximation using Euler's method is y(0.2)Euler=1.22.
We are given that the exact solution is y(0.2)=1.24 and y(0.2)Euler=1.24−k.
Substituting the value of y(0.2)Euler, we get:
1.22=1.24−kk=1.24−1.22k=0.02
Therefore, the value of k is 0.02.
Worked Example C — Numerical Methods: Euler, Improved Euler (RK2), RK4 & Numerical Stability (Hard Application)
Problem (Hard): Consider the differential equation dxdy=x+y with the initial condition y(0)=1. Use the Euler method with a step size h=0.1 to approximate the value of y(0.2).
Step-by-Step Solution: The Euler method approximates the solution to an initial value problem dxdy=f(x,y), y(x0)=y0 using the iterative formula yn+1=yn+hf(xn,yn), where h is the step size and xn+1=xn+h.
Given f(x,y)=x+y, x0=0, y0=1, and h=0.1.
For the first step (approximating y(0.1)):
x1=x0+h=0+0.1=0.1y1=y0+hf(x0,y0)=1+0.1(0+1)=1+0.1(1)=1.1.
For the second step (approximating y(0.2)):
x2=x1+h=0.1+0.1=0.2y2=y1+hf(x1,y1)=1.1+0.1(0.1+1.1)=1.1+0.1(1.2)=1.1+0.12=1.22.
Therefore, the approximate value of y(0.2) using the Euler method is 1.22.
Worked Example D — Numerical Methods: Euler, Improved Euler (RK2), RK4 & Numerical Stability (Easy Application)
Problem (Easy): Consider the differential equation dxdy=x+y with the initial condition y(0)=1. Use the Euler method with a step size of h=0.1 to approximate y(0.2).
Step-by-Step Solution: Using Euler's method yn+1=yn+h(xn+yn) with x0=0,y0=1,h=0.1:
1. y1=1+0.1(0+1)=1.100 at x1=0.1.
2. y2=1.1+0.1(0.1+1.1)=1.1+0.12=1.220 at x2=0.2.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Numerical Methods: Euler, Improved Euler (RK2), RK4 & Numerical Stability)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Writing ln∣y∣=x2+C⟹y=ex2+C
Exponentiation distributes over addition as multiplication (ea+b=eaeb), not addition.
Write y=ex2+C=Aex2 and solve for A using the initial condition.
Leaving original x-limits on a u-substituted definite integral
Evaluates the antiderivative F(u) at x-values instead of u(x)-values.
Convert bounds immediately: ulow=u(a) and uhigh=u(b).
Computing total distance as ∫t1t2v(t)dt
Cancels forward and backward motion (net displacement) instead of accumulating total path length.
Split the integral at every root where v(t)=0 and integrate ∣v(t)∣.
Quick Verification Trick (University Ordinary Differential Equations): For any indefinite integral ∫f(x)dx=F(x)+C, differentiate your answer F′(x) mentally—especially the coefficient 1/k from chain-rule reversal ∫ekxdx=k1ekx+C—before moving on.
Apply two steps of Heun's method (Improved Euler) with step size h=0.1 to approximate y(0.2) for the IVP dtdy=2ty,y(0)=1. Compare your approximation with the exact analytical value y(0.2)=e(0.2)2=e0.04≈1.04081077.
💡 Hint 1 of 3
First interval [0,0.1]: Initial point: t0=0,y0.
💡 Hint 2 of 3
Slope at start: k1=f(0,1)=2(0)(1)=0. Predictor: y~1=y0+hk1=1+0.1(0).
Consider the stiff chemical decay differential equation dtdy=−80y,y(0)=1. (a) Determine the critical maximum step size hcrit for Forward Euler to remain stable. (b) Calculate the numerical solution after 2 steps with h=0.03 versus h=0.02.
💡 Hint 1 of 3
(a) Critical step size: For y′=λy with λ=−80, Forward Euler amplification factor is 1+hλ=1−80h.
(b) Numerical comparison: With h=0.03>hcrit: 1−80(0.03)=1−2.4=−1.4. y1=−1.4(1)=−1.4, y2=(−1.4)2=1.96, y10=(−1.4)10≈28.9 (explosive oscillation to ±∞). With \( h = 0.02 < h_{\text{crit}} \): \( 1 - 80(0.02) = 1 - 1.6 = -0.6 \). y1=−0.6, y2=(−0.6)2=0.36, y10=(−0.6)10≈0.0060→0 (stable decay to equilibrium zero).
[Practice 3 · Medium] The first-order differential equation dxdf=12x−2f has its slope field plotted below. Determine the slope dxdf at the point A(6,23).
💡 Hint 1 of 3
Evaluating at (6,23) gives.
💡 Hint 2 of 3
Set up the numerical expression: 12(6)−2(23).
💡 Hint 3 of 3
Evaluate 12(6)−2(23) step by step to obtain the final answer.
Evaluating at (6,23) gives 12(6)−2(23)=26.
[Practice 4 · Hard] Find a particular solution of y′′−y′−6y=e2x+18.
💡 Hint 1 of 3
Split the forcing (the superposition note): for e2x, r=2 isn't a root of r2−r−6=0 (roots 3,−2), so trial Ae2x gives (4−2−6)A=1⇒−4A=1⇒A=−41.
💡 Hint 2 of 3
For the constant 18, trial B gives −6B=18⇒B.
💡 Hint 3 of 3
Adding the two pieces: yp=−41e2x−3.
Split the forcing (the superposition note): for e2x, r=2 isn't a root of r2−r−6=0 (roots 3,−2), so trial Ae2x gives (4−2−6)A=1⇒−4A=1⇒A=−41. For the constant 18, trial B gives −6B=18⇒B=−3. Adding the two pieces: yp=−41e2x−3.
📝 Chapter Quiz
§
Practice set
Fifty university-rigor problems spanning all nine chapters of Ordinary Differential Equations (separable equations and existence theory, linear first-order integrating factors and Bernoulli equations, second-order homogeneous auxiliary roots and Wronskian theory, undetermined coefficients and resonance, variation of parameters and Green's kernels, Laplace transforms and discontinuous forcing, systems of linear ODEs and phase portraits, power series and Frobenius method, and numerical methods and stiff stability). Try each problem, then reveal the complete analytical derivation.
D1
Solve the initial value problem dxdy=2xy2 with y(0)=1. Find y(1/2) and state its maximal interval of valid existence.
Intermediate
Step 1: Separate variables:y2dy=2xdx. Step 2: Integrate:−y1=x2+C. Step 3: Initial condition:−11=0+C⟹C=−1. Thus: −y1=x2−1⟹y(x)=1−x21. At x=1/2: y(1/2)=1−1/41=3/41=34. Step 4: Maximal interval: Vertical asymptotes occur at x=±1. The maximal open interval containing the initial point x0=0 is (−1,1). As x→1−, y(x)→+∞ (finite-time blowup).
D2
Find all equilibrium solutions of dtdy=y2−4, classify each as an attractor (sink) or repeller (source), and determine limt→∞y(t) for the solution with y(0)=0.
Basic
Step 1: Locate equilibria: Set y2−4=0⟹y1=−2,y2=2. Step 2: Classify stability: Let f(y)=y2−4. Then f′(y)=2y. At y=−2: f′(−2)=−4<0⟹y=−2 is a stable attractor (sink). At y=2: f′(2)=+4>0⟹y=2 is an unstable repeller (source). Step 3: Trajectory with y(0)=0: Since y(0)=0 lies in the interval (−2,2), f(y)=y2−4<0, so y(t) is monotonically decreasing towards the lower stable equilibrium. Therefore: t→∞limy(t)=−2.
D3
A harvested population evolves according to dtdP=P(1−10P)−2.1. Determine the two equilibrium populations, identify which is the extinction threshold, and determine whether a starting population P(0)=2 survives or collapses.
Advanced
Step 1: Equilibrium quadratic: Set dtdP=0: −10P2+P−2.1=0⟹P2−10P+21=0. Factoring: (P−3)(P−7)=0⟹P1=3,P2=7. Step 2: Stability:f′(P)=1−5P. f′(3)=1−0.6=+0.4>0⟹P=3 is an unstable extinction threshold. f′(7)=1−1.4=−0.4<0⟹P=7 is the stable carrying capacity. Step 3: Dynamics for P(0)=2: Since P(0)=2<3, dtdP<0. The population strictly declines and collapses to 0 in finite time, proving that P=3 is the minimum viable population needed to avoid extinction.
D4
Solve the first-order linear initial value problem xdxdy+3y=x2sinx for x>0 with y(π)=0. Find limx→0+y(x).
Intermediate
Step 1: Standard form: Divide by x: dxdy+x3y=x3sinx.Step 2: Integrating factor:μ(x)=exp(∫x3dx)=e3lnx=x3. Step 3: Multiply and integrate:dxd[x3y]=x3(x3sinx)=sinx⟹x3y=−cosx+C.Step 4: Initial condition y(π)=0:π3(0)=−cosπ+C⟹0=−(−1)+C⟹C=−1. Thus: y(x)=x3−cosx−1=−x31+cosx. Step 5: Limit as x→0+: By Taylor expansion, 1+cosx=1+(1−x2/2+…)=2−x2/2+…. Hence: x→0+limy(x)=x→0+lim−x32=−∞.
D5
Solve the nonlinear Bernoulli differential equation dxdy−x1y=2x2y3 for x>0 with y(1)=1. Find y(2).
Advanced
Step 1: Bernoulli transformation: Here n=3. Divide by y3: y−3y′−x1y−2=2x2. Substitute v=y1−n=y−2⟹v′=−2y−3y′⟹y−3y′=−21v′. Substituting yields: −21v′−x1v=2x2⟹v′+x2v=−4x2.Step 2: Integrating factor for v:μ(x)=e∫2/xdx=x2. Multiply and integrate: dxd[x2v]=x2(−4x2)=−4x4⟹x2v=−54x5+C⟹v(x)=−54x3+x2C.Step 3: Initial condition y(1)=1⟹v(1)=1:1=−54(1)+C⟹C=59. Thus: v(x)=5x29−4x5⟹y(x)=v(x)1=9−4x55x2. At x=1, y(1)=1. Note that at x=2, 9−4(32)=9−128=−119<0, so the solution ceases to exist before x=2; the singularity occurs at x=(9/4)1/5≈1.176.
D6
An RC circuit with resistance R=2Ω and capacitance C=0.5 F is driven by a delayed step voltage E(t)=10u(t−2). With q(0)=0, find the exact charge q(t) for t≥0.
Intermediate
Step 1: Governing ODE:Rdtdq+C1q=E(t)⟹2q′+2q=10u(t−2)⟹q′+q=5u(t−2). Step 2: Integrating factor:μ(t)=et. For 0≤t<2, E(t)=0⟹q(t)=0. For t≥2: dtd[etq]=5et⟹etq=5et+K⟹q(t)=5+Ke−t. By continuity at t=2: q(2)=5+Ke−2=0⟹K=−5e2. Thus for t≥2: q(t)=5(1−e−(t−2)). Expressed with unit step notation: q(t)=5(1−e−(t−2))u(t−2).
D7
Solve the second-order homogeneous initial value problem y′′−7y′+10y=0 with y(0)=1 and y′(0)=−1. Find y(1).
Solve y′′+4y′+4y=0 with y(0)=2 and y′(0)=1. Determine the exact time t>0 at which y(t) attains its absolute maximum value.
Intermediate
Step 1: Characteristic roots:r2+4r+4=(r+2)2=0⟹r=−2 (repeated). General solution: y(t)=(C1+C2t)e−2t. Step 2: Initial conditions:y(0)=C1=2. y′(t)=C2e−2t−2(C1+C2t)e−2t=((C2−2C1)−2C2t)e−2t. y′(0)=C2−2(2)=1⟹C2=5. Particular solution: y(t)=(2+5t)e−2t. Step 3: Find maximum: Set y′(t)=0: ((5−4)−10t)e−2t=(1−10t)e−2t=0⟹1−10t=0⟹tmax=101=0.1. Maximum value: y(0.1)=(2+0.5)e−0.2=2.5e−0.2≈2.0468.
D9
Solve the Cauchy-Euler differential equation x2y′′−xy′+5y=0 for x>0 with y(1)=2 and y′(1)=4.
Advanced
Step 1: Auxiliary equation: Substitute y=xm: m(m−1)−m+5=m2−2m+5=0⟹m=22±4−20=1±2i. For complex roots α±iβ, the real fundamental basis is {xαcos(βlnx),xαsin(βlnx)}. General solution: y(x)=x(C1cos(2lnx)+C2sin(2lnx)).Step 2: Apply y(1)=2: Since ln1=0: y(1)=1(C1cos0+0)=C1=2. Step 3: Derivative:y′(x)=(C1cos(2lnx)+C2sin(2lnx))+x(−x2C1sin(2lnx)+x2C2cos(2lnx)).y′(1)=(C1+0)+2C2=2+2C2=4⟹2C2=2⟹C2=1.Step 4: Particular solution:y(x)=x(2cos(2lnx)+sin(2lnx)).
D10
Find the general solution of y′′−4y′+3y=2x+e2x.
Intermediate
Step 1: Homogeneous:r2−4r+3=(r−1)(r−3)=0⟹yc=C1ex+C2e3x. Step 2: Particular trial form: Neither 2x nor e2x is in yc, so trial is yp=(Ax+B)+Ce2x. Step 3: Match polynomial coefficients:yp1=Ax+B⟹yp1′=A,yp1′′=0. 0−4A+3(Ax+B)=3Ax+(3B−4A)=2x⟹3A=2⟹A=2/3,3B−4(2/3)=0⟹3B=8/3⟹B=8/9.Step 4: Match exponential:yp2=Ce2x⟹yp2′′−4yp2′+3yp2=(4−8+3)Ce2x=−Ce2x=e2x⟹C=−1. Step 5: General solution:y(x)=C1ex+C2e3x+32x+98−e2x.
D11
Solve the undamped resonant initial value problem y′′+9y=6cos(3t) with y(0)=0 and y′(0)=1. Identify the secular growth term.
Advanced
Step 1: Homogeneous:r2+9=0⟹yc=C1cos3t+C2sin3t. Step 2: Trial with resonance: Forcing 6cos3t matches yc (multiplicity s=1). Trial: yp(t)=t(Acos3t+Bsin3t). Differentiating and substituting: yp′′+9yp=−6Asin3t+6Bcos3t=6cos3t⟹B=1,A=0. Thus yp(t)=tsin(3t). Step 3: Apply initial conditions:y(t)=C1cos3t+C2sin3t+tsin3t. y(0)=C1=0. y′(t)=3C2cos3t+sin3t+3tcos3t⟹y′(0)=3C2=1⟹C2=1/3. Step 4: Particular solution:y(t)=31sin(3t)+tsin(3t). The term tsin(3t) is the secular growth term whose amplitude increases linearly with t.
D12
Solve the double-resonance equation y′′−6y′+9y=4e3t with y(0)=1 and y′(0)=3.
Advanced
Step 1: Homogeneous:r2−6r+9=(r−3)2=0⟹yc(t)=(C1+C2t)e3t. Step 2: Resonance multiplication: Both e3t and te3t are in yc (multiplicity s=2). Multiply trial by t2: yp(t)=At2e3t. Using operator (D−3)2[At2e3t]=e3tD2[At2]=e3t(2A)=4e3t⟹2A=4⟹A=2. Thus yp(t)=2t2e3t. Step 3: Initial conditions:y(t)=(C1+C2t+2t2)e3t. y(0)=C1=1. y′(t)=(C2+4t)e3t+3(1+C2t+2t2)e3t⟹y′(0)=C2+3=3⟹C2=0. Particular solution: y(t)=(1+2t2)e3t.
D13
Find a particular solution of y′′+4y=sec(2x) for x∈(−π/4,π/4) using Variation of Parameters.
Construct the Green's kernel G(x,t) for L[y]=y′′−y, and express the particular solution of y′′−y=ex+11 satisfying y(0)=0,y′(0)=0 as an explicit definite integral.
Advanced
Step 1: Basis & Wronskian:y1(x)=ex,y2(x)=e−x. W(t)=et(−e−t)−et(e−t)=−2. Step 2: Green's kernel:G(x,t)=W(t)y1(t)y2(x)−y1(x)y2(t)=−2ete−x−exe−t=2ex−t−e−(x−t)=sinh(x−t).Step 3: Integral representation:y(x)=∫0xsinh(x−t)⋅et+11dt. Verifying: G(t,t)=sinh(0)=0, and ∂x∂Gx=t=cosh(0)=1, satisfying the universal Cauchy impulse properties.
D16
Solve the initial value problem with step forcing using the Laplace transform: y′′+4y=8u(t−2),y(0)=0,y′(0)=0.
Intermediate
Step 1: Transform equation:(s2+4)Y(s)=s8e−2s⟹Y(s)=8e−2s⋅s(s2+4)1.Step 2: Partial fractions on transfer factor:s(s2+4)1=s1/4−s2+4s/4⟹L−1{s(s2+4)8}=2−2cos(2t).Step 3: Apply Second Shift Theorem:y(t)=u(t−2)(2−2cos(2(t−2))).
D17
Solve y′′+2y′+2y=3δ(t−π) with y(0)=1 and y′(0)=0 using the Laplace transform.
Advanced
Step 1: Transform:(s2+2s+2)Y(s)−s(1)−2(1)=3e−πs⟹(s2+2s+2)Y(s)=s+2+3e−πs. Complete square in denominator: s2+2s+2=(s+1)2+1. Write numerator as (s+1)+1: Y(s)=(s+1)2+1s+1+(s+1)2+11+3e−πs⋅(s+1)2+11.Step 2: Inverse transform: For unshifted terms: e−tcost+e−tsint. For shifted term: 3u(t−π)e−(t−π)sin(t−π)=−3u(t−π)e−(t−π)sint. Thus: y(t)=e−t(cost+sint)−3u(t−π)e−(t−π)sint.
D18
Use the Laplace transform and the Convolution Theorem to solve the integral equation y(t)=t2+∫0tet−τy(τ)dτ.
Advanced
Step 1: Recognize convolution: The equation is y(t)=t2+et∗y(t). Step 2: Transform both sides:Y(s)=s32+(s−11)Y(s)⟹Y(s)(1−s−11)=s32.Y(s)(s−1s−2)=s32⟹Y(s)=s3(s−2)2(s−1).Step 3: Partial fractions:s3(s−2)2(s−1)=sA+s2B+s3C+s−2D. By cover-up, D=232(2−1)=82=41. C=0−22(0−1)=1. Matching terms gives A=−1/4, B=−1/2. Thus: Y(s)=−s1/4−s21/2+s31+s−21/4.Step 4: Inverse transform:y(t)=−41−21t+21t2+41e2t.
D19
Find the general solution of the linear system x′=(1331)x. Classify the equilibrium at the origin and determine the cartesian equation of the stable separatrix line.
Intermediate
Step 1: Characteristic polynomial:det(1−λ331−λ)=(1−λ)2−9=λ2−2λ−8=(λ−4)(λ+2)=0.λ1=4,λ2=−2. Since Δ=det(A)=−8<0, the origin is a saddle point. Step 2: Eigenvectors: For λ1=4: (−333−3)v=0⟹v1=(11). For λ2=−2: (3333)v=0⟹v2=(1−1). Step 3: General solution:x(t)=C1e4t(11)+C2e−2t(1−1). The stable separatrix corresponds to C1=0, lying along the line spanned by (1,−1)T: y=−x.
D20
Find the general real solution of x′=(−21−50)x, classify the origin, and determine whether trajectories rotate clockwise or counterclockwise.
Intermediate
Step 1: Characteristic polynomial:det(−2−λ1−5−λ)=λ(λ+2)+5=λ2+2λ+5=0⟹λ=−1±2i. Since α=−1<0, the origin is an asymptotically stable spiral sink. Step 2: Eigenvector for λ=−1+2i:(−1−2i1−51−2i)(v1v2)=0⟹v1+(1−2i)v2=0⟹v=(−1+2i1)=(−11)+i(20).Step 3: Real and imaginary parts:e(−1+2i)tv=e−t(cos2t+isin2t)[(−11)+i(20)]=e−t[cos2t(−11)−sin2t(20)]+ie−t[sin2t(−11)+cos2t(20)]. Fundamental real solutions: x1(t)=e−t(−cos2t−2sin2tcos2t),x2(t)=e−t(−sin2t+2cos2tsin2t).x(t)=C1x1(t)+C2x2(t).Step 4: Rotational sense: At (1,0): x′=A(1,0)T=(−2,1)T. Since x2′=+1>0, rotation is counterclockwise.
D21
Solve the defective linear system x′=(11−13)x with x(0)=(21).
Find the power series recurrence relation about x0=0 for Hermite's differential equation with parameter 2: y′′−2xy′+4y=0,y(0)=1,y′(0)=0. Prove that the solution terminates to a quadratic polynomial and state the polynomial.
Advanced
Step 1: Series substitution:n=2∑∞n(n−1)anxn−2−2n=1∑∞nanxn+4n=0∑∞anxn=0. Shift first index: k=0∑∞(k+2)(k+1)ak+2xk−k=0∑∞2kakxk+k=0∑∞4akxk=0.Step 2: Recurrence relation:(k+2)(k+1)ak+2−2(k−2)ak=0⟹ak+2=(k+2)(k+1)2(k−2)ak.Step 3: Initial conditions:a0=1,a1=0. Since a1=0, all odd coefficients vanish: a3=a5=a7=⋯=0. For k=0: a2=(2)(1)2(0−2)a0=−2(1)=−2. For k=2: a4=(4)(3)2(2−2)a2=0. Since a4=0, the recurrence terminates identically: a6=a8=⋯=0. Step 4: Exact solution:y(x)=1−2x2. (Up to scaling, this is the 2nd Hermite polynomial H2(x)=4x2−2=−2(1−2x2)).
D23
For the differential equation with a regular singular point at x0=0: 2x2y′′+xy′−(x+1)y=0, find the indicial equation, determine the two roots r1≥r2, and find the first three non-zero terms of the Frobenius series solution corresponding to r1.
Advanced
Step 1: Indicial equation:p0=x→0limxP(x)=x→0limx(2x2x)=21,q0=x→0limx2Q(x)=x→0limx2(−2x2x+1)=−21.F(r)=r(r−1)+21r−21=r2−21r−21=0⟹2r2−r−1=(2r+1)(r−1)=0. Roots: r1=1,r2=−1/2. Difference r1−r2=3/2∈/Z. Step 2: Frobenius series for r1=1:y(x)=∑n=0∞anxn+1. Substituting into 2x2y′′+xy′−y=xy: n=0∑∞[2(n+1)n+(n+1)−1]anxn+1=n=0∑∞anxn+2n=0∑∞n(2n+3)anxn+1=k=1∑∞ak−1xk+1. For n=0: 0⋅3a0=0 (satisfied for arbitrary a0=0). For n≥1: an=n(2n+3)an−1.Step 3: Coefficients: n=1: a1=1(5)a0=5a0. n=2: a2=2(7)a1=5⋅14a0=70a0. Step 4: Series solution:y1(x)=x(1+5x+70x2+…).
D24
Consider the stiff decay equation dtdy=−100y with y(0)=1. Determine the stability threshold hcrit for Forward Euler, and compute the value of y(0.1) using Backward (Implicit) Euler with step size h=0.05.
Advanced
Step 1: Forward Euler stability threshold: For y′=λy with λ=−100, the amplification factor is 1+hλ=1−100h. Stability requires: ∣1−100h∣<1⟹−1<1−100h<1⟹h<1002=0.02. Thus hcrit=0.02. If h>0.02, Forward Euler explodes uncontrollably. Step 2: Backward (Implicit) Euler formula:yn+1=yn+h(−100yn+1)⟹(1+100h)yn+1=yn⟹yn+1=1+100h1yn. With h=0.05: 1+100(0.05)=1+5=6. Amplification factor per step is 61<1. Step 3: Two steps to t=0.1: Step 1 (t=0.05): y1=61(1)=61≈0.1667. Step 2 (t=0.10): y2=61(61)=361≈0.0278. Notice that while Forward Euler with h=0.05 produces y2=(1−5)2=(−4)2=16 (false physical explosion), Backward Euler stably and monotonically decays to 1/36, remaining unconditionally stable.
D25
Consider the separable differential equation dxdy=ky where k is a positive constant. A solution curve passes through the points (0,5) and (2,20). Determine the value of k and then find the value of y when x=3.
Intermediate
The differential equation dxdy=ky is separable. Separating variables gives ydy=kdx. Integrating both sides, we get ∫ydy=∫kdx, which yields ln∣y∣=kx+C1. Exponentiating both sides gives ∣y∣=ekx+C1=eC1ekx. Let C=±eC1, so y=Cekx.
\nWe are given that the solution curve passes through (0,5). Substituting these values into y=Cekx: 5=Cek(0)⇒5=C. Thus, the particular solution is y=5ekx.
\nWe are also given that the solution curve passes through (2,20). Substituting these values into y=5ekx: 20=5ek(2)⇒4=e2k. Taking the natural logarithm of both sides: ln4=ln(e2k)⇒ln4=2k⇒k=2ln4=22ln2=ln2.
\nSo, the value of k is ln2. The particular solution is y=5e(ln2)x=5(eln2)x=5(2x).
\nFinally, we need to find the value of y when x=3. Substituting x=3 into y=5(2x): y(3)=5(23)=5(8)=40.
\nTherefore, k=ln2 and y(3)=40.
Final Answer:k=ln4,y(3)=80
D26
Solve y′+4y=4e−t, y(0)=3 with the Laplace transform. Find y(1).
Advanced
Y(s)=(s+1)(s+4)3s+7=3(s+4)5+3(s+1)4. Inverting, y(t)=(34+35e−3t)e−t, so y(1)=3e45+4e3.
Final Answer:3e45+4e3
D27
Solve x2y′+xy=x2+11 for x>0, with y(1)=4π. What is y(3)?
Advanced
Standard form: y′+x1y=x(x2+1)1. μ=x. Multiplying gives (xy)′=x(x2+1)1=x1−x2+1x. Integrating gives xy=lnx−21ln(x2+1)+C. Using y(1)=π/4 yields π/4=−21ln2+C⟹C=4π+21ln2. At x=3, 3y=21ln3−21ln4+4π+21ln2=4π+21ln(3/2). Thus y(3)=31(4π+21ln(3/2)).
Final Answer:31(4π+21ln(3/2))
D28
Consider the linear first-order differential equation dxdy+2y=6. If the initial condition is y(0)=1, find the value of y(1).
Basic
The given differential equation is a linear first-order ODE of the form dxdy+P(x)y=Q(x), where P(x)=2 and Q(x)=6. The integrating factor μ(x) is given by μ(x)=e∫P(x)dx.
Calculating the integrating factor: μ(x)=e∫2dx=e2x.
Multiplying the differential equation by the integrating factor: e2xdxdy+2e2xy=6e2x. The left side is the derivative of the product yμ(x): dxd(ye2x)=6e2x.
Integrating both sides with respect to x: ye2x=∫6e2xdx. ye2x=6⋅21e2x+C. ye2x=3e2x+C.
Solving for y: y=3+Ce−2x.
Using the initial condition y(0)=1 to find C: 1=3+Ce−2(0). 1=3+C. C=1−3=−2.
Homogeneous: r2+3r+2=0 has roots r=−1,−2, so yc=C1e−x+C2e−2x. Split the forcing (the superposition note): for 20e3x, 3 isn't a root, trial Ae3x; for −4x, trial Bx+C (or just C). Adding the two pieces: yp=−2x+e3x+3. With C1=−3, C2=−2 (matching the stated initial conditions), y=yc+yp, and y(1) follows by substitution.
Final Answer:−e3−e22+1+e3
D30
Consider the second-order nonhomogeneous linear differential equation y′′−2y′+y=exsin(x). Let yp(x) be a particular solution obtained using the method of undetermined coefficients. Determine the value of yp′′(π)−2yp′(π)+yp(π).
Advanced
The problem asks for the value of the left-hand side of the differential equation y′′−2y′+y=exsin(x) when evaluated at a particular solution yp(x). By definition, a particular solution yp(x) must satisfy the nonhomogeneous differential equation for all x. Therefore, when we substitute yp(x) into the differential equation, the left-hand side must equal the right-hand side.
Specifically, for any particular solution yp(x), it must be true that yp′′(x)−2yp′(x)+yp(x)=exsin(x) for all x.
The question asks for the value of yp′′(π)−2yp′(π)+yp(π). This is simply the evaluation of the left-hand side of the differential equation at x=π. Since yp(x) is a particular solution, this expression must be equal to the right-hand side of the differential equation evaluated at x=π.
So, yp′′(π)−2yp′(π)+yp(π)=eπsin(π).
We know that sin(π)=0.
Therefore, yp′′(π)−2yp′(π)+yp(π)=eπ×0=0.
Final Answer:0
D31
On [0,1], Euler's method with h=0.1 gives an error of about 501. Roughly how many steps are needed for an error of 50001?
Intermediate
The error scales like h1; reducing it by 100 needs h smaller by 100, i.e. h=10001, which is 1000 steps.
Final Answer:1000
Key Mathematical Principle & Verification: In exam revision, always verify that the final value satisfies the domain constraints, units, and original governing equation by direct back-substitution into the prompt.
D32
Consider the differential equation dxdy=x+y with the initial condition y(0)=1. You are asked to approximate y(0.2) using Euler's method. If the step size h=0.1 is used, and it is known that the exact solution at x=0.2 is y(0.2)=1.24, determine the value of k such that y(0.2)Euler=1.24−k.
Intermediate
Euler's method for approximating the solution to dxdy=f(x,y) with initial condition y(x0)=y0 and step size h is given by yn+1=yn+hf(xn,yn).
In this problem, f(x,y)=x+y, x0=0, y0=1, and h=0.1.
We want to approximate y(0.2) with h=0.1. This requires two steps:
Step 1: From x0=0 to x1=0.1. y1=y0+hf(x0,y0) y1=1+0.1(0+1) y1=1+0.1(1) y1=1+0.1 y1=1.1
Step 2: From x1=0.1 to x2=0.2. y2=y1+hf(x1,y1) y2=1.1+0.1(0.1+1.1) y2=1.1+0.1(1.2) y2=1.1+0.12 y2=1.22
So, the approximation using Euler's method is y(0.2)Euler=1.22.
We are given that the exact solution is y(0.2)=1.24 and y(0.2)Euler=1.24−k. Substituting the value of y(0.2)Euler, we get: 1.22=1.24−k k=1.24−1.22 k=0.02
Therefore, the value of k is 0.02.
D33
Find the coefficient a5 of the power series solution y=∑anxn of y′′−xy′−y=0 with y(0)=1, y′(0)=2.
Advanced
Substitute the series and match powers of x to get a recurrence; with a0=1,a1=2 the coefficients are a0=1,a1=2,a2=21,a3=32,a4=81,a5=152.
Auxiliary equation r2+4r+13=0 has roots r=−2±3i, so y=e−2x(C1cos3x+C2sin3x). y(0)=C1=−3; y′(0)=−2C1+3C2=−6⇒C2=−4. Evaluating at x=9π (where 3x=3π) gives the result.
Final Answer:−e92π23−2e92π3
D35
Consider the second-order linear homogeneous differential equation y′′−2y′+y=0. \\ If one of the fundamental solutions is y1(x)=ex, and the Wronskian of two linearly independent solutions y1(x) and y2(x) is given by W(y1,y2)(x)=5e2x, find the unknown parameter k in y2(x)=kxex.
Intermediate
The given differential equation is y′′−2y′+y=0. The characteristic equation is r2−2r+1=0, which factors as (r−1)2=0. Thus, the roots are repeated: r1=r2=1. \\ One fundamental solution is given as y1(x)=ex. For a second-order linear homogeneous equation y′′+p(x)y′+q(x)y=0 with a known solution y1(x), the Wronskian is given by W(y1,y2)(x)=y1(x)y2′(x)−y1′(x)y2(x)=Ce−∫p(x)dx. \\ In our equation, p(x)=−2. So, −∫p(x)dx=−∫(−2)dx=2x. Therefore, W(y1,y2)(x)=Ce2x. \\ We are given that W(y1,y2)(x)=5e2x, which means C=5. \\ We are also given y1(x)=ex and y2(x)=kxex. \\ Let's compute the Wronskian using these forms: \\ y1′(x)=ex \\ y2′(x)=dxd(kxex)=k(1⋅ex+x⋅ex)=kex(1+x) \\ Now, substitute into the Wronskian formula: \\ W(y1,y2)(x)=y1(x)y2′(x)−y1′(x)y2(x) W(y1,y2)(x)=ex⋅[kex(1+x)]−ex⋅[kxex] W(y1,y2)(x)=ke2x(1+x)−kxe2x W(y1,y2)(x)=ke2x+kxe2x−kxe2x W(y1,y2)(x)=ke2x \\ We equate this to the given Wronskian: \\ ke2x=5e2x \\ Therefore, k=5.
D36
Solve dxdy=x2−41+y2 on (−2,2) with y(0)=1. At what value of x does y(x)→+∞?
Advanced
Separable: 1+y2dy=x2−4dx⟹arctany=41ln(2+x2−x)+C. Using y(0)=1 gives arctan(1)=4π=0+C⟹C=4π. Blow-up y→∞ occurs when arctany→2π, so 41ln(2+x2−x)+4π=2π⟹ln(2+x2−x)=π⟹2+x2−x=eπ. Solving for x: 2−x=2eπ+xeπ⟹x(1+eπ)=2(1−eπ)⟹x=−2eπ+1eπ−1=−2tanh(π/2).
Final Answer:−2tanh(π/2)
D37
Consider the system of linear differential equations: dtdxdtdy=ax+by=cx+dy where a,b,c,d are constants. The characteristic equation for the system is λ2−(a+d)λ+(ad−bc)=0. We are given that the eigenvalues of the system are λ1=2 and λ2=−1. The trace of the coefficient matrix, T=a+d, is 1. Determine the value of the determinant of the coefficient matrix, D=ad−bc.
Intermediate
The characteristic equation of a 2x2 system of linear differential equations dtdxdtdy=ax+by=cx+dy is given by λ2−(a+d)λ+(ad−bc)=0. This can be written in terms of the trace (T = a+d) and determinant (D = ad-bc) of the coefficient matrix as λ2−Tλ+D=0. We are given that the eigenvalues are λ1=2 and λ2=−1. The sum of the roots of a quadratic equation pλ2+qλ+r=0 is −q/p, and the product of the roots is r/p. For the characteristic equation λ2−Tλ+D=0, the sum of the eigenvalues is λ1+λ2=−(−T)/1=T, and the product of the eigenvalues is λ1λ2=D/1=D. We are given that the trace T=a+d=1. Let's verify this with the given eigenvalues: λ1+λ2=2+(−1)=1, which matches the given trace. We need to find the determinant D=ad−bc. Using the product of the eigenvalues: D=λ1λ2=(2)(−1)=−2.
Final Answer:−2
D38
Solve x′=[−68−46]x, x(0)=⟨1,0⟩. Find x1(1).
Advanced
Eigenpairs: λ=2 with ⟨1,−2⟩, λ=−2 with ⟨−1,1⟩. Matching x(0) gives c1=−1,c2=−2, so x(t)=⟨−e2t+2e−2t,2e2t−2e−2t⟩ and x1(1)=e22−e4.
Final Answer:e22−e4
D39
Consider the differential equation y′′−3y′+2y=f(t) with initial conditions y(0)=0 and y′(0)=0. If the forcing function is f(t)=u(t−2), where u(t) is the Heaviside step function, what is the Laplace transform of the solution Y(s)=L{y(t)}?
Basic
The Laplace transform of the differential equation is s2Y(s)−sy(0)−y′(0)−3(sY(s)−y(0))+2Y(s)=L{f(t)}. Given y(0)=0 and y′(0)=0, this simplifies to s2Y(s)−3sY(s)+2Y(s)=L{u(t−2)}, so Y(s)(s2−3s+2)=L{u(t−2)}. The Laplace transform of u(t−a) is se−as. Therefore, L{u(t−2)}=se−2s. Thus, Y(s)=s(s2−3s+2)e−2s. Factoring the denominator, s2−3s+2=(s−1)(s−2). So, Y(s)=s(s−1)(s−2)e−2s.
Final Answer:s(s−1)(s−2)1e−2s
D40
Find a particular solution of y′′−10y′+25y=e5xxlnx (for x>0) using variation of parameters.
Advanced
Homogeneous: r2−10r+25=0 has roots r=5 (repeated), so y1=e5x, y2=xe5x. u1=−3x3log(x)+9x3, u2=2x2log(x)−4x2. So yp=6x3e5xlog(x)−365x3e5x.
Final Answer:6x3e5xlog(x)−365x3e5x
D41
Consider the second-order linear non-homogeneous differential equation: dx2d2y+4y=sec(2x). Suppose a particular solution is found using the method of variation of parameters. Let the fundamental set of solutions for the associated homogeneous equation be y1(x)=cos(2x) and y2(x)=sin(2x). If the particular solution is expressed in the form yp(x)=u1(x)y1(x)+u2(x)y2(x), determine the value of u2′(x).
Advanced
The given differential equation is dx2d2y+4y=sec(2x). The associated homogeneous equation is dx2d2y+4y=0. The characteristic equation is r2+4=0, which has roots r=±2i. Thus, the fundamental set of solutions for the homogeneous equation is y1(x)=cos(2x) and y2(x)=sin(2x).
We use the method of variation of parameters to find a particular solution of the form yp(x)=u1(x)y1(x)+u2(x)y2(x).
The Wronskian of y1 and y2 is: W(y1,y2)(x)=y1y2′−y1′y2=cos(2x)(2cos(2x))−(−sin(2x))(2sin(2x)) W(y1,y2)(x)=2cos2(2x)+2sin2(2x)=2(cos2(2x)+sin2(2x))=2.
The non-homogeneous term is g(x)=sec(2x).
The formulas for u1′(x) and u2′(x) are: u1′(x)=−W(x)y2(x)g(x) u2′(x)=W(x)y1(x)g(x)
Substituting the given functions: u2′(x)=2cos(2x)⋅sec(2x) u2′(x)=2cos(2x)cos(2x) u2′(x)=21.
The value of u2′(x) is 21.
D42
Consider the differential equation dxdy=1−x3x2cos(y) with the initial condition y(0)=2π. If there exists a unique solution in a neighborhood of x=0 and y=2π, find the value of y′(0).
Advanced
The given differential equation is dxdy=1−x3x2cos(y) with the initial condition y(0)=2π.
We are asked to find y′(0). The differential equation directly gives us the expression for dxdy, which is y′(x).
To find y′(0), we substitute x=0 and y=y(0)=2π into the differential equation:
y′(0)=1−(0)3(0)2cos(y(0))
Substitute y(0)=2π:
y′(0)=1−00⋅cos(2π)
We know that cos(2π)=0.
So, y′(0)=10⋅0
y′(0)=10
y′(0)=0
The existence and uniqueness theorem for first-order ODEs guarantees that if f(x,y)=1−x3x2cos(y) and ∂y∂f=1−x3x2(−sin(y)) are continuous in a rectangular region containing (0,2π), then a unique solution exists. At x=0, both f(x,y) and ∂y∂f are continuous since the denominator 1−x3 is non-zero and the numerators are well-defined. Therefore, the condition for a unique solution is met.
D43
Solve y′+2y=4e3t, y(0)=−3 with the Laplace transform. Find y(1).
Advanced
Y(s)=(s−3)(s+2)13−3s=−5(s+2)19+5(s−3)4. Inverting, y(t)=54e3t−519e−2t, so y(1)=5e2−19+4e5.
Final Answer:5e2−19+4e5
D44
Solve (x2−1)y′+2y=(x−1)2 for x>1, with y(2)=0. What is y(3)?
Advanced
Standard form: y′+x2−12y=x+1x−1. Integrating factor: μ=x+1x−1. Multiplying gives (x+1x−1y)′=(x+1x−1)2=1−x+14+(x+1)24. Integrating gives x+1x−1y=x−4ln(x+1)−x+14+C. Using y(2)=0 yields 0=2−4ln3−4/3+C⟹C=4ln3−2/3. At x=3, 21y(3)=3−4ln4−1+4ln3−2/3=4/3+4ln(3/4). Multiplying by 2 gives y(3)=38+8ln(43).
Final Answer:38+8ln(43)
D45
Consider the first-order linear differential equation dxdy+2y=4. If the initial condition is y(0)=1, find the value of y(1).
Basic
The given differential equation is a first-order linear ODE of the form dxdy+P(x)y=Q(x). Here, P(x)=2 and Q(x)=4. The integrating factor is I(x)=e∫P(x)dx=e∫2dx=e2x. Multiplying the differential equation by the integrating factor, we get: e2xdxdy+2e2xy=4e2x. The left side is the derivative of y⋅I(x): dxd(ye2x)=4e2x. Integrating both sides with respect to x: ye2x=∫4e2xdx=4⋅21e2x+C=2e2x+C. Solving for y: y(x)=2+Ce−2x. Using the initial condition y(0)=1: 1=2+Ce0⟹1=2+C⟹C=−1. Thus, the particular solution is y(x)=2−e−2x. Finally, we need to find y(1): y(1)=2−e−2(1)=2−e−2.
Homogeneous: r2+4r+3=0 has roots r=−1,−3, so yc=C1e−x+C2e−3x. Split the forcing (the superposition note): for −35e4x, 4 isn't a root, trial Ae4x; for −9x, trial Bx+C (or just C). Adding the two pieces: yp=−3x−e4x+4. With C1=−2, C2=3 (matching the stated initial conditions), y=yc+yp, and y(1) follows by substitution.
Final Answer:−e4−e2+e33+1
D47
Consider the initial value problem dxdy=x+y with y(0)=1. Use the Euler method with step size h=0.5 to approximate y(1).
Basic
The Euler method approximates the solution of an ODE dxdy=f(x,y) with initial condition y(x0)=y0 using the iterative formula yi+1=yi+hf(xi,yi), where h is the step size and xi=x0+ih.
Given: f(x,y)=x+y, x0=0, y0=1, and h=0.5.
We want to approximate y(1). Since 1=0+2×0.5, we need two steps.
Therefore, the Euler approximation for y(1) is 2.50.
D48
Consider the differential equation dxdy=y2cos(x) for y>0 and x∈[0,2π]. If y(0)=2, find the value of y(2π).
Advanced
The given differential equation is dxdy=y2cos(x). This is a separable differential equation. We can rewrite it as y2dy=cos(x)dx. Integrating both sides, we get: ∫y2dy=∫cos(x)dx 3y3=sin(x)+C We are given the initial condition y(0)=2. Substituting these values into the integrated equation: 323=sin(0)+C 38=0+C C=38 So, the particular solution is: 3y3=sin(x)+38 We need to find the value of y(2π). Substitute x=2π into the particular solution: 3y(2π)3=sin(2π)+38 3y(2π)3=1+38 3y(2π)3=33+38 3y(2π)3=311 y(2π)3=11 y(2π)=311
D49
Consider the system of linear first-order differential equations given by:
(x′y′)=(1320)(xy).\nFind the eigenvalues of the coefficient matrix.
Basic
The given system is of the form x′=Ax, where A=(1320) is the coefficient matrix. To find the eigenvalues, we solve the characteristic equation det(A−λI)=0, where I is the identity matrix and λ represents the eigenvalues.
A−λI=(1320)−λ(1001)=(1−λ32−λ) \ndet(A−λI)=(1−λ)(−λ)−(2)(3)=−λ+λ2−6=λ2−λ−6\nSetting the determinant to zero: λ2−λ−6=0\nFactoring the quadratic equation: (λ−3)(λ+2)=0\nThus, the eigenvalues are λ1=3 and λ2=−2.
D50
Consider the nonhomogeneous second-order linear differential equation y′′−5y′+6y=12x+8. yh(x)=c1e2x+c2e3x is the general solution to the corresponding homogeneous equation. Find the particular solution yp(x) using the method of undetermined coefficients, and then determine the value of the constant A such that yp(x)=Ax+B for some constant B.
Intermediate
The given nonhomogeneous differential equation is y′′−5y′+6y=12x+8. \nThe form of the nonhomogeneous term is g(x)=12x+8, which is a polynomial of degree 1. Thus, we assume a particular solution of the form yp(x)=Ax+B.
We need to find the first and second derivatives of yp(x): yp′(x)=A yp′′(x)=0
Substitute these into the differential equation: 0−5(A)+6(Ax+B)=12x+8 −5A+6Ax+6B=12x+8 6Ax+(6B−5A)=12x+8
Equating the coefficients of like powers of x: For the x term: 6A=12⇒A=2. For the constant term: 6B−5A=8. Substitute A=2 into the second equation: 6B−5(2)=8 6B−10=8 6B=18 B=3
Therefore, the particular solution is yp(x)=2x+3. The value of the constant A is 2.
AI-assisted, human-reviewed: Questions and walkthroughs are developed with AI assistance and reviewed by senior educators.Report an error here ↗
Build a randomised test from this subject’s question bank. Pick the number of questions and a difficulty, generate, then reveal the worked answers when you’re ready — or print a clean copy to hand out.
AI-assisted, human-reviewed: Questions and walkthroughs are developed with AI assistance and reviewed by senior educators.Report an error here ↗
↓
Downloads
Take Differential Equations offline. The PDF packet prints straight from your browser; native Word versions with editable equation-editor math are available on request.
PDF · ready now
Differential Equations notes & practice
All nine chapters plus every worked solution and proof, formatted as a clean print document.
DOCX · on request
Native Word packet
Editable .docx with real Word equations (OMML) — ready for a worksheet or quiz.
Worksheet Library
5 original ClipSAT worksheets with full answer keys, covering the track's foundational chapters — free to download and print.
Loading worksheet library…
🍪We use essential browser storage for your math progress and settings. With your consent, we also load cookies for advertising and analytics to support free access to ClipSAT.Privacy Policy
Privacy Policy
Last updated October 16, 2026
ClipSAT is an educational mathematics platform founded by Mr. Mohamed Abdallah, serving students preparing for Saudi national examinations (GAT Qudrat, SAAT Tahsili) and international curricula (AP, Cambridge IGCSE/A-Level, IB, SAT, ACT, and university mathematics). We believe in privacy by design, minimal data collection, and full transparency. This policy explains what data exists, how it is processed, and your rights, in compliance with applicable standards including the Saudi Personal Data Protection Law (PDPL) and international data privacy best practices.
1. What's Stored Locally on Your Device
Study Progress & Preferences: Your completed chapters, accuracy statistics, streak counts, mistake log, flashcard review schedule, and dark-mode setting are stored directly in your browser's local storage (localStorage). This data remains on your device by default and is never transmitted to our servers without your explicit action.
Clearing Local Data: You can reset your local study data at any time from within the platform (via the Progress or Mistake reset buttons) or by clearing your browser's site data.
2. User Accounts, Cloud Sync & Third-Party Processors
To enable cross-device synchronization between your phone, tablet, and computer, ClipSAT offers an optional account system (ClipSAT Free and ClipSAT Plus) powered by Supabase Inc.:
Authentication: Sign-in uses passwordless email magic links or one-time verification codes, or Google OAuth sign-in. We do not store plaintext passwords.
Database & Row Level Security: Synchronized study records (such as completed lessons, mistake items, and spaced repetition schedules) are stored in a managed PostgreSQL database hosted by Supabase. Access is governed by strict database Row Level Security (RLS) policies, ensuring only your authenticated session can access or modify your personal records.
Infrastructure & IP Logging: When your device connects to our cloud infrastructure or APIs (such as Supabase or Cloudflare), servers process your device's IP address and standard HTTP request headers as an inherent technical requirement of internet routing. These logs are maintained by our hosting processors strictly for security auditing, DDoS mitigation, and rate limiting, and are routinely purged after operational retention periods (typically up to 30 days). ClipSAT does not sell or cross-track IP logs.
Account & Data Deletion: You can request full deletion of your cloud account and all associated synchronized records at any time by emailing support@clipsat.org. Deletion requests are fulfilled within 30 days.
3. ClipSAT AI Tutor & Practice Generation
When you interact with the ClipSAT AI Tutor or generate AI practice questions:
Server-Side Proxy: All requests route through a secure server proxy (Supabase Edge Functions). Model provider API keys (Groq / OpenAI) are secured server-side and never exposed to the client.
Data Protection & Rate Limits: Requests are gated behind authenticated user sessions, with server-side quotas, per-IP rate limiting, character length limits, and automated content safety filters to prevent abuse and protect student safety.
Pedagogical Purpose Limitation: Prompts and math questions are processed solely to generate pedagogical explanations and tailored practice exercises. Your questions are not used to train public foundation models without consent.
AI Disclaimer: Explanations are AI-generated and may occasionally contain inaccuracies. The AI Tutor is a supplemental study aid, not a human tutor or a substitute for teacher instruction.
4. Google Forms Integration & Google Drive Permissions
Teachers can optionally connect a Google account to export ClipSAT quizzes and worksheets into Google Forms for use in Google Classroom or other learning management systems. This integration is entirely opt-in:
Minimal Scope: ClipSAT requests only the permissions necessary to create Google Forms, read responses for the created form, and save question diagrams to the teacher's own Google Drive (scoped strictly via drive.file to files ClipSAT itself creates). ClipSAT cannot see, read, or modify any other files in your Google Drive or access student rosters.
Restricted Sharing by Default: Uploaded question diagrams are saved with restricted permissions by default (accessible only by the teacher). Because Google Forms requires image URLs to be publicly fetchable by Google's servers to render diagrams to students, ClipSAT requires explicit teacher consent before enabling link-sharing for uploaded diagrams.
Client-Side Operation: The Google integration operates directly in your browser. No Google OAuth tokens or quiz responses pass through or are saved on any ClipSAT server.
ClipSAT uses essential browser storage to save your learning progress. With your permission via our cookie consent banner, third-party advertising cookies (such as Google Ads) or analytics scripts may be loaded to support free access to our curriculum:
Opt-In Consent: Non-essential advertising and tracking scripts are blocked until you click "Accept All" on the cookie consent banner. If you choose "Essential Only", only necessary local storage is utilized.
Changing Consent: You can change or revoke your cookie choices at any time by clicking in the site footer.
You may also manage personalized advertising preferences directly at Google Ads Settings.
6. Saudi Personal Data Protection Law (PDPL) Compliance
For users in the Kingdom of Saudi Arabia, ClipSAT complies with the principles of the Personal Data Protection Law (Royal Decree No. M/19 and amended by Royal Decree No. M/148):
Fair and Lawful Processing: Personal data is processed fairly, lawfully, and transparently based on user consent.
Purpose Limitation: We collect and process data solely for providing educational content, tracking study progress, and powering interactive learning tools.
Data Minimization: We restrict collection to the minimum data strictly required to deliver our educational services.
User Rights: Under the PDPL, you have the right to be informed about the data collected, access your data, request corrections, request destruction or erasure of your data, and withdraw consent at any time.
7. Visitor Counter & Cookieless Analytics
The home page displays an aggregate, live visit count stored in our Supabase database. Each browser tab increments the shared counter at most once per session using session storage. ClipSAT also uses privacy-first analytics to record aggregate educational interactions (such as diagnostic test completions and feature usage) without tracking personal browsing histories across other sites.
8. Contact & Privacy Requests
If you have any questions about this privacy policy, data practices, or wish to exercise your data rights under the Saudi PDPL or GDPR, please contact our support team at support@clipsat.org. You may also contact us via WhatsApp (+966 59 768 8647) or Telegram (@ClipSAT22).
By accessing or using ClipSAT ("the Platform"), you agree to these Terms of Service. If you do not agree, please do not use the Platform.
1. Core Content & Free-Tier Promise
ClipSAT provides free access to foundational mathematics lessons, proofs, formula sheets, question banks, and interactive visualizers across all 26 curriculum tracks. Under our Free-Tier Promise, content that is free today will remain free and will never be moved behind a paywall.
2. ClipSAT Plus Subscriptions, Billing & 14-Day Refund Policy
ClipSAT Plus is an optional convenience tier offering cross-device cloud synchronization, automated spaced-repetition scheduling, and unlimited AI tutor access.
Billing: Subscriptions are billed in Saudi Riyals (SAR) on an annual (75 SAR/year) or monthly (15 SAR/month) basis.
14-Day Money-Back Guarantee: If you are not completely satisfied with ClipSAT Plus, you may cancel your subscription within fourteen (14) days of your initial purchase or renewal to receive a full refund, no questions asked. To request a refund, contact support@clipsat.org with your purchase details.
Cancellation & Reversion: You may cancel your subscription at any time. Upon expiration, your account seamlessly reverts to the permanent free tier with all your local progress intact.
3. ClipSAT AI Tutor Disclaimer
The "ClipSAT AI Tutor" is an automated artificial intelligence assistant, not Mr. Mohamed Abdallah or a licensed human tutor. AI-generated explanations and math solutions may occasionally contain inaccuracies or omissions. The AI tutor is provided solely as a supplementary learning tool; you should independently verify important derivation steps, formulas, and final answers.
4. Acceptable Use of Content & Copyright
Study notes, dynamic explorers, and practice problems are provided for personal academic use and classroom teaching. Downloaded packets and worksheets may be printed for personal study or non-commercial classroom distribution; commercial resale or unauthorized redistribution is strictly prohibited.
5. Educational Study Aid & No Guarantee of Scores
ClipSAT is an educational study aid designed to reinforce mathematical understanding. Use of the platform does not guarantee any specific examination score or percentile. Users should consult official exam bodies (Cambridge International, College Board, ACT, IB, or Qiyas) for authoritative syllabi and regulations.