1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Differential Equations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Differential Equations

πŸ“š Introduction to Differential Equations

Differential equations are mathematical tools used to model and simulate various phenomena across science and engineering. Unlike traditional algebraic equations, their solutions are functions or classes of functions, rather than numerical values. They describe the relationship between a function and its derivatives.

πŸ“ What is a Differential Equation?

A differential equation establishes a relationship between a function and one or more of its derivatives. Here's an example:

yβ€²β€²+2yβ€²=3yy'' + 2y' = 3yyβ€²β€²+2yβ€²=3y

This equation states that the second derivative of a function yyy plus two times its first derivative must equal three times the function itself.

This can be expressed in several notations, all representing the same concept:

  • Prime Notation: yβ€²β€²+2yβ€²=3yy'' + 2y' = 3yyβ€²β€²+2yβ€²=3y

  • Function Notation: fβ€²β€²(x)+2fβ€²(x)=3f(x)f''(x) + 2f'(x) = 3f(x)fβ€²β€²(x)+2fβ€²(x)=3f(x)

  • Leibniz Notation: d2ydx2+2dydx=3y\frac{d^2y}{dx^2} + 2\frac{dy}{dx} = 3ydx2d2y​+2dxdy​=3y

The core question posed by such an equation is: "Can we find functions where the second derivative plus two times the first derivative equals three times the function itself?"


πŸ’‘ Solutions to Differential Equations

The solution to a differential equation is a function or a set/class of functions. This is a crucial distinction from algebraic equations, which typically yield numerical solutions.

πŸ†š Differential vs. Algebraic Equations

Feature

Differential Equation

Algebraic Equation

Example

yβ€²β€²+2yβ€²=3yy'' + 2y' = 3yyβ€²β€²+2yβ€²=3y

x2+3x+2=0x^2 + 3x + 2 = 0x2+3x+2=0

Relationship

Between a function and its derivatives

Between variables and constants

Solution Type

A function or a class of functions

A number or a set of numbers (values)

Example Solution

y(x)=eβˆ’3xy(x) = e^{-3x}y(x)=eβˆ’3x or y(x)=exy(x) = e^xy(x)=ex

x=βˆ’2x = -2x=βˆ’2 or x=βˆ’1x = -1x=βˆ’1

For instance, solving the algebraic equation x2+3x+2=0x^2 + 3x + 2 = 0x2+3x+2=0 involves factoring to (x+2)(x+1)=0(x+2)(x+1) = 0(x+2)(x+1)=0, leading to numerical solutions x=βˆ’2x = -2x=βˆ’2 and x=βˆ’1x = -1x=βˆ’1.


βœ… Verifying Solutions to a Differential Equation

Let's verify that specific functions are indeed solutions to our example differential equation: yβ€²β€²+2yβ€²=3yy'' + 2y' = 3yyβ€²β€²+2yβ€²=3y.

🎯 Solution 1: y1(x)=eβˆ’3xy_1(x) = e^{-3x}y1​(x)=eβˆ’3x

To verify this, we need to find its first and second derivatives and substitute them into the differential equation.

  1. First Derivative:

    Using the chain rule, if y1(x)=eβˆ’3xy_1(x) = e^{-3x}y1​(x)=eβˆ’3x, then y1β€²(x)=βˆ’3eβˆ’3xy_1'(x) = -3e^{-3x}y1′​(x)=βˆ’3eβˆ’3x.

    • The derivative of the exponent βˆ’3x-3xβˆ’3x is -3.

    • The derivative of eue^ueu is euβ‹…uβ€²e^u \cdot u'euβ‹…uβ€².

  2. Second Derivative:

    Again, using the chain rule, y1β€²β€²(x)=(βˆ’3)(βˆ’3)eβˆ’3x=9eβˆ’3xy_1''(x) = (-3)(-3)e^{-3x} = 9e^{-3x}y1′′​(x)=(βˆ’3)(βˆ’3)eβˆ’3x=9eβˆ’3x.

  3. Substitution into the Differential Equation:

    Substitute y1y_1y1​, y1β€²y_1'y1′​, and y1β€²β€²y_1''y1′′​ into yβ€²β€²+2yβ€²=3yy'' + 2y' = 3yyβ€²β€²+2yβ€²=3y:

    (9eβˆ’3x)+2(βˆ’3eβˆ’3x)=3(eβˆ’3x)(9e^{-3x}) + 2(-3e^{-3x}) = 3(e^{-3x})(9eβˆ’3x)+2(βˆ’3eβˆ’3x)=3(eβˆ’3x)

    Simplify the left side:

    9eβˆ’3xβˆ’6eβˆ’3x=3eβˆ’3x9e^{-3x} - 6e^{-3x} = 3e^{-3x}9eβˆ’3xβˆ’6eβˆ’3x=3eβˆ’3x

    3eβˆ’3x=3eβˆ’3x3e^{-3x} = 3e^{-3x}3eβˆ’3x=3eβˆ’3x

    Since both sides are equal, y1(x)=eβˆ’3xy_1(x) = e^{-3x}y1​(x)=eβˆ’3x is indeed a solution to the differential equation.

🎯 Solution 2: y2(x)=exy_2(x) = e^xy2​(x)=ex

Let's follow the same process for a second potential solution.

  1. First Derivative:

    If y2(x)=exy_2(x) = e^xy2​(x)=ex, then y2β€²(x)=exy_2'(x) = e^xy2′​(x)=ex. The exponential function is unique in that its derivative is itself.

  2. Second Derivative:

    y2β€²β€²(x)=exy_2''(x) = e^xy2′′​(x)=ex.

  3. Substitution into the Differential Equation:

    Substitute y2y_2y2​, y2β€²y_2'y2′​, and y2β€²β€²y_2''y2′′​ into yβ€²β€²+2yβ€²=3yy'' + 2y' = 3yyβ€²β€²+2yβ€²=3y:

    (ex)+2(ex)=3(ex)(e^x) + 2(e^x) = 3(e^x)(ex)+2(ex)=3(ex)

    Simplify the left side:

    3ex=3ex3e^x = 3e^x3ex=3ex

    Since both sides are equal, y2(x)=exy_2(x) = e^xy2​(x)=ex is also a solution to the differential equation.

These examples demonstrate that differential equations often have multiple solutions, forming a class of functions rather than a single unique function. This concept will be further explored to understand the nature and techniques for solving differential equations.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent