| Line 19: |
Line 19: |
| | Frequently we encounter equations in which we are solving for a function instead of a number. If such an equation involves an unknown function as well as its derivatives, it is called a '''differential equation'''. These equations have numerous applications in a variety of fields, including physics, engineering, chemistry, and biology. In this lecture, we will dipping our toes into the theory of ordinary differential equations, which means differential equations in which the unknown function(s) involves only one variable. | | Frequently we encounter equations in which we are solving for a function instead of a number. If such an equation involves an unknown function as well as its derivatives, it is called a '''differential equation'''. These equations have numerous applications in a variety of fields, including physics, engineering, chemistry, and biology. In this lecture, we will dipping our toes into the theory of ordinary differential equations, which means differential equations in which the unknown function(s) involves only one variable. |
| | | | |
| − | ==The Basics==
| + | =The Basics= |
| | We can immediately solve some of the most basic equations, such as <math>y'=ky</math>, where ''k'' is a constant, from our knowledge of the basic derivatives. | | We can immediately solve some of the most basic equations, such as <math>y'=ky</math>, where ''k'' is a constant, from our knowledge of the basic derivatives. |
| | | | |
| − | ===Integrable Equations===
| + | ==Integrable Equations== |
| | | | |
| | The easiest differential equations to solve, at least in theory, are those where we can manipulate the equation algebraically to get <math>y'</math> on one side and some expression only involving ''x'' and constants on the other side. Then, we can just integrate both sides to get ''y''. Integrable equations may not be presented in this format right away; often times, some manipulation is required to reach an integrable format. Take a look at <math>xy' -2x^2 =1 \ </math>. We can manipulate this to get | | The easiest differential equations to solve, at least in theory, are those where we can manipulate the equation algebraically to get <math>y'</math> on one side and some expression only involving ''x'' and constants on the other side. Then, we can just integrate both sides to get ''y''. Integrable equations may not be presented in this format right away; often times, some manipulation is required to reach an integrable format. Take a look at <math>xy' -2x^2 =1 \ </math>. We can manipulate this to get |
| Line 37: |
Line 37: |
| | | | |
| | as expected. | | as expected. |
| − | ===Separable Equations===
| + | ==Separable Equations== |
| | | | |
| | Most equations are not integrable. But sometimes, we're very lucky, and we find that we separate the ''dy'' and the ''dx'' from each other, and that we can arrange the equation such that only terms of ''y'' appear on one side, and only terms of ''x'' on the other. Let's do an example of this by solving <math>y^2y'-\cos(x)=1 \ </math>. | | Most equations are not integrable. But sometimes, we're very lucky, and we find that we separate the ''dy'' and the ''dx'' from each other, and that we can arrange the equation such that only terms of ''y'' appear on one side, and only terms of ''x'' on the other. Let's do an example of this by solving <math>y^2y'-\cos(x)=1 \ </math>. |
| Line 62: |
Line 62: |
| | | | |
| | Not all separable equations are this obviously separable; sometimes much manipulation is needed to get it into a separable form. | | Not all separable equations are this obviously separable; sometimes much manipulation is needed to get it into a separable form. |
| − | ===Second-Order Equations=== | + | ==First-Order Equations== |
| | + | |
| | + | ===Constant Co-efficients=== |
| | + | |
| | + | ===Variable Co-efficients=== |
| | + | ==Second-Order Equations== |
| | | | |
| | A second order equation is an equation which contains a <math>y'' \ </math> term, but no higher derivatives. We will consider only ''linear'' equations for now: this means that the coefficients of the derivatives of ''y'' do not contain terms in ''y''. | | A second order equation is an equation which contains a <math>y'' \ </math> term, but no higher derivatives. We will consider only ''linear'' equations for now: this means that the coefficients of the derivatives of ''y'' do not contain terms in ''y''. |
| | | | |
| − | ====Homogenous, Constant Co-efficients==== | + | ===Constant Co-efficients=== |
| | When we solved <math>y'+ay=0 \ </math>, we found that <math>y=e^{-ax} \ </math> was a solution. Note that <math>-a=t \ </math> is a root of the equation <math>t+a=0 \ </math>. Therefore, it makes sense to suppose that solutions of the equation <math>y''+ay'+by=0 \ </math> may be found with <math>y=e^{r_1x}, y=e^{r_2x} \ </math>, where <math>t=r_1, r_2 \ </math> are roots of the equation <math>t^2+at+b=0 \ </math>. Let ''r'' represent a specific root (either the first or second), and observe: | | When we solved <math>y'+ay=0 \ </math>, we found that <math>y=e^{-ax} \ </math> was a solution. Note that <math>-a=t \ </math> is a root of the equation <math>t+a=0 \ </math>. Therefore, it makes sense to suppose that solutions of the equation <math>y''+ay'+by=0 \ </math> may be found with <math>y=e^{r_1x}, y=e^{r_2x} \ </math>, where <math>t=r_1, r_2 \ </math> are roots of the equation <math>t^2+at+b=0 \ </math>. Let ''r'' represent a specific root (either the first or second), and observe: |
| | | | |
| Line 93: |
Line 98: |
| | Obviously, <math>y=e^{rx} \ </math> will still be a solution, but is there a second solution, as there was before? | | Obviously, <math>y=e^{rx} \ </math> will still be a solution, but is there a second solution, as there was before? |
| | | | |
| − | ====Homogenous, Variable Co-efficients==== | + | ===Variable Co-efficients=== |
| | + | |
| | + | |
| | + | |
| | + | =Non-homogeneous Equations= |
| | | | |
| − | ==Non-linear Equations==
| |
| − | In contrast to linear equations, the theory of nonlinear equations is a wide open field, and methods of solution rely much more guesswork and ad-hoc methods. We examine two such methods here.
| |
| | | | |
| | ===Infinite Series=== | | ===Infinite Series=== |