🪝Ordinary Differential Equations Unit 2 – First-Order Differential Equations

First-order differential equations are fundamental in modeling real-world phenomena. They describe how a quantity changes over time or space, using the first derivative of a function. These equations are crucial in fields like physics, biology, and engineering. Solving first-order differential equations involves various techniques, including separation of variables, integrating factors, and substitution methods. Understanding these methods and their applications is essential for tackling more complex problems in mathematics and applied sciences.

What Are First-Order Differential Equations?

  • First-order differential equations involve the first derivative of a function and no higher-order derivatives
  • Expressed in the form dydx=f(x,y)\frac{dy}{dx} = f(x, y) where f(x,y)f(x, y) is a function of the independent variable xx and the dependent variable yy
  • Describe the rate of change of a dependent variable with respect to an independent variable
  • Can model various real-world phenomena (population growth, radioactive decay, cooling/heating processes)
  • Solutions to first-order differential equations are functions that satisfy the equation for all values of the independent variable
    • These solutions often contain arbitrary constants determined by initial conditions
  • First-order differential equations can be classified into different types based on their structure and properties (linear, separable, exact, homogeneous)
  • Understanding the characteristics and behavior of first-order differential equations is crucial for solving them effectively

Key Concepts and Terminology

  • Ordinary differential equation (ODE): An equation involving derivatives of a function with respect to a single independent variable
  • First-order: The highest derivative in the equation is of the first order (i.e., dydx\frac{dy}{dx})
  • Independent variable: The variable with respect to which the derivatives are taken (usually denoted as xx)
  • Dependent variable: The variable that is a function of the independent variable (usually denoted as yy)
  • Initial condition: A known value of the dependent variable at a specific value of the independent variable, used to determine the particular solution
  • General solution: The solution to a differential equation that contains arbitrary constants and represents all possible solutions
  • Particular solution: A specific solution obtained from the general solution by applying initial conditions or boundary values
  • Integrating factor: A function used to multiply both sides of a linear first-order differential equation to make it easier to solve

Types of First-Order Differential Equations

  • Linear equations: In the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), where P(x)P(x) and Q(x)Q(x) are functions of xx only
    • Can be solved using the integrating factor method or variation of parameters
  • Separable equations: In the form dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y), where the right-hand side can be written as a product of a function of xx and a function of yy
    • Can be solved by separating variables and integrating both sides
  • Exact equations: 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}
    • Can be solved by finding a potential function that satisfies the equation
  • Homogeneous equations: In the form dydx=f(yx)\frac{dy}{dx} = f(\frac{y}{x}), where the right-hand side is a function of the ratio yx\frac{y}{x}
    • Can be solved by substituting y=vxy = vx and solving for vv as a function of xx
  • Bernoulli equations: In the form dydx+P(x)y=Q(x)yn\frac{dy}{dx} + P(x)y = Q(x)y^n, where n0,1n \neq 0, 1
    • Can be solved by substituting z=y1nz = y^{1-n} to transform the equation into a linear one
  • Ricatti equations: In the form dydx=P(x)y2+Q(x)y+R(x)\frac{dy}{dx} = P(x)y^2 + Q(x)y + R(x)
    • Can be solved using a known particular solution or by transforming the equation

Solving Methods and Techniques

  • Separation of variables: Rewrite the equation in the form dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y) and separate variables to integrate both sides
  • Integrating factor method: Multiply both sides of a linear equation by an integrating factor to make the left-hand side a perfect derivative
    • The integrating factor is given by eP(x)dxe^{\int P(x)dx}, where P(x)P(x) is the coefficient of yy in the linear equation
  • Substitution: Transform the equation into a simpler form by introducing a new variable (e.g., y=vxy = vx for homogeneous equations)
  • Exact equations: Find a potential function ϕ(x,y)\phi(x, y) such that ϕx=M(x,y)\frac{\partial \phi}{\partial x} = M(x, y) and ϕy=N(x,y)\frac{\partial \phi}{\partial y} = N(x, y)
    • The solution is given by ϕ(x,y)=C\phi(x, y) = C, where CC is an arbitrary constant
  • Variation of parameters: Express the solution as a linear combination of linearly independent functions with variable coefficients
  • Numerical methods: Approximate the solution using techniques like Euler's method or Runge-Kutta methods when analytical solutions are difficult to obtain

