Differential Equations Course Notes

Introduction

  • Presenter: Doctor Saeed

  • Course: Differential Equations

  • Focus: Ordinary Differential Equations (ODEs) taught at BS level

  • Reference Book: "Differential Equations with Modeling Applications (Ninth Edition)" by Dan G. Zill

    • Renowned for clear content on differential equations

    • Aimed at an intermediate understanding of the subject

Course Structure

  • Chapter 1: Introduction to Differential Equations

    • Contents: Definitions, terminology, and basic information

  • Chapter 2: First Order Differential Equations

    • Methods Covered:

    • Separation of Variables

    • Linear Differential Equations

    • Exact Substitution Methods

  • Chapter 3: Applications of First Order Differential Equations

    • Topics include:

    • Reduction of Order

    • Homogeneous Linear Equations

    • Variation of Parameters

    • Coupled Equations

    • Elimination Method

    • Non-linear Factoring

  • Chapter 5: Modeling

    • Applications in artificial intelligence mentioned

  • Chapter 6: Series Solutions

    • Special focus on certain applications

  • Chapter 7: Laplace Transform

  • Chapter 8: Systems of Differential Equations

    • In-depth study when dealing with multiple variables

  • Chapter 9: Numerical Methods

    • Emphasizes practical numerical approaches to solving differential equations

Presentation of Content

  • The book is visually appealing and contains colorful graphics.

  • PDF of the Ninth Edition is easily searchable online.

Engagement Activity (Rhetorical Question)

  • Problem: Find a function such that when differentiated, it becomes its double.

    • Participants might initially think of functions like $y = x^2$, but this does not satisfy the condition because differentiating yields $2x$, not $2y$.

Derivation of the Function

  • Let's consider a function $y$ such that its derivative, $ rac{dy}{dx}$, equals $2y$.

    • Conversion:

    • Differential Equation:
      \frac{dy}{dx} = 2y

    • Separation of Variables: Bring $y$ to the left and $dx$ to the right:
      \frac{dy}{y} = 2dx

    • Integration:

    • LHS: \int \frac{dy}{y} = \ln|y|

    • RHS: \int 2dx = 2x + C

    • Exponentiating yields:
      y = e^{2x + C} = ke^{2x}

    • Where $k = e^C$, therefore general solutions include any multiple of $e^{2x}$.

Implications of the Differential Equation

  • Once the condition is established, any constant multiplier $k$ maintains the property that differentiating will yield its double.

  • Functional relationships derived through differential equations allow one to model and solve real-world problems effectively.

Additional Inquiry

  • Task: Find a function that becomes negative when differentiated twice.

  • Encourages thought processes around the nature of functions and their derivatives.

Detailed Definitions

  • Differential Equation: An equation that involves the derivatives of one or more dependent variables concerning one or more independent variables.

    • Dependent Variable: Typically denoted as $y$, whose value depends on independent variables (like $x$).

    • Independent Variable: Denoted as $x$, which is chosen freely without relating to $y$.

Classification of Differential Equations
  • Ordinary Differential Equation (ODE): If there is only one independent variable involved.

  • Partial Differential Equation (PDE): If there are two or more independent variables.

Order and Degree of a Differential Equation

  • Order: The highest derivative present in the equation.

  • Degree: The power of the highest derivative in the equation.

Example Classifications

  • First Order Linear Example: \frac{dy}{dx} + 5y = 4x

    • Both dependent and independent variable orders are recognized.

  • For the order D^2y/Dx^2 + 5(Dy/Dx) + 4y = e^x

    • Identify highest order and check for linearity.

Linear vs Non-linear Differential Equations

  • Linear Equations: Highest power of dependent variable and its derivatives is always one. Coefficients are functions of the independent variable only.

  • Non-linear Equations: At least one condition of linearity is violated.

Solutions of Differential Equations

  • The solution involves finding a function that satisfies the differential equation for the required variable(s).

  • Verification: Substituting the solution into the differential equation must equal an identity (same LHS and RHS).

Implicit Solutions

  • Defined when variables cannot be separated cleanly; they remain intertwined in their representation.

Piecewise Functions

  • Certain functions follow different definitions based on the value of the independent variable (i.e., positive or negative). Example:

    • For $x < 0$: y = -x^4

    • For $x \geq 0$: y = x^4

Systems of Differential Equations

  • Involving coordinated functions of multiple dependent variables (e.g., finding $x$ and $y$ based on shared independent variable).

Conclusion

  • Next lecture: Solve Example Exercises (1.1).

  • Viewer Engagement: Open for questions via comments.

  • Request for Subscription and Sharing.

Ending Remarks

  • Thank you for watching!

