Ludium
Sign In
Differential Equations
The Geometric View of ODEs
01Direction Fields and the Geometric View of ODEs02Integral Curves and the Isocline Method03Perpendicular Isoclines: The Circles of y' = -x/y04Isocline Corridors and a Trap for Solutions05Existence and Uniqueness: One Curve Through a Point06Where Existence and Uniqueness FailProblem set0/10Problem set 20/10MIT problem set0/3Practice∞
Numerical Methods
01Euler's Method and Its Three Equations02Euler's Method by Hand: Building the Table03Convexity and the Sign of Euler's Error04First Order Error: Halve the Step, Halve the Error05Improved Euler (RK2): Averaging Two Slopes06Runge-Kutta 4 and the Price of Accuracy07Singular Points: Where Every Method FailsProblem set0/10Problem set 20/10MIT problem set0/1Practice∞
First-Order Linear Equations
01First Order Linear: Standard Form and the Sign of p02The Conduction-Diffusion Model: Newton's Law of Cooling03The Integrating Factor and the Four-Step Method04Integrating Factors: Two Mistakes and a Trick Question05Constant Coefficients: Steady State and TransientProblem set0/10Problem set 20/10MIT problem set0/1Practice∞

Integrating Factors: Two Mistakes and a Trick Question

Which two habits — skipping standard form and forgetting to multiply $q$ — quietly wreck an integrating-factor solution?


Loading…

←Previous The Integrating Factor and the Four-Step MethodNext Constant Coefficients: Steady State and Transient →

Your summary note

    1. 1

      Skipping standard form and forgetting qqq

      Record both pitfalls: finding ppp before dividing through by the coefficient of y′y'y′, and multiplying only the left side by the integrating factor.

    2. 2

      Standard form and the integrating factor 1+cos⁡x1+\cos x1+cosx

      Divide (1+cos⁡x)y′−(sin⁡x)y=2x(1+\cos x)y' - (\sin x)y = 2x(1+cosx)y′−(sinx)y=2x through by 1+cos⁡x1+\cos x1+cosx, integrate p=−sin⁡x1+cos⁡xp = -\frac{\sin x}{1+\cos x}p=−1+cosxsinx​ to ln⁡(1+cos⁡x)\ln(1+\cos x)ln(1+cosx), and exponentiate.

    3. 3

      Multiplying back returns the original equation

      Show that the standard-form equation times 1+cos⁡x1+\cos x1+cosx reproduces the equation you started with, then use the product rule to write its left side as [(1+cos⁡x)y]′[(1+\cos x)y]'[(1+cosx)y]′.

    4. 4

      Finishing the solution with y(0)=1y(0) = 1y(0)=1

      Integrate both sides to (1+cos⁡x)y=x2+c(1+\cos x)y = x^2 + c(1+cosx)y=x2+c, solve for yyy, substitute x=0x = 0x=0 to get c=2c = 2c=2, and state y=x2+21+cos⁡xy = \frac{x^2+2}{1+\cos x}y=1+cosxx2+2​.

    Attempt 1 of 2