MATH 308 Lecture 2

From Notes
Jump to navigation Jump to search

« previous | Wednesday, January 16, 2013 | next »

Lecture Notes


Exercise 4

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} p'(t) &= 0.03 p(t) \\ \frac{p'(t)}{p(t)} &= 0.03 \\ \ln{\left(p(t)\right)} &= 0.03t + C \\ p(t) &= \mathrm{e}^{0.03t + C} \\ &= \mathrm{e}^C \, \mathrm{e}^{0.03t} \\ &= A\,\mathrm{e}^{0.03t} \end{align}}

This is called the general solution

Given intial condition 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(0) = 200} , we can find particular values for the unknown constants in the general solution:

This unique solution is called the particular solution


In Maple, you can solve Diff Eq's as follows:

> eq1 := p'(t) = 0.03*p(t);
> dsolve(eq1, p(t));               # Gives general solution
> dsolve({eq1, p(0) = 200}, p(t)); # Gives particular Solution


Exercise 5

Show that is a solution to .

Therefore, is a solution.


Find a solution that satisfies the initial condition and .

Direction Fields

Works for first-order differential equations only!

Example:

To plot in Maple:

> with(DETools):
> DEplot(D(y)(x) = x^2-y(x)^2, y(x), x=-10..10, y=-10..10);
MATH 308 Example Direction Field.png

A solution has a horizontal tangent at if , so for , the direction field lines are horizontal.

Are these values minima, maxima, or inflection points? Use second derivative test

  • 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 x \ge 0} , it's a local minimum
  • 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 x \le 1} , it's a local maximum
  • 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 x = 0} , we don't know

Particular solutions can be plotted in the direction fields:

> with(DETools):
> DEplot(D(y)(x) = x^2-y(x)^2, y(x), x=-10..10, y=-10..10, [[0,1], [1,-0.5], [-1,-2], [-3,0]], linecolor=blue);
MATH 308 Example Direction Filed with Particular Solutions.png


Until Next Time