Sagot ni Sam

Read this first

Quick Review

Every rule and shortcut the two exams use, on one page. If you only have ten minutes before the exam, this is the page.

01

Order & Degree

Order

The highest derivative that appears.

Degree

The power of that highest derivative, once the DE is a polynomial in its derivatives.

Before reading the degree, clean the equation up:

  • Radicals or fractional powers: raise both sides to a power (the LCD of the denominators). Example: (y′′′)2/3=1+y′′→(y′′′)4=(1+y′′)3(y''')^{2/3}=\sqrt{1+y''}\to(y''')^4=(1+y'')^3.
  • Negative powers: multiply through. Example: (y′′)−1+⋯→(y'')^{-1}+\dots\to multiply by y′′y''.
  • Derivative inside ln, sin, e: isolate it and invert. Example: ln⁡y′′=u⇒y′′=eu\ln y''=u\Rightarrow y''=e^{u}, and sin⁡y′=x⇒y′=sin⁡−1x\sin y'=x\Rightarrow y'=\sin^{-1}x.
  • Careful: a big power on a lower derivative does not count. Only the highest one matters.
02

Linear or Nonlinear?

A DE is linear in yy when it can be written as

an(x) y(n)+⋯+a1(x) y′+a0(x) y=f(x)a_n(x)\,y^{(n)}+\dots+a_1(x)\,y'+a_0(x)\,y=f(x)

Look only at the parts with yy. It is nonlinear if you see:

  • a power other than 1: y2y^2, (y′)3(y')^3, y′\sqrt{y'}
  • a product: y y′y\,y', y y′′y\,y''
  • yy inside a function: sin⁡y\sin y, eye^{y}, cos⁡(x+y)\cos(x+y)
  • yy in a denominator: 1x+y\dfrac{1}{x+y}

Coefficients can be any function of xx, such as exe^x, x2x^2 or sin⁡x\sin x. That's still linear.

03

Verifying a Solution

  1. Differentiate the proposed solution as many times as the DE needs.
  2. Substitute everything into the DE.
  3. Simplify. If LHS = RHS for all xx, it's a solution. If not, say so and show why.

Implicit solutions (F(x,y)=CF(x,y)=C): take the differential of both sides (dC=0dC=0) and show you get the DE back.

04

Eliminating Constants

Rule: nn arbitrary constants → differentiate nn times → a DE of order nn.

Solution looks likeRootsDE
Aer1x+Ber2xAe^{r_1x}+Be^{r_2x}r1, r2r_1,\,r_2y′′−(r1+r2)y′+r1r2 y=0y''-(r_1+r_2)y'+r_1r_2\,y=0
(A+Bx)erx(A+Bx)e^{rx}r, rr,\,ry′′−2ry′+r2y=0y''-2ry'+r^2y=0
eαx(Acos⁡βx+Bsin⁡βx)e^{\alpha x}(A\cos\beta x+B\sin\beta x)α±βi\alpha\pm\beta iy′′−2αy′+(α2+β2)y=0y''-2\alpha y'+(\alpha^2+\beta^2)y=0

Try it · Roots → DE builder

Solution y=e3x(Acos⁡2x+Bsin⁡2x)y=e^{3x}\left(A\cos 2x+B\sin 2x\right)

Roots r=3±2ir=3\pm 2i

y′′−6y′+13y=0y''-6y'+13y=0

Set α = 3, β = 2 to get Long Test #20; repeated r = 4 gives LT #18.

Mixed types like c1x2+c2ekxc_1x^2+c_2e^{kx}: use the determinant (Wronskian). Put y,y′,y′′y, y', y'' in the first column and the two functions and their derivatives in the other columns, then set the determinant to 0 (see LT #21, ME #24).

05

DE of a Family of Curves

  1. Write the equation of the family.
  2. Sort the constants: arbitrary (changes from curve to curve) vs. fixed (given: r, a, Q, k, α).
  3. Differentiate once per arbitrary constant.
  4. Eliminate the arbitrary constants. The fixed ones stay in the answer.

Want to see it? Every family is live in the Graph Lab.

06

Which Solving Method?

Separable

ME 31, 32, 37, 38

Recognize

Can be arranged as f(x) dx+g(y) dy=0f(x)\,dx+g(y)\,dy=0

