Difference between revisions of "Calc3.9"

From Conservapedia
Jump to navigation Jump to search
Line 24: Line 24:
 
===Separable Equations===
 
===Separable Equations===
  
−
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.
+
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>.
 +
 
 +
We can rewrite this
 +
 
 +
<math>y^2\frac{dy}{dx}-\cos(x)=1</math>
 +
 
 +
and separate it as
 +
 
 +
<math>y^2dy=(1+\cos(x))dx \ </math>
 +
 
 +
Now it's a simple matter of integrating!
 +
 
 +
<math>\int y^2dy=\int (1+\cos(x))dx</math>
 +
 
 +
<math>\frac{y^3}{3}+c=x+\sin(x)</math>
 +
 
 +
which is an implicit equation with explicit solution
 +
 
 +
<math>y=\sqrt[3]{3x+3\sin(x)+c}</math>
 +
 
 +
where we change the arbitrary constant ''c''.
  
 
===Second-Order Equations===
 
===Second-Order Equations===

Revision as of 23:05, February 26, 2010

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

We can immediately solve some of the most basic equations, such as , where k is a constant, from our knowledge of the basic derivatives.

Separable Equations

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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y^2y'-\cos(x)=1} .

We can rewrite this

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y^2\frac{dy}{dx}-\cos(x)=1}

and separate it as

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y^2dy=(1+\cos(x))dx \ }

Now it's a simple matter of integrating!

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int y^2dy=\int (1+\cos(x))dx}

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{y^3}{3}+c=x+\sin(x)}

which is an implicit equation with explicit solution

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\sqrt[3]{3x+3\sin(x)+c}}

where we change the arbitrary constant c.

Second-Order Equations

Non-homogeneous Equations

Infinite Series

Keeping in mind how many functions can be represented with infinite sums created with Taylor series, we stop narrow-mindedly assuming a function is some combination of functions we're familiar with, and instead just assume it has an infinite series representation.

For example, let's solve Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y''-xy'+x^2y=e^x} by assuming there exists Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_n} such that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\sum_{n=0}^\infty a_nx^n} . Then our differential equation becomes

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (2a_2+(3)(2)a_3x+(4)(3)a_4x^2+\dots)-x(a_1+2a_2x+3a_3x^2+\dots)+x^2(a_0+a_1x+a_2x^2+\dots) = 1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\dots}

Grouping like terms, we have

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (2a_2)+(6a_3-a_1)x+(12a_4-2a_2+a_0)x^2 + \dots }

so that for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n\geq 2} , the coefficient of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^n} on the right hand side is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (n+1)(n+2)a_{n+2}-na_n+a_{n-2}} . So we need only set this equal to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1/(n!)} to find an infinite series representation of our solution. If we're given the values of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y(0), y'(0)} , as we frequently are in applications (remember what we said about having two "degrees of freedom" in a DEQ involving second-order derivatives?) we can solve this completely. Let's say Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y(0)=0, y'(0)=1} . We have

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_0=0 \ } Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_1=1 \ } Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_2 = 1/2 \ } , since Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2a_2=1 \ } Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_3 = 1/3 \ } , since Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 6a_3-a_1=1 \ } and so on.

This method may not seem particularly useful. After all, unless we can find a closed form solution for the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_n} , we are going to have to keeping solving this linear equations in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_n} forever to get the solution. However, it may happen, on occasion, that we can find such a closed form representation. Or, it may happen that we find no closed form, but recognize it as similar or equivalent to a function which has been studied for decades or centuries, so that all the properties we wish to know about are easily available to us. Or, we may not care about a closed form - near 0, those higher powers will become very small, and a low-order approximation becomes highly accurate.

Functional Transformations