Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Differential Equations Cheatsheet, Cheat Sheet of Mathematics

Cheat sheet on Differential Equations: Linear Equations , 2nd-order Homogeneous and Non-Homogeneous, Power Series Solutions

Typology: Cheat Sheet

2019/2020

Uploaded on 10/09/2020

lumidee
lumidee 🇺🇸

4.4

(47)

364 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Differential Equations Cheatsheet
Jargon
General Solution: a family of functions, has parameters.
Particular Solution: has no arbitrary parameters.
Singular Solution: cannot be obtained from the general solution.
Linear Equations
y(n)(x) + an1(x)y(n1)(x) + · · · +a1(x)y0(x) + a0(x)y(x) = f(x)
1st-order
F(y0, y, x)=0 y0+a(x)y=f(x)I.F. = eRa(x)dx Sol:y=CeRa(x)dx
Variable Separable
dy
dx =f(x, y)A(x)dx +B(y)dy = 0
Test:
f(x, y)fxy(x, y ) = fx(x, y)fy(x, y)
Sol: Separate and integrate on both sides.
Exact
M(x, y)dx +N(x, y)dy =0=dg(x, y)
Iff ∂M
∂y =∂N
∂x
Sol: Find g(x, y)by integrating and comparing:
ZMdx and ZN dy
Reduction to Exact via Integrating Factor
I(x, y)[M(x, y)dx +N(x, y)dy ]=0
Case I
If MyNx
Mh(y)then I(x, y) = eRh(y)dx
Case II
If NxMy
Ng(x)then I(x, y) = eRg(x)dx
Case III
If M=yf (xy)and N=xg(xy)then I(x, y) =
1
xMyN
Homogeneous of degree 0
f(tx, ty) = t0f(x, y) = f(x, y)
Sol: Reduce to var.sep. using:
y=xv dy
dx =v+xdv
dx
Bernoulli
y0+p(x)y=q(x)yn
Sol: Change var z=1
yn1and divide by 1
yn.
Reduction by Translation
y0=Ax +By +C
Dx +Ey +F
Case I: Lines intersect
Sol: Put x=X+hand y=Y+k,
find hand k, solve var.sep. and translate back.
Case II: Parallel Lines (A=B,D =E)
Sol: Put u=Ax +By ,y0=u0A
Band solve.
Principle of Superposition
If y00+ay0+by =f1(x)has solution y1(x)
y00+ay0+by =f2(x)has solution y2(x)then y00 +ay 0+by =f(x) = f1(x)+ f2(x)
has solution: y(x) = y1(x) + y2(x)
2nd-order Homogeneous
F(y00, y0, y, x) = 0 y00 +a(x)y0+b(x)y= 0 Sol:yh=c1y1(x)+ c2y2(x)
Reduction of Order - Method
If we already know y1, put y2=vy1,
expand in terms of v00, v0, v, and put z=v0
and solve the reduced equation.
Wronskian (Linear Independence)
y1(x)and y2(x)are linearly independent iff
W(y1, y2)(x) =
y1y2
y0
1y0
2
6= 0
Constant Coefficients
A.E. λ2+ +b= 0
A. Real roots
Sol:y(x) = C1eλ1x+C2eλ2x
B. Single root
Sol:y(x) = C1eλx +C2xeλx
C. Complex roots
Sol:y(x) = eαx(C1cos βx +C2sin β x)
with α=a
2and β=4ba2
2
Euler-Cauchy Equation
x2y00 +axy0+by = 0 where x6= 0
A.E. :λ(λ1) + +b= 0
Sol:y(x)of the form xλ
Reduction to Constant Coefficients: Use x=et, t = lnx,
and rewrite in terms of tusing the chain rule.
A. Real roots
Sol:y(x) = C1xλ1+C2xλ2x6= 0
B. Single root
Sol:y(x) = xλ(C1+C2ln |x|)
C. Complex roots (λ1,2=α±)
Sol:y(x) = xα[C1cos(βln |x|) + C2sin(βln |x|)]
2nd-order Non-Homogeneous
F(y00, y0, y, x)=0 y00 +a(x)y0+b(x)y=f(x)Sol:y=yh+yp=C1y1(x) + C2y2(x) + yp(x)
Simple case: y0,y missing
y00 =f(x)
Sol: Integrate twice.
Simple case: y0,x missing
y00 =f(y)
Sol: Change of var: p=y0+ chain rule, then
pdp
dy =f(y)is var.sep.
Solve it, back-replace pand solve again.
Simple case: ymissing
y00 =f(y0, x)
Sol: Change of var: p=y0and then solve twice.
Simple case: xmissing
y00 =f(y0, y)
Sol: Change of var: p=y0+ chain rule, then
pdp
dy =f(p, y)is 1st-order ODE.
Solve it, back-replace pand solve again.
Method of Undetermined Coefficients / “Guesswork”
Sol: Assume y(x)has same form as f(x)with
undetermined constant coefficients.
Validforms:
1. Pn(x)
2. Pn(x)eax
3. eax(Pn(x) cos bx +Qn(x)sinbx
Failurecase: If any term of f(x)is a solution of yh,
multiply ypby xand repeat until it works.
Variation of Parameters (Lagrange Method)
(More general, but you need to know yh)
Sol:yp=v1y1+v2y2+· · · +vnyn
v0
1y1+· · · +v0
nyn= 0
v0
2y0
2+· · · +v0
ny0
n= 0
· · · +· · · +· · · = 0
v0
ny(n1)
b+· · · +v0
ny(n1)
n=φ(x)
Solve for all v0
iand integrate.
pf2

Partial preview of the text

Download Differential Equations Cheatsheet and more Cheat Sheet Mathematics in PDF only on Docsity!

Differential Equations Cheatsheet

Jargon

General Solution: a family of functions, has parameters. Particular Solution: has no arbitrary parameters. Singular Solution: cannot be obtained from the general solution.

Linear Equations

y(n)(x) + an− 1 (x)y(n−1)(x) + · · · + a 1 (x)y′(x) + a 0 (x)y(x) = f (x)

1st-order

F (y′, y, x) = 0 y′^ + a(x)y = f (x) I.F. = e

R (^) a(x)dx Sol: y = Ce−^

R (^) a(x)dx

Variable Separable dy dx

= f (x, y) A(x)dx + B(y)dy = 0

Test: f (x, y)fxy (x, y) = fx(x, y)fy (x, y) Sol: Separate and integrate on both sides.

Exact M (x, y)dx + N (x, y)dy = 0 = dg(x, y)

Iff

∂M

∂y

∂N

∂x Sol: Find g(x, y) by integrating and comparing: ∫ M dx and

N dy

Reduction to Exact via Integrating Factor I(x, y)[M (x, y)dx + N (x, y)dy] = 0 Case I

If

My − Nx M

≡ h(y) then I(x, y) = e−^

R (^) h(y)dx

Case II

If

Nx − My N

≡ g(x) then I(x, y) = e−^

R (^) g(x)dx

Case III If M = yf (xy) and N = xg(xy) then I(x, y) = 1 xM −yN

Homogeneous of degree 0 f (tx, ty) = t^0 f (x, y) = f (x, y) Sol: Reduce to var.sep. using:

y = xv

dy dx =^ v^ +^ x

dv dx

Bernoulli y′^ + p(x)y = q(x)yn

Sol: Change var z =

yn−^1

and divide by

yn^

Reduction by Translation

y′^ =

Ax + By + C Dx + Ey + F Case I: Lines intersect Sol: Put x = X + h and y = Y + k, find h and k, solve var.sep. and translate back. Case II: Parallel Lines (A = B, D = E)

Sol: Put u = Ax + By, y′^ =

u′^ − A B and solve.

Principle of Superposition

If

y′′^ +ay′^ +by = f 1 (x) has solution y 1 (x) y′′^ +ay′^ +by = f 2 (x) has solution y 2 (x) then^

y′′^ + ay′^ + by = f (x) = f 1 (x) + f 2 (x) has solution: y(x) = y 1 (x) + y 2 (x)

2nd-order Homogeneous

F (y′′, y′, y, x) = 0 y′′^ + a(x)y′^ + b(x)y = 0 Sol: yh = c 1 y 1 (x) + c 2 y 2 (x)

Reduction of Order - Method

If we already know y 1 , put y 2 = vy 1 , expand in terms of v′′, v′, v, and put z = v′ and solve the reduced equation.

Wronskian (Linear Independence)

y 1 (x) and y 2 (x) are linearly independent iff

W (y 1 , y 2 )(x) =

∣∣ y^1 y^2 y′ 1 y 2 ′

Constant Coefficients

A.E. λ^2 + aλ + b = 0 A. Real roots Sol: y(x) = C 1 eλ^1 x^ + C 2 eλ^2 x B. Single root Sol: y(x) = C 1 eλx^ + C 2 xeλx C. Complex roots Sol: y(x) = eαx(C 1 cos βx + C 2 sin βx) with α = − a 2 and β =

√ 4 b−a 2 2

Euler-Cauchy Equation

x^2 y′′^ + axy′^ + by = 0 where x 6 = 0 A.E. : λ(λ − 1) + aλ + b = 0 Sol: y(x) of the form xλ Reduction to Constant Coefficients: Use x = et, t = ln x, and rewrite in terms of t using the chain rule.

A. Real roots Sol: y(x) = C 1 xλ^1 + C 2 xλ^2 x 6 = 0 B. Single root Sol: y(x) = xλ(C 1 + C 2 ln |x|) C. Complex roots (λ 1 , 2 = α ± iβ) Sol: y(x) = xα^ [C 1 cos(β ln |x|) + C 2 sin(β ln |x|)]

2nd-order Non-Homogeneous

F (y′′, y′, y, x) = 0 y′′^ + a(x)y′^ + b(x)y = f (x) Sol: y = yh + yp = C 1 y 1 (x) + C 2 y 2 (x) + yp(x)

Simple case: y′, y missing

y′′^ = f (x) Sol: Integrate twice.

Simple case: y′, x missing y′′^ = f (y) Sol: Change of var: p = y′^ + chain rule, then p dp dy

= f (y) is var.sep. Solve it, back-replace p and solve again.

Simple case: y missing y′′^ = f (y′, x) Sol: Change of var: p = y′^ and then solve twice.

Simple case: x missing y′′^ = f (y′, y) Sol: Change of var: p = y′^ + chain rule, then p

dp dy =^ f^ (p, y)^ is 1st-order ODE. Solve it, back-replace p and solve again.

Method of Undetermined Coefficients / “Guesswork” Sol: Assume y(x) has same form as f (x) with undetermined constant coefficients. Valid forms:

  1. Pn(x)
  2. Pn(x)eax
  3. eax(Pn(x) cos bx + Qn(x)sinbx

Failure case: If any term of f (x) is a solution of yh, multiply yp by x and repeat until it works.

Variation of Parameters (Lagrange Method) (More general, but you need to know yh) Sol: yp = v 1 y 1 + v 2 y 2 + · · · + vnyn v′ 1 y 1 + · · · + v′ nyn = 0 v′ 2 y′ 2 + · · · + v′ ny n′ = 0 · · · + · · · + · · · = 0 v′ ny( bn −1) + · · · + v′ ny n(n −1) = φ(x)

Solve for all v′ i and integrate.

Power Series Solutions

  1. Assume y(x) =

n=0 cn(x^ −^ a)

n, compute y’, y”

  1. Replace in the original D.E.
  2. Isolate terms of equal powers
  3. Find recurrence relationship between the coefs.
  4. Simplify using common series expansions

(Use y = vx, z = v′^ to find y 2 (x) if only y 1 (x) is known.)

Taylor Series variant

  1. Differentiate both sides of the D.E. repeatedly
  2. Apply initial conditions
  3. Substitute into T.S.E. for y(x)

Validity For y′′^ + a(x)y′^ + b(x)y = 0 if a(x) and b(x) are analytic in |x| < R, the power series also converges in |x| < R. Ordinary Point: Power method success guaranteed. Singular Point: success not guaranteed.

Regular singular point: if xa(x) and x^2 b(x) have a convergent MacLaurin series near point x = 0. (Use translation if neces- sary.) Irregular singular point: otherwise.

Method of Frobenius for Regular Singular pt.

y(x) = xr^ (c 0 + c 1 x + c 2 x^2 + · · · ) =

∑^ ∞

n=

cnxr+n

Indicial eqn: r(r − 1) + a 0 r + b 0 = 0

Case I: r 1 and r 2 differ but not by an integer

y 1 (x) = |x|r^1 (

n=0 cnx

n) , c 0 = 1 y 2 (x) = |x|r^2 (

n=0 c

∗ nxn) , c∗ 0 = 1

Case II: r 1 = r 2

y 1 (x) = |x|r^ (

n=0 cnx

n) , c 0 = 1 y 2 (x) = |x|r^ (

n=1 c

∗ nx

n) + y 1 (x)ln|x|

Case III: r 1 and r 2 differ by an integer

y 1 (x) = |x|r^1 (

n=0 cnx

n) , c 0 = 1

y 2 (x) = |x|r^2 (

n=0 c

∗ nxn) + c∗ 1 y 1 (x)ln|x|, c∗ 0 = 1

Laplace Transform

FIXME TODO

Fourier Transform

FIXME TODO

Author: Martin Blais, 2009. This work is licensed under the Creative Commons “Attribution - Non-Commercial - Share-Alike” license.