Suggestions logoSuggestions

Quick Revision

Compressed notes for fast review.

Core Definitions

  • Ordinary differential equation (ODE): Differential equation with only one independent variable.
  • Order: Highest order derivative present.
  • Degree: Power of highest order derivative after equation made free from radicals/fractions in derivatives.
  • Linear differential equation: dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)
  • Bernoulli equation: dydx+P(x)y=Q(x)yn,n0,1\frac{dy}{dx} + P(x)y = Q(x)y^n,\quad n \ne 0,1

Fast Classification

  • y=exy' = e^x: order =1=1, degree =1=1
  • (y)2+ytan2y=0(y')^2 + y' - \tan^2 y = 0: order =1=1, degree =2=2
  • y+yy+y=xlnxy''' + y'' - y' + y = x\ln x: order =3=3, degree =1=1
  • (y)3+6y=0(y'')^3 + 6y' = 0: order =2=2, degree =3=3

Forming DE

  • If solution has 1 constant: differentiate once.
  • If solution has 2 constants: differentiate twice.
  • If solution has 3 constants: differentiate thrice.
  • Eliminate arbitrary constants from original + derived equations.

Examples:

  • y=Ae2x+Bex+Cy3y+2y=0y = Ae^{2x} + Be^x + C \Rightarrow y''' - 3y'' + 2y' = 0
  • y=ex(Acosx+Bsinx)y2y+2y=0y = e^x(A\cos x + B\sin x) \Rightarrow y'' - 2y' + 2y = 0

Separation of Variables

Goal:

dydx=f(x)g(y)dyg(y)=f(x)dx\frac{dy}{dx} = f(x)g(y) \Rightarrow \frac{dy}{g(y)} = f(x)\,dx

Useful substitutions from exam:

  • If sin1(y)=x+y\sin^{-1}(y') = x+y, take sin\sin both sides, then set z=x+yz=x+y
  • If y=(4x+y+1)2y'=(4x+y+1)^2, set z=4x+y+1z=4x+y+1

Results to remember:

  • sin1(y)=x+ytan(x+y)sec(x+y)=x+C\sin^{-1}(y') = x+y \Rightarrow \tan(x+y)-\sec(x+y)=x+C
  • y=(4x+y+1)212tan1 ⁣(4x+y+12)=x+Cy'=(4x+y+1)^2 \Rightarrow \frac12 \tan^{-1}\!\left(\frac{4x+y+1}{2}\right)=x+C

Exact DE

For

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

exact iff

My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

Solution pattern:

  • Integrate MM wrt xx
  • Add function of yy
  • Match with NN

Exam results:

  • (1+ex/y)dx+ex/y(1x/y)dy=0(1+e^{x/y})dx + e^{x/y}(1-x/y)dy=0 x+yex/y=Cx + ye^{x/y} = C
  • (x2y2xy2)dx(x33x2y)dy=0(x^2y-2xy^2)dx-(x^3-3x^2y)dy=0 after I.F. xy+ln ⁣(y3x2)=C\frac{x}{y} + \ln\!\left(\frac{y^3}{x^2}\right)=C

Linear DE Shortcut

Standard form:

dydx+P(x)y=Q(x)\frac{dy}{dx}+P(x)y=Q(x)

Integrating factor:

I.F.=eP(x)dx\text{I.F.}=e^{\int P(x)\,dx}

Solution:

yI.F.=Q(x)I.F.dx+Cy\cdot \text{I.F.}=\int Q(x)\,\text{I.F.}\,dx + C

Exam case:

(1+x2)dydx+y=tan1x(1+x^2)\frac{dy}{dx}+y=\tan^{-1}x

Write as:

dydx+11+x2y=tan1x1+x2\frac{dy}{dx}+\frac{1}{1+x^2}y=\frac{\tan^{-1}x}{1+x^2}

I.F.:

etan1xe^{\tan^{-1}x}

Answer:

yetan1x=etan1x(tan1x1)+Cye^{\tan^{-1}x}=e^{\tan^{-1}x}(\tan^{-1}x-1)+C

Bernoulli DE Shortcut

Given:

dydx+P(x)y=Q(x)yn\frac{dy}{dx}+P(x)y=Q(x)y^n

Use substitution:

z=y1nz=y^{1-n}

Then solve linear equation in zz.

Exam case:

dydx+2yx=y3x3\frac{dy}{dx}+\frac{2y}{x}=\frac{y^3}{x^3}

Take:

z=y2z=y^{-2}

Answer:

x4y2=13x6+Cx^{-4}y^{-2}=\frac{1}{3x^6}+C

Constant-Coefficient Linear DE

For

f(D)y=Xf(D)y = X

Steps:

  1. Find C.F. from auxiliary equation.
  2. Find P.I. from RHS.
  3. Add: y=C.F.+P.I.y = \text{C.F.} + \text{P.I.}
  4. If IC given, use to find constants.

C.F. Rules

  • Distinct real roots m1,m2m_1,m_2: yc=C1em1x+C2em2xy_c = C_1e^{m_1x}+C_2e^{m_2x}
  • Repeated root mm: yc=(C1+C2x)emxy_c = (C_1+C_2x)e^{mx}
  • Complex roots α±iβ\alpha \pm i\beta: yc=eαx(C1cosβx+C2sinβx)y_c = e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x)

Hyper-Important Final Answers

With initial conditions

  • y+3y+2y=0, y(0)=0, y(0)=1y''+3y'+2y=0,\ y(0)=0,\ y'(0)=1

    y=exe2xy=e^{-x}-e^{-2x}
  • (D21)y=2, y(2)=1, y(2)=3(D^2-1)y=2,\ y(2)=-1,\ y'(2)=3

    y=2ex2e2x2y=2e^{x-2}-e^{2-x}-2
  • (D24D+4)y=x2, y(0)=38, y(0)=1(D^2-4D+4)y=x^2,\ y(0)=\frac38,\ y'(0)=1

    y=12xe2x+14x2+12x+38y=\frac12 xe^{2x}+\frac14x^2+\frac12x+\frac38
  • y+4y+8y=e4x, y(0)=0, y(0)=8y''+4y'+8y=e^{4x},\ y(0)=0,\ y'(0)=8

    y=e2x(140cos2x+15740sin2x)+e4x40y=e^{-2x}\left(-\frac1{40}\cos 2x+\frac{157}{40}\sin 2x\right)+\frac{e^{4x}}{40}

General solutions

  • (D23D+2)y=2coshx(D^2-3D+2)y=2\cosh x

    y=C1ex+C2e2xxex+16exy=C_1e^x+C_2e^{2x}-xe^x+\frac16e^{-x}
  • (D24D+4)y=x3(D^2-4D+4)y=x^3

    y=(C1+C2x)e2x+14x3+34x2+98x+34y=(C_1+C_2x)e^{2x}+\frac14x^3+\frac34x^2+\frac98x+\frac34
  • y3y+4y=cos4xy''-3y'+4y=\cos 4x

    y=e3x/2(C1cos72x+C2sin72x)124(sin4x+cos4x)y=e^{3x/2}\left(C_1\cos\frac{\sqrt7}{2}x+C_2\sin\frac{\sqrt7}{2}x\right)-\frac1{24}(\sin 4x+\cos 4x)
  • y4y+4y=x2+xy''-4y'+4y=x^2+x

    y=(C1+C2x)e2x+14x2+34x+58y=(C_1+C_2x)e^{2x}+\frac14x^2+\frac34x+\frac58

Exam Hit List

  • ODE definition + applications
  • Order/degree
  • Forming DE by eliminating constants
  • Separation of variables using substitution
  • Exact equation test
  • Linear DE + integrating factor
  • Bernoulli reduction to linear form
  • C.F. and P.I. for constant-coefficient equations
  • Applying initial conditions fast

Applications of Differential Equations

  • Population growth/decay
  • Newton's law of cooling
  • Electrical circuits
  • Classical mechanics

IUS Preps - Your Academic Success Partner

On this page