Difference between revisions of "Direct Integration"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
(Created page with "==The Method of Direct Integration== The simplest differential equations to solve are those in the form of <math>\frac{dy}{dt} = f(t)</math>. These differential equations can...")
 
 
Line 36: Line 36:
 
== Licensing ==  
 
== Licensing ==  
 
Content obtained and/or adapted from:
 
Content obtained and/or adapted from:
* [http://mathonline.wikidot.com/the-method-of-direct-integration The method of Direct Integration] under a CC BY-SA license
+
* [http://mathonline.wikidot.com/the-method-of-direct-integration The Method of Direct Integration, mathonline.wikidot.com] under a CC BY-SA license

Latest revision as of 23:31, 17 November 2021

The Method of Direct Integration

The simplest differential equations to solve are those in the form 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 \frac{dy}{dt} = f(t)} . These differential equations can be solved by directly integrating both sides to get that for any antiderivative and for as a constant we have that:

For example, suppose that we wanted to solve the differential equation . Then we have that for as a constant:

Another type of differential equation that can be solved by direct substitution are differential equation for which 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} and 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 b} are constants, in the following form:

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 \begin{align} \frac{dy}{dt} = ay + b \end{align}}

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 a \neq 0} and 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 \neq -\frac{b}{a}} we can rewrite the differential equation above 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 \begin{align} \frac{dy}{dt} = a\left (y + \frac{b}{a} \right) \\ \frac{\left ( \frac{dy}{dt} \right )}{y + \frac{b}{a}} = a \end{align}}

Notice that if 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 p(t) = \ln \bigg| y + \frac{b}{a} \bigg|} then 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{dp}{dt} = \frac{d}{dt} \ln \bigg| y + \frac{b}{a} \bigg| = \frac{\left ( \frac{dy}{dt} \right )}{y+ \frac{b}{a}}} and so 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 \begin{align} \quad \frac{d}{dt} \ln \bigg| y + \frac{b}{a} \bigg| = a \\ \quad \int \frac{d}{dt} \ln \bigg| y + \frac{b}{a} \bigg| \, dt = \int a \, dt \\ \quad \ln \bigg| y + \frac{b}{a} \bigg| = at + C \\ \quad \bigg| y + \frac{b}{a} \bigg| = e^{at + C} \\ \quad y + \frac{b}{a} = \pm e^{at + C} \\ \quad y = \pm e^{at + C} - \frac{b}{a} \\ \quad y = \pm e^{at}e^C - \frac{b}{a} \end{align}}

Generally, 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 C} is an arbitrary constant, we have 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 \pm e^C} is also an arbitrary constant which we will denote 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 D} , and hence, the solutions 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 \frac{dy}{dt} = ay + b} are given by 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 = De^{at} - \frac{b}{a}} . Notice that we must proceed with some caution, since we must check if 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 D = 0} yields a solution. In this case, since if 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 D = 0} then 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 = -\frac{b}{a}} which was omitted earlier. In most cases, 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 = -\frac{b}{a}} will be a solution to the differential equation.

Let's look at an example of using the method if direction integration described above.

Example 1

Find all solutions to the differential equation 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{dy}{dt} = 3y - 210} .

We will start by factoring the righthand side of this equation to get 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{dy}{dt} = 3(y - 70)} . We now divide both sides of this equation by 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 - 70} , and so 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 y \neq 70} we have rewritten the above differential equation 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 \begin{align} \quad \frac{\left ( \frac{dy}{dt} \right )}{y - 70} = 3 \end{align}}

Now we can rewrite our differential equation above as follows:

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 \begin{align} \quad \frac{d}{dt} \ln \mid y - 70 \mid = \frac{\frac{dy}{dt}}{\mid y - 70 \mid} \\ \quad \frac{d}{dt} \ln \mid y - 70 \mid = 3 \end{align}}

We have now reduced our original differential equation to the first type of differential equation we mentioned at the beginning of this page. We will now integrate both sides with respect 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 t} and apply the Fundamental Theorem of Calculus to get:

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 \begin{align} \quad \int \frac{d}{dt} \ln \mid y - 70 \mid \, dt = \int 3 \, dt \\ \quad \ln \mid y - 70 \mid = 3t + C \\ \mid y - 70 \mid = e^{3t + C} \\ y - 70 = \pm e^{3t + C} \\ y = 70 \pm e^{3t + C} \\ y = 70 \pm e^{3t}e^C \end{align}}

Cleaning up our solution, we get 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 = 70 + De^{3t}} , 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 D} as a constant (noting that if 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 D = 0} then 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 = 70} is a solution 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 \frac{dy}{dt} = 3y - 210} .

Licensing

Content obtained and/or adapted from: