Section 8.1 Intro to Differential Equations
Find a function \(y\) with the property:
- \begin{equation*} y' = y \text{ or } \dfrac{dy}{dx} = y \end{equation*}
Note 8.1.1.
\(y = e^x\) works, in fact \(y = C \cdot e^x\) works for any constant \(C\text{.}\) This is called the "general" solution. - \begin{equation*} y'' = -y \text{ or } \dfrac{d^2y}{dx^2} = -y \end{equation*}
Note 8.1.2.
\(y = \sin(x)\) works -- so does \(y = \cos(x)\text{.}\) The general solution for this eqation is\begin{equation*} y = A\sin(x) + B\cos(x) \end{equation*}for any constant \(A\) and \(B\text{.}\)
A differential equation is an equation involving one or more derivatives for an unknown function. The order of a differential equation is the order of the highest dervative it contains.
D.E.
Order
\(\dfrac{dx}{dy} - 4xy = 3x^5\)
1
\(y'' + 2xy' - e^x = 0\)
2
\(\dfrac{d^3y}{dx^3} + 4x\dfrac{d^2y}{dx^2} + \cos(x)\dfrac{dy}{dx} + y = 7\)
3
A function \(y = y(x)\) is called a solution of a differential equation if the equation is satisfied when \(y\) and its derivatives are substituted into the equation. Example: check that \(y = e^{5x}\) is a solution to the DE \(\dfrac{dy}{dx} - 4y = e^{5x}\text{.}\)
Subsection 8.1.1 Initial Value Problems
Solve the following DE
subject to the condition that \(y(5) = 17\) (this is known as the initial condition).
-
integrate both sides with respect to x (this is the gereral solution)
\begin{equation*} y = x^2 - 3x + c \end{equation*} -
we need \(y(5) = 17\) so we can rewrite as:
\begin{align*} y(5) \amp = 5^2 - 3(5) + C\\ 17 \amp = 25 - 15 + C\\ 17 \amp = 10 + C\\ C \amp = 7 \end{align*} so, \(y(x) = x^2 - 3x + 7\)
An initial value problem is just a DE with an initial condition.
Subsection 8.1.2 Seperable Differential Equations
A first order DE is said to be seperable if it can be written in the form
for some functions \(G\) and \(H\text{.}\)
Seperable DE's are nice because there is a simple method we can use to find the solution. Solve the following seperable DE: Now solve for the initial condition \(y(0) = 1\text{:}\) So the final answer is \(y(x) = \dfrac{1}{2x^2 + 1}\)
Example 8.1.1.