Do

Integrate each side: ∫f dx+∫g dy=C\int f\,dx+\int g\,dy=C

Homogeneous

ME 33, 39

Recognize

MM, NN homogeneous of the same degree (depends only on y/xy/x)

Do

Let y=vxy=vx, dy=v dx+x dvdy=v\,dx+x\,dv, then separate

Exact

ME 35, 41

Recognize

∂M∂y=∂N∂x\dfrac{\partial M}{\partial y}=\dfrac{\partial N}{\partial x}

Do

F=∫M dx+g(y)F=\int M\,dx+g(y); find gg from Fy=NF_y=N

Linear

ME 34, 40

Recognize

y′+P(x) y=Q(x)y'+P(x)\,y=Q(x)

Do

IF =e∫P dx=e^{\int P\,dx};   y⋅IF=∫Q⋅IF dx+C\;y\cdot\text{IF}=\int Q\cdot\text{IF}\,dx+C

Bernoulli

ME 36, 42

Recognize

y′+P(x) y=Q(x) yny'+P(x)\,y=Q(x)\,y^n

Do

Let v=y1−nv=y^{1-n}; it becomes linear in vv

With a condition (e.g. “when x = 0, y = 1”): plug it into the general solution to get CC, which gives the particular solution.

07

Answer Key at a Glance

Long Test

#1PDE, Order 2, Degree 1
#2Order 1, Degree 1
#3Order 3, Degree 1
#4Order 2, Degree 1
#5Order 2, Degree 2
#6Order 2, Degree 8
#7Linear
#8Linear
#9Nonlinear (√y')
#10Nonlinear (cos(x+y))
#11Nonlinear (y in denominator)
#12Nonlinear (y², yy')
#13No (as printed); yes with “−”
#14Yes, it is a solution
#15No (it solves y'' − 2y' + y = 0)
#16Yes, it is a solution
#17Yes, it is a solution
#18y'' − 8y' + 16y = 0
#19x'' + ω²x = 0
#20y'' − 6y' + 13y = 0
#21(x²+x)y'' + (2x²−1)y' − (4x+2)y = 0
#22(y − xy')² = Q²[1 + (y')²]
#23(x − r)²[1 + (y')²] = r²(y')²
#24[1 + (y')²]³ = (y'')²
#252a·y'' + (y')³ = 0

Midterm Exam

#1–2Dependent = unknown function (y); independent = variable it depends on (x)
#3–4ODE: 1 independent variable; PDE: 2 or more (∂)
#5–6Order = highest derivative; degree = its power
#7–8General = with C (family); particular = C found (one curve)
#9–10Arbitrary = free; particular = value from IC; parameter = fixed, stays
#11–12Linear: y, y', … to power 1 only; nonlinear: otherwise
#13–14Homogeneous: RHS = 0; non-homogeneous: RHS = f(x) ≠ 0
#15Order 3, Degree 4
#16Order 2, Degree 3
#17Order 2, Degree 1
#18PDE, Order 2, Degree 1
#19Verified: u_xx + u_yy = 0
#20Verified: xy'' + y' + xy = 0
#21y'' − 4y' + 4y = 0
#22x'' + ω²x = 0
#23y'' − 4y' + 13y = 0
#24(x²−x)y'' − (2x²−1)y' + (4x−2)y = 0
#25(y − xy')(y' − 1) = αy'
#26[1 + (y')²]y''' − 3y'(y'')² = 0
#273y''y⁽⁴⁾ − 5(y''')² = 0
#282k·y'' = 1
#29(x − a)y' = y − b
#30y'y''' − 3(y'')² = 0
#31sin y = C cos x
#32x ln x − x + ln(ln y) = C
#33x ln x + y ln(y/x) − y = Cx
#34y = ¼ − (x/2)cot 2x + C csc 2x
#35sin x cos y − ln|sin x| = C
#36y² = x³/(C − x)
#37a²/r² + ln(r/a) = cos θ
#381/y² = 4 − 2(x+1)e^{−x}
#39x² = 4 − 4y
#40i = (E/R)(1 − e^{−Rt/L})
#41x³y − 3xy + 4y² = 4
#42x² = y³(x + 2)