Introduction to the Course
  • Instructor: Doctor Saeed

  • Level: Bachelor of Science (BS) level course

  • Core Text: "Differential Equations with Modeling Applications (Ninth Edition)" by Dennis G. Zill. This book is widely regarded for its accessibility and focus on real-world modeling applications, making it a standard for intermediate engineering and mathematics students.

Comprehensive Course Roadmap
  • Chapter 1: Introduction: Foundation setting, including the classification of equations by type (ODE vs. PDE), order, and linearity.

  • Chapter 2: First-Order DEs: Concentration on analytic solution methods such as:

    • Separation of Variables: The process of grouping all terms with the same variable on one side.

    • Linear Equations: Using integrating factors \mu(x) = e^{\int P(x)dx}.

    • Exact Equations: Testing for \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}.

    • Substitution Methods: Homogeneous and Bernoulli equations.

  • Chapter 3: Modeling with First-Order DEs: Growth/decay, cooling, and mixture problems.

  • Chapter 4 High-Order Linear DEs: Introduction to homogeneous and non-homogeneous equations, Reduction of Order, Undetermined Coefficients, and Variation of Parameters.

  • Chapter 5: Modeling Continued: Focus on spring-mass systems and electrical circuits.

  • Chapter 6: Series Solutions: Solving DEs around ordinary and singular points using power series.

  • Chapter 7: The Laplace Transform: Transforming differential equations into algebraic equations.

  • Chapter 8: Systems of Linear First-Order DEs: Using matrices and eigenvalues to solve coupled equations.

  • Chapter 9: Numerical Methods: Implementation of the Euler and Runge-Kutta methods for approximate solutions when analytic methods fail.

Introductory Mathematical Activity
  • The Challenge: Identify a function whose derivative is exactly twice itself.

    • Hypothesis: Testing y = x^2 yields y' = 2x, which is not 2y. Therefore, polynomials are unlikely candidates.

  • Formal Derivation via Separation of Variables:

    1. Statement: \frac{dy}{dx} = 2y

    2. Rearrangement: Divide by y and multiply by dx: \frac{dy}{y} = 2 dx

    3. Integration: \int \frac{1}{y} dy = \int 2 dx \implies \ln|y| = 2x + C_{1}

    4. Exponentiation: |y| = e^{2x + C{1}} \implies y = e^{C{1}} e^{2x}

    5. General Solution: y = ke^{2x}, where k is an arbitrary constant (scalar multiplier).

Advanced Definitions and Classifications
  • Differential Equation (DE): An equation containing the derivatives of one or more dependent variables with respect to one or more independent variables.

  • Dependent Variable: The variable being differentiated (e.g., y).

  • Independent Variable: The variable with respect to which the differentiation occurs (e.g., x or t).

Types of Differential Equations
  • Ordinary Differential Equation (ODE): Contains only ordinary derivatives (one independent variable).

  • Partial Differential Equation (PDE): Contains partial derivatives (two or more independent variables).

Order and Degree
  • Order: The order of the highest derivative in the equation. For example, \frac{d^2y}{dx^2} makes the equation second-order.

  • Degree: The power to which the highest-order derivative is raised.

    • Example: For (\frac{d^3y}{dx^3})^2, the order is 3 and the degree is 2.

Linearity Conditions

An $n$-th order ODE is linear if it can be written in the form:
an(x) rac{d^ny}{dx^n} + a{n-1}(x) rac{d^{n-1}y}{dx^{n-1}} + \dotsb + a1(x) rac{dy}{dx} + a0(x)y = g(x)

  1. The dependent variable y and all its derivatives are of the first degree (power of 1).

  2. The coefficients a_i(x) depend only on the independent variable x.

  3. No nonlinear functions of y (e.g., \sin(y), e^y, y^2) are present.

Nature of Solutions
  • Explicit Solution: The dependent variable is expressed solely in terms of the independent variable (e.g., y = ϕ(x)).

  • Implicit Solution: A relation G(x, y) = 0 that satisfies the DE but cannot be easily solved for y.

  • Verification: To verify a solution, substitute the function and its derivatives into the DE. If the result is an identity (e.g., 0=0), the solution is valid over an Interval of Definition (I).

  • Piecewise-Defined Solutions: Solutions that vary based on the domain. For example:

    • y = -x^4 for x < 0

    • y = x^4 for x \geq 0
      These are often used to ensure differentiability at transition points.

Systems of Differential Equations
  • Involves two or more equations involving derivatives of two or more unknown functions.

  • Example:
    \frac{dx}{dt} = f(t, x, y)
    \frac{dy}{dt} = g(t, x, y)

  • Solving these requires finding expressions for both x(t) and y(t) that satisfy both equations simultaneously.