Calculus II Unit 4 – Introduction to Differential Equations

Differential equations are mathematical models that describe how quantities change over time or space. They're essential in physics, engineering, and economics, helping us understand everything from population growth to heat transfer. These equations come in various types, including ordinary and partial differential equations. Solving them involves techniques like separation of variables and integrating factors. Applications range from modeling exponential growth to analyzing electrical circuits and fluid dynamics.

What Are Differential Equations?

  • Equations involving derivatives of one or more dependent variables with respect to one or more independent variables
  • Describe the rate of change of a quantity in relation to another quantity
  • Denoted by the order of the highest derivative present in the equation (dydx\frac{dy}{dx} for first-order, d2ydx2\frac{d^2y}{dx^2} for second-order)
  • Classified as ordinary differential equations (ODEs) when there is only one independent variable and partial differential equations (PDEs) when there are multiple independent variables
  • Used to model various phenomena in physics, engineering, economics, and other fields (population growth, heat transfer, electrical circuits)
  • Solutions to differential equations are functions that satisfy the given equation and any initial or boundary conditions
  • Can be solved analytically using various techniques (separation of variables, integrating factors, power series) or numerically using computational methods (Euler's method, Runge-Kutta methods)

Types of Differential Equations

  • Classified based on order, linearity, and homogeneity
  • First-order differential equations contain only first derivatives (dydx=f(x,y)\frac{dy}{dx} = f(x, y))
  • Higher-order differential equations involve derivatives of order two or more (d2ydx2+dydx+y=0\frac{d^2y}{dx^2} + \frac{dy}{dx} + y = 0)
  • Linear differential equations have the dependent variable and its derivatives appearing linearly, with no products or powers (dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x))
    • Homogeneous linear differential equations have Q(x)=0Q(x) = 0
    • Non-homogeneous linear differential equations have Q(x)0Q(x) \neq 0
  • Nonlinear differential equations have the dependent variable or its derivatives appearing as powers, products, or in other nonlinear forms (dydx=y2+sin(x)\frac{dy}{dx} = y^2 + \sin(x))
  • Exact differential equations can be written in the form M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy = 0, where My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}
  • Separable differential equations can be written in the form dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y), allowing variables to be separated and integrated

Solving First-Order Differential Equations

  • Separation of variables involves rewriting the equation to separate the variables, then integrating both sides (dydx=f(x)g(y)1g(y)dy=f(x)dx\frac{dy}{dx} = f(x)g(y) \rightarrow \int \frac{1}{g(y)}dy = \int f(x)dx)
  • Integrating factor method multiplies both sides of a linear equation by a function μ(x)\mu(x) to make the equation exact (μ(x)[dydx+P(x)y]=μ(x)Q(x)\mu(x)[\frac{dy}{dx} + P(x)y] = \mu(x)Q(x))
  • Exact equations can be solved by finding a potential function Ψ(x,y)\Psi(x, y) such that Ψx=M(x,y)\frac{\partial \Psi}{\partial x} = M(x, y) and Ψy=N(x,y)\frac{\partial \Psi}{\partial y} = N(x, y)
  • Bernoulli equations of the form dydx+P(x)y=Q(x)yn\frac{dy}{dx} + P(x)y = Q(x)y^n can be transformed into linear equations by substituting v=y1nv = y^{1-n}
  • Homogeneous equations of the form dydx=f(yx)\frac{dy}{dx} = f(\frac{y}{x}) can be solved by substituting v=yxv = \frac{y}{x}
  • Numerical methods, such as Euler's method or Runge-Kutta methods, approximate solutions by iteratively calculating the function value at discrete points

