In-Depth Notes on First Order Ordinary Differential Equations

Learning Objectives

  • Understand key concepts of First Order Ordinary Differential Equations (ODEs).
  • Define an ODE and determine its order.
  • Distinguish between general and particular solutions of an ODE.
  • Differentiate between separable and linear ODEs.
  • Solve first order ODEs using:
    • Variable separation method
    • Integrating factor method
  • Apply ODEs to solve engineering problems.

1.1 Introduction to ODEs

  • Ordinary Differential Equation (ODE):
    A differential equation containing derivatives of an output variable y with respect to an input variable x.
  • Order of ODE:
    Defined as the highest order of the derivative in the equation.
Examples of Orders:
  1. dy/dx = 3x^2 → First order
  2. xy' + y = 2x → First order
  3. y'' = y' → Second order
  4. d^2y/dx^2 = t x^2 → First order
Solution Types:
  • General Solution:
    • Involves arbitrary constants and includes all possible solutions of the ODE.
  • Particular Solution:
    • Lacks arbitrary constants, obtained when initial conditions are known.
Initial Value Problems (IVP):
  • ODEs with known initial conditions.
  • Example:
    • ODE: dy/dx = 3x^2, General Solution: y = x^3 + C.
    • IVP: y(1) = 0, Particular Solution: y = x^3 - 1.

1.2 Separable ODEs

  • Separable ODE:
    Can be expressed as g(y) dy = f(x) dx.
Steps to Solve:
  1. Rearrange into the separable form.
  2. Integrate both sides.
Examples:
  1. dy/dx = y → Separable
  2. d(y'')/dx - 1 = 2x^2 → Non-separable
Example Solution:

For dy/dx = sin(2x), integrate to find y = -1/2 cos(2x) + C.

1.3 Linear ODEs

  • Standard Form:
    dy/dx + P(x)y = Q(x), where P(x) ≠ 0.
Steps to Solve:
  1. Arrange in standard form.
  2. Compute the integrating factor: I(x) = e^(∫P(x)dx).
  3. Solve for y.
Example Solutions:
  1. For dy/dx + 2y = e^(-x), compute integrating factor and solve.
  2. General form applies to various common problems.

1.4 Applications of ODEs

  • Life Sciences:

    • Exponential growth/decay models for populations. For example, dP/dt = kP.
    • Example: If P(0) = 2, solve to find P(t) = 2e^{-0.2457t}.
  • Mechanics:

    • Applying Newton's laws for objects under different forces.
    • Example: dV/dt + 1/2 * V^3 = force (modeling motion of a ball).
  • Electronics:

    • Kirchhoff’s Voltage Law: sum of voltages equals the input source.
    • Example: In a simple circuit, integrate to find behavior of current i(t).

1.5 Exercises

  • Practice solving separable and linear ODEs.
  • Solve initial value problems to reinforce understanding of solutions.