First-Order Differential Equations and Mathematical Models

Differential Equations and Mathematical Models

  • Differential Equation: An equation relating an unknown function and one or more of its derivatives.

  • Ordinary Differential Equation (ODE): A differential equation in which the unknown function depends on only a single independent variable.

  • Partial Differential Equation (PDE): A differential equation in which the dependent variable depends on two or more independent variables.

  • Order: The order of the highest derivative that appears in the differential equation.

  • General Form of an nnth-Order ODE:   F(x,y,y′,y′′,…,y(n))=0F\left(x, y, y', y'', \dots, y^{(n)}\right) = 0

  • Normal Form of an nnth-Order ODE:   y(n)=G(x,y,y′,y′′,…,y(n−1))y^{(n)} = G\left(x, y, y', y'', \dots, y^{(n-1)}\right)

  • Solution: A continuous function u=u(x)u = u(x) on an interval II having derivatives u′,u′′,…,u(n)u', u'', \dots, u^{(n)} on II such that F(x,u,u′,u′′,…,u(n))=0F\left(x, u, u', u'', \dots, u^{(n)}\right) = 0 for all xx in II.

  • Initial Value Problem (IVP): Consists of a first-order differential equation dydx=f(x,y)\frac{dy}{dx} = f(x, y) together with an initial condition y(x0)=y0y(x_0) = y_0.

  • Mathematical Modeling Process: Involves formulating a real-world situation into a mathematical model, performing mathematical analysis to solve the equations, and interpreting the mathematical results in the real-world context.

The process of mathematical modeling

Mathematical Models of Change

  • Newton's Law of Cooling: The time rate of change of the temperature T(t)T(t) of a body is proportional to the difference between TT and the ambient temperature AA:   dTdt=−k(T−A)where k>0\frac{dT}{dt} = -k(T - A) \quad \text{where } k > 0

  • Torricelli's Law: The time rate of change of the volume VV of water in a draining tank is proportional to the square root of the water depth yy:   dVdt=−ky\frac{dV}{dt} = -k \sqrt{y}

    • For a tank with cross-sectional area A(y)A(y) and orifice area aa:     A(y)dydt=−a2gy=−kyA(y) \frac{dy}{dt} = -a \sqrt{2gy} = -k \sqrt{y}

  • Natural Population Growth: The rate of change of a population P(t)P(t) with constant birth and death rates is proportional to its size:   dPdt=kP  ⟹  P(t)=P0ekt\frac{dP}{dt} = k P \implies P(t) = P_0 e^{kt}

  • Logistic Population Model: Incorporates environmental carrying capacity MM:   dPdt=kP(M−P)\frac{dP}{dt} = k P(M - P)

Integrals as General and Particular Solutions

  • First-Order Direct Integration: Equations of the form dydx=f(x)\frac{dy}{dx} = f(x) have general solutions given by:   y(x)=∫f(x) dx+Cy(x) = \int f(x)\,dx + C

  • Second-Order Direct Integration: Equations of the form d2ydx2=g(x)\frac{d^2y}{dx^2} = g(x) are solved by successive integration:   dydx=∫g(x) dx+C1\frac{dy}{dx} = \int g(x)\,dx + C_1   y(x)=∫(∫g(x) dx)dx+C1x+C2y(x) = \int \left(\int g(x)\,dx\right)dx + C_1 x + C_2

  • Motion Equations (Constant Acceleration aa):

    • Velocity: v(t)=at+v0v(t) = a t + v_0

    • Position: x(t)=12at2+v0t+x0x(t) = \frac{1}{2} a t^2 + v_0 t + x_0

  • Vertical Motion under Gravity:   dvdt=−g  ⟹  v(t)=−gt+v0,y(t)=−12gt2+v0t+y0\frac{dv}{dt} = -g \implies v(t) = -g t + v_0, \quad y(t) = -\frac{1}{2} g t^2 + v_0 t + y_0

    • Gravitational acceleration constants: g≈32 ft/s2g \approx 32\,ft/s^2 in foot-pound-second (fps) units and g≈9.8 m/s2g \approx 9.8\,m/s^2 in meter-kilogram-second (mks) units.

Slope Fields and Existence-Uniqueness

  • Slope Field (Direction Field): A visual representation formed by drawing short line segments with slope m=f(x,y)m = f(x, y) at representative points (x,y)(x, y), indicating the tangent lines of solution curves.

  • Theorem 1 (Existence and Uniqueness of Solutions): If f(x,y)f(x, y) and its partial derivative ∂f∂y\frac{\partial f}{\partial y} are continuous on a rectangle RR containing (a,b)(a, b) in its interior, then the initial value problem dydx=f(x,y)\frac{dy}{dx} = f(x, y), y(a)=by(a) = b has a unique solution y=y(x)y = y(x) defined on some open interval II containing aa.

  • Singular Solution: A solution that cannot be obtained from the general solution family by any choice of the arbitrary constant.

Separable Differential Equations

  • Definition: A first-order equation dydx=f(x,y)\frac{dy}{dx} = f(x, y) is separable if f(x,y)f(x, y) can be expressed as a product of a function of xx and a function of yy:   dydx=g(x)k(y)=g(x)h(y)\frac{dy}{dx} = g(x) k(y) = \frac{g(x)}{h(y)}

  • General Solution Procedure:

    • Separate variables:     h(y) dy=g(x) dxh(y)\,dy = g(x)\,dx

    • Integrate both sides:     ∫h(y) dy=∫g(x) dx+C\int h(y)\,dy = \int g(x)\,dx + C

First-Order Linear Equations

  • Standard Form:   dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x)

  • Integrating Factor Method:

    • Compute integrating factor:     ρ(x)=e∫P(x) dx\rho(x) = e^{\int P(x)\,dx}

    • Multiply standard form by ρ(x)\rho(x) to condense the left-hand side into a product derivative:     ddx[ρ(x)y(x)]=ρ(x)Q(x)\frac{d}{dx} \left[\rho(x) y(x)\right] = \rho(x) Q(x)

    • Integrate both sides to obtain the explicit general solution:     y(x)=e−∫P(x) dx(∫Q(x)e∫P(x) dx dx+C)y(x) = e^{-\int P(x)\,dx} \left( \int Q(x) e^{\int P(x)\,dx}\,dx + C \right)

  • Theorem 1 (Linear First-Order Equation): If P(x)P(x) and Q(x)Q(x) are continuous on an open interval II containing x0x_0, then the initial value problem has a unique solution defined on the entire interval II with no singular solutions.

  • Single-Tank Mixture Equation:   dxdt=rici−roco=rici−rox(t)V(t)\frac{dx}{dt} = r_i c_i - r_o c_o = r_i c_i - r_o \frac{x(t)}{V(t)}   where x(t)x(t) is the solute mass, rir_i and ror_o are inflow/outflow rates, cic_i is inflow concentration, and V(t) = V_0 + (r_i - r_o) t$.\n\n# Substitution Methods and Special Equations\n\n- **Form \frac{dy}{dx} = F(ax + by + c)**:\n - Substitute v = ax + by + c \implies \frac{dv}{dx} = a + b \frac{dy}{dx} to transform into a separable equation.\n- **Homogeneous First-Order Equations**:\n - Form: \frac{dy}{dx} = F\left(\frac{y}{x}\right)\n - Substitution: y = v x \implies \frac{dy}{dx} = v + x \frac{dv}{dx}\n - Transformed separable equation:\n    x \frac{dv}{dx} = F(v) - v\n- **Bernoulli Equations**:\n - Form: \frac{dy}{dx} + P(x) y = Q(x) y^n \quad (n eq 0, n eq 1)\n - Substitution: v = y^{1-n}\n - Transformed linear equation:\n    \frac{dv}{dx} + (1 - n) P(x) v = (1 - n) Q(x)\n- **Exact Differential Equations**:\n - Differential form: M(x, y)\,dx + N(x, y)\,dy = 0\n - Criterion for Exactness: Exact on a rectangle R if and only if:\n    \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}\n - Solution method: Find F(x, y)suchthatsuch that\frac{\partial F}{\partial x} = M(x, y)andand\frac{\partial F}{\partial y} = N(x, y).Theimplicitgeneralsolutionis. The implicit general solution isF(x, y) = C$.

  • Reducible Second-Order Equations:

    • Dependent variable yy missing (F(x,y′,y′′)=0F(x, y', y'') = 0):

    • Substitute p=y′=dydxp = y' = \frac{dy}{dx} and y′′=dpdxy'' = \frac{dp}{dx} to obtain a first-order equation for p(x)p(x).

    • Independent variable xx missing (F(y,y′,y′′)=0F(y, y', y'') = 0):

    • Substitute p=y′=dydxp = y' = \frac{dy}{dx} and y′′=pdpdyy'' = p \frac{dp}{dy} to obtain a first-order equation for p(y)p(y).