Applications in Real-World Problems

  • Population dynamics: Model the growth or decline of a population over time (logistic equation, exponential growth)
  • Radioactive decay: Describe the rate at which a radioactive substance decays (half-life, exponential decay)
  • Cooling and heating processes: Model the temperature change of an object in a surrounding medium (Newton's law of cooling)
  • Chemical reactions: Describe the rate of change of reactant and product concentrations (first-order reactions, second-order reactions)
  • Electrical circuits: Model the behavior of current and voltage in simple circuits (RC circuits, RL circuits)
  • Finance: Describe the growth of investments or the amortization of loans (compound interest, continuous compounding)
  • Fluid dynamics: Model the flow of fluids in pipes or the velocity of falling objects (Bernoulli's equation, terminal velocity)
  • Pharmacokinetics: Describe the absorption, distribution, and elimination of drugs in the body (compartment models, elimination rates)

Common Mistakes and How to Avoid Them

  • Forgetting to separate variables before integrating: Always ensure that the equation is in the form dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y) before integrating
  • Incorrect integration: Double-check the integration process and use integration techniques correctly (u-substitution, integration by parts)
  • Neglecting initial conditions: Always apply the given initial conditions to determine the particular solution
  • Misidentifying the type of equation: Carefully examine the structure of the equation to classify it correctly (linear, separable, exact, homogeneous)
  • Incorrect algebraic manipulation: Be cautious when manipulating the equation and simplifying expressions to avoid algebraic errors
  • Misinterpreting the solution: Ensure that the obtained solution satisfies the original differential equation and makes sense in the context of the problem
  • Forgetting to check the domain of the solution: Verify that the solution is valid for the given domain and consider any restrictions on the variables
  • Not checking the uniqueness of the solution: Be aware that some equations may have multiple solutions or require additional conditions for uniqueness

Practice Problems and Solutions

  1. Solve the separable equation dydx=xy2\frac{dy}{dx} = xy^2, given y(0)=1y(0) = 1.

    • Separate variables: dyy2=xdx\frac{dy}{y^2} = xdx
    • Integrate both sides: 1y=x22+C-\frac{1}{y} = \frac{x^2}{2} + C
    • Apply initial condition: C=1C = -1
    • Solve for yy: y=22x2y = \frac{2}{2-x^2}
  2. Solve the linear equation dydx+2y=xex\frac{dy}{dx} + 2y = xe^{-x}, given y(0)=1y(0) = 1.

    • Find the integrating factor: e2dx=e2xe^{\int 2dx} = e^{2x}
    • Multiply both sides by the integrating factor: e2xdydx+2e2xy=xexe^{2x}\frac{dy}{dx} + 2e^{2x}y = xe^x
    • Rewrite the left-hand side as a perfect derivative: ddx(e2xy)=xex\frac{d}{dx}(e^{2x}y) = xe^x
    • Integrate both sides: e2xy=xexex+Ce^{2x}y = -xe^x - e^x + C
    • Apply initial condition: C=2C = 2
    • Solve for yy: y=xexex+2e2xy = -xe^{-x} - e^{-x} + 2e^{-2x}
  3. Solve the exact equation (2x+y)dx+(x+2y)dy=0(2x+y)dx + (x+2y)dy = 0, given y(1)=1y(1) = 1.

    • Check if the equation is exact: My=1=Nx\frac{\partial M}{\partial y} = 1 = \frac{\partial N}{\partial x}
    • Find the potential function: ϕ(x,y)=x2+xy+y2+C\phi(x, y) = x^2 + xy + y^2 + C
    • Apply initial condition: C=2C = -2
    • The solution is x2+xy+y2=2x^2 + xy + y^2 = 2
  4. Solve the homogeneous equation dydx=x+yxy\frac{dy}{dx} = \frac{x+y}{x-y}, given y(1)=2y(1) = 2.

    • Substitute y=vxy = vx: dvdxx+v=1+v1v\frac{dv}{dx}x + v = \frac{1+v}{1-v}
    • Separate variables: 1v1+vdv=1xdx\frac{1-v}{1+v}dv = \frac{1}{x}dx
    • Integrate both sides: ln(1+v)=ln(x)+C-\ln(1+v) = \ln(x) + C
    • Apply initial condition: C=ln(3)C = -\ln(3)
    • Solve for vv: v=3x13x+1v = \frac{3x-1}{3x+1}
    • Substitute back y=vxy = vx: y=3x213x+1y = \frac{3x^2-1}{3x+1}

Connections to Other Math Topics

  • Calculus: First-order differential equations are an application of derivatives and integrals from calculus
    • The concept of a derivative is used to express the rate of change in the equation
    • Integration techniques are employed to solve the equations and find the general and particular solutions
  • Linear algebra: Some first-order differential equations can be represented using matrices and vectors
    • Systems of linear first-order differential equations can be solved using matrix methods (eigenvalues, eigenvectors)
  • Numerical analysis: When analytical solutions are difficult to obtain, numerical methods from numerical analysis are used to approximate the solutions
    • Techniques like Euler's method and Runge-Kutta methods are based on numerical approximations of derivatives
  • Partial differential equations (PDEs): First-order differential equations are a special case of PDEs, where the function depends on only one independent variable
    • Understanding first-order ODEs helps in learning techniques for solving first-order PDEs (method of characteristics)
  • Dynamical systems: First-order differential equations are used to model the behavior of dynamical systems over time
    • The solutions to these equations describe the trajectories or orbits of the system in phase space
  • Complex analysis: Some first-order differential equations may involve complex-valued functions or variables
    • Techniques from complex analysis (Cauchy-Riemann equations, contour integration) can be used to solve these equations
  • Laplace transforms: The Laplace transform is a powerful tool for solving linear first-order differential equations with initial conditions
    • The differential equation is transformed into an algebraic equation in the Laplace domain, which is easier to solve


© 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.