Applications of First-Order DEs

  • Exponential growth and decay models (population growth, radioactive decay)
    • dPdt=kP\frac{dP}{dt} = kP, where PP is the population size and kk is the growth rate
    • dNdt=λN\frac{dN}{dt} = -\lambda N, where NN is the amount of a radioactive substance and λ\lambda is the decay constant
  • Mixing problems involving the concentration of a substance in a tank with inflow and outflow (salt water mixing)
    • dAdt=riCiroC\frac{dA}{dt} = r_iC_i - r_oC, where AA is the amount of substance, rir_i and ror_o are the inflow and outflow rates, and CiC_i and CC are the inflow and tank concentrations
  • Newton's law of cooling describes the temperature change of an object in a surrounding medium (dTdt=k(TTm)\frac{dT}{dt} = -k(T - T_m), where TT is the object's temperature, TmT_m is the medium's temperature, and kk is a constant)
  • Torricelli's law for fluid flow through an orifice (dhdt=kh\frac{dh}{dt} = -k\sqrt{h}, where hh is the height of the fluid and kk is a constant)
  • Logistic population growth models limited growth with a carrying capacity (dPdt=kP(1PK)\frac{dP}{dt} = kP(1 - \frac{P}{K}), where KK is the carrying capacity)
  • Kirchhoff's laws for electrical circuits (sum of currents entering a node equals sum of currents leaving, sum of voltage drops around a loop equals zero)

Higher-Order Differential Equations

  • Require additional initial or boundary conditions to determine a unique solution
  • Linear higher-order equations with constant coefficients can be solved using the characteristic equation (arn+brn1++k=0ar^n + br^{n-1} + \cdots + k = 0)
    • Distinct real roots lead to solutions of the form y=c1er1x+c2er2x++cnernxy = c_1e^{r_1x} + c_2e^{r_2x} + \cdots + c_ne^{r_nx}
    • Complex conjugate roots lead to solutions with trigonometric functions (y=eαx(c1cos(βx)+c2sin(βx))y = e^{\alpha x}(c_1\cos(\beta x) + c_2\sin(\beta x)))
    • Repeated roots require solutions with polynomial terms (y=(c1+c2x++cmxm1)erxy = (c_1 + c_2x + \cdots + c_mx^{m-1})e^{rx})
  • Reduction of order method reduces the order of the equation by substituting y=uvy = uv, where uu is a known solution and vv is a new function to be determined
  • Variation of parameters method finds a particular solution to a non-homogeneous equation by replacing constants with functions in the general solution of the corresponding homogeneous equation
  • Series solutions express the solution as an infinite power series (y=n=0anxny = \sum_{n=0}^{\infty} a_nx^n) and determine the coefficients by substituting the series into the differential equation
  • Cauchy-Euler equations have variable coefficients of the form xnx^n (x2d2ydx2+xdydx+y=0x^2\frac{d^2y}{dx^2} + x\frac{dy}{dx} + y = 0) and can be solved using the substitution x=etx = e^t

