Introduction to Differential Equations and Numerical Methods
Verifying Solutions to Differential Equations
A differential equation involves a function and one or more of its derivatives. To check if a given expression is a solution, one must determine the necessary derivatives and substitute them into the original equation.
Example Verification:
- Given differential equation:
- Possible solution:
- First derivative ():
- Using the chain rule:
- Result:
- Second derivative ():
- Result:
- Substitution and Simplification:
- Term 1 ():
- Term 2 ():
- Term 3 ():
- Summation of exponents:
- terms:
- terms:
- terms:
- Result: . This expression is indeed a solution to the differential equation.
The Order of Differential Equations
The order of a differential equation is defined as the highest order of derivative that appears in the equation. This is analogous to the degree of a polynomial, which is the highest power found within it.
Examples of Order:
- : This contains only a first derivative, making it a first-order differential equation.
- : The highest derivative is the second derivative, making it a second-order differential equation.
- An equation containing is a third-order differential equation.
Notation for Higher Orders:
- Beyond high orders (typically after the third derivative), the use of apostrophes/primes becomes impractical (e.g., writing ten apostrophes for the tenth derivative).
- Instead, higher derivatives are written with a superscript in parentheses, such as for the fourth derivative or for the tenth derivative.
- Context is usually sufficient to distinguish these from powers (e.g., ). In differential equations, one would not typically take a negative derivative or a fractional derivative (like a half-derivative) in this context.
General vs. Particular Solutions
A general solution contains an arbitrary constant, usually denoted as . This constant represents the fact that many different functions can satisfy the same relationship between derivatives, because the derivative of a constant is zero.
A particular solution is a specific function that solves the equation and satisfies a given set of conditions, where a specific value for has been determined.
Examples:
- For the equation , the solution is a solution, but so is .
- The general solution is , where the value of is not yet chosen.
- A particular solution might be .
Initial Value Problems (IVP)
When a differential equation is accompanied by a condition, such as a requirement that the solution function passes through a specific point , it is called an initial value problem.
Initial conditions help model real-world situations where the starting state is known (e.g., position at time , temperature at start time).
Example: Solving through point
- Step 1 (General Solution): Integrate both sides to find the antiderivative: .
- Step 2 (Particular Solution): Substitute the point inputs (, ) to find .
- Particular Solution: .
Example: Anti-derivative for passing through
- Antiderivative: .
- Substitute values: .
- Particular Solution: .
Further Verification Example:
- Equation: with initial condition .
- Possible solution: .
- Check condition: . Satisfied.
- Check derivative: .
- Plug into equation: .
- . (Note: There was a adjustment in calculation during the session; the goal was to verify if the function satisfies the specific differential relationships provided).
Physics Application: Gravity and Motion
This modeling utilizes the relationships between acceleration, velocity, and position via derivatives and integrals.
- Velocity is the derivative of position . ().
- Acceleration is the derivative of velocity . ().
Scenario: A baseball () is thrown upward from a height of with an initial velocity of . Gravity is the only force ().
Step 1: Finding Velocity
- Antiderivative: .
- Initial velocity .
- Velocity function: .
- Velocity at : . (The ball is moving downward).
Step 2: Finding Position
- Antiderivative: .
- Initial height .
- Position function: .
Note: For this calculation, the mass () of the ball is irrelevant to finding the position and velocity in a vacuum (gravity-only) scenario.
Direction Fields (Slope Fields)
When an explicit solution is difficult to find, numerical or graphical methods provide insight. A direction field is a graph consisting of small arrows representing the slope of the tangent line () at various points .
Mechanism:
- The output of the differential equation describes the slope of the tangent line at that point.
- Arrows track where the curve is moving. If a curve passes through a point, it must follow the direction of the arrow at that point.
Dependences:
- If the equation involves only (e.g., ), the slopes are consistent across all values for a fixed . These are often seen in fluid dynamics or population modeling.
- If the equation involves both and (e.g., ), every point must be calculated individually.
Equilibrium Solutions:
- An equilibrium solution occurs when the derivative is zero for all , resulting in a constant horizontal line solution.
- Example: .
- Setting yields horizontal solutions at and .
- While also makes the derivative zero, it represents a vertical line, which is not a function and therefore not a valid solution for .
Euler's Method (Numerical Approximation)
Euler's Method uses linear approximations to estimate points on a solution curve when an antiderivative cannot be found.
Formula for Linearization: .
Example Process ( starting at ):
- 1. Calculate the initial slope: .
- 2. Define the linearization function at this point: .
- 3. Take a small step ( or ) to a new value, e.g., from to .
- 4. Estimate the new value: .
- 5. Use the new point to find a new slope for the next step:
- .
- 6. Rebuild the linearization: .
- 7. Continue this process iteratively to follow the curve.
Critical Observations:
- The accuracy of Euler's method depends on the step size. Smaller steps lead to better estimations but more calculations.
- It is an estimation off of an underestimation/overestimation, meaning it can accumulate error as you move further from the starting point.
Questions & Discussion
Question: How do you make the notation for the fourth derivative unique from a power?
Response: In the context of differential equations, parentheses are used around the superscript, like . Furthermore, context usually clarifies it because it is unlikely a specific power would be present without indicating a derivative in this curriculum. One wouldn't typically have something like a "half-derivative" in this basic context either.
Question: Is the initial point irrelevant in the slope field verification problem?
Response: No, the initial condition was satisfied earlier in that problem (). Often, constants are absorbed into other functions during integration, so the point remains necessary to ensure the solution is particular to the given scenario.