Laplace Transforms

  • Integral transform that converts a differential equation into an algebraic equation
  • Laplace transform of a function f(t)f(t) is defined as L{f(t)}=F(s)=0estf(t)dt\mathcal{L}\{f(t)\} = F(s) = \int_0^{\infty} e^{-st}f(t)dt
  • Linearity property: L{af(t)+bg(t)}=aL{f(t)}+bL{g(t)}\mathcal{L}\{af(t) + bg(t)\} = a\mathcal{L}\{f(t)\} + b\mathcal{L}\{g(t)\}
  • Differentiation property: L{f(t)}=sF(s)f(0)\mathcal{L}\{f'(t)\} = sF(s) - f(0), L{f(t)}=s2F(s)sf(0)f(0)\mathcal{L}\{f''(t)\} = s^2F(s) - sf(0) - f'(0)
  • Integration property: L{0tf(τ)dτ}=1sF(s)\mathcal{L}\{\int_0^t f(\tau)d\tau\} = \frac{1}{s}F(s)
  • Shifting property: L{eatf(t)}=F(sa)\mathcal{L}\{e^{at}f(t)\} = F(s-a)
  • Convolution property: L{(fg)(t)}=F(s)G(s)\mathcal{L}\{(f * g)(t)\} = F(s)G(s), where (fg)(t)=0tf(τ)g(tτ)dτ(f * g)(t) = \int_0^t f(\tau)g(t-\tau)d\tau
  • Solving differential equations using Laplace transforms:
    1. Take the Laplace transform of the differential equation and initial conditions
    2. Solve the resulting algebraic equation for F(s)F(s)
    3. Find the inverse Laplace transform of F(s)F(s) to obtain the solution f(t)f(t)

Systems of Differential Equations

  • Involve multiple dependent variables and their derivatives
  • Can be written in vector form dxdt=f(x,t)\frac{d\vec{x}}{dt} = \vec{f}(\vec{x}, t), where x\vec{x} is a vector of dependent variables and f\vec{f} is a vector-valued function
  • Linear systems have the form dxdt=Ax+b(t)\frac{d\vec{x}}{dt} = A\vec{x} + \vec{b}(t), where AA is a matrix of constants and b(t)\vec{b}(t) is a vector-valued function
    • Homogeneous linear systems have b(t)=0\vec{b}(t) = \vec{0}
    • Non-homogeneous linear systems have b(t)0\vec{b}(t) \neq \vec{0}
  • Eigenvalues and eigenvectors of the matrix AA determine the behavior of the system
    • Real, distinct eigenvalues lead to exponential solutions
    • Complex conjugate eigenvalues lead to oscillatory solutions
    • Repeated eigenvalues may require generalized eigenvectors and polynomial terms in the solution
  • The Jacobian matrix J(x)J(\vec{x}) of a nonlinear system dxdt=f(x)\frac{d\vec{x}}{dt} = \vec{f}(\vec{x}) determines the local stability of equilibrium points
    • If all eigenvalues of J(x)J(\vec{x}^*) have negative real parts, the equilibrium point x\vec{x}^* is asymptotically stable
    • If any eigenvalue has a positive real part, the equilibrium point is unstable
    • If all eigenvalues have zero real parts, further analysis is required to determine stability

Real-World Applications

  • Population dynamics models interactions between multiple species (predator-prey, competition, symbiosis)
    • Lotka-Volterra equations: dxdt=axbxy\frac{dx}{dt} = ax - bxy, dydt=cxydy\frac{dy}{dt} = cxy - dy, where xx and yy are prey and predator populations
  • Epidemiology models the spread of infectious diseases (SIR model: Susceptible, Infected, Recovered)
    • dSdt=βSI\frac{dS}{dt} = -\beta SI, dIdt=βSIγI\frac{dI}{dt} = \beta SI - \gamma I, dRdt=γI\frac{dR}{dt} = \gamma I, where β\beta is the infection rate and γ\gamma is the recovery rate
  • Pharmacokinetics describes the absorption, distribution, metabolism, and excretion of drugs in the body
    • One-compartment model: dCdt=kC\frac{dC}{dt} = -kC, where CC is the drug concentration and kk is the elimination rate constant
  • Chemical kinetics models the rates of chemical reactions (first-order, second-order, enzyme kinetics)
    • First-order reaction: d[A]dt=k[A]\frac{d[A]}{dt} = -k[A], where [A][A] is the concentration of reactant AA and kk is the rate constant
  • Heat and mass transfer problems involve the diffusion of heat or substances (Fourier's law, Fick's law)
    • One-dimensional heat equation: Tt=α2Tx2\frac{\partial T}{\partial t} = \alpha \frac{\partial^2 T}{\partial x^2}, where TT is temperature and α\alpha is the thermal diffusivity
  • Fluid dynamics models the flow of liquids and gases (Navier-Stokes equations)
    • Continuity equation: ρt+(ρv)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{v}) = 0, where ρ\rho is the fluid density and v\vec{v} is the velocity field
  • Quantum mechanics describes the behavior of particles at the atomic and subatomic scale (Schrödinger equation)
    • Time-dependent Schrödinger equation: iΨt=22m2Ψ+VΨi\hbar \frac{\partial \Psi}{\partial t} = -\frac{\hbar^2}{2m} \nabla^2 \Psi + V\Psi, where Ψ\Psi is the wave function, \hbar is the reduced Planck's constant, mm is the particle mass, and VV is the potential energy


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.