Skip to main content
Mathematics LibreTexts

4: Problems from Math 2560/3600

  • Page ID
    136383
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Chapter 1: Introduction


    Section 1.1: Some Basic Mathematical Models; Direction Fields

    START 100/ch1and2a.tex part 1

    Calulus pre-requisites you must know.
      
    Derivative = slope of tangent line = rate.

      

    Integral = area between curve and x-axis (where area can be negative).

    ---

    The Fundamental Theorem of Calculus:  Suppose \(f\) continuous on \([a, b]\).
       
    1.)  If \(G(x) = \int_a^x f(t) dt\), then \(G'(x) = f(x)\).
    I.e.,  \({d \over dx[ \int_a^x f(t) dt] = f(x)\).}
     
    2.)   \(\int_a^b f(t) dt = F(b) - F(a)\) where \(F\) is any antiderivative of 
    \(f\), that is \(F' = f\).

    ---

    Integration Pre-requisites:

    * Integration by substitution

     * Integration by parts

    * Integration by partial fractions

    Note: Partial fractions are also used in ch 6 for a different application.

    ---


    Suppose \(f\) is cont. on \((a, b)\) and the
    point \(t_0 \in (a, b)\), 


    Solve IVP:~~~~~~~~ \({dy \over dt} = f(t)\),~~~~~
     \(y(t_0) = y_0\)

    \(dy = f(t)dt\)~~~~~~
    \(\int dy = \int f(t)dt\)~~~~~~
    \(y = F(t) + C\) where \(F\) is any anti-derivative of \(F\).
    Initial Value Problem (IVP):  \(y(t_0) = y_0\)
    \(y_0 = F(t_0) + C\)  implies \(C = y_0 - F(t_0)\)


    Hence unique solution (if domain connected) to IVP: 
    \(y = F(t) + y_0 - F(t_0)\)

     fill
    1.1:  Examples of differentiable equation:

     
    1.)  \(F = ma = m {dv \over dt} = mg - \gamma v\)
     

    2.)  Mouse population increases at a rate proportional to the current population:

     fill

    More general model :  \({dp \over dt} = rp - k\) \hfil \break
    where \(p(t)\) = mouse population at time \(t\),\hfil \break
     \(r\) = growth rate or rate constant, \hfil \break
     \(k=\) predation rate = \# 
    mice killed per unit time.


    3.)  Continuous compounding \({dS \over dt} = rS + k\) \hfil \break
    where \(S(t) =\) amount of money at time \(t\), \hfil \break
     \(r\) = interest rate, \hfil \break
     \(k=\) constant deposit rate 

    direction field = slope field = graph of \({dy \over dt}\) in \(t, y\)-plane.


    *** can use slope field to determine behavior of \(y\) including as $t 
    \rightarrow \pm\infty$.

    *** Equilibrium Solution = constant solution

    Most differential equations do not 
     have an equilibrium solution.

    Initial value:  A chosen point \((t_0, y_0)\) \hb
    through which a solution must pass.  \hb
    I.e.,  \((t_0, y_0)\) lies on the graph of \hb
     the solution that satisfies this \hb
    initial value.

    Initial value problem (IVP):  A differential equation where initial value is specified.

    An initial value problem can have 0, 1, or multiple equilibrium solutions.


    ************Existence of a solution*************
     


    ************Uniqueness of solution*************

    \end

    START 100/exam1review.tex part 1

    direction field = slope field = graph of \({dv \over dt}\) in \(t, v\)-plane.
     

    *** can use slope field to determine behavior of \(v\) including as $t 
    \rightarrow \infty$.
     


     

    Equilibrium Solution = constant solution
     

    stable, unstable, semi-stable.


    {

    \end

    START 100/partialfrac.tex


    Linear algebra pre-requisites you must know.


    \({\bf b_1, ..., b_n}\) are linearly independent if 
    \u

    $c_1{\bf b_1} + c_2{\bf b_2} + ... + c_n{\bf b_n}  = 
    d_1{\bf b_1} + d_2{\bf b_2} + ... + d_n{\bf b_n}$ 

    implies
    \(c_1 = d_1\), \(c_2 = d_2\)..., \(c_n = d_n\).

    or equivalently,
     
    \({\bf b_1, ..., b_n}\) are linearly independent if
    \u

    \(c_1{\bf b_1} + c_2{\bf b_2} + ... + c_n{\bf b_n}  = 0\) 
    implies \(c_1 = c_2 = ... c_n\).

      

    Example 1:
    \({\bf b_1} = (1, 0, 0)\), \({\bf b_2} = (0, 1, 0)\), \({\bf b_3} = (0, 0, 1)\).
     

    \((1, 2, 3) \not= (1, 2, 4)\).

     
    If \((a, b, c) = (1, 2, 3)\) then \(a = 1\), \(b = 2\), \(c = 3\).

      
    Example 2:
    \({\bf b_1} = 1\), \({\bf b_2} = t\), \({\bf b_3} = t^2\).
     
    \(1 + 2t +  3t^2 \not= 1 + 2t +  4t^2\).
     

    If \(a + bt +  ct^2 = 1 + 2t + 3t^2\) then \(a = 1\), \(b = 2\), \(c = 3\).

    Application:  Partial Fractions

    \({ 4\over (x^2 + 1)(x - 3) = {Ax + B \over x^2 + 1} + {C \over x - 3}\)}

    If you don't like denominators, get rid of them:

    \(\hskip .7in  {4 = (Ax + B)(x-3) + C(x^2 + 1) }\)

     
    \( {4 = Ax^2 + Bx - 3Ax - 3B + Cx^2 + C\)}
     
    \({4 = (A + C)x^2 + (B - 3A)x - 3B + C \)}

    I.e., \(0x^2 + 0x + 4 = {(A + C)x^2 + (B - 3A)x - 3B + C }\)

    Thus \(0 = A + C\),\hfill \(0 = B - 3A\), \hfill ~~\(4 = -3B + C\).  

    \(C = -A\), \hfil  ~\(B = 3A\),\hfill 
     \(4 = -3(3A) + -A\) \(\Rightarrow\) \(4 = -10A\). 

    Hence $A = -{2 
    \over 5}\(, \)B = 3(-{2 
    \over 5}) = -{6 \over 5}\(, \)C = {2 \over 5}$.
     
    Thus,
    ${ 4\over (x^2 + 1)(x - 3) 
    = {-{2 \over 5}x  - {6 \over 5} \over x^2 + 1} + {{2 \over 5} \over 
    x - 3}$}

    \hskip 1.65in = {${-{2}x - {6} \over 5(x^2 + 1)} + {{2} \over 
    5(x - 3)}$}

     fill fill fill fill

    Alternatively, can plug in \(x = 3\) to quickly find \(C\) and then solve for \(A\) and \(B\).  Can also use matrices to solve linear eqns.

    \end

    START 100/SPRING15/quiz1Answers.tex part 1

    [10]~ 1.)  Draw the direction field for \(y' = y^2 - 1\)


    \end

    START 100/FALL18/quiz1_2018ans.tex part 1

    \nopagenumbers

    Quiz 1 ~~~SHOW ALL WORK\hfil \break
    Sept 7, 2018

    [10]~ 1.)  Draw the direction field for \(y' = (y + 1)(y-3)\)

    \hskip 2in
    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}}

    Click on 9/10 date for solution:


    \end

    START 100/FALL16/e1_Fall2016ANS.tex part 1

    \nopagenumbers


    Math 3600 Differential Equations Exam \#1
                                   Sept 30, 2016 \hfill  SHOW ALL
    WORK
    ~~~

    [10] ~1a.)  Draw the direction field for the following differential equation: 
     
    \(y' = (y -2)(y + 1)^2\)
     
    \includegraphics[width=41ex]{exam1figure.pdf}

    [4] ~1b.)  On the direction field above, draw the solution  to the above differential equation  that satisfies the initial condition \(y(1) = 0\).

    [6]~ 1c.)  Does the  differential equation whose direction field is given above have any equilibrium solutions?  If so, state whether they are stable, semi-stable or unstable.

    Equilibrium solution = constant solution, \(y = c\) and thus \(y' = 0\)

    \((y -2)(y + 1)^2 = 0\) implies \(y = 2, -1\)

    \(y = 2\) is unstable, while \(y = -1\) is semi-stable.

    [20]~ 4.)  

    \includegraphics[width=48ex]{exam1fig.pdf}

    4a.)  Circle the differential equation whose direction field is given above.

    i.)  \(y' = y^2\)
    \hfil
    ii.) \(y' = (y+2)^2\)
    \hfil 
    iii.)  \(y' = y(y+2)^2\)

    iv.) \(y' = y(y+2)\)
    \hfil 
    v.) 
    \(y'  = {y \over y+2}\)~~~~~~~~~~~~~
    \hfil 
    vi.) 
    \(y'  = {y +2 \over y}\)~~~~~~~~~~~~~

    vii.) \(y'  = {y^{2} \over t}\)
    \hfil 
    viii.) \(y'  = t qrt{y} \)~~~~~~~
    \hfil 
    ix.) 
    \(y'  = {t  y^{2}}\)~~~~~~~~~

    4b.)  Draw the solution to the differential equation  whose direction field is given above that satisfies the initial condition \(y(1) = -3\).

    4c.)  Does the  differential equation whose direction field is given above have any equilibrium solutions?  If so, state whether they are stable, semi-stable or unstable.

    \end

    START 100/FALL18/e1_Fall2018ansOLD.tex part 1

    \nopagenumbers

    Math 3600 Differential Equations Exam \#1
                                   Sept 26, 2018 \hfill  SHOW ALL
    WORK
    ~~~

    [10] ~1a.)  Draw the direction field for the following differential equation: 
    {\(y' = y(2-y )\)}
    \includegraphics[width=30ex]{grapht-eps-converted-to.pdf}
    [4] ~1b.)  On the direction field above, draw the solution  to the above differential equation  that satisfies the initial condition \(y(0) = 1\).

    ~~~~~Note the solution satisfying the initial condition \(y(0) = 1\) must pass thru the initial value (0, 1).

    [6]~ 1c.)  Does the  differential equation whose direction field is given above have any equilibrium solutions?  If so, state whether they are stable, semi-stable or unstable.

    ~~~~~An equilibrium solution is a constant solution, \(y = C\).  
    ~~~~~The graph of a constant solution, \(y= C\) is a horizontal line.
    ~~~~~\(y = 2\) is stable and
    \(y = 0\) is unstable

    \end

    START 100/SPRING13/e1_2013ANS.txt part 1

    \nopagenumbers

    Math 100 Differential Equations Exam \#1
                                   February 27, 2013 \hfill  SHOW ALL
    WORK
    ~~~

    [10]~ 1.) By giving a specific example, prove that \(f: R \rightarrow R, ~f(x) = e^x\) is not onto.

    Answer 1:  We know that \(e^x > 0\) for all \(x\).  Thus there is no \(x\) such that \(f(x) = e^x = -1\).  Hence -1 is not in the image of \(f\).

    Answer 2:  Suppose \(f(x) = -1\).  Then \(e^x = -1\).  But then \(x = ln(-1)\).  But \(ln(-1)\) is not defined.  Thus -1 is not in the image of \(f\).

    [15]~ 3.)  Draw the direction field for \(y' = {1 \over 2}y + 1\).  Determine if there are any equilibrium solutions.  If so,  determine if the equilibrium solution(s) are stable, unstable or semi-stable.

    Equilibrium solution = constant solution.  Thus \(y' = 0\).  

    \( {1 \over 2}y + 1 = 0\) implies \( {1 \over 2}y = -1\).  Thus \(y = -2\) is the equilibrium solution.  

    \end

    START 34/FALL03/finalexamANS.txt part 1

    \nopagenumbers


    Math 34 Differential Equations Final Exam
                                   December 15, 2003 \hfill  SHOW ALL
    WORK
    ~

    [10]~ 7.)  Draw the direction field for the differential equation \(y' = (y-2)(y + 2)\).  
    Based on
    the direction field, determine the behavior of \(y\) as \(t \rightarrow \infty\).  If this behavior 
    depends on the initial value of \(y\) at \(t=0\), describe this dependency.

    If \(y(0) > 2\), then \(lim_{t \rightarrow \infty} y(t) = +\infty\)

    If \(y(0) = 2\) or \(-2\), then \(lim_{t \rightarrow \infty} y(t) = 2\)

    If \( y(0) < 2\), then \(lim_{t \rightarrow \infty} y(t) = -2\)

    \end

    START 34/FALL03/finalreviewANS2.txt part 1

    Note the following review problems DO NOT cover all problem types which may appear on the 
    final.  

    11.)  For each of the following, draw the direction field for the given differential equation.  
    Based on
    the direction field, determine the behavior of \(y\) as \(t \rightarrow \infty\).  If this behavior 
    depends on the initial value of \(y\) at \(t=o\), describe this dependency.


    11a.)  \(y' = y\)

    11a.)  \(y' = 1\)

    11a.)  \(y' = y(y + 4)\)

    \end

    START 100/SPRING15/e1_2016ans.tex part 1

    [20]~ 4.)  


    4a.)  Circle the differential equation whose direction field is given above.

    \hfil 
    v.) 
    \(y'  = {y \over y+2}\)~~~~~~~~~~~~~
    \hfil 


    4b.)  Draw the solution to the differential equation  whose direction field is given above that satisfies the initial condition \(y(1) = -3\)

    4c.)  Does the  differential equation whose direction field is given above have any equilibrium solutions?  If so, state whether they are stable, semi-stable or unstable.

    The constant solution \(y = 0\) is an unstable equilibrium solution.

    \end

    Section 1.2: Solutions of Some Differential Equations

    START 100/SPRING15/quiz1Answers.tex part 1

    [10]~ 2.)  Solve \(sin(t) y' + y cos(t) = 5\) 
     \hfil \break(hint:  this is a short problem if you are observant).

    \(sin(t) y' + y cos(t) = 5\)

     \((sin(t) y)'  = 5\)  
     
      \(\int (sin(t) y)' dt  = \int 5 dt\)  

     \( in(t) y = 5t + C\)  

     \( y  = {5t + C \over sin(t)}\)  

    START 100/FALL17/quiz1Fall2017Bans.tex part 1

    [14]~ 2.)  Solve and state where the solution is defined:  \(t^5y' + 5t^4y = {1 \over t}\)


    \(t^5y' + 5t^4y = {1 \over t}\)

    \((t^5y)' = {1 \over t}\)

    \(\int(t^5y)'dt = \int{1 \over t}dt\)

    \(t^5y = ln|t|+C\)

    \(y = t^{-5}(ln|t| + c)\)

    Solution:  \(\underline{y = t^{-5}(ln|t| + c)}\) 
    \hfill
    Domain:  \(\underline{t \not= 0 \hbox{ or equivalently } (-\infty, 0)\cup (0, \infty)}\) 

    \end{document}

    START 100/FALL17/quiz1Fall2017ans.tex part 1

    [14]~ 2.)  Solve and state where the solution is defined:  \(t^4y' + 4t^3y = {1 \over t}\)

    \(t^4y' + 4t^3y = {1 \over t}\)

    \((t^4y)' = {1 \over t}\)

    \(\int(t^4y)'dt = \int{1 \over t}dt\)

    \(t^4y = ln|t|+C\)

    \(y = t^{-4}(ln|t| + c)\)

    Solution:  \(\underline{y = t^{-4}(ln|t| + c)}\) 
    \hfill
    Domain:  \(\underline{t \not= 0 \hbox{ or equivalently } (-\infty, 0)\cup (0, \infty)}\) 

    \end

    Section 1.3: Classification of Differential Equations

    START 100/ch1and2a.tex part 2

    1.3:

    ODE (ordinary differential equation):  single independent variable

    ~~~Ex:  \({dy \over dt} = ay + b\)

    PDE (partial differential equation):  several independent variables

    ~~~Ex:  \({\partial xy \over \partial x} = {\partial xy \over \partial y}\)


    order of differential eq'n:  order of highest derivative
     

    example of order \(n\):  \(y^{(n)} = f(t, y, ..., y^{(n-1)})\)

    Linear vs Non-linear
     
    Linear:  \(a_0 y^{(n)} + ... + a_{n-1}y' + a_ny = g(t)\) 

    where \(a_i\)'s are functions of \(t\)

    Note for this linear equation, the left hand side is a linear combination of the derivatives of \(y\) (denoted by \(y^{(k)}, k = 0, ..., n\))  where the coefficient of  \(y^{(k)}\) is a function of \(t\) (denoted \(a_k(t)\)).

    Linear:  \(a_0(t) y^{(n)} + ... + a_{n-1}(t)y' + a_n(t)y = g(t)\)

    Determine if linear or non-linear:
     
    Ex:  \(t y'' - t^3y' - 3y = sin(t)\)
     
    Ex:  \( 2y'' - 3y' - 3y^2 = 0\)


    Show that for some value of \(r\), \(y = e^{rt}\) is a soln to the \(1^{rst}\) order linear homogeneous equation \(2y' - 6y = 0\).
    To show something is a solution, plug it in:
    ~~~\(y = e^{rt}\) implies \(y' = re^{rt}\). \hfill Plug into 
    \(2y' - 6y = 0\):
    ~~~\(2re^{rt} + 6e^{rt} = 0\) implies \(2r - 6 = 0\) implies \(r = {3}\)
    Thus \(y = e^{3t}\) is a solution to \(2y' - 6y = 0\).
    Show  \(y = Ce^{3t}\) is a solution to \(2y' - 6y = 0\).
    $2y' - 6y = 2(Ce^{3t})' - 6(Ce^{3t}) = 
    2C(e^{3t})' - 6C(e^{3t})$

     \rightline{ = 
    $C[2(e^{3t})' - 6(e^{3t})] = C(0) 
    =0$.}
    If \(y(0) = 4\), then \(4 = Ce^{3(0)} \) implies \(C = 4\).
     Thus by existence and uniqueness thm, \(y = 4e^{3t}\) is the unique solution to IVP: \(2y' + 6y = 0\),  \(y(0) = 4\).


    \end

    START 34/FALL10/quiz1ANS.tex

    SHOW ALL WORK
    ~~~

     1.)  Give an example of a linear differential equation:

    ~~~\(y' + y = 0\)  or \(sin(t)y y' + t^{1 \over 2} y = ln(t)/e^t\) or ...

     2.)  Give an example of a non-linear differential equation:

    ~~~\(y' y = 0 \) or ....

    3.)  From section 1.4, name one mathematician who studied differential equations OR one application (but not related to gravity) of
    differential equations.


    ~~~Newton or mechanics or ...


    4.)  Circle T for True or F for False:


    4a.) Numerical approximations for solutions to differential equations are often needed as the solutions 
    to most differential equations cannot be expressed algebraically.


    4b.)  If a computer is used to find a numerical approximation to a differential 
    equation, then we know the equation has at least one solution.


    \end

    START 100/FALL17/quiz1Fall2017ans.tex part 2

    \nopagenumbers

    Quiz 1 Form {\bf A}\hfil \break
    Sept 1, 2017

    1.) Determine the \underbar{order} of the given differential equations and also state whether the equation is  \underbar{linear or nonlinear}:


    [3]~ 1a.)  \(t + yy' = 1\) is a 
    \(\underline{first}\) order \(\underline{nonlinear}\) differential equation.


    [3]~ 1b.)  \(ty + y' = 1\) is a 
    \(\underline{first}\) order \(\underline{linear}\) differential equation.

    \end{document}

    \end 

    START 100/FALL17/quiz1Fall2017Bans.tex part 2

    \nopagenumbers

    Quiz 1 Form {\bf B}\hfil \break
    Sept 1, 2017

    1.) Determine the \underbar{order} of the given differential equations and also state whether the equation is  \underbar{linear or nonlinear}:


    [3]~ 1a.)  \(ty + y' = 1\) is a 
    \(\underline{first}\) order \(\underline{linear}\) differential equation.

    [3]~ 1b.)  \(t + yy' = 1\) is a 
    \(\underline{first}\) order \(\underline{nonlinear}\) differential equation.

    \end 


    Answer:\(\underline{~~ y  = {5t + C \over sin(t)}~~}\)
    \end 

    Chapter 2: First-Order Differential Equations


    Section 2.1: Linear Differential Equations; Method of Integrating Factors

    START 100/quiz2Fall2019Empty.tex part 1

    \nopagenumbers


    Quiz 2 Section 9*     ~~~~~~Sept 27, 2019


    [5]~ 1.)  Solve  the following first order linear differential equation:

     fill

    General Solution:  \(\underline{\hskip 3.3in}\) 

    We will cover the following next week

    1.) If \(\phi\) is a solution to a first order linear differential equation, then \(c\phi\) is also a 
    solution to this equation.
    \hfill   A)  True  \hfill  B)False \hfill ~~


    2.) If \(\phi\) is a solution to a first order linear homogeneous differential equation, then \(c\phi\) is 
    also a 
    solution to this equation.

    \hfill   A)  True  \hfill  B)False \hfill ~~


    3.) If \(\phi\) is a solution to a first order linear homogeneous differential equation with constant 
    coefficients, then \(c\phi\) is also a 
    solution to this equation.

    \hfill   A)  True  \hfill  B)False \hfill ~~

    ---

    \end

    START 100/FALL18/quiz2_2018ans.tex part 1

    Quiz 2 ~~~SHOW ALL WORK\hfil \break
    Sept 20, 2018

    [10]~ 1.) Solve \(ty' + (t+1) y = t\) \hfill (Compare to 2.1: 12)

    \(y' + {(t+1)\over t} y = 1\)

    $u(t) = e^{\int  {(t+1)\over t} dt } = e^{\int  (1+{1\over t}) dt } = 
    e^{t+ln| t|} = e^te^{ln| t|} = |t|e^{t}$.

    Let \(u(t) = te^t\)

    \( te^ty' + { e^t(t+1)} y =  te^t\)


    \( (te^ty)' =  te^t\) \hfill {\bf Check:}  \((te^ty)' =   te^ty' +  (e^t + te^t)y \) \hfill~\hfill~

    \( \int (te^ty)' =  \int te^t\) 

     integration by parts:

    ~~~~~\(u = t~~~~~~~~~dv = e^t\)  skip -9pt
    ~~~~~\(du = 1~~~~~~~v =e^t\)  skip -9pt
    ~~~~~\(d^2u = 0~~~~~\int v =e^t\)


    \( te^ty =  te^t - e^t + C\)  


    Thus \(y =  1 - t^{-1} + Ct^{-1}e^{-t}\)


    \hskip 1in
    Answer:\(\underline{~~y =  1 - t^{-1}e^t + Ct^{-1}e^{-t}~~}\) 

    START 100/FALL18/e1_Fall2018ansOLD.tex part 2

    Math 3600 Differential Equations Exam \#1
                                   Sept 26, 2018 \hfill  SHOW ALL
    WORK
    ~~~

    [20]~ 4.) Find the general solution to  \(ty' - 2y= t^3 e^t - 8\).  Also find the solution that passes thru the point (1, 3). 
    How does the solution passing thru (1, 3)
    behave as \(t \rightarrow \infty\)?


     \(ty' - 2y= t^3 e^t - 8\) implies  \(1y' + (-{2 \over t})y= t^2 e^t - 8 t^{-1}\). 


    Integrating factor:  \(u = e^{\int p(t)dt} = e^{\int -{2 \over t}dt } = e^{-2ln|t|} = e^{ln(|t|^{-2})} = t^{-2}\)

    Let \(u(t) = t^{-2}\)

     \(t^{-2}y'  -{2  t^{-3}}y=  e^t - {8 t^{-3}}\)

     \((t^{-2}y)'  =  e^t - {8 t^{-3}}\) \hfill {\bf Check: \((t^{-2}y)'  = t^{-2}y'  -{2  t^{-3}}y \) }

     \(\int (t^{-2}y)'dt  = \int( e^t - {8 t^{-3}})dt\)

     \(t^{-2}y  =  e^t + {4 t^{-2}}+C\)

     \(y  =  t^2e^t + {4}+Ct^2\)


    \(y(1) = 3\):  ~~ \(3  =  (1)^2e^1 + {4}+C(1)^2 = e + 4 + C\) 

    \(3  = e + 4 + C\).  Thus \(C = -1-e\)

    IVP soln:   
     \(y  =  t^2e^t + {4}+(-1-e)t^2\)

     \(y  =  t^2e^t + {4}-t^2-et^2\)

     \(y  =  t^2(e^t - e - 1) + {4}\)

     \(t \rightarrow +\infty\),  \(t^2 \rightarrow +\infty\) and  \(e^t\rightarrow +\infty\) and hence 
      \(e^t - e - 1\rightarrow +\infty\) .

    Thus  \(y  =  t^2(e^t - e - 1) + {4}\rightarrow +\infty\) 

     fill
    General solution: \(\underline{~~y  =  t^2e^t + {4+Ct^2~~}\)}
    IVP solution: \(\underline{~~ y  =  t^2(e^t - e - 1) + {4~~}\)}
     \(t \rightarrow \infty\),  \(y \rightarrow \underline{~~+\infty~~\)}


    \end

    Section 2.2: Separable Differential Equations

    START 100/ch1and2a.tex part 3

    CH 2:  Solve \({dy \over dt} = f(t, y)\) for special cases:
    2.2:  Separation of variables: \(N(y)dy = P(t)dt\)
    2.1:  First order linear eqn:  \({dy \over dt} + p(t)y = g(t)\)

    Ex 1:  \(t^2y' + 2ty = t sin(t)\)
     
    Ex 2:  \(y' = ay + b\)
     
    Ex 3:  \(y' + 3t^2y = t^2\), \(y(0) = 0\)
    Note:  can use either section 2.1 method (integrating factor) or 2.2 method (separation of variables) to solve ex 2 and 3.

    Ex 1:  \(t^2y' + 2ty = sin(t)\) \hfil \break
    (note, cannot use separation of variables).
    \(t^2y' + 2ty = sin(t)\)
    ~~~\( (t^2y)' = sin(t)\)
    ~~~implies~~~
    \( \int (t^2y)' dt = \int sin(t) dt\)
    \( (t^2y) = -cos(t) + C\)
    implies
    \( y = -t^{-2}cos(t) + Ct^{-2}\)


    Ex. 2:  Solve \({dy \over dt} = ay + b\) by separating variables:

    \({dy \over ay + b} = dt\)
    \(~~\Rightarrow~~\)
    \(\int {dy \over ay + b} = \int dt\)
    \(~~\Rightarrow~~\)
    \({ln|ay + b| \over a} = t + C\)


    \({ln|ay + b|} = at + C\)
    ~~~~~implies~~~~~
    \(e^{ln|ay + b|} = e^{at + C}\)


    \(|ay + b| = e^C e^{at}\)
    ~~~~~implies~~~~~
    \(ay + b = \pm(e^C e^{at})\)

    \(ay  = C e^{at} - b\)
    ~~~~~implies~~~~~
    \(y  = C e^{at} - {b \over a}\)


    Gen ex:  Solve \(y' + p(x)y = g(x)\)
    Let \(F(x)\) be an anti-derivative of \(p(x)\). %\hfil \break
    Thus \(p(x) = F'(x)\)
     
    \(e^{F(x)} y' + [p(x) e^{ F(x)} ] y = g(x)e^{F(x)}\)
     
    \(e^{F(x)} y' + [F'(x) e^{ F(x)} ] y = g(x)e^{F(x)}\)
     
    ~~~~~~\([e^{F(x)} y]' ~~= ~~g(x)e^{F(x)}\)
     

    \(e^{F(x)} y = \int g(x)e^{F(x)} dx\)
     
    \( y = e^{-F(x)} \int g(x)e^{F(x)} dx\)

    \end

    START 100/exam1review.tex part 2

    {\bf Solving first order differential equation:}

    Method 1 (sect. 2.2):  Separate variables.

    Method 2 (sect. 2.1):  If linear [\(y'(t) + p(t)y(t) = g(t)\)], multiply equation by 
    an integrating factor \hfil \break $u(t) = 
    e^{\int p(t)dt}$.  
    \(y' + py = g\)
    \(y'u + upy = ug\)

    \( (uy)' = ug\)

    \( \int(uy)' = \int ug\)

    \( uy = \int ug\)

    etc...

    \end

    START 100/FALL18/quiz1_2018ans.tex part 2


    \nopagenumbers

    Quiz 1 ~~~SHOW ALL WORK\hfil \break
    Sept 7, 2018

    [10]~ 2.)  Solve \(y' = {1 \over x(2y+3)}\), ~\(y(1) =-2 \)

    \({dy \over dx} = {1 \over x(2y+3)}\) \hskip 2in Compare to 2.2:  14

    Separate variables:  \((2y+3)dy = {dx \over x}\)

    \(y^2 + 3y = ln|x| + C\).

    \(y^2 + 3y - ln|x| - C = 0\).


    \(y = {-3 \pm  qrt{9 - 4 (- ln|x| - C)} \over 2}\)
    \( = {-3 \pm  qrt{9 + 4 ln|x| + C} \over 2}\)
    \( = {-3 \pm  qrt{4 ln|x| + C} \over 2}\)

    General solution:  \( y= {-3 \pm 2 qrt{ ln|x| + C} \over 2}\)

    IVP:  ~\(y(1) =-2 \)

    \(-2 =  {-3 \pm 2 qrt{ ln|1| + C} \over 2}=  {-3 \pm 2 qrt{ C} \over 2}\)


    \(-4 = {-3 \pm 2 qrt{ C} }\).  Thus \(-1 = { \pm 2 qrt{ C} }\).  Hence   \(-1 = { - 2 qrt{ C} }\).

    Thus \( qrt{ C} = {1 \over 2}\) and \(C = {1 \over 4}\)

    Hence IVP solution:     $ y= {-3 - 2 qrt{ ln|x| + {1 \over 4}} \over 2}
    y= {-3 - 2 qrt{ {4ln|x| + 1 \over 4}} \over 2}$
    \( = {-3 -  qrt{4 ln|x|  + 1} \over 2}\)


    Answer:\(\underline{~~y= {-3 -  qrt{1 + 4 ln|x| } \over 2}~~}\)

    \end

    START 100/FALL18/quiz2_2018ans.tex part 2 & 100/quiz4_2018ans.tex part 1


    \({dy \over dx} = {1 \over x(2y+3)}\)

    Separate variables:  \((2y+3)dy = {dx \over x}\)

    \(y^2 + 3y = ln|x| + C\).

    \(y^2 + 3y - ln|x| - C = 0\).


    \(y = {-3 \pm  qrt{9 - 4 (- ln|x| - C)} \over 2}\)

    \(y = {-3 \pm  qrt{9 + 4 ln|x| + C} \over 2}\)

    \(y = {-3 \pm  qrt{9  + C)} \over 2}\)

    \(y = {-3 \pm  qrt{9 -8)} \over 2}\)

    \(y = {-3 - 1 \over 2}\)

    \(y = {-3 \pm  qrt{9 + 4 ln|x| -8} \over 2}\)

    \(y = {-3 -  qrt{1 + 4 ln|x| } \over 2}\)

    2.2       14

    \end 

    START 100/FALL16/e1_Fall2016ANS.tex part 2


    [15]~ 2.)  Solve the initial value problem {\bf{ for \(y\)}}: ~~ \(y' + {3x \over y - 4} = 0 \), \(y(1) = -2\).

     \({dy \over dx}   = -{3x \over y - 4}\)

    \(\int(y-4)dy = \int -3xdx\)

    \({y^2 \over 2} - 4y = -{3 \over 2}x^2\)

    \(y^2 - 8y = -3x^2 + C\)

    \(y^2 - 8y + 3x^2 + C = 0\)

    \(y = {8 \pm   qrt{64 - 4(3x^2 + C)} \over 2} = 4 \pm  qrt{16 - 3x^2 + C} = y\)


     \(y(1) = -2\):  \(-2 =  4 \pm  qrt{16 - 3(1)^2 + C}\) implies \(-6 =   - qrt{16 - 3 + C}\)

    Note initial value determines sign of \(\pm\).   In this case, IVP only has a solution when we choose the negative sign.  The the IVP in this case means \(y = 4 -  qrt{16 - 3x^2 + C}\) where we determine \(C\) below:

    \(36 =  {13 + C}\).  Thus \(C = 36 - 13 = 23\) and \(y =  4 -  qrt{16 - 3x^2 + 23} =  4 -  qrt{39 - 3x^2}\)


     fill
    Answer: \(\underline{~~y =  4 -  qrt{39 - 3x^2~~}\)}

    \end

    START 100/SPRING13/final3600ANS.tex part 1

    22M:100 (MATH:3600:0001) Final Exam \hfil \break
    May 15, 2013 \hfill SHOW ALL STEPS \hfill


    [13]~ 1.)   Solve:  \(ty' + 6t^2y - t^2 = 0\), \(y(1) = 3\)


    \(y' + 6ty  = t\), \(\int 6tdt = 3t^2\)


    \(e^{3t^2}y' + 6te^{3t^2} =  te^{3t^2}\)
    ~~implies~~
    \([e^{3t^2}y]' = te^{3t^2}\)
    ~~implies~~
    \(\int [e^{3t^2}y]'dt = \int te^{3t^2}dt\)

    implies
    \(e^{3t^2}y = \frac{e^{3t^2}}{6} + C\) (via \(u\)-substitution).~~~
    Thus \(y = \frac{1}{6} +  Ce^{-3t^2}\)

    \(y(1) = 3\):~~~~  \(3 = \frac{1}{6} + Ce^{-3}\)
    implies \(C = \frac{17}{6}e^3\)
     fill
    Answer: \underline{~~\(y = \frac{1{6} +  \frac{17}{6}e^{-3t^2+3}\)~~}}


    \end

    START 34/FALL03/finalexamANS.txt part 2

    \nopagenumbers


    Math 34 Differential Equations Final Exam
                                   December 15, 2003 \hfill  SHOW ALL
    WORK
    ~

    [10]~ 6.) Solve the following initial value problem:  \({y' \over t^2} = -3y + 1, ~y(0) = 0\)

    Method 1:  separation of variables

    \({dy \over dt} = t^2(-3y + 1)\)


    \(\int{dy \over -3y + 1} = \int t^2dt\)

    \({1 \over -3}ln |-3y + 1| = {1 \over 3} t^3 + C\)

    \(ln |-3y + 1| = -t^3 + C\)

    \(|-3y + 1| = e^{-t^3} e^C\)

    \(-3y  = Ce^{-t^3} - 1\)

    \(y  = Ce^{-t^3} + {1 \over 3}\)


    Method 2:  Integrating Factor

    \(y' + 3t^2y = t^2\).     ~~~Let \(u = e^{\int 3t^2 dt} = e^{t^3}\)

    \(e^{t^3}y' + 3t^2e^{t^3}y = t^2e^{t^3}\)

    \((e^{t^3}y)'  = t^2e^{t^3}\)

    \(\int (e^{t^3}y)'  = \int t^2e^{t^3} dt\). Integration by substitution:  Let \(u = t^3\), $du = 
    3t^2dt$

    \(e^{t^3}y = {1 \over 3}\int e^u du\)

    \(e^{t^3}y = {1 \over 3} e^u  + C = {1 \over 3} e^{t^3} + C\)

    \(y = {1 \over 3}  + Ce^{-t^3}\)

    \(y(0) = 0\): 0 = \({1 \over 3}  + C\).  Hence \(C = -{1 \over 3} \)
     fill
     fill
    Answer 6.) \(\underline{y  = -{1 \over 3 e^{-t^3} + {1 \over 3}}\)}

    \end

    START 100/SPRING15/quiz2_3600ans.tex part 1


    \nopagenumbers

    Quiz 2 \hfill  Show your work \break
    Feb 19, 2016 \hfill  Circle your answer.

    [10]~ 2.)  Solve: \(y' = y~sin(x) + y\).


    Separate variables:  \({dy \over dx} = y(sinx + 1)\).

    \({dy \over y} = (sinx + 1)dx\)

    \(\int {dy \over y} = \int (sinx + 1)dx\)


    \(ln|y| = -cos(x) + x + C\)

    \(ln|y| = -cos(x) + x + C\)

    \(|y| = e^{-cos(x) + x + C} = e^Ce^{x-cos(x)} \)

    Thus \(y = Ce^{x-cos(x)}\)

    Answer:\(\underline{~~y = Ce^{x-cos(x)~~}\)}
    \end 

    START 100/SPRING15/quiz2answers.tex part 1

    \nopagenumbers

    Quiz 2 \hfill  Show your work \break
    Feb 19, 2016 \hfill  Circle your answer.

    [10]~ 2.)  Solve: \(y' = ycos(x)\).

    Separate variables:  \({dy \over dx} = ycos(x)\).

    \({dy \over y} = cos(x)dx\)

    \(\int {dy \over y} = \int cos(x)dx\)


    \(ln|y| = sin(x) + C\)

    \(ln|y| = sin(x) +  C\)

    \(|y| = e^{sin(x) + C} = e^Ce^{sin(x)} \)

    Thus \(y = Ce^{sin(x)}\)

    Answer:\(\underline{~~y = Ce^{sin(x)~~}\)}


     fill
     fill
     fill
     fill


    \end 

    Section 2.3: Modeling with First-Order Differential Equations

    START 100/2_3ex.tex

    2.3: Modeling with differential equations.
    Suppose salty water enters and leaves a tank at a rate of 2 liters/minute.
      Suppose also that the salt concentration of the water entering the tank varies with respect to time according to \(Q(t) \cdot t sin(t^2)\) g/liters where \(Q(t) = \) amount of salt in tank in grams. (Note:  this is not realistic).
      \t
        If the tank contains 4 liters of water and initially contains 5g of salt, find a formula for the amount of salt in the tank after \(t\) minutes.

    Let \(Q(t) = \) amount of salt in tank in grams.

    Note \(Q(0) = 5\) g

    rate in = (2 liters/min)(\(Q(t) \cdot t sin(t^2)\) g/liters) 

     rate out =   (2 liters/min)(\({Q(t) g \over 4 \hbox{liters}}\)) = \({Q \over 2}\) g/min
     

    \({dQ \over dt}\) = rate in - rate out = \(2Qtsin(t^2) - {Q \over 2}\)

    \({dQ \over dt} = Q(2tsin(t^2) - {1 \over 2})\)


    This is a first order linear ODE.  It is also a separable ODE.  Thus can use either 2.1 or 2.2 methods.
    Using the easier 2.2:

    \(\int {dQ \over Q} = \int (2tsin(t^2) - {1 \over 2})dt = \int 2tsin(t^2)dt - \int{1 \over 2}dt\)

    Let \(u = t^2\), \(du = 2tdt\)

    \(ln|Q| = \int sin(u)du - {t \over 2}\)  = \(-cos(u) - {t \over 2} + C\)
      skip 5pt
     \rightline{= \(-cos(t^2) - {t \over 2} + C\)}


    \(|Q| = e^{-cos(t^2) - {t \over 2} + C} = e^C e^{-cos(t^2) - {t \over 2}}\)

    \(Q = C e^{-cos(t^2) - {t \over 2}}\)


    \(Q(0) = 5:  ~~~ 5 = Ce^{-1 - 0} = Ce^{-1}\).  Thus \(C = 5e\)


    Thus \(Q(t) =  5e \cdot e^{-cos(t^2) - {t \over 2}}\)
    Thus \(Q(t) =  5  e^{-cos(t^2) - {t \over 2 + 1}\)}

    Long-term behaviour:

    \(Q(t) =  5 ( e^{-cos(t^2)} )(e^{-t \over 2})e\)

    As \(t \rightarrow \infty\), \(e^{-t \over 2} \rightarrow 0\), while \(5 ( e^{-cos(t^2)} )e\) are finite.  

    Thus
    as \(t \rightarrow \infty\), \(Q(t)  \rightarrow 0\).

    \end

    START 100/ch1and2a.tex part 4

    2.3: Modeling with differential equations.
    Suppose salty water enters and leaves a tank at a rate of 2 liters/minute.
      Suppose also that the salt concentration of the water entering the tank varies with respect to time according to \(Q(t) \cdot t sin(t^2)\) g/liters where \(Q(t) = \) amount of salt in tank in grams. (Note:  this is not realistic).
      \t
        If the tank contains 4 liters of water and initially contains 5g of salt, find a formula for the amount of salt in the tank after \(t\) minutes.

    Let \(Q(t) = \) amount of salt in tank in grams.

    Note \(Q(0) = 5\) g

    rate in = (2 liters/min)(\(Q(t) \cdot t sin(t^2)\) g/liters) 

     rate out =   (2 liters/min)(\({Q(t) g \over 4 \hbox{liters}}\)) = \({Q \over 2}\) g/min
     

    \({dQ \over dt}\) = rate in - rate out = \(2Qtsin(t^2) - {Q \over 2}\)

    \({dQ \over dt} = Q(2tsin(t^2) - {1 \over 2})\), ~~~ \(Q(0) = 5\)


    This is a first order linear ODE.  It is also a separable ODE.  Thus can use either 2.1 or 2.2 methods.
     
    Using the easier 2.2:

    \(\int {dQ \over Q} = \int (2tsin(t^2) - {1 \over 2})dt = \int 2tsin(t^2)dt - \int{1 \over 2}dt\)
    Let \(u = t^2\), \(du = 2tdt\)

    \(ln|Q| = \int sin(u)du - {t \over 2}\)  = \(-cos(u) - {t \over 2} + C\)
      skip 5pt
     \rightline{= \(-cos(t^2) - {t \over 2} + C\)}

     
    \(|Q| = e^{-cos(t^2) - {t \over 2} + C} = e^C e^{-cos(t^2) - {t \over 2}}\)

    \(Q = C e^{-cos(t^2) - {t \over 2}\)}


    \(Q(0) = 5:  ~~~ 5 = Ce^{-1 - 0} = Ce^{-1}\).  Thus \(C = 5e\)

    Thus \(Q(t) =  5e \cdot e^{-cos(t^2) - {t \over 2}}\)
    Thus \(Q(t) =  5  e^{-cos(t^2) - {t \over 2 + 1}\)}
    Long-term behaviour:

    \(Q(t) =  5 ( e^{-cos(t^2) )(e^{-t \over 2})e\)}
    As \(t \rightarrow \infty\), \(e^{-t \over 2} \rightarrow 0\), while \(5 ( e^{-cos(t^2)} )e\) are finite.  

    Thus
    as \(t \rightarrow \infty\), \(Q(t)  \rightarrow 0\).

    \end

    START 100/quiz2Fall2019Empty.tex part 2

    3.) Word problem:  State the initial value problem describing ...  Do {\bf NOT} solve.

     fill fill fill fill fill fill fill fill fill fill fill fill fill fill fill
     fill
    [4]~~ Differential equation:  \(\underline{\hskip 3in}\) 

    [2]~~ Initial Value:  \(\underline{\hskip 3in}\) 


    [3]~ 4.)  The solution to the initial value problem \(y' = {1 - x \over y}\), \(y(0) = - qrt{3}\) is\hb  \(y = -  qrt{-x^2 + 2x + 3}\).~~
    State the largest interval on which the solution is defined.


    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 + 2y - 8\), \(y(0) = 3\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     Note \(y(0) = 3 > 2\).  Thus 
    \(y \rightarrow +\infty\) as \(t \rightarrow +\infty\) 

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 + 2y - 8\), \(y(0) = 1\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     Note \(y(0) = 1 \in (-4, 2)\).  Thus 
    \(y \rightarrow -4\) as \(t \rightarrow +\infty\) 

    ---

    \end

    START 100/2_3ex.tex

    2.3: Modeling with differential equations.
    Suppose salty water enters and leaves a tank at a rate of 2 liters/minute.
      Suppose also that the salt concentration of the water entering the tank varies with respect to time according to \(Q(t) \cdot t sin(t^2)\) g/liters where \(Q(t) = \) amount of salt in tank in grams. (Note:  this is not realistic).
      \t
        If the tank contains 4 liters of water and initially contains 5g of salt, find a formula for the amount of salt in the tank after \(t\) minutes.

    Let \(Q(t) = \) amount of salt in tank in grams.

    Note \(Q(0) = 5\) g

    rate in = (2 liters/min)(\(Q(t) \cdot t sin(t^2)\) g/liters) 

     rate out =   (2 liters/min)(\({Q(t) g \over 4 \hbox{liters}}\)) = \({Q \over 2}\) g/min
     

    \({dQ \over dt}\) = rate in - rate out = \(2Qtsin(t^2) - {Q \over 2}\)

    \({dQ \over dt} = Q(2tsin(t^2) - {1 \over 2})\)


    This is a first order linear ODE.  It is also a separable ODE.  Thus can use either 2.1 or 2.2 methods.
    Using the easier 2.2:

    \(\int {dQ \over Q} = \int (2tsin(t^2) - {1 \over 2})dt = \int 2tsin(t^2)dt - \int{1 \over 2}dt\)

    Let \(u = t^2\), \(du = 2tdt\)

    \(ln|Q| = \int sin(u)du - {t \over 2}\)  = \(-cos(u) - {t \over 2} + C\)
      skip 5pt
     \rightline{= \(-cos(t^2) - {t \over 2} + C\)}


    \(|Q| = e^{-cos(t^2) - {t \over 2} + C} = e^C e^{-cos(t^2) - {t \over 2}}\)

    \(Q = C e^{-cos(t^2) - {t \over 2}}\)


    \(Q(0) = 5:  ~~~ 5 = Ce^{-1 - 0} = Ce^{-1}\).  Thus \(C = 5e\)


    Thus \(Q(t) =  5e \cdot e^{-cos(t^2) - {t \over 2}}\)
    Thus \(Q(t) =  5  e^{-cos(t^2) - {t \over 2 + 1}\)}

    Long-term behaviour:

    \(Q(t) =  5 ( e^{-cos(t^2)} )(e^{-t \over 2})e\)

    As \(t \rightarrow \infty\), \(e^{-t \over 2} \rightarrow 0\), while \(5 ( e^{-cos(t^2)} )e\) are finite.  

    Thus
    as \(t \rightarrow \infty\), \(Q(t)  \rightarrow 0\).

    \end

    START 100/FALL17/quiz2Fall2017ans.tex


    \nopagenumbers

    Quiz 2 Form A \hfil \break
    Sept 15, 2016


    [10] 1i.  Suppose \\(75 is invested at an annual rate of return \)r$ compounded continuously.
    State the initial value problem describing the amount of money after \(t\) years.

    Differential equation:  \(\underline{~~y' = ry~~}\) 

    Initial Value:  \(\underline{~~y(0) = 75~~}\) 

    1ii. Circle the general solution to the differential equation in problem 1:


    D.)  \(y = Ce^{rt}\) \hfill 

    1iii.  Circle the solution to the initial value problem in problem 1:


    D.)  \(y = 75e^{rt}\) \hfill 

    [10]~ 2.)  Suppose water containing 3 lbs of salt per gallon  enters and leaves a tank at a rate of 8 gallons/hour.  Suppose  the tank originally contains 7 lbs of salt in 500 gallons of water.  State the initial value problem describing the amount of salt in the tank at time \(t\).  Do NOT solve.

    Differential equation:  \(\underline{~~Q' = 24 - {8Q \over 500}~~ or~~ Q' = 24 - {2Q \over 125}}\) 

    Initial Value:  \(\underline{~~Q(0) = 7~~}\) 

    Let \(Q(t) =\) amount of salt (in pounds) in the tanke at time \(t\).

    \({dQ \over dt} =\) Rate in - rate out \(= ({3lbs \over 1 gallon})({8 gallons \over 1 hour}) -  ({Q(t)lbs \over 500 gallon})({8 gallons \over 1 hour})\)


    \(Q' = 24 - {8Q \over 500} =  24 - {4Q \over 250} = 24 - {2Q \over 125}\)

    \end{document}

    START 34/FALL03/finalexamANS.txt part 3

    [10]~ 11.)  Suppose that a sum \(S_0\) is invested at an annual rate of return \(r\) compounded 
    continuously.  Find the time \(T\) required for the original sum to double in value as a 
    function of \(r\). Assume that the rate of change of the value of the investment is equal to 
    the interest rate \(r\) times the current value of the investment \(S(t)\).

    \({dS \over dt} = rS(t)\)~~~~~~~~~
    \({dS \over S(t)} = rdt\)~~~~~~~~~
    \(ln|S| = {rt} + C\)~~~~~~~~~~~
    \(|S| = e^{rt}e^C\)~~~~~~~~~~~~

    \(S = Ce^{rt}\)

    \(S(0) = S_0\):  \(S_0 = Ce^{0} = C\)

    \(S = S_0e^{rt}\)


    \(2S_0 = S_0e^{rt}\),~~~~~~~~~
    \(2 = e^{rt}\),~~~~~~~~~~
    \(ln(2) = {rt}\)

    \(t = {ln(2) \over r}\)

    Answer 11.) \(\underline{t = {ln(2) \over r}\)}

    \end

    Section 2.4: Differences Between Linear and Nonlinear Differential Equations

    Section 2.4

    Note IVP, \(y' = y^{1 \over 3}\),  \(y(x_0) = 0\) has an infinite number

     \rightline{ of solutions,}
       
    while IVP, \(y' = y^{1 \over 3}\),  \(y(x_0) = y_0\) where \(y_0 \not= 0\) has a
     \rightline{ unique solution.} 

     
    Initial Value Problem:  \(y(t_0) = y_0\)
    \u
    Use initial value to solve for C.
    .

    Section 2.4:  Existence and Uniqueness.

    {\bf In general,  for \(y' = f(t, y)\),  ~\(y(t_0) = y_0\), \hb solution may or may not exist and 
    solution may 
    or may not be unique.}

    ---

    {\bf Example Non-unique}: \( y' = y^{1 \over 3}\)  

    \(y = 0\) is a solution to \( y' = y^{1 \over 3}\)  since \(y' = 0 = 0^{1 \over 3} =  y^{1 \over 3}\)  


    Suppose \(y \not= 0\).  Then \({dy \over dx} = y^{1 \over 3}\) 
      implies
    \(y^{-{1 \over 3}}dy = dx\) 

    \(\int y^{-{1 \over 3}}dy = \int dx\) 
    implies \({3 \over 2} y^

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[2]/div[4]/p[11]/span, line 1, column 3
    
    = x  + C\) 


    \(y^

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[2]/div[4]/p[12]/span, line 1, column 3
    
    = {2 \over 3}x  + C\) implies
    \(y = \pm   qrt{ ({2 \over 3}x  + C)^3}\) 
     fill
    \line{Suppose \(y(3) = 0\).  Then \(0 =   qrt{(2 +  C)^3}\) ~\(\Rightarrow\)~ $C = 
    -2$.}
     fill

    \line{The IVP, \( y' = y^{1 \over 3}\),   \(y(3) = 0\), has 
    an infinite \(\#\) of sol'ns}
     fill
     including:~~\(y = 0\),  ~~\(y =   qrt{ ({2 \over 3x - 2)^3}\), ~~$y = - 
     qrt{ ({2 \over 3}x - 2)^3}$}  

    {\bf Examples: No solution}:

    Ex 1:  \(y' = y' + 1\)
     
    Ex 2:  \((y')^2 = -1\)
     fill
    Ex 3 (IVP): \( {dy \over dx} = y (1 + {1  \over x})\), \(y(0) = 1\) 

    \( \int {dy \over y} =  \int (1 + {1  \over x})dx\)
    ~~~implies~~~
    \(ln|y| = x + ln|x| + C\)
    \( |y| = e^{x + ln|x|  + C} = e^x e^{ ln|x|} e^C = C|x|e^x  = Cxe^x\)
    \(y = \pm Cxe^x\) 
    implies
    \(y = Cxe^x\)
     \(y(0) = 1\):  ~~~\(1 = C(0)e^0 = 0\) implies 
    IVP   \( {dy \over dx = y (1 + {1  \over x})\), 
    \(y(0) = 1\) has no solution.}


    http://www.wolframalpha.com 
    slope field:  \(\{1,y(1 + 1/x)\}/sqrt(1 + y\wedge 2(1 + 1/x)\wedge 2)\)
    \includegraphics[width = 1.2in]{slopefieldIVPnosoln}  


    Special cases:
    ---
    Suppose \(f\) is cont. on \((a, b)\) and the
    point \(t_0 \in (a, b)\), 
    Solve IVP: \({dy \over dt} = f(t)\),
     \(y(t_0) = y_0\)


    \u 
     \[dy = f(t)dt\]
    \u\u
     \[\int dy = \int f(t)dt\]
    \u
    \(y = F(t) + C\) where \(F\) is any anti-derivative of \(F\).
       
    Initial Value Problem (IVP):  \(y(t_0) = y_0\)
    \(y_0 = F(t_0) + C\)  implies \(C = y_0 - F(t_0)\)
     

    Hence unique solution (if domain connected) to IVP: 

    \(y = F(t) + y_0 - F(t_0)\)

    ---
    {\bf First order linear differential equation:}

    Thm 2.4.1:  
    If \(p\) and \(g\) are continuous on \((a, b)\) and the
    point \(t_0 \in (a, b)\), 
    then there exists a unique function \(y = \phi(t)\) defined on \((a, b)\) that 
    satisfies the following 
    initial value problem:  \[y' + p(t)y = g(t),~~ y(t_0) = y_0.\]

    {\bf More general case} (but still need  hypothesis)

    Thm 2.4.2:  Suppose the functions \hfill \break 
    \(z = f(t, y)\) and \(z = {\partial f \over \partial y}(t, y)\) 
    are continuous on \hb
    \((a, b) \times (c, d)\) 
    and the      
    point \((t_0, y_0) \in (a, b) \times (c, d)\), 

    then there exists an interval $(t_0 - h, t_0 + h)  ubset 
    (a, b)$ such that there exists a unique function 
    \(y = \phi(t)\) 
    defined on \((t_0 - h, t_0 + h)\) 
    that 
    satisfies the following
    initial value problem:  \[y'  = f(t, y), ~~y(t_0) = y_0.\]

    If possible {\bf without solving}, determine where the solution exists for the following initial value problems:

    If not possible  {\bf without solving}, state where in the \(ty\)-plane, the hypothesis of theorem 2.4.2 is satisfied.  In other words, use theorm 2.4.2 to determine where for some interval about \(t_0\), a solution to IVP, \(y' = f(t, y)\), \(y(t_0) = y_0\) exists and is unique. 


    Example 1:  \(ty' - y = 1, ~y(t_0) = y_0\)
     fill
    Example 2:  \(y'  = ln|{t \over y}, ~y(3) = 6\)
     fill
    Example 3:  \((t^2 - 1)y' - {t^3y \over t - 4} = ln|t|, ~y(3) = 6\)
     fill
    {\bf Section 2.4 example:}  \({dy \over dt} = {1 \over (1 - t)(2 - y)}\)


    \(F(y, t) =  {1 \over (1 - t)(2 - y)}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    ${\partial F \over \partial y} = {\partial  \left({1 \over (1 - t)(2 - y)}\right) \over \partial y} = 
     {1 \over (1 - t)}{\partial  (2 - y)^{-1} \over \partial y} 
     = {1 \over (1 - t)(2-y)^2}$

    \({\partial F \over \partial y}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    Thus the IVP \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = y_0\) has a unique solution if \(t_0 \not= 1\), \(y_0 \not= 2\).

    Note that if \(y_0 = 2\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = 2\) has two solutions if \(t_0 \not= 1\) (and if we allow vertical slope in domain.  Note normally our convention will be to NOT allow vertical slope in domain of solution).

    Note that if \(t_0 = 1\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(1) = y_0\) has no solutions.

    \includegraphics[width=20ex]{domain}

     \((1,1/((1-t)(2-y)))/sqrt(1 + 1/((1-t)(2-y))^2)\) 

    ---
    {\bf Solve via separation of variables:} \({dy \over dt} = {1 \over (1 - t)(2 - y)}\)
     
    \(\int(2 - y)dy = \int {dt \over 1 - t}\)

    \(2y - {y^2 \over 2} = -ln|1 - t| + C\)

    \(y^2 - 4y - 2ln|1 - t| + C = 0\)

    \(y = {4 \pm  qrt{16 + 4(2ln|1 - t| + C)} \over 2}\)
    \(= 2  \pm  qrt{4 + 2ln|1 - t| + C}\)
    \(y= 2  \pm  qrt{2ln|1 - t| + C\)}

    {\bf Find domain:} 
    \hb \(2ln|1 - t| + C \geq 0\) and \(t \not= 1\) and \(y \not= 2\)

    {\bf NOTE:  the convention in this class to to choose largest possible connected domain where tangent line to solution is never vertical.}

    \(2ln|1 - t|  \geq -C\) and \(t \not= 1\) and \(y \not= 2\) implies

    \(ln|1 - t| > -{C \over 2}\)  \hfill Note:  we want to find domain 
    for this \(C\) 
    {and thus this \(C\) can't swallow constants).}


     \(|1 - t| > e^{-{C \over 2}}\)  since \(e^x\) is an increasing function.


     \(1 - t < -e^{-{C \over 2}}\) or  \(1 - t > e^{-{C \over 2}}\)


     \(- t < -e^{-{C \over 2}} - 1\) or  \(-t > e^{-{C \over 2}}- 1\)

     Domain: \(\cases{  t > e^{-{C \over 2}} + 1 & if \)t_0 > 1$ \cr
    t < -e^{-{C \over 2}} + 1 &  if \(t_0 < 1\).}$

    Note:  Domain is much easier to determine when the ODE is linear.

    ---
     
    {\bf Find C given \(y(t_0) = y_0\):}  \(y_0 =  2  \pm  qrt{2ln|1 - t_0| + C}\)

    \(\pm(y_0 -2) =     qrt{2ln|1 - t_0| + C}\)

    \((y_0 -2)^2 - 2ln|1 - t_0| = C\)

    \(y = 2  \pm  qrt{2ln|1 - t| + C}\)


    \(y = 2  \pm  qrt{2ln|1 - t| + (y_0 -2)^2 - 2ln|1 - t_0|}\)
     
    \(y = 2  \pm  qrt{ (y_0 -2)^2 + ln{(1 - t)^2 \over (1-t_0)^2}}\)


     Domain: \(\cases{  t > e^{-{C \over 2}} + 1 & if \)t_0 > 1$ \cr
    t < -e^{-{C \over 2}} + 1 &  if \(t_0 < 1\).}$

    $e^{-{C \over 2}} = e^{-{(y_0 -2)^2 - 2ln|1 - t_0| \over 2}}
    = |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} }$

     Domain: \(\cases{  t > 1 + |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} } & if \)t_0 > 1$ \cr
    t < 1 - |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} } &  if \(t_0 < 1\).}$

    ---


    2.4 \#27b.  Solve Bernoulli's equation, 
    \(y' + p(t)y = g(t)y^n,\)
    when \(n \not= 0, 1\) by changing it 
    \(y^{-ny' + p(t)y^{1-n} = g(t)\)}
    when \(n \not = 0, 1\) by changing it 
    to a linear equation by 
    substituting \(v = y^{1-n}\)

    Example: Solve \(ty' + 2t^{-2}y = 2t^{-2}y^5\)

    Section 2.5:  Autonomous equations: \(y' = f(y)\)
     ---
    Example:  Exponential Growth/Decay 

    Example:  population growth/radioactive decay
    \(y' = ry\), \(y(0) = y_0\) implies \(y = y_0 e^{rt\)}

    \(r > 0\) \hskip 1.2in \(r < 0\)
    ---
    Example:  Logistic growth:  \(y' = h(y)y\)

    Example:  \(y' = r(1 - {y \over K)y\)}

    \(y\) vs \(f(y)\) \hskip 1in slope field:

     fill

    Equilibrium solutions:


    As \(t \rightarrow \infty\), if \(y > 0\), \(y \rightarrow \)


    Solution:  \(y = {y_0K \over y_0 + (K - y_0)e^{-rt}}\)


    \end

    START 100/exam1review.tex part 3

    Method 3 (sect. 2.4):  Solve Bernoulli's equation, 
    \[y' + p(t)y = g(t)y^n,\] 

    when \(n > 1\) by changing it
    to a linear equation by
    substituting \(v = y^{1-n}\)

    Section 2.4:  Existence and Uniqueness.

    {\bf In general,  for \(y' = f(t, y)\),  ~\(y(t_0) = y_0\), \hb solution may or may not exist and 
    solution may 
    or may not be unique.}


    But we have 2 theorems that guarantee both existence and uniqueness of solutions under certain conditions:
     

    {\bf 1st order LINEAR differential equation:}
     

    Thm 2.4.1:  If \(p:(a, b) \rightarrow R\) and \(g:(a, b) \rightarrow R\) are continuous and $a < 
    t_0 < b$, then 
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the 
    initial value problem

    \(y' + p(t) y = g(t)\), 

    \(y(t_0) = y_0\)

    {\bf 1st order differential equation (general case):}

    Thm 2.4.2:  Suppose \(z = f(t, y)\) and \(z = {\partial f \over \partial y}(t, y)\) 
    are continuous on $(a, b) 
    point \((t_0, y_0) \in (a, b) \times (c, d)\), then there exists an interval $(t_0 - h, t_0 + h)  ubset 
    (a, b)$ such that there exists a unique function 
    \(y = \phi(t)\) 
    defined on \((t_0 - h, t_0 + h)\) 
    that 
    satisfies the following
    initial value problem:  \[y'  = f(t, y), ~~y(t_0) = y_0.\]

    Note the initial value problem
       
     \[y' = y^{1\over 3}, ~y(0) = 0\] 
     
    has an infinite number of different solutions.
    \(y^{-{1\over 3}dy = dt\)}

    \({3 \over 2y^{2 \over 3} = t + C\)}


    \(y =\pm ({2 \over 3 t + C)^{3 \over 2}\)}

    \(y(0) = 0\) implies \(C = 0\)

    Thus \(y =\pm ({2 \over 3} t )^{3 \over 2}\) are solutions.

    \(y = 0\) is also a solution, etc.


    Compare to Thm 2.4.2: \hfil \break
     \(f(t, y) = y^{1 \over 3}\) is continuous near (0, 0)   \hfil \break
    But \( {\partial f \over \partial y}(t, y) = {1 \over 3}y^{-2 \over 3}\) is not continuous near (0, 0) since 
    it isn't defined at (0, 0).


    {\bf Section 2.4 example:}  \({dy \over dt} = {1 \over (1 - t)(2 - y)}\)


    \(F(y, t) =  {1 \over (1 - t)(2 - y)}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    ${\partial F \over \partial y} = {\partial  \left({1 \over (1 - t)(2 - y)}\right) \over \partial y} = 
     {1 \over (1 - t)}{\partial  (2 - y)^{-1} \over \partial y} 
     = {1 \over (1 - t)(2-y)^2}$

    \({\partial F \over \partial y}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    Thus the IVP \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = y_0\) has a unique solution if \(t_0 \not= 1\), \(y_0 \not= 2\).

    Note that if \(y_0 = 2\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = 2\) has two solutions if \(t_0 \not= 1\) (and if we allow vertical slope in domain.  Note normally our convention will be to NOT allow vertical slope in domain of solution).

    Note that if \(t_0 = 1\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(1) = y_0\) has no solutions.

    \includegraphics[width=20ex]{domain}

     \((1,1/((1-t)(2-y)))/sqrt(1 + 1/((1-t)(2-y))^2)\) 


    {\bf Solve via separation of variables:} \({dy \over dt} = {1 \over (1 - t)(2 - y)}\)

    \(\int(2 - y)dy = \int {dt \over 1 - t}\)
    implies
    \(2y - {y^2 \over 2} = -ln|1 - t| + C\)

    \(y^2 - 4y - 2ln|1 - t| + C = 0\)

    \(y = {4 \pm  qrt{16 + 4(2ln|1 - t| + C)} \over 2}\)
    \(= 2  \pm  qrt{4 + 2ln|1 - t| + C}\)
    \(y= 2  \pm  qrt{2ln|1 - t| + C\)}

    {\bf Find domain:} 
     \(2ln|1 - t| + C \geq 0\) \& \(t \not= 1\) \& \(y \not= 2\)

    {\bf NOTE:  the convention in this class to to choose largest possible connected domain where tangent line to solution is never vertical.}

    \(2ln|1 - t|  \geq -C\) and \(t \not= 1\) and \(y \not= 2\) implies

    \(ln|1 - t| > -{C \over 2}\)  \hfill Note:  we want to find domain 
    for this \(C\) 
    {and thus this \(C\) can't swallow constants).}


     \(|1 - t| > e^{-{C \over 2}}\)  since \(e^x\) is an increasing function.


     \(1 - t < -e^{-{C \over 2}}\) or  \(1 - t > e^{-{C \over 2}}\)

     Domain: \(\cases{  t > e^{-{C \over 2}} + 1 & if \)t_0 > 1$ \cr
    t < -e^{-{C \over 2}} + 1 &  if \(t_0 < 1\).}$


    \end

    START 34/2_4ex.tex

    2.4 Solve Bernoulli's equation, 
    \[y' + p(t)y = g(t)y^n,\] when \(n \not= 0, 1\) by changing it 
    \[y^{-n}y' + p(t)y^{1-n} = g(t)\] when \(n \not = 0, 1\) by changing it 
    to a linear equation by 
    substituting \(v = y^{1-n}\)


    Solve \(ty' + 2t^{-2}y = 2t^{-2}y^5\)

    \(ty^{-5}y' + 2t^{-2}y^{-4} = 2t^{-2}\)

    Let \(v = y^{-4}\).  Thus \(v' = -4y^{-5}y'\)

    \(-4ty^{-5}y' - 8t^{-2}y^{-4} = -8t^{-2}\)

    \(tv' - 8t^{-2}v = -8t^{-2}\)

    Make coefficient of \(v' = 1\)

    \(v' - 8t^{-3}v = -8t^{-3}\)


    An antiderivative of \(-8t^{-3}\) is \(4t^{-2}\)


    Multiply equation by \(e^{4t^{-2}}\)

    \(e^{4t^{-2}}v' - 8t^{-3}e^{4t^{-2}}v = -8t^{-3}e^{4t^{-2}}\)

    \((e^{4t^{-2}}v)' = -8t^{-3}e^{4t^{-2}}\) by PRODUCT rule.


    \(\int (e^{4t^{-2}}v)' dt = -8\int t^{-3}e^{4t^{-2}} dt\)

    \(e^{4t^{-2}}v = -8\int t^{-3}e^{4t^{-2}} dt\).  

    Let \(u = 4t^{-2}\).  Then 
    \(du = -8t^{-3}dt\)

    \(e^{4t^{-2}}v = \int e^u du\)
    \(= e^u + C\)

    \(e^{4t^{-2}}v = e^{4t^{-2}} + C\)

    \(v = 1 + C e^{-4t^{-2}}\)

    \(y^{-4} = 1 + C e^{-4t^{-2}}\)
    implies
    \(y = \pm (1 + C e^{-4t^{-2}})^{-{1 \over 4}}\)


    ---


    \(y' + {2 \over t-3}y = 1\)

    An anti-derivative of \({2 \over t - 3} = 2 ln(t - 3)\)

    \(e^{2ln(t - 3)} = e^{ln[(t-3)^2]} = (t - 3)^2\)

    \(y' + {2 \over t-3}y = 1\)

    \( (t - 3)^2y' + {2( t-3)}y =  (t - 3)^2\)

    \(\int  [(t - 3)^2y]' =   \int (t - 3)^2\)

    \((t - 3)^2 y =   {(t - 3)^3 \over 3} + C\)
    implies
     \(y =  {(t - 3) \over 3} + C(t - 3)^{-2} \)


    \end
    ---

    \(y' + {2 \over t-3}y = e^t\)

    An anti-derivative of ${2 \over t - 3} = 

    \end

    START 100/quiz4_2018ans.tex part 2

    Quiz 4 ~~~SHOW ALL WORK\hfil \break
    Nov 9, 2018

    [15]~ 1.) Solve \(ty' + 4 y = t\) \hfill 

    \(1y' + {4 \over t} y = 1\)

    \(u(t) = e^{\int  {4\over t} dt } = e^{4ln| t|} = e^{ln(| t|^4)} = t^4\).

    Let \(u(t) = t^4\)

    \(t^4y' + {4 t^3} y = t^4\)

    \((t^4 y) ' = t^4\) ~~~~~~~~~~{\bf Check this step:} \((t^4 y) ' = t^4y' + {4 t^3} y\)

    \(\int (t^4 y) ' dt = \int t^4 dt\)

    \(t^4 y = {t^5 \over 5} + C\)

    \(y = {t \over 5} + Ct^{-4}\)


    Answer:\(\underline{~~ y = {t \over 5} + Ct^{-4}~~}\)

    \end

    START 100/SPRING13/e1_2013ANS.txt part 2

    2.)  Circle T for true and F for false.  Note that the answer to 2a is true.

    [3]~ 2a.)   In more advanced math classes, you may be required to provide many more details when proving a function is onto.


    \w

    [4]~ 2b.)  Suppose 
    \(\phi\)
    is a solution to the equation, 
    \(y' + p(t)y = g(t)\), 
    then 
    \(2\phi\) must also be a solution to
    \(y' + p(t)y = g(t)\).

    \w
    [4]~ 2c.)  Suppose 
    \(\phi\)
    is a solution to the equation, 
    \(y' + p(t)y^2 = 0\), 
    then 
    \(2\phi\) must also be a solution to
    \(y' + p(t)y^2 = 0\).

    \w

    [4]~ 2d.)  Suppose 
    \(\phi\)
    is a solution to the equation, 
    \(y' + p(t)y = 0\), 
    then 
    \(2\phi\) must also be a solution to
    \(y' + p(t)y = 0\).


    [15]~  4.) Solve the following initial value problem:  \(y'y = t + 3ty^2\), \(y(0) = -2\)


    \(y'y = t + 3ty^2\)

    \({dy \over dt} y = t(1 + 3y^2)\)

    \({y dy \over 1 + 3y^2} = tdt\)

    \(\int {y dy \over 1 + 3y^2} = \int tdt\)

    \({1 \over 6} \int {6y dy \over 1 + 3y^2} = \int tdt\)

    \({1 \over 6} ln|1 + 3y^2| = {1 \over 2} t^2 + C\)

    \( ln|1 + 3y^2| = 3 t^2 + C\)

    \( e^{ln|1 + 3y^2|} = e^{3 t^2 + C}\)

    \(|1 + 3y^2| = e^{3 t^2}e^C\)

    \(1 + 3y^2 = \pm e^C e^{3 t^2}\)

    \(1 + 3y^2 = Ce^{3 t^2}\)

    \( 3y^2 = Ce^{3 t^2} - 1\)

    \( y^2 = {Ce^{3 t^2} - 1 \over 3}\)

    \( y  = \pm  qrt

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[2]/div[4]/div[4]/p[22]/span, line 1, column 3
    
    \)

     \(y(0) = -2\): ~~   \( -2  = -  qrt

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[2]/div[4]/div[4]/p[23]/span[1], line 1, column 3
    
    = -  qrt
    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[2]/div[4]/div[4]/p[23]/span[2], line 1, column 7
    
    \)

     \( 4  =

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[2]/div[4]/div[4]/p[24]/span, line 1, column 7
    
    \) implies \(12 = C - 1\) implies \(C = 13\).


     fill
    Answer 4.) \(\underline{~~ y  = -  qrt{{13e^{3 t^2 - 1 \over 3}}~~}\)}

    \end

    START 100/SPRING15/e1_2016ans.tex part 2

    Math 3600 Differential Equations Exam \#1
                                   March 2, 2016 \hfill  SHOW ALL
    WORK
    ~~~

     2.)  Circle T for true and F for false.  

    [4]~ 2a.)  The equation \(ln(t)y' = {t \over t+1} -  y(sin t^2)\) is a linear differential equation.

    [4]~ 2b.)  The equation \(y' + y = y^2\) is a linear differential equation.
    \hfill{~~~~~~~~~~~F}

    [4]~ 2c.)  Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to 
     \(ay'' + by' + cy = 0\).
    If \(y = h(t)\) is   also a solution to  \(ay'' + by' + cy = 0\), then there exists constants \(c_1\) and \(c_2\) such that \(h(t) = c_1\phi_1(t) + c_2\phi_2(t)\).
    \hfill{~~~~~~~~~~~F}

    [4]~ 2d.)   Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are linearly independent solutions to 
     \(ay'' + by' + cy = 0\).
    If \(y = h(t)\) is   also a solution to  \(ay'' + by' + cy = 0\), then there exists constants \(c_1\) and \(c_2\) such that \(h(t) = c_1\phi_1(t) + c_2\phi_2(t)\).
    \hfill{T~~~~~~~~~~~}

    [4]~  3.)  By giving a specific counter-example, prove that \(y = ln(x)\) is
     not a linear function.

    Proof 1:  \(ln(2) = ln(1 + 1) \not = 0  = ln(1) + ln(1)\).  


    Proof 2:  \(ln(e) + ln(1) = 1 + 0 = 1\).  But \(ln(e+1) > ln(e) = 1\) since \(y = ln(x)\) is an increasing function (since \([ln(x)]' = {1 \over x} > 0\) for \(x > 0\)).

    Proof 3:  \(ln(e) + ln(e) = 1 + 1 = 2\).  But \(ln(e +e) = ln(2e) = ln(2) + ln(e) = ln(2) + 1\).

    \(ln(2) < ln(e) = 1\).  Thus \(2 \not= ln(2) + 1\).  Hence \(ln(e) + ln(e) \not= ln(2e)\) and thus \(y = ln(x)\) is not a linear function.

    Proof 4:  \(e \cdot ln(1) = e \cdot 0 = 0 \not= 1 = ln(e) = ln(e \cdot 1) \).  In other words, if \(f(x) = ln(x) \), ~~\(f(cx) \not = cf(x)\) for constant \(c = e\) and \(x = 1\).

    [20]~ 5.)  Solve:  
    \(y' =  e^{4t} - {y \over t}\)

    Linear, not separable:  \(y' + {y \over t} = e^{4t}\)

    Let \(u(t) = e^{\int {dt \over t}} = e^{ln|t|+C} = C|t|\).  Let \(u(t) = t\)

     \(ty' + {y } = te^{4t}\)

    \((ty)' =  te^{4t}\)

    \(\int (ty)' = \int te^{4t} dt\).  

    ~~~~~~Let \(u = t\) ~~~ \(dv = e^{4t}\)

    ~~~~~~~~~~\(du = dt\)~~~ \(v = {e^{4t} \over 4}\)
      

    \(ty = {te^{4t} \over 4} - \int {e^{4t} \over 4} dt = {te^{4t} \over 4} -  {e^{4t} \over 16} + C\)

    Thus \(y = {e^{4t} \over 4} -  {e^{4t} \over 16t} + {C \over t}\)

     fill
    Answer: \(\underline{~~y = {e^{4t \over 4} -  {e^{4t} \over 16t} + {C \over t}~~}\)}

    \end

    START 100/FALL18/final3600_F2016ans.tex part 1

    MATH:3600:0002 Final Exam \hfil \break
    Dec. 12, 2016 \hfill SHOW ALL STEPS \hfill

    [14]~  2.)  Solve \(t \frac{dy}{dt} + y = 8 t^2\)

    \(t y' + y = 8 t^2\) is a first order linear DE.

    Short method:   


    \([ty]' = t y' + y = 8 t^2\) 

    \([ty]' = 8 t^2\) 


    \(\int [ty]' = \int 8 t^2\)

    \(ty = \frac{8}{3}t^3 + C\)

    Thus \(y = \frac{8}{3}t^2 + Ct^{-1}\)

    Longer method:

    \( y' + \frac{1}{t}y = 8 t\)

    Integrating factor:  \(u(t) = e^{\int \frac{dt}{t}} = e^{ln|t|} = |t|\)

    Multiply both sides  by \(t\):  ~~ \(t y' + y = 8 t^2\) 
    and continue as above.


     fill
    Answer: \underbar{~~ \(y = \frac{8{3}t^2 + Ct^{-1}\)~~}}

    \end

    START 100/FALL16/e1_Fall2016ANS.tex part 3


    [4]~  3.)  By giving a specific counter-example, prove that \(y = ln(x)\) is
     not a linear function.

    [20]~ 5.)  Solve:  
    \(y' =  e^{4t} - {y \over t}\)

     fill
    Answer: \(\underline{~~\hskip 4in~~\)}

    \end

    Section 2.5: Autonomous Differential Equations and Population Dynamics

    START 100/ch1and2a.tex part 5

    Section 2.5  Autonomous equations: \(y' = f(y)\)


    If given either differential equation \(y' = f(y)\) 

     \rightline{ OR direction field:}
    ~~~~~~Find  equilibrium solutions and determine if 

    stable, unstable, semi-stable.

    ~~~~~~Understand what the above means.

    ---
    Asymptotically stable:
     fill fill
    ---
    Asymptotically unstable:
     fill fill
    ---
    Asymptotically semi-stable:

     fill


    \end


    \end

    START 100/quiz2Fall2019Empty.tex part 3

    [3]~ 2a.)  Sketch the direction field for the autonomous equation.  
    {\(y' = ~~~~~~~~~~~~\)} 

     \includegraphics[width=30ex]{grapht-eps-converted-to}

    [1]~ 2b.)  On the graph above, sketch the solution with initial value \(y(~~) = ~\)

    [2]~ 2c.)  Find
    the equilibrium solutions, and classify them as stable or unstable or semi-stable. 


     Equilibrium solution:  \(\underline{~~~~~~~~~~~~~~}\). ~ Stability of this equilibrium solution  \(\underline{~~~~~~~~~~~~~~~~~~~~}\).

     Equilibrium solution:  \(\underline{~~~~~~~~~~~~~~}\). ~ Stability of this equilibrium solution  \(\underline{~~~~~~~~~~~~~~~~~~~~}\).

    ---

    From an old quiz:

    1.  Sketch the direction field for the autonomous equation \(y' = y^2 + 2y - 8\). Find the equilibrium solutions, and classify them as stable
    or unstable.  Sketch the solution with initial value \(y(0) = 1\). 
     \includegraphics[width=25ex]{grapht-eps-converted-to}

    [2]~ Equilibrium solution:  \(\underline{~~~~~~~~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~~~~~~~~~~~~}\).

    [2]~ Equilibrium solution:  \(\underline{~~~~~~~~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~~~~~~~~~~~~}\).

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 + 2y - 8\), \(y(0) = 3\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?


    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 + 2y - 8\), \(y(0) = 1\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

    Answer to problem from old quiz:

    1.  Sketch the direction field for the autonomous equation \(y' = y^2 + 2y - 8\). Find the equilibrium solutions, and classify them as stable
    or unstable.  Sketch the solution with initial value \(y(0) = 1\). 

     \(y^2 + 2y - 8 = (y +4)(y-2) = 0\) implies \(y = -4\) and \(y = 2\) are equil solns.


    [2]~ Equilibrium solution:  \(\underline{~~y = -4~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~stable~~}\).

    [2]~ Equilibrium solution:  \(\underline{~~y = 2~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~unstable~~}\).

    Note the equilibrium solution is a constant solution, not a number.  Thus I took off 0.5pt per problem if you did not include \(y =\) (i.e, 2 is incorrect, but the equation \(y = 2\) is correct).

    ---

    [4]~  Sketch of Direction field and solution with initial value \(y(0) = 1\):

    Note one really needs to draw slopes at 9 different \hb
    \(y\)-values (Two for \(y > 4\), three for \(-2 < y < 4\), \hb and two for \(y < -2\) plus the 0-slopes at \(y = 4\) and\hb
     \(y = -2\)) in order to see all possible solutions.

    Note, you don't need to calculate the slopes by \hb plugging 
    in numbers.  You just need to know where \hb
    slope is positive vs negative, small vs large. 


    \end
    2.)  Suppose \({\phi_n}\) is defined by sucessive approximation where  \(y' = {2t \over y+1}\), ~\(y(0) = 0\).
    If \(\phi_1(t) = t^2\), then \(\phi_2(t) = \underline{~~ ln|t^2 + 1|~~}\)  \hfill (from 2.8)

    \(y' = f(t, y(t))\), \(y(0) = 0\).  Thus \(y(t)  = \int_0^t f(s, y(s))ds\). 

    \(\phi_2(t) = \int_0^t f(s, \phi_1(s))ds= \int_0^t {2s \over s^2 + 1} = ln|s^2 + 1| |_0^t  = ln|t^2 + 1| -  ln|1| =  ln|t^2 + 1| \)


    \end{document}

    START 100/quiz3.tex part 1

    Match the following  general solution to the differential equation whose direction field is given below:

    [5]~ \textbf{A)}  \(y = t + C\) \hfill ~~~~~
    [5]~ \textbf{B)} \(y =2t + C\) \hfill ~\hfill ~ \hfill ~

    [5]~ \textbf{C)}  \(y = \frac{1}{2}t + C\) \hfill ~~~~~
    [5]~ \textbf{D)} \(y = -\frac{1}{2}t + C\) \hfill ~\hfill ~ \hfill ~

    \leftline{\includegraphics[width = 2.2in, height = 2.2in]{SFminus1}}  %% export as pdf file 


    \includegraphics[width = 2.2in, height = 2.2in]{SF2}  %% export as pdf file 


    [30]~ 2.)  Answer both of the following questions.  If your proof to 2A is short, well-written, and correct, you will be given full credit for problem 2.  If your answer to 2A is incorrect or if it is not short and well-written (even if correct), your grade for problem 2 will depend solely on 2B.


    2A.)  Prove that \(f: (0, \infty) \rightarrow R},~f(x) = ln(x)\)  is 1:1.

     fill

    2B.)  Solve \(y' = y\).

     fill

    p. 1 of 2 (\bf TURN PAGE)

    Answer 2B: \underline{\hskip 3in

    [50]~ 3.)  Solve the following differential equation (hint:  first get it into the appropriate format)  \]y' = \frac{y}{t} + ln(e)\[

     fill

    Answer: \underline{\hskip 3in

    \end{document}

    4.)  Circle the general solution to the differential equation whose direction field is given below:

    5.)  Which of the following could be the general solution to the differential equation whose direction field is given below:

    6.)  Circle  the differential equation whose direction field is given below:


    \end{document}

    START 100/FALL17/quiz4Fall2017ans.tex part 1

    1.  Sketch the direction field for the autonomous equation \(y' = y^2 + 2y - 8\). Find the equilibrium solutions, and classify them as stable
    or unstable.  Sketch the solution with initial value \(y(0) = 1\). 


    [2]~ Equilibrium solution:  \(\underline{\hskip 0.6in}\). ~~ Stability of this equilibrium solution  \(\underline{\hskip 0.6in}\).

    [2]~ Equilibrium solution:  \(\underline{\hskip 0.6in}\). ~~ Stability of this equilibrium solution  \(\underline{\hskip 0.6in}\).

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' =  y^2 + 2y - 8\), \(y(0) = 1\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

    [4]~  Sketch of Direction field and solution with initial value \(y(0) = 1\):

     fill

    ---

    \end

    Section 2.6: Exact Differential Equations and Integrating Factors

    START 100/FALL18/final3600_F2016ans.tex part 2

    [14]~ 3.) Solve  \((3x^4 + 2y)dx + (2x +4y^3)dy= 0\)

    \(M_y = 2\)  \(N_x = 2\)

    If \(\psi_x = 3x^4 + 2y\), then \(\psi = \int(3x^4 + 2y)dx = \frac{3}{5}x^5 + 2xy + h(y)\).

    \(\psi_y = 2x + h'(y) =2x +4y^3 \).  Thus \(h'(y) = 4y^3\) and \(h(y) = y^4\)


    Answer:  \(\frac{3}{5}x^5 + 2xy + y^4 = C\)

    Check:   \(\frac{d}{dx}(\frac{3}{5}x^5 + 2xy + y^4) = \frac{d}{dx}(C)\)

       \({3}x^4 + 2y + 2x\frac{dy}{dx} + 4y^3\frac{dy}{dx} = 0\)

     fill
    Answer: \underbar{\hskip 5in}

    \end

    START 100/SPRING13/final3600ANS.tex part 2

    [13]~ 2.)  Solve:  \((2x^3y^2 - 3x)dx + (x^4y - y^{-1}) dy = 0\)


    Note:  $\frac{\partial}{\partial y} (2x^3y^2 - 3x) = 4x^3y
    = \frac{\partial}{\partial x}(x^4y - y^{-1})$.  Thus equation is exact.

    Let \(\psi_x = 2x^3y^2 - 3x\).  Then \(\psi = \frac{x^4y^2 - 3x^2}{2} + h(y)\)
    ~~and~~
    \(\psi_y = x^4y + h'(y) = x^4y - y^{-1}\)

    \(\int h'(y)dy = \int -y^{-1}dy = -ln|y|\) 
    ~~and~~
    \( \frac{x^4y^2 - 3x^2}{2} -ln|y| = C\)

    \end

    START 100/FALL17/quiz3Fall2017formAans.tex part 1


    \nopagenumbers


    Quiz 3 Form A \hfil \break
    Sept 25, 2017

    1.  Sketch the direction field for the autonomous equation \(y' = y^2 + 2y - 8\). Find the equilibrium solutions, and classify them as stable
    or unstable.  Sketch the solution with initial value \(y(0) = 1\). 

     \(y^2 + 2y - 8 = (y +4)(y-2) = 0\) implies \(y = -4\) and \(y = 2\) are equil solns.


    [2]~ Equilibrium solution:  \(\underline{~~y = -4~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~stable~~}\).

    [2]~ Equilibrium solution:  \(\underline{~~y = 2~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~unstable~~}\).

    Note the equilibrium solution is a constant solution, not a number.  Thus I took off 0.5pt per problem if you did not include \(y =\) (i.e, 2 is incorrect, but the equation \(y = 2\) is correct).

    ---

    ---

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 - 5y - 6\), \(y(0) = 3\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     \(y^2 - 5y - 6 = (y - 6)(y+1) = 0\) implies \(y = 6\) and \(y = -1\) are equil solns. % Note \(y = 3 \in (-1, 6)\) %and \(y = -1\) is a stable equil
    \(y \rightarrow -1\) as \(t \rightarrow +\infty\) 


    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 + 2y - 8\), \(y(0) = 3\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     Note \(y(0) = 3 > 2\).  Thus 
    \(y \rightarrow +\infty\) as \(t \rightarrow +\infty\) 

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 + 2y - 8\), \(y(0) = 1\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     Note \(y(0) = 1 \in (-4, 2)\).  Thus 
    \(y \rightarrow -2\) as \(t \rightarrow +\infty\) 

    ---

    [4]~  Sketch of Direction field and solution with initial value \(y(0) = 3\):

    Note one really needs to draw slopes at 9 different \hb
    \(y\)-values (Two for \(y > 4\), three for \(-2 < y < 4\), \hb and two for \(y < -2\) plus the 0-slopes at \(y = 4\) and\hb
     \(y = -2\)) in order to see all possible solutions.

    Note, you don't need to calculate the slopes by \hb plugging 
    in numbers.  You just need to know where \hb
    slope is positive vs negative, small vs large. 

    Choose the best answer for the following problems:

    [2]~ 2.)  If \(u = y - x\), then  E.)  \({dy \over dx} = {du \over dx} +1\)  


    \(y = u + x\) \& hence \({dy \over dx} = {d \over dx}(u+x) = {du \over dx} + {dx \over dx} = {du \over dx} +1\), since derivative is a linear fn.


    ---

    [2]~ 3.)  The integrating factor used to solve the differential equation \({dy \over dx} - {y \over x} = x^2\) is


    {D.)  \({1 \over x}\) }\hfill
    since \(u(x) = e^{\int{ -1 \over x}dx} = e^{-ln|x|} = e^{ln|x|^{-1}} = |x|^{-1}\)

    Check:  If \(u(x) = {1 \over x} = x^{-1}\), then 

    ---

    [2]~ 4.)  The solution to the initial value problem \(y' = {1 - x \over y}\), \(y(0) = - qrt{3}\) is\hb  \(y = -  qrt{-x^2 + 2x + 3}\).~~
    State the largest interval on which the solution is defined.


    \(-x^2 + 2x + 3 \geq 0\) and since our convention is to not allow points vertical tangent lines in our domain, \(y \not= 0\).

    Thus \(-x^2 + 2x + 3 = (-x + 3)(x+1) > 0\).  Hence either \((-x + 3)\) and \((x+1)\)
    are both positive or both negative.  Thus

    \(-x + 3 > 0\) and \(x+1 > 0\) and thus  \(3 > x\) and \(x > -1\).  I.e., \(x \in (-1, 3)\) 
    ~~~~~OR
    \(-x + 3 < 0\) and \(x+1 < 0\) and thus  \(3 < x\) and \(x < -1\).  But \(x\) can't be both greater than 3 and less than -1, so largest possible  domain is ~~~B.)~ (-1, 3).


    ---

    [2]~ 5.)  A tank contains 100 liters of pure water. Saline solution with a variable
    concentration \(c(t) = e^{-t \over 100}\) grams of salt per liter is pumped into the
    tank at rate 1 liter per minute. The tank is kept perfectly mixed and
    also drains at a rate of 1 liter per minute, so the volume stays constant.
    Write an initial value problem modeling \(A(t)\), the amount of grams of
    salt dissolved in the solution in the tank at time \(t\) minutes.

    Note since the water is pure, the tank starts off with 0 grams of water.  Thus \(A(0) = 0\).  
    {Rate in = \({e^{-t \over 100} g \over 1 L}{1 L \over 1 minute}\)
    \hfill
    Rate out = \({A(t) g \over 1 L}{1 L \over 1 minute}\)
    \hfill

    Thus~~
    A.)  \({dA \over dt} =  e^{-t \over 100} - {A \over 100}\), ~
    \(A(0) = 0\)}

    \end

    START 100/FALL17/quiz3Fall2017formBans.tex part 1


    \nopagenumbers


    Quiz 3 Form B \hfil \break
    Sept 25, 2017

    1.  Sketch the direction field for the autonomous equation \(y' = y^2 - 2y - 8\). Find the equilibrium solutions, and classify them as stable
    or unstable.  Sketch the solution with initial value \(y(0) = 1\). 

     \(y^2 - 2y - 8 = (y +4)(y-2) = 0\) implies \(y = 4\) and \(y = -2\) are equil solns.


    [2]~ Equilibrium solution:  \(\underline{~~y = 4~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~unstable~~}\).

    [2]~ Equilibrium solution:  \(\underline{~~y = -2~~}\). ~~ Stability of this equilibrium solution  \(\underline{~~stable~~}\).

    Note the equilibrium solution is a constant solution, not a number.  Thus I took off 0.5pt per problem if you did not include \(y =\) (i.e, 4 is incorrect, but the equation \(y = 4\) is correct).

    ---

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 - 5y - 6\), \(y(0) = 3\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     \(y^2 - 5y - 6 = (y - 6)(y+1) = 0\) implies \(y = 6\) and \(y = -1\) are equil solns. % Note \(y = 3 \in (-1, 6)\) %and \(y = -1\) is a stable equil
    \(y \rightarrow -1\) as \(t \rightarrow +\infty\) 


    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 - 2y - 8\), \(y(0) = 5\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     Note \(y(0) = 5 > 4\).  Thus 
    \(y \rightarrow +\infty\) as \(t \rightarrow +\infty\) 

    [2]~ If \(y  = \phi(t)\) is the solution to the initial value problem \(y' = y^2 - 2y - 8\), \(y(0) = 1\), what happens to \(y = \phi(t)\) as \(t\) goes to \(+\infty\)?

     Note \(y(0) = 1 \in (-4, 2)\).  Thus 
    \(y \rightarrow -2\) as \(t \rightarrow +\infty\) 

    ---

    [4]~  Sketch of Direction field and solution with initial value \(y(0) = 3\):

    Note one really needs to draw slopes at 9 different \hb
    \(y\)-values (Two for \(y > 4\), three for \(-2 < y < 4\), \hb and two for \(y < -2\) plus the 0-slopes at \(y = 4\) and\hb
     \(y = -2\)) in order to see all possible solutions.

    Note, you don't need to calculate the slopes by \hb plugging 
    in numbers.  You just need to know where \hb
    slope is positive vs negative, small vs large. 

    Choose the best answer for the following problems:

    [2]~ 2.)  If \(u = y - x\), then  E.)  \({dy \over dx} = {du \over dx} +1\)  


    \(y = u + x\) \& hence \({dy \over dx} = {d \over dx}(u+x) = {du \over dx} + {dx \over dx} = {du \over dx} +1\), since derivative is a linear fn.


    ---

    [2]~ 3.)  The integrating factor used to solve the differential equation \({dy \over dx} - {y \over x} = x^2\) is


    {D.)  \({1 \over x}\) }\hfill
    since \(u(x) = e^{\int{ -1 \over x}dx} = e^{-ln|x|} = e^{ln|x|^{-1}} = |x|^{-1}\)

    Check:  If \(u(x) = {1 \over x} = x^{-1}\), then 

    ---

    [2]~ 4.)  The solution to the initial value problem \(y' = {1 - x \over y}\), \(y(0) = - qrt{3}\) is\hb  \(y = -  qrt{-x^2 + 2x + 3}\).~~
    State the largest interval on which the solution is defined.


    \(-x^2 + 2x + 3 \geq 0\) and since our convention is to not allow points vertical tangent lines in our domain, \(y \not= 0\).

    Thus \(-x^2 + 2x + 3 = (-x + 3)(x+1) > 0\).  Hence either \((-x + 3)\) and \((x+1)\)
    are both positive or both negative.  Thus

    \(-x + 3 > 0\) and \(x+1 > 0\) and thus  \(3 > x\) and \(x > -1\).  I.e., \(x \in (-1, 3)\) 
    ~~~~~OR
    \(-x + 3 < 0\) and \(x+1 < 0\) and thus  \(3 < x\) and \(x < -1\).  But \(x\) can't be both greater than 3 and less than -1, so largest possible  domain is ~~~B.)~ (-1, 3).


    ---

    [2]~ 5.)  A tank contains 100 liters of pure water. Saline solution with a variable
    concentration \(c(t) = e^{-t \over 100}\) grams of salt per liter is pumped into the
    tank at rate 1 liter per minute. The tank is kept perfectly mixed and
    also drains at a rate of 1 liter per minute, so the volume stays constant.
    Write an initial value problem modeling \(A(t)\), the amount of grams of
    salt dissolved in the solution in the tank at time \(t\) minutes.

    Note since the water is pure, the tank starts off with 0 grams of water.  Thus \(A(0) = 0\).  
    {Rate in = \({e^{-t \over 100} g \over 1 L}{1 L \over 1 minute}\)
    \hfill
    Rate out = \({A(t) g \over 1 L}{1 L \over 1 minute}\)
    \hfill

    Thus~~
    A.)  \({dA \over dt} =  e^{-t \over 100} - {A \over 100}\), ~
    \(A(0) = 0\)}


    ---

    \end

    START 100/FALL17/quiz4Fall2017ans.tex part 2

    Choose the best answer for the following problems:

    [2]~ 2.)  If \(u = y - x\), then


    A.)  \({dy \over dx} = {du \over dx}\)  \hfill
    B.)  \({dy \over dx} = {dx \over du}\)  \hfill
    C.)  \({dy \over dx} = {dx \over dy}\)  \hfill

    D.)  \({dy \over dx} = {du \over dy}\)  \hfill
    E.)  \({dy \over dx} = {du \over dx} + 1\)  \hfill
    F.)  \({dy \over dx} = {du \over dx}+ {dx \over du}\)  \hfill

    [2]~ 3.)  The integrating factor used to solve the differential equation \({dy \over dx} - {y \over x} = x^2\) is


    A.)  \(e^{x}\) \hfill
    B.)  \(e^{-x}\) \hfill
    C.)  \({x}\) \hfill
    D.)  \({1 \over x}\) \hfill

    ---

    [2]~ 4.)  The solution to the initial value problem \(y' = {1 - x \over y}\), \(y(0) = - qrt{3}\) is\hb  \(y = -  qrt{-x^2 + 2x + 3}\).~~
    State the largest interval on which the solution is defined.

    A.) ~ \((-1, \infty)\) \hfill
    B.)  ~\((-1, 3)\) \hfill
    C.)  ~\((3, \infty)\) \hfill
    D.)  ~\((-\infty, 1)\) \hfill
    E.)  ~\((-\infty, 3)\) \hfill

    F.) ~ \([-1, \infty)\) \hfill
    G.)  ~\([-1, 3]\) \hfill
    H.)  ~\([3, \infty)\) \hfill
    I.)  ~\((-\infty, 1]\) \hfill
    J.)  ~\((-\infty, 3]\) \hfill


    \end

    Section 2.7: Numerical Approximations: Euler's Method

    START 100/2_5a.tex

    {\bf Section 2.4 example:}  \({dy \over dt} = {1 \over (1 - t)(2 - y)}\)


    \(F(y, t) =  {1 \over (1 - t)(2 - y)}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    ${\partial F \over \partial y} = {\partial  \left({1 \over (1 - t)(2 - y)}\right) \over \partial y} = 
     {1 \over (1 - t)}{\partial  (2 - y)^{-1} \over \partial y} 
     = {1 \over (1 - t)(2-y)^2}$

    \({\partial F \over \partial y}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    Thus the IVP \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = y_0\) has a unique solution if \(t_0 \not= 1\), \(y_0 \not= 2\).

    Note that if \(y_0 = 2\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = 2\) has two solutions if \(t_0 \not= 2\)

    Note that if \(t_0 = 1\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(1) = y_0\) has no solutions.


     \((1,1/((1-x)(2-y)))/sqrt{1 + 1/((1-x)(2-y))^2)\) }

    {\bf Solve via separation of variables:}

    \(\int(2 - y)dy = \int {dt \over 1 - t}\)

    \(2y - {y^2 \over 2} = -ln|1 - t| + C\)

    \(y^2 - 4y - 2ln|1 - t| + C = 0\)

    \(y = {4 \pm  qrt{16 + 4(2ln|1 - t| + C)} \over 2}\)
    \(= 2  \pm  qrt{4 + 2ln|1 - t| + C}\)
    \(y= 2  \pm  qrt{2ln|1 - t| + C\)}

    {\bf Find domain:}  \(2ln|1 - t| + C \geq 0\)

    \(2ln|1 - t|  \geq -C\)

    \(ln|1 - t| \geq -{C \over 2}\)  \hfill Note:  we want to find domain 
    for this \(C\) 

     \(|1 - t| \geq e^{-{C \over 2}}\)  since \(e^x\) is an increasing function.


     \(1 - t \leq -e^{-{C \over 2}}\) or  \(1 - t \geq e^{-{C \over 2}}\)


     \(- t \leq -e^{-{C \over 2}} - 1\) or  \(-t \geq e^{-{C \over 2}}- 1\)

     Domain: \(\cases{  t \geq e^{-{C \over 2}} + 1 & if \)t_0 > 0$ \cr
    t \leq -e^{-{C \over 2}} + 1 &  if \(t_0 < 0\).}$

    Note:  Domain is much easier to determine when the ODE is linear.

     
    {\bf Find C given \(y(t_0) = y_0\):}  \(y_0 =  2  \pm  qrt{2ln|1 - t_0| + C}\)

    \(\pm(y_0 -2) =     qrt{2ln|1 - t_0| + C}\)

    \((y_0 -2)^2 - 2ln|1 - t_0| = C\)

    \(y = 2  \pm  qrt{2ln|1 - t| + C}\)


    \(y = 2  \pm  qrt{2ln|1 - t| + (y_0 -2)^2 - 2ln|1 - t_0|}\)
     
    \(y = 2  \pm  qrt{ (y_0 -2)^2 + ln{(1 - t)^2 \over (1-t_0)^2}}\)


     Domain: \(\cases{  t \geq e^{-{C \over 2}} + 1 & if \)t_0 > 0$ \cr
    t \leq -e^{-{C \over 2}} + 1 &  if \(t_0 < 0\).}$

    $e^{-{C \over 2}} = e^{-{(y_0 -2)^2 - 2ln|1 - t_0| \over 2}}
    = |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} }$

     Domain: \(\cases{  t \geq 1 + |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} } & if \)t_0 > 0$ \cr
    t \leq 1 - |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} } &  if \(t_0 < 0\).}$


    ---
    Section 2.5:  

    Exponential Growth/Decay \hfill \break
    Example:  population growth/radioactive decay)

    \(y' = ry\), \(y(0) = y_0\) implies \(y = y_0 e^{rt}\)

    \(r > 0\) \hskip 1.2in \(r < 0\)

    Logistic growth:  \(y' = h(y)y\)

    Example:  \(y' = r(1 - {y \over K})y\)

    \(y\) vs \(f(y)\) \hskip 1in slope field:


    Equilibrium solutions:

    Asymptotically stable:
     fill
    Asymptotically unstable:
     fill
    Asymptotically semi-stable:

     fill
    As \(t \rightarrow \infty\), if \(y > 0\), \(y \rightarrow \)
     fill


    Solution:  \(y = {y_0K \over y_0 + (K - y_0)e^{-rt}}\)

    {\bf Section 2.7 Euler method:}  Using tangent lines to approximate a function. 

     
    \(y_{i+1} = y_i + \Delta y = y_i + {\Delta y \over \Delta t}\Delta t \cong  y_i + {dy \over dt}\Delta t\)

    Alternatively use equation of tangent line: 

     slope \(= {y_{i+1 - y_i \over t_{i+1} - t_i} = f'(y_i, t_i)\).}

     
    \(y_{i+1} = f'(y_i, t_i)( t_{i+1} - t_i) + y_i = T(t_{i+1})\) where \(y = T(t)\) 

     
    Example:  \({dy \over dt} = y^2\), \(y(2) = 1\) implies 
    \(y = {1 \over 3 - t}\). 

     box{ \offinterlineskip \halign{  trut 
     rule \hfil  ~# \hfil 
    & rule width 1.25 pt \hfil \hskip 0.1in~# \hskip 0.1in\hfil
    & rule width 1.25 pt\hfil \hskip 0.2in~#\hskip 0.2in \hfil
     rule \cr
    \noalign{---ule}
    \(t\) & \(y = 1/(3-t)\)& approximation \cr 
    \noalign{---ule height 1.5pt}
    2.000000 & 1.000000 & 1.000000 \cr 
     \noalign{ ---ule}
    3.000000 & 999.000000 & 2.000000 \cr 
     \noalign{ ---ule}
    4.000000 & -1.000000 & 6.000000 \cr 
     \noalign{ ---ule}
    5.000000 & -0.500000 & 42.000000 \cr 
     \noalign{ ---ule}
    6.000000 & -0.333333 & 1806.000000 \cr 
     \noalign{ ---ule}
     %\noalign{ ---ule}
     %\noalign{ ---ule}
     %\noalign{ ---ule}
     %\noalign{ ---ule}
    }
    }

     fill

     box{ \offinterlineskip \halign{  trut 
     rule \hfil  ~# \hfil 
    & rule width 1.25 pt \hfil \hskip 0.1in~# \hskip 0.1in\hfil
    & rule width 1.25 pt\hfil \hskip 0.2in~#\hskip 0.2in \hfil
     rule \cr
    \noalign{---ule}
    \(t\) & \(y = 1/(3-t)\)& approximation \cr 
    \noalign{---ule height 1.5pt}
    2.000000 & 1.000000 & 1.000000 \cr 
     \noalign{ ---ule}
    2.100000 & 1.111111 & 1.100000 \cr 
     \noalign{ ---ule}
    2.200000 & 1.250000 & 1.221000 \cr 
     \noalign{ ---ule}
    2.300000 & 1.428571 & 1.370084 \cr 
     \noalign{ ---ule}
    2.400000 & 1.666667 & 1.557797 \cr 
     \noalign{ ---ule}
    2.500000 & 2.000000 & 1.800470 \cr 
     \noalign{ ---ule}
    2.600000 & 2.500000 & 2.124640 \cr 
     \noalign{ ---ule}
    2.700000 & 3.333333 & 2.576049 \cr 
     \noalign{ ---ule}
    2.800000 & 5.000000 & 3.239652 \cr 
     \noalign{ ---ule}
    2.900000 & 10.000004 & 4.289186 \cr 
     \noalign{ ---ule}
    }
    }


     box{ \offinterlineskip \halign{  trut 
     rule \hfil  ~# \hfil 
    & rule width 1.25 pt  \hfil  ~# \hfil 
    & rule width 1.25 pt\ \hfil  ~# \hfil 
     rule \cr
    \noalign{---ule}
    \(t\) & \(y = 1/(3-t)\)& approximation \cr 
    \noalign{---ule height 1.5pt}
    2.00 & 1.000000 & 1.000000 \cr 
     \noalign{ ---ule}
    2.01 & 1.010101 & 1.010000 \cr 
     \noalign{ ---ule}
    2.02 & 1.020408 & 1.020201 \cr 
     \noalign{ ---ule}
    2.03 & 1.030928 & 1.030609 \cr 
     \noalign{ ---ule}
    2.04 & 1.041667 & 1.041231 \cr 
     \noalign{ ---ule}
    2.05 & 1.052632 & 1.052072 \cr 
     \noalign{ ---ule}
    2.06 & 1.063830 & 1.063141 \cr 
     \noalign{ ---ule}
    2.07 & 1.075269 & 1.074443 \cr 
     \noalign{ ---ule}
    2.08 & 1.086957 & 1.085988 \cr 
     \noalign{ ---ule}
    2.09 & 1.098901 & 1.097782 \cr 
     \noalign{ ---ule}
    2.10 & 1.111111 & 1.109833 \cr 
     \noalign{ ---ule}
    2.11 & 1.123595 & 1.122150 \cr 
     \noalign{ ---ule}
    2.12 & 1.136364 & 1.134742 \cr 
     \noalign{ ---ule}
    2.13 & 1.149425 & 1.147619 \cr 
     \noalign{ ---ule}
     \noalign{ ---ule}
     \noalign{ ---ule}
     \noalign{ ---ule}
    2.87 & 7.692308 & 6.721314 \cr 
     \noalign{ ---ule}
    2.88 & 8.333333 & 7.173075 \cr 
     \noalign{ ---ule}
    2.89 & 9.090908 & 7.687605 \cr 
     \noalign{ ---ule}
    2.90 & 9.999998 & 8.278598 \cr 
     \noalign{ ---ule}
    2.91 & 11.111107 & 8.963949 \cr 
     \noalign{ ---ule}
    2.92 & 12.499993 & 9.767473 \cr 
     \noalign{ ---ule}
    2.93 & 14.285716 & 10.721509 \cr 
     \noalign{ ---ule}
    2.94 & 16.666666 & 11.871017 \cr 
     \noalign{ ---ule}
    2.95 & 19.999996 & 13.280227 \cr 
     \noalign{ ---ule}
    2.96 & 24.999987 & 15.043871 \cr 
     \noalign{ ---ule}
    2.97 & 33.333298 & 17.307051 \cr 
     \noalign{ ---ule}
    2.98 & 49.999897 & 20.302391 \cr 
     \noalign{ ---ule}
    2.99 & 99.999496 & 24.424261 \cr 
     \noalign{ ---ule}
    }
    }


    \end

    $\matrix{ t & y & approximation \cr 
    2 & 1 & 1}$

    \((1,1/((1-x)(2+x)))/sqrt{1 + 1/((1-x)(2+x))^2\)


    \({1,(1-x)(2+x)}/sqrt{1 + ((1-x)(2+x))^2}\)


    \({1,(1-y)(2+y)}/sqrt{1 + ((1-y)(2+y))^2}\)

    \end

    float t;
    float y;
    float yAprox;
    float h = 0.1;

    for (i = 0; i < 10; i++ )
    {
    t = 2 + i*h;
    y = 1/(3 - 2 + i*h);
    yAprox = yAprox +  yAprox*yAprox*h
    printf( ``%d & %d & %d'', t, y, yAprox );
    }

    START 100/2_8new.tex


    2.8:  Approximating solution using 

    \bf Method of Successive Approximation
    \u
    (also called Picard's iteration method).

    IVP:   \(y' = f(t, y)\), \(y(t_0) = y_0\).

    Note: Can always translate IVP to move initial value to the origin and translate back after solving:


    Hence for simplicity {\bf in section 2.8}, we will assume  initial value is at the origin:    \(y' = f(t, y)\), \(y(0) = 0\).


    {\bf Thm 2.4.2:}  Suppose the functions \hfill \break 
    \(z = f(t, y)\) and \(z = {\partial f \over \partial y}(t, y)\) 
    are continuous on \hb
    \((a, b) \times (c, d)\) 
    and the      
    point \((t_0, y_0) \in (a, b) \times (c, d)\), 
    then there exists an interval $(t_0 - h, t_0 + h)  ubset 
    (a, b)$ such that there exists a unique function 
    \(y = \phi(t)\) 
    defined on \((t_0 - h, t_0 + h)\) 
    that 
    satisfies the following
    initial value problem:  
    \(y'  = f(t, y), ~~y(t_0) = y_0.\)

    Thm 2.8.1 is translated to  origin version of Thm 2.4.2:


    {\bf Thm 2.8.1:}  Suppose the functions \hfill \break 
    \(z = f(t, y)\) and \(z = {\partial f \over \partial y}(t, y)\) 
    are continuous for all \(t\) in 
    \((-a, a) \times (-c, c)\), 

    \u
    then there exists an interval $(- h,  h)  ubset 
    (-a, a)$ such that there exists a unique function 
    \(y = \phi(t)\) 
    defined on \((- h, h)\) 
    that 
    satisfies the following
    initial value problem:  
     
    \(y'  = f(t, y), ~~y(0) = 0.\)
    {\bf Proof outline} (note this is a constructive proof and thus the proof is very useful).

    Given:  \(y' = f(t, y)\), \(y(0) = 0\)  \hfil Eqn (*)
    \u
    \(f\), \(\partial f/\partial y\) continuous \(\forall (t, y) \in (-a, a) \times (-b, b)\).  


    Then
    \(y = \phi(t)\) is a solution to (*) iff

    \(\p'(t) = f(t, \p(t))\), ~~\(\p(0) = 0\) iff

     \(\int_0^t \p'(s) ds = \i f(s, \phi(s)) ds\), ~~\(\p(0) = 0\) iff
     
    \( \p(t) = \p(t) - \p(0) =   \i f(s, \phi(s)) ds\) 

    Thus \(y = \p(t)\) is a solution to (*) 

    Construct \(\phi\) using method of successive approximation --  also called Picard's iteration method.

    Let \(\phi_0(t) = 0\) (or the function of your choice)

    Let \(\p_1(t) =   \i f(s, \phi_0(s)) ds\) 

    Let \(\p_2(t) =   \i f(s, \phi_1(s)) ds\) 

    \( dots\)

    Let \(\p_{n+1}(t) =   \i f(s, \phi_n(s)) ds\) 


    Let \(\phi(t) = \lim_{n \rightarrow \infty} \p_n(t)\)

    To finish the proof, need to answer the following questions (see book or more advanced class):

    1.)  Does \(\p_n(t)\) exist for all \(n\)?

    2.)  Does sequence \(\phi_n\) converge?

    3.)  Is \(\phi(t) = \lim_{n \rightarrow \infty} \p_n(t)\) a solution to (*).

    4.)  Is the solution unique.


    Example:  \(y' = t + 2y\).  \hfil That is \(f(t, y) = t + 2y\)

    Let \(\phi_0(t) = 0\)

    Let \(\p_1(t) =   \i f(s, 0)ds = \i (s + 2(0))ds\)


    Let \(\p_2(t) =   \i f(s, \p_1(s))ds =   \i f(s, {s^2 \over 2})ds\)


    Let \(\p_3(t) =   \i f(s, \p_2(s))ds =   \i f(s, {s^2 \over 2}+  {s^3 \over 3})ds\)


    Let \(\p_4(t) =   \i f(s, \p_3(s))ds   \)

    \hskip 0.59in \(= \i f(s, {s^2 \over 2}+  {s^3 \over 3}+ {s^4 \over 6} )ds\)

    \hskip 0.59in \( = \i (s + 2({s^2 \over 2}+  {s^3 \over 3} + {s^4 \over 6}))ds\)

    \hskip 0.59in\( =  {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}\)


    \( dots\)

    Determine formula for \(\p_n\):

    Note patterns:

    \(\i s ds= {t^2 \over 2} = \)


    \(\i {s^2 \over 2}ds = {t^3 \over 3 \cdot 2} = \)

    $\i {s^3 \over 3 \cdot 2}ds = {t^4 \over 4 \cdot 
    3 \cdot 2} = $

    $\i {s^4 \over 4 \cdot 3 \cdot 2}ds = {t^5 \over 5 \cdot 4 \cdot 
    3 \cdot 2} = $


    Thus look for factorials.


     \(\phi_0(t) = 0\)

     \(\p_1(t) = {t^2 \over 2} \) 


     \(\p_2(t)  =   {t^2 \over 2} +  {t^3 \over 3}\)

     \(\p_3(t) =    {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6}\)

     \(\p_4(t) =   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}=   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 3 \cdot 2} + {t^5 \over 5 \cdot 3}\)

     fill

    Thus \(\p_n(t) =\)


    FYI (ie not on quizzes/exam):
    Defn:  \(\So a_kx ^k = \displaystyle\lim_{n \rightarrow \infty}  o a_kx^k\)

    {Taylor's Theorem}:  If \(f\) is analytic  at 0, then for small \(x\) (i.e., \(x\) near 0), 
    \(f(x)=\displaystyle um_{k=0^\infty{f^{(k)}(0) \over k!}x^k\) \hskip 1.13in}
     
    Example:
     
    \(e^t = \So {t^k \over k!}\)  and thus \(e^{bt} = \So {b^kt^k \over k!}\) for \(t\) near 0.

    \(\p_n(t) = \displaystyle um_{k = 2}^n {2^{k-2} \over k!} t^k\)
    Thus $\p(t) = \displaystyle\lim_{n \rightarrow \infty}\p_n(t) = 
    \displaystyle um_{k = 2}^\infty {2^{k-2} \over k!} t^k
     = 
    {1 \over 4}\displaystyle um_{k = 2}^\infty {2^{k} \over k!} t^k$
     \rightline{= \( \displaystyle{1 \over 4}\displaystyle\left(~~~~~~~~~~~- ~~~~~~~~~ - ~~~~~~~~~\displaystyle\right)\)}


    2.8:  Approximating soln to IVP using seq of fns.

    \(\phi_0(t) = 0\), ~~ \textcolor{red}{\(\p_1(t) = {t^2 \over 2} \)},~~
      \textcolor{magenta}{\(\p_2(t)  =   {t^2 \over 2} +  {t^3 \over 3}\)},

     \(\p_4(t) =   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}\)


    2.7: Approximating soln to IVP using multiple tangent lines.


    $y(t) = \cases{ 
    0 & \(0 \leq t \leq 0.1\) \cr
    0.1t -0.01  & \(0.1 \leq t \leq 0.2\) \cr
    0.22t -0.034 & \(0.2 \leq t \leq 0.3\) \cr
    0.364t -0.0772 & \(0.3 \leq t \leq 0.4\) \cr
    0.5328t -0.14672 & \(0.4 \leq t \leq 0.5\) \cr
    $}


    \end

    START 100/exam1review.tex part 4


    2.7: Approximating soln to IVP using multiple tangent lines.

    Example:    \(y' = t + 2y\), \(y(0) = 0\)

    $y(t) = \cases{ 
    0 & \(0 \leq t \leq 0.1\) \cr
    0.1t -0.01  & \(0.1 \leq t \leq 0.2\) \cr
    0.22t -0.034 & \(0.2 \leq t \leq 0.3\) \cr
    0.364t -0.0772 & \(0.3 \leq t \leq 0.4\) \cr
    0.5328t -0.14672 & \(0.4 \leq t \leq 0.5\) \cr
    $}

    ~~~\includegraphics[width = 6.4truein]{fig2_7.png}

    2.8:  Approximating soln to IVP using seq of fns, 
    \(\p_{n+1(t) =   \i f(s, \phi_n(s)) ds\) }

    Example:    \(y' = t + 2y\), \(y(0) = 0\)

    \(\phi_0(t) = 0\), ~~ \textcolor{red}{\(\p_1(t) = {t^2 \over 2} \)},~~
      \textcolor{magenta}{\(\p_2(t)  =   {t^2 \over 2} +  {t^3 \over 3}\)},

     \(\p_4(t) =   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}\)

    ~~~\includegraphics[width = 6.3truein]{Figure2_8.png}

    \end

    START 100/quiz2Fall2019Empty.tex part 4


    ---

    1.) When taking the derivative with respect to \(t\),  \((y^2)' = 2y\)

    \hfill   A)  True  \hfill  B)False \hfill ~~

    2.) When taking the derivative with respect to \(t\),  \((y^2)' = 2yy'\)    

    \hfill   A)  True  \hfill  B)False \hfill ~~


    3.) If \(y(0) = -2\) and \(y^2 = g(t)\),  then \(y(t) =  qrt{g(t)}\)

    \hfill   A)  True  \hfill  B)False \hfill ~~

    4.) If \(y(0) = -2\) and \(y^2 = g(t)\),  then \(y(t) = - qrt{g(t)}\)

    \hfill   A)  True  \hfill  B)False \hfill ~~

    \end

    START 100/2_5a.tex

    {\bf Section 2.4 example:}  \({dy \over dt} = {1 \over (1 - t)(2 - y)}\)


    \(F(y, t) =  {1 \over (1 - t)(2 - y)}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    ${\partial F \over \partial y} = {\partial  \left({1 \over (1 - t)(2 - y)}\right) \over \partial y} = 
     {1 \over (1 - t)}{\partial  (2 - y)^{-1} \over \partial y} 
     = {1 \over (1 - t)(2-y)^2}$

    \({\partial F \over \partial y}\) is continuous for all \(t \not= 1\), \(y \not= 2\)

    Thus the IVP \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = y_0\) has a unique solution if \(t_0 \not= 1\), \(y_0 \not= 2\).

    Note that if \(y_0 = 2\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(t_0) = 2\) has two solutions if \(t_0 \not= 2\)

    Note that if \(t_0 = 1\), \({dy \over dt} = {1 \over (1 - t)(2 - y)}\), \(y(1) = y_0\) has no solutions.


     \((1,1/((1-x)(2-y)))/sqrt{1 + 1/((1-x)(2-y))^2)\) }

    {\bf Solve via separation of variables:}

    \(\int(2 - y)dy = \int {dt \over 1 - t}\)

    \(2y - {y^2 \over 2} = -ln|1 - t| + C\)

    \(y^2 - 4y - 2ln|1 - t| + C = 0\)

    \(y = {4 \pm  qrt{16 + 4(2ln|1 - t| + C)} \over 2}\)
    \(= 2  \pm  qrt{4 + 2ln|1 - t| + C}\)
    \(y= 2  \pm  qrt{2ln|1 - t| + C\)}

    {\bf Find domain:}  \(2ln|1 - t| + C \geq 0\)

    \(2ln|1 - t|  \geq -C\)

    \(ln|1 - t| \geq -{C \over 2}\)  \hfill Note:  we want to find domain 
    for this \(C\) 

     \(|1 - t| \geq e^{-{C \over 2}}\)  since \(e^x\) is an increasing function.


     \(1 - t \leq -e^{-{C \over 2}}\) or  \(1 - t \geq e^{-{C \over 2}}\)


     \(- t \leq -e^{-{C \over 2}} - 1\) or  \(-t \geq e^{-{C \over 2}}- 1\)

     Domain: \(\cases{  t \geq e^{-{C \over 2}} + 1 & if \)t_0 > 0$ \cr
    t \leq -e^{-{C \over 2}} + 1 &  if \(t_0 < 0\).}$

    Note:  Domain is much easier to determine when the ODE is linear.

     
    {\bf Find C given \(y(t_0) = y_0\):}  \(y_0 =  2  \pm  qrt{2ln|1 - t_0| + C}\)

    \(\pm(y_0 -2) =     qrt{2ln|1 - t_0| + C}\)

    \((y_0 -2)^2 - 2ln|1 - t_0| = C\)

    \(y = 2  \pm  qrt{2ln|1 - t| + C}\)


    \(y = 2  \pm  qrt{2ln|1 - t| + (y_0 -2)^2 - 2ln|1 - t_0|}\)
     
    \(y = 2  \pm  qrt{ (y_0 -2)^2 + ln{(1 - t)^2 \over (1-t_0)^2}}\)


     Domain: \(\cases{  t \geq e^{-{C \over 2}} + 1 & if \)t_0 > 0$ \cr
    t \leq -e^{-{C \over 2}} + 1 &  if \(t_0 < 0\).}$

    $e^{-{C \over 2}} = e^{-{(y_0 -2)^2 - 2ln|1 - t_0| \over 2}}
    = |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} }$

     Domain: \(\cases{  t \geq 1 + |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} } & if \)t_0 > 0$ \cr
    t \leq 1 - |1 - t_0|{e^{-{(y_0 -2)^2  \over 2}} } &  if \(t_0 < 0\).}$


    ---
    Section 2.5:  

    Exponential Growth/Decay \hfill \break
    Example:  population growth/radioactive decay)

    \(y' = ry\), \(y(0) = y_0\) implies \(y = y_0 e^{rt}\)

    \(r > 0\) \hskip 1.2in \(r < 0\)

    Logistic growth:  \(y' = h(y)y\)

    Example:  \(y' = r(1 - {y \over K})y\)

    \(y\) vs \(f(y)\) \hskip 1in slope field:


    Equilibrium solutions:

    Asymptotically stable:
     fill
    Asymptotically unstable:
     fill
    Asymptotically semi-stable:

     fill
    As \(t \rightarrow \infty\), if \(y > 0\), \(y \rightarrow \)
     fill


    Solution:  \(y = {y_0K \over y_0 + (K - y_0)e^{-rt}}\)

    {\bf Section 2.7 Euler method:}  Using tangent lines to approximate a function. 

     
    \(y_{i+1} = y_i + \Delta y = y_i + {\Delta y \over \Delta t}\Delta t \cong  y_i + {dy \over dt}\Delta t\)

    Alternatively use equation of tangent line: 

     slope \(= {y_{i+1 - y_i \over t_{i+1} - t_i} = f'(y_i, t_i)\).}

     
    \(y_{i+1} = f'(y_i, t_i)( t_{i+1} - t_i) + y_i = T(t_{i+1})\) where \(y = T(t)\) 

     
    Example:  \({dy \over dt} = y^2\), \(y(2) = 1\) implies 
    \(y = {1 \over 3 - t}\). 

     box{ \offinterlineskip \halign{  trut 
     rule \hfil  ~# \hfil 
    & rule width 1.25 pt \hfil \hskip 0.1in~# \hskip 0.1in\hfil
    & rule width 1.25 pt\hfil \hskip 0.2in~#\hskip 0.2in \hfil
     rule \cr
    \noalign{---ule}
    \(t\) & \(y = 1/(3-t)\)& approximation \cr 
    \noalign{---ule height 1.5pt}
    2.000000 & 1.000000 & 1.000000 \cr 
     \noalign{ ---ule}
    3.000000 & 999.000000 & 2.000000 \cr 
     \noalign{ ---ule}
    4.000000 & -1.000000 & 6.000000 \cr 
     \noalign{ ---ule}
    5.000000 & -0.500000 & 42.000000 \cr 
     \noalign{ ---ule}
    6.000000 & -0.333333 & 1806.000000 \cr 
     \noalign{ ---ule}
     %\noalign{ ---ule}
     %\noalign{ ---ule}
     %\noalign{ ---ule}
     %\noalign{ ---ule}
    }
    }

     fill

     box{ \offinterlineskip \halign{  trut 
     rule \hfil  ~# \hfil 
    & rule width 1.25 pt \hfil \hskip 0.1in~# \hskip 0.1in\hfil
    & rule width 1.25 pt\hfil \hskip 0.2in~#\hskip 0.2in \hfil
     rule \cr
    \noalign{---ule}
    \(t\) & \(y = 1/(3-t)\)& approximation \cr 
    \noalign{---ule height 1.5pt}
    2.000000 & 1.000000 & 1.000000 \cr 
     \noalign{ ---ule}
    2.100000 & 1.111111 & 1.100000 \cr 
     \noalign{ ---ule}
    2.200000 & 1.250000 & 1.221000 \cr 
     \noalign{ ---ule}
    2.300000 & 1.428571 & 1.370084 \cr 
     \noalign{ ---ule}
    2.400000 & 1.666667 & 1.557797 \cr 
     \noalign{ ---ule}
    2.500000 & 2.000000 & 1.800470 \cr 
     \noalign{ ---ule}
    2.600000 & 2.500000 & 2.124640 \cr 
     \noalign{ ---ule}
    2.700000 & 3.333333 & 2.576049 \cr 
     \noalign{ ---ule}
    2.800000 & 5.000000 & 3.239652 \cr 
     \noalign{ ---ule}
    2.900000 & 10.000004 & 4.289186 \cr 
     \noalign{ ---ule}
    }
    }


     box{ \offinterlineskip \halign{  trut 
     rule \hfil  ~# \hfil 
    & rule width 1.25 pt  \hfil  ~# \hfil 
    & rule width 1.25 pt\ \hfil  ~# \hfil 
     rule \cr
    \noalign{---ule}
    \(t\) & \(y = 1/(3-t)\)& approximation \cr 
    \noalign{---ule height 1.5pt}
    2.00 & 1.000000 & 1.000000 \cr 
     \noalign{ ---ule}
    2.01 & 1.010101 & 1.010000 \cr 
     \noalign{ ---ule}
    2.02 & 1.020408 & 1.020201 \cr 
     \noalign{ ---ule}
    2.03 & 1.030928 & 1.030609 \cr 
     \noalign{ ---ule}
    2.04 & 1.041667 & 1.041231 \cr 
     \noalign{ ---ule}
    2.05 & 1.052632 & 1.052072 \cr 
     \noalign{ ---ule}
    2.06 & 1.063830 & 1.063141 \cr 
     \noalign{ ---ule}
    2.07 & 1.075269 & 1.074443 \cr 
     \noalign{ ---ule}
    2.08 & 1.086957 & 1.085988 \cr 
     \noalign{ ---ule}
    2.09 & 1.098901 & 1.097782 \cr 
     \noalign{ ---ule}
    2.10 & 1.111111 & 1.109833 \cr 
     \noalign{ ---ule}
    2.11 & 1.123595 & 1.122150 \cr 
     \noalign{ ---ule}
    2.12 & 1.136364 & 1.134742 \cr 
     \noalign{ ---ule}
    2.13 & 1.149425 & 1.147619 \cr 
     \noalign{ ---ule}
     \noalign{ ---ule}
     \noalign{ ---ule}
     \noalign{ ---ule}
    2.87 & 7.692308 & 6.721314 \cr 
     \noalign{ ---ule}
    2.88 & 8.333333 & 7.173075 \cr 
     \noalign{ ---ule}
    2.89 & 9.090908 & 7.687605 \cr 
     \noalign{ ---ule}
    2.90 & 9.999998 & 8.278598 \cr 
     \noalign{ ---ule}
    2.91 & 11.111107 & 8.963949 \cr 
     \noalign{ ---ule}
    2.92 & 12.499993 & 9.767473 \cr 
     \noalign{ ---ule}
    2.93 & 14.285716 & 10.721509 \cr 
     \noalign{ ---ule}
    2.94 & 16.666666 & 11.871017 \cr 
     \noalign{ ---ule}
    2.95 & 19.999996 & 13.280227 \cr 
     \noalign{ ---ule}
    2.96 & 24.999987 & 15.043871 \cr 
     \noalign{ ---ule}
    2.97 & 33.333298 & 17.307051 \cr 
     \noalign{ ---ule}
    2.98 & 49.999897 & 20.302391 \cr 
     \noalign{ ---ule}
    2.99 & 99.999496 & 24.424261 \cr 
     \noalign{ ---ule}
    }
    }


    \end

    $\matrix{ t & y & approximation \cr 
    2 & 1 & 1}$

    \((1,1/((1-x)(2+x)))/sqrt{1 + 1/((1-x)(2+x))^2\)


    \({1,(1-x)(2+x)}/sqrt{1 + ((1-x)(2+x))^2}\)


    \({1,(1-y)(2+y)}/sqrt{1 + ((1-y)(2+y))^2}\)

    \end

    float t;
    float y;
    float yAprox;
    float h = 0.1;

    for (i = 0; i < 10; i++ )
    {
    t = 2 + i*h;
    y = 1/(3 - 2 + i*h);
    yAprox = yAprox +  yAprox*yAprox*h
    printf( ``%d & %d & %d'', t, y, yAprox );
    }

    START 100/2_8new.tex


    2.8:  Approximating solution using 

    \bf Method of Successive Approximation
    \u
    (also called Picard's iteration method).

    IVP:   \(y' = f(t, y)\), \(y(t_0) = y_0\).

    Note: Can always translate IVP to move initial value to the origin and translate back after solving:


    Hence for simplicity {\bf in section 2.8}, we will assume  initial value is at the origin:    \(y' = f(t, y)\), \(y(0) = 0\).


    {\bf Thm 2.4.2:}  Suppose the functions \hfill \break 
    \(z = f(t, y)\) and \(z = {\partial f \over \partial y}(t, y)\) 
    are continuous on \hb
    \((a, b) \times (c, d)\) 
    and the      
    point \((t_0, y_0) \in (a, b) \times (c, d)\), 
    then there exists an interval $(t_0 - h, t_0 + h)  ubset 
    (a, b)$ such that there exists a unique function 
    \(y = \phi(t)\) 
    defined on \((t_0 - h, t_0 + h)\) 
    that 
    satisfies the following
    initial value problem:  
    \(y'  = f(t, y), ~~y(t_0) = y_0.\)

    Thm 2.8.1 is translated to  origin version of Thm 2.4.2:


    {\bf Thm 2.8.1:}  Suppose the functions \hfill \break 
    \(z = f(t, y)\) and \(z = {\partial f \over \partial y}(t, y)\) 
    are continuous for all \(t\) in 
    \((-a, a) \times (-c, c)\), 

    \u
    then there exists an interval $(- h,  h)  ubset 
    (-a, a)$ such that there exists a unique function 
    \(y = \phi(t)\) 
    defined on \((- h, h)\) 
    that 
    satisfies the following
    initial value problem:  
     
    \(y'  = f(t, y), ~~y(0) = 0.\)
    {\bf Proof outline} (note this is a constructive proof and thus the proof is very useful).

    Given:  \(y' = f(t, y)\), \(y(0) = 0\)  \hfil Eqn (*)
    \u
    \(f\), \(\partial f/\partial y\) continuous \(\forall (t, y) \in (-a, a) \times (-b, b)\).  


    Then
    \(y = \phi(t)\) is a solution to (*) iff

    \(\p'(t) = f(t, \p(t))\), ~~\(\p(0) = 0\) iff

     \(\int_0^t \p'(s) ds = \i f(s, \phi(s)) ds\), ~~\(\p(0) = 0\) iff
     
    \( \p(t) = \p(t) - \p(0) =   \i f(s, \phi(s)) ds\) 

    Thus \(y = \p(t)\) is a solution to (*) 

    Construct \(\phi\) using method of successive approximation --  also called Picard's iteration method.

    Let \(\phi_0(t) = 0\) (or the function of your choice)

    Let \(\p_1(t) =   \i f(s, \phi_0(s)) ds\) 

    Let \(\p_2(t) =   \i f(s, \phi_1(s)) ds\) 

    \( dots\)

    Let \(\p_{n+1}(t) =   \i f(s, \phi_n(s)) ds\) 


    Let \(\phi(t) = \lim_{n \rightarrow \infty} \p_n(t)\)

    To finish the proof, need to answer the following questions (see book or more advanced class):

    1.)  Does \(\p_n(t)\) exist for all \(n\)?

    2.)  Does sequence \(\phi_n\) converge?

    3.)  Is \(\phi(t) = \lim_{n \rightarrow \infty} \p_n(t)\) a solution to (*).

    4.)  Is the solution unique.


    Example:  \(y' = t + 2y\).  \hfil That is \(f(t, y) = t + 2y\)

    Let \(\phi_0(t) = 0\)

    Let \(\p_1(t) =   \i f(s, 0)ds = \i (s + 2(0))ds\)


    Let \(\p_2(t) =   \i f(s, \p_1(s))ds =   \i f(s, {s^2 \over 2})ds\)


    Let \(\p_3(t) =   \i f(s, \p_2(s))ds =   \i f(s, {s^2 \over 2}+  {s^3 \over 3})ds\)


    Let \(\p_4(t) =   \i f(s, \p_3(s))ds   \)

    \hskip 0.59in \(= \i f(s, {s^2 \over 2}+  {s^3 \over 3}+ {s^4 \over 6} )ds\)

    \hskip 0.59in \( = \i (s + 2({s^2 \over 2}+  {s^3 \over 3} + {s^4 \over 6}))ds\)

    \hskip 0.59in\( =  {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}\)


    \( dots\)

    Determine formula for \(\p_n\):

    Note patterns:

    \(\i s ds= {t^2 \over 2} = \)


    \(\i {s^2 \over 2}ds = {t^3 \over 3 \cdot 2} = \)

    $\i {s^3 \over 3 \cdot 2}ds = {t^4 \over 4 \cdot 
    3 \cdot 2} = $

    $\i {s^4 \over 4 \cdot 3 \cdot 2}ds = {t^5 \over 5 \cdot 4 \cdot 
    3 \cdot 2} = $


    Thus look for factorials.


     \(\phi_0(t) = 0\)

     \(\p_1(t) = {t^2 \over 2} \) 


     \(\p_2(t)  =   {t^2 \over 2} +  {t^3 \over 3}\)

     \(\p_3(t) =    {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6}\)

     \(\p_4(t) =   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}=   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 3 \cdot 2} + {t^5 \over 5 \cdot 3}\)

     fill

    Thus \(\p_n(t) =\)


    FYI (ie not on quizzes/exam):
    Defn:  \(\So a_kx ^k = \displaystyle\lim_{n \rightarrow \infty}  o a_kx^k\)

    {Taylor's Theorem}:  If \(f\) is analytic  at 0, then for small \(x\) (i.e., \(x\) near 0), 
    \(f(x)=\displaystyle um_{k=0^\infty{f^{(k)}(0) \over k!}x^k\) \hskip 1.13in}
     
    Example:
     
    \(e^t = \So {t^k \over k!}\)  and thus \(e^{bt} = \So {b^kt^k \over k!}\) for \(t\) near 0.

    \(\p_n(t) = \displaystyle um_{k = 2}^n {2^{k-2} \over k!} t^k\)
    Thus $\p(t) = \displaystyle\lim_{n \rightarrow \infty}\p_n(t) = 
    \displaystyle um_{k = 2}^\infty {2^{k-2} \over k!} t^k
     = 
    {1 \over 4}\displaystyle um_{k = 2}^\infty {2^{k} \over k!} t^k$
     \rightline{= \( \displaystyle{1 \over 4}\displaystyle\left(~~~~~~~~~~~- ~~~~~~~~~ - ~~~~~~~~~\displaystyle\right)\)}


    2.8:  Approximating soln to IVP using seq of fns.

    \(\phi_0(t) = 0\), ~~ \textcolor{red}{\(\p_1(t) = {t^2 \over 2} \)},~~
      \textcolor{magenta}{\(\p_2(t)  =   {t^2 \over 2} +  {t^3 \over 3}\)},

     \(\p_4(t) =   {t^2 \over 2} +  {t^3 \over 3} +  {t^4 \over 6} + {t^5 \over 15}\)


    2.7: Approximating soln to IVP using multiple tangent lines.


    $y(t) = \cases{ 
    0 & \(0 \leq t \leq 0.1\) \cr
    0.1t -0.01  & \(0.1 \leq t \leq 0.2\) \cr
    0.22t -0.034 & \(0.2 \leq t \leq 0.3\) \cr
    0.364t -0.0772 & \(0.3 \leq t \leq 0.4\) \cr
    0.5328t -0.14672 & \(0.4 \leq t \leq 0.5\) \cr
    $}


    \end

    START 100/FALL18/quiz2_2018ans.tex part 3

    [10]~ 2.)  Suppose \({\phi_n}\) is defined by sucessive approximation where  \(y' = {2t \over y+1}\), ~\(y(0) = 0\).
    If \(\phi_1(t) = t^2\), then \(\phi_2(t) = \underline{~~ ln|t^2 + 1|~~}\)  \hfill (from 2.8)

    \(y' = f(t, y(t))\), \(y(0) = 0\).  Thus \(y(t)  = \int_0^t f(s, y(s))ds\). 

    \(\phi_2(t) = \int_0^t f(s, \phi_1(s))ds= \int_0^t {2s \over s^2 + 1} = ln|s^2 + 1| |_0^t  = ln|t^2 + 1| -  ln|1| =  ln|t^2 + 1| \)

     fill
     fill
     fill

    \end

    START 100/FALL16/e1_Fall2016ANS.tex part 4

    3.)  Suppose \(y' = y - t + 1\),     ~\(y(0) = 0\).  

    Let \(\phi_0(t) = 0\) and define \(\{\phi_n(t)\}\) by the method of successive approximation (i.e, Picards iteration method).  Determine the following:
     fill

    \(y' = f(t, y)\)

    \(\phi_1(t) =   \i f(s, \phi_0(s)) ds =  \i f(s, 0) ds =  \i (0 - s + 1)ds =\)

    \((- {s^2 \over 2} + s)\e = - {t^2 \over 2} + t - 0\) 
     fill
    [3] ~3a) \(\phi_1(t) = \underline{~~- {t^2 \over 2} + t~~}\)
     fill
    \(\phi_2(t) =   \i f(s, \phi_1(s)) ds =  \i f(s, - {s^2 \over 2} + s ) ds =  \i (- {s^2 \over 2} + s - s + 1)ds \)

    $=  \i (- {s^2 \over 2}  + 1)ds=
    (- {s^3 \over 6} + s)\e = - {t^3 \over 6} + t - 0$ 
     fill
    [3] ~3b) \(\phi_2(t) = \underline{~~ - {t^3 \over 6} + t~~}\)
     fill
    \(\phi_3(t) =   \i f(s, \phi_2(s)) ds =  \i f(s, - {s^3 \over 6} + s ) ds =  \i (- {s^3 \over 6} + s - s + 1)ds \)

    $=  \i (- {s^3 \over 6}  + 1)ds=
    (- {s^4 \over 24} + s)\e = - {t^3 \over 24} + t - 0$ 

     fill
    [3] ~3c) \(\phi_3(t) = \underline{~~- {t^4 \over 24} + t ~~}\)
     fill

     fill
    [4] ~3d) \(\phi_n(t) = \underline{~~- {t^{n+1} \over (n+1)!} + t ~~}\)
     fill

     fill
    [3] ~3e) \(lim_{n\rightarrow \infty} \phi_n(t) = \underline{~~t~~}\)

    [2] ~3f)  Is \(\phi(t) = lim_{n\rightarrow \infty} \phi_n(t)\) a solution to  
    \(y' = y - t + 1\),     ~\(y(0) = 0\)?  \(\underline{~~yes~~}\)
     fill

     fill
    [2] ~3g)  Is \(\phi(t) = lim_{n\rightarrow \infty} \phi_n(t)\) the unique solution to  
    \(y' = y - t + 1\),     ~\(y(0) = 0\)?  \(\underline{~~yes~~}\)

    \end

    Section 2.8: The Existence and Uniqueness Theorem

    START 100/2_4examples.tex


    If possible {\bf without solving}, determine where the solution exists for the following initial value problems:

    If not possible  {\bf without solving}, state where in the \(ty\)-plane, the hypothesis of theorem 2.4.2 is satisfied.  In other words, use theorm 2.4.2 to determine where for some interval about \(t_0\), a solution to IVP, \(y' = f(t, y)\), \(y(t_0) = y_0\) exists and is unique. 

    Example 1:  \(y' = y^{1 \over 3}, ~y(t_0) = y_0\)
     fill
    Example 2:  \(ty' - y = 1, ~y(t_0) = y_0\)
     fill
    Example 3:  \(y'  = ln|{t \over y}|, ~y(3) = 6\)
     fill fill
    Example 4:  \((t^2 - 1)y' - {t^3y \over t - 4} = ln|t|, ~y(3) = 6\)
     fill

    \end

    START 100/2_4examples.tex


    If possible {\bf without solving}, determine where the solution exists for the following initial value problems:

    If not possible  {\bf without solving}, state where in the \(ty\)-plane, the hypothesis of theorem 2.4.2 is satisfied.  In other words, use theorm 2.4.2 to determine where for some interval about \(t_0\), a solution to IVP, \(y' = f(t, y)\), \(y(t_0) = y_0\) exists and is unique. 

    Example 1:  \(y' = y^{1 \over 3}, ~y(t_0) = y_0\)
     fill
    Example 2:  \(ty' - y = 1, ~y(t_0) = y_0\)
     fill
    Example 3:  \(y'  = ln|{t \over y}|, ~y(3) = 6\)
     fill fill
    Example 4:  \((t^2 - 1)y' - {t^3y \over t - 4} = ln|t|, ~y(3) = 6\)
     fill

    \end

    Section 2.9: First-Order Difference Equations

    Chapter 3: Second-Order Differential Equations

    Section 3.1: Homogeneous Differential Equations with Constant Coefficients

    START 100/ch3_134.tex part 1

    Derivation of general solutions:


    Ch 3: we guessed \(e^{rt}\) is a solution and noted that any linear combination of 
    solutions is a solution to a homogeneous linear differential equation.


    Section 3.1:   If \(b^2 - 4ac > 0\):  ~~
    \(y = c_1e^{r_1t} + c_2e^{r_2t}\)


    START 100/ch3_134.tex AND 100/ch3new.tex

    {\bf Examples:}  
    \u\u
    Ex 1:  Solve \(y''- 3y' - 4y = 0\), ~\(y(0) = 1\), \(y'(0) = 2\).

    If \(y = e^{rt\), then \(y' = re^{rt}\) and \(y'' = r^2e^{rt}\).}
    \u
    \(r^2e^{rt} - 3re^{rt} - 4e^{rt} = 0\) 
    \u
    \(r^2 - 3r - 4 = 0\) implies \((r -4)(r+1) = 0\).  Thus \(r = 4, -1\)
    \u

    Hence general solution is \(y = c_1e^{4t  + c_2e^{-t}\)}
    \u
    Solution to IVP:  
    \u\u\u
    Need to solve for 2 unknowns, \(c_1\) \& \(c_2\); thus need 2 eqns:
    \u
     \(y = c_1e^{4t}  + c_2e^{-t}\), ~~~~\(y(0) = 1\) ~~implies~~ \(1 = c_1 + c_2\)
     \u
    \(y' = 4c_1e^{4t}  - c_2e^{-t}\), ~~ \(y'(0) = 2\)~~implies~~\(2 = 4c_1  - c_2\) 
    \u
    Thus \(3 = 5c_1\) \& hence \(c_1 = {3 \over 5}\) and \(c_2 = 1 - c_1 = 1 -  {3 \over 5} =  {2 \over 5}\)


    Thus IVP soln:   \(y =  {3 \over 5e^{4t}  +  {2\over 5}e^{-t}\)}

    ---
    \u

    Ex:  linear homogeneous 1rst order DE: \(y' + 2y = 0\)

    integrating factor \(u(t) = e^{\int 2dt} = e^{2t}\)

    \(y'e^{2t} + 2e^{2t}y = 0\)

    \((e^{2t}y)' = 0\).  Thus \(\int (e^{2t}y)'dt = \int 0 dt\).  Hence \(e^{2t}y = C\)

    So \(y = Ce^{-2t}\).  

    Thus exponential function could also be a solution to a linear homogeneous 2nd order DE

    Ex: Simple linear homog 2nd order DE  \(y'' +2 y' = 0\).

    Let \(v = y'\), then \(v' = y''\)

     \(y'' +2 y' = 0\) implies  \(v' +2 v = 0\) implies \(v = e^{2t}\).

    Thus \(v = y' = {dy \over dt} = Ce^{-2t}\).  Hence \(dy = Ce^{-2t}dt\) and
     fill
     \(y = c_1e^{-2t + c_2\).}
     \(y = c_1e^{-2t + c_2\).}

    Note 2 integrations give us 2 constants.

    Note also that we the general solution is a linear combination of two solutions:

    Let \(c_1 = 1, ~c_2 = 0\), then we see, \(y(t) = e^{-2t}\) is a solution.

     
    Let \(c_1 = 0, ~c_2 = 1\), then we see, \(y(t) = 1\) is a solution.

    The general solution is a linear combination of two solutions:
    \u
     \(y = c_1e^{-2t + c_2(1)\).}

    ---

    Recall:  you have seen this before:  
    \u
    Solve linear homogeneous matrix equation \(A{\bf y} = {\bf 0}\).  
    \u
    The general solution is a linear combination of linearly independent vectors that span the solution space:  

    \({\bf y = c_1{\bf v_1} + ... c_n{\bf v_n}\)}

    ---

    \u

    {FYI:  You could see this again:
    \u
    Math 4050:  Solve homogeneous linear recurrance relation \(x_n - x_{n-1} - x_{n-2}=0\)  where \(x_1 = 1\) and \(x_2 = 1\).
    \u
    Fibonacci sequence:  \(x_n = x_{n-1} + x_{n-2}\)
    1, 1, 2, 3, 5, 8, 13, 21, ...
    \u
    Note $x_n ={1 \over  qrt{5}}({1 +  qrt{5} \over 2})^n -
    {1 \over  qrt{5}}({1 -  qrt{5} \over 2})^n$

    Proof: \(x_n = x_{n-1} + x_{n-2}\)  implies \(x_n - x_{n-1} - x_{n-2} = 0\)

      Suppose \(x_n = r^n\).  Then \(x_{n-1} = r^{n-1}\) and \(x_{n-2} = r^{n-2}\)

    Then 
    \(0 = x_n - x_{n-1} - x_{n-2} = r^n -  r^{n-1} -  r^{n-2}\)

    Thus \(r^{n-2}(r^2 - r - 1) = 0\).  

    Thus either \(r = 0\) or $r = {1 \pm  qrt{1 - 4(1)(-1)} \over 2} = 
    {1 \pm  qrt{5} \over 2}$ 

    Thus \(x_n = 0\), ~~\(x_n = \left({1 +  qrt{5} \over 2}\right)^n\) and 
    ~~\(f_n = \left({1 -  qrt{5} \over 2}\right)^n\) 
    are
    3 different sequences that satisfy the
    \u
    homog linear recurrence relation: \(x_n - x_{n-1} - x_{n-2} = 0\).


    Hence $x_n = c_1\left({1 +  qrt{5} \over 2}\right)^n + c_2 
    \left({1 -  qrt{5} \over 2}\right)^n$ 
    {also satisfies this}

    homogeneous linear recurrence relation.

    Suppose the initial conditions are \(x_1 = 1\) and \(x_2 = 1\)

    Then for \(n = 1\):  \(x_1 = 1\) implies \( c_1 + c_2 = 1\)

    For \(n = 2\):  \(x_2 = 1\) implies  $c_1\left({1 +  qrt{5} \over 2}\right) + c_2 
    \left({1 -  qrt{5} \over 2}\right) = 1$}

    We can solve this for \(c_1\) and \(c_2\) to determine that 
       \t
     $x_n ={1 \over  qrt{5}({1 +  qrt{5} \over 2})^n -
    {1 \over  qrt{5}}({1 -  qrt{5} \over 2})^n$}

    {\bf Second order differential equation:}
     
    Linear equation with constant coefficients:
    \hskip 10pt
    If the second order differential equation is 
    \(ay'' + by' + cy = 0\), 

    then \(y = e^{rt\) is a solution}

    Need to have two independent solutions.


    Solve the following IVPs:


    1.)  \(y'' - 6y' + 9y = 0\)    \hfill     \(y(0) = 1, ~ y'(0) = 2\)

    \w

    2.) \(4y'' - y' + 2y = 0\) \hfill     \(y(0) = 3, ~ y'(0) = 4\)
    \w

    3.) \(4y'' + 4y' + y = 0\)  \hfill     \(y(0) = 6, ~ y'(0) = 7\)
    \w

    4.)  \(2y'' - 2y = 0\)  \hfill     \(y(0) = 5, ~y'(0) = 9\)


    Thm:  Suppose \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    If \(\psi\) is a solution to

    \(ay'' + by' + cy = g(t)\) [*],
    Then \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is also a solution to [*].

    Moreover if \(\gamma\) is also a solution to [*], then there exist constants \(c_1, c_2\) such that 

    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\)

    Or in other words, \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to [*].


    Proof:  

    Define   \(L(f) = af'' + bf' + cf\).

    Recall \(L\) is a linear function.

     Let \(h = c_1 \phi_1(t) + c_2 \phi_2(t)\).  Since \(h\) is a solution to the differential 
    equation, \(ay'' + by' + cy = 0\),


    Since \(\psi\) is a solution to 
     \(ay'' + by' + cy = g(t)\),


    We will now show that \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t) = \psi + h\) is also a solution to 
    [*].


    Since \(\gamma\) a solution to  \(ay'' + by' + cy = g(t)\),


    We will first show that \(\gamma - \psi\) is a solution to the differential equation
     \(ay'' + by' + cy = 0\).

     fill

    Since \(\gamma - \psi\) is a solution to \(ay'' + by' + cy = 0\) and 

    \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    there exist constants \(c_1, c_2\) such that

    \(\gamma - \psi =\underline{\hskip 2in\)}


    Thus
    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\).


    Thm: \hfil \break
     Suppose  
    \(f_1\) is a a solution to
    \(ay'' + by' + cy = g_1(t)\)  \hfil \break
    and \(f_2\) is a a solution to
    \(ay'' + by' + cy = g_2(t)\), then \(f_1 + f_2\) is a solution to
    \(ay'' + by' + cy = g_1(t) + g_2(t)\)


    Proof: Let  \(L(f) = af'' + bf' + cf\).

    Since \(f_1\) is a solution to 
     \(ay'' + by' + cy = g_1(t)\),


    Since \(f_2\) is a solution to 
     \(ay'' + by' + cy = g_2(t)\),


    We will now show that \(f_1 + f_2\) is a solution to \break
     \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill


    Sidenote:  The proofs above work even if \(a, b, c\) are functions of \(t\) instead of constants.


    \end

    START 100/ch3new.tex part 1

    Initial value problem:  use \(y(t_0) = y_0\), \(y'(t_0) = y_0'\) to solve for \(c_1, c_2\) to find unique 
    solution. 
    Derivation of general solutions:


    If \(b^2 - 4ac > 0\) we guessed \(e^{rt}\) is a solution and noted that any linear combination of 
    solutions is a solution to a homogeneous linear differential equation.


    \end

    START 100/exam1review.tex part 5


    Note:  You must be able to identify which techniques you need to use.  For example:

    Integration:

    * Integration by substitution

     * Integration by parts

    * Integration by partial fractions

    Note: Partial fractions are also used in ch 6 for a different application.

    For differential equations:

    Is the differential equation 1rst order or 2nd order?

    If 2nd order:  Section 3.1, solve \(ay'' + by' + cy = 0\).  

    Guess \(y = e^{rt}\).

      skip -8pt
    \(ar^2e^{rt} + bre^{rt} + ce^{rt} = 0\) implies \(ar^2 + br + c = 0\),
     

    Need to have two independent solutions.

    If \(y = \phi_1, y = \phi_2\) are solutions to a  LINEAR HOMOGENEOUS differential equation, \(y = c_1\phi_1 + c_2\phi_2\) 
    is also 
    a solution 

    If 1st order:  Is the equation linear or separable or ?

    \end

    START 100/FALL17/quiz3Fall2017formAans.tex part 2

    [2]~ 6.)  Note this is a 3.1 problem.  The general solution to \(y'' + 2y' - 8y = 0\) is
    B.)  \(y = c_1e^{2t} + c_2e^{-4t}\)\hfill
    ~~~~~
     since \(r^2 + 2r - 8 = (r +4)(r-2) = 0\) implies \(r = -4, 2\).

    \end

    START 100/FALL17/quiz3Fall2017formBans.tex part 2

    [2]~ 6.)  Note this is a 3.1 problem.  The general solution to \(y'' - 2y' - 8y = 0\) is
    C.)  \(y = c_1e^{-2t} + c_2e^{ 4t}\)\hfill
    ~~~~~
     since \(r^2 - 2r - 8 = (r -4)(r+2) = 0\) implies \(r = 4, -2\).

    \end


    START 100/FALL17/quiz4Fall2017formBans.tex part 1

    [2]~ 6.)  Note this is a 3.1 problem.  The general solution to \(y'' + 2y' -8y = 0\) is

    A.)  \(y = c_1e^{2t} + c_2e^{4t}\) \hfill
    B.)  \(y = c_1e^{2t} + c_2e^{-4t}\) \hfill
    C.)  \(y = c_1e^{-2t} + c_2e^{4t}\) \hfill

    D.)  \(y = c_1e^{-2t} + c_2e^{-4t}\) \hfill
    E.)  \(y = c_1e^{2t} + c_2te^{2t}\) \hfill
    F.)  \(y = c_1cos(2t) + c_2sin(2t)\)\hfill


    \end

    START 100/FALL16/e1_Fall2016ANS.tex part 5


    [20]~ 1.)  Solve \(y'' - 6y' + 9 = 0\), \(y(0) = 2\), \(y'(0) = 4\).

     fill
    Answer: \(\underline{~~\hskip 4in~~\)}


     2.)  Circle T for true and F for false.  

    [4]~ 2a.)  The equation \(ln(t)y' = {t \over t+1} -  y(sin t^2)\) is a linear differential equation.

    [4]~ 2b.)  The equation \(y' + y = y^2\) is a linear differential equation.
    \hfill{T~~~~~~~~~~~F}

    [4]~ 2c.)  Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to 
     \(ay'' + by' + cy = 0\).
    If \(y = h(t)\) is   also a solution to  \(ay'' + by' + cy = 0\), then there exists constants \(c_1\) and \(c_2\) such that \(h(t) = c_1\phi_1(t) + c_2\phi_2(t)\).
    \hfill{T~~~~~~~~~~~F}

    [4]~ 2d.)   Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are linearly independent solutions to 
     \(ay'' + by' + cy = 0\).
    If \(y = h(t)\) is   also a solution to  \(ay'' + by' + cy = 0\), then there exists constants \(c_1\) and \(c_2\) such that \(h(t) = c_1\phi_1(t) + c_2\phi_2(t)\).
    \hfill{T~~~~~~~~~~~F}

    \end

    START 100/SPRING15/e1_2016ans.tex part 3

    \nopagenumbers


    Math 3600 Differential Equations Exam \#1
                                   March 2, 2016 \hfill  SHOW ALL
    WORK
    ~~~

    [20]~ 1.)  Solve \(y'' - 6y' + 9y = 0\), \(y(0) = 2\), \(y'(0) = 4\).


    \(r^2 - 6r + 9 = (r-3)^2 = 0\).  Thus \(r = 3\)

    General solution:  \(y = c_1e^{3t} + c_2te^{3t}\)

     \(y' = 3c_1e^{3t} + c_2(e^{3t} + 3te^{3t})\)

     \(y(0) = 2\):  ~~~~\(2 = c_1\)
     
     \(y'(0) = 4\): ~~~~\(4 = 3c_1 + c_2\).  Thus \(c_2 = 4 - 6 = -2\).

     fill
    Answer: \(\underline{~~y = 2e^{3t - 2te^{3t}~~}\)}

    \end

    START 34/FALL03/finalexamANS.txt part 4

    \nopagenumbers


    Math 34 Differential Equations Final Exam
                                   December 15, 2003 \hfill  SHOW ALL
    WORK
    ~

    [3]~ 1a.)  Without using the LaPlace transform, solve the following initial value problem:  

    \(y'' + 2y' + y = 0, ~y(0) = 0, ~y'(0) = 4\)

    Suppose \(y = e^{rt}\).  Then \(y' = re^{rt}, ~y'' = r^2e^{rt}\)

    \(r^2e^{rt} + 2re^{rt} + e^{rt} = 0\)
    Hence \(r^2 + 2r + 1 = 0\).  Thus, \((r + 1)^2 = 0\).  Hence \(r = -1\)

    Hence general solution is \(y(t) = c_1e^{-t} + c_2te^{-t}\)

    \(y(0) = 0:  0 = c_1 + 0\).  Thus \(c_1= 0\)

    \(y'(0) = 4:  y' = c_2(e^{-t} -te^{-t})\).  Thus \(4 = c_2(1 - 0) = c_2\)
      

    Thus, \(y(t) = 4te^{-t}\) is the solution to the initial value problem.
    \u
    Answer 1a.) \(\underline{4te^{-t}\)}
    \w\u

    \end

    Section 3.2: Solutions of Linear Homogeneous Equations; the Wronskian

    START 100/3_2.tex


     
    {\bf Existence and Uniqueness for  LINEAR DEs.}
    \u\u
    \underbar{Homogeneous:}
     

    \(y^{(n) + p_1(t)y^{(n-1)} + ... p_{n-1}(t) y' + p_n(t)y = 0\)}
    \u
    \underbar{Non-homogeneous:} \(g(t) \not= 0\)
     

    \(y^{(n) + p_1(t)y^{(n-1)} + ... p_{n-1}(t) y' + p_n(t)y = g(t)\)}
    \u
    {\bf 1st order LINEAR differential equation:}
    \u\u

    Thm 2.4.1:  If \(p:(a, b) \rightarrow R\) and \(g:(a, b) \rightarrow R\) are continuous and $a < 
    t_0 < b$, then 
    there exists a unique function \(y = \phi(t)\), ~\(\phi:(a, b) \rightarrow R\) that satisfies the 
     
    IVP:  \(y' + p(t) y = g(t)\), ~~\(y(t_0) = y_0\)

    \u
    Thm:  If \(y = \phi_1(t)\) is a solution to \underbar{homogeneous} equation, \(y' + p(t) y = 0\), then \(y = c\phi_1(t)\) is the general solution to this equation.
    \u\u
    If in addition \(y = \psi(t)\) is a solution to \underbar{non-homogeneous} equation, \(y' + p(t) y = g(t)\), then \(y = c\phi_1(t) + \psi(t)\) is the general solution to this equation.

    Partial proof:  \(y = \phi_1(t)\) is a solution to  \(y' + p(t) y = 0\)
    implies

    Thus \(y = c\phi_1(t)\) is a solution to  \(y' + p(t) y = 0\) since
     fill

     \(y = \psi(t)\) is a solution to  \(y' + p(t) y = g(t)\)
    implies
     fill
    Thus \(y = c\phi_1(t) + \psi(t)\) is a solution to  \(y' + p(t) y = g(t)\) since

    {\bf 2nd order LINEAR differential equation:}
    \u

    Thm 3.2.1:  If \(p:(a, b) \rightarrow R\), \(q:(a, b) \rightarrow R\), and \(g:(a, b) \rightarrow R\) 
    are 
    continuous and \(a < t_0 < b\), then
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the
    initial value problem

    \(y'' + p(t) y' + q(t)y = g(t)\),

    \(y(t_0) = y_0\),

    \(y'(t_0) = y_0'\)


    Thm 3.2.2:  If \(\phi_1\) and \(\phi_2\) are two solutions to a \underbar{homogeneous} linear differential 
    equation, then 
    \(c_1\phi_1 + c_2\phi_2\) is also a solution to this linear differential equation.

    Proof of thm 3.2.2:  

    Since \(y(t) = \phi_i(t)\) is a solution to the linear homogeneous differential equation \(y'' + py' + qy = 0\) where \(p\) and \(q\) are functions of \(t\) (note this includes the case with constant coefficients), then


    Claim:   \(y(t) = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution to \(y'' + py' + qy = 0\) 

    Pf of claim:  


    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
     
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    {\bf When does the following IVP have  unique sol'n:}

    IVP:  \(ay'' + by' + cy = 0\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is a solution to 
     
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t)\)}

    \(y(t_0) = y_0\):  ~~\(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)\)

    \(y'(t_0) = y_1\):  ~~\(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).


    Note that in these equations \(c_1\) and \(c_2\) are the unknowns and \(y_0,  \phi_1(t_0), \phi_2(t_0)\), \(y_1, \phi_1'(t_0), \phi_2'(t_0)\) are the constants.  We can translate this linear system of equations into matrix form:
    \u
    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = y_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = y_1}\( \hfill \)\Rightarrow$ \hfill
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]\left[\matrix{c_1 \cr c_2} \right]=\left[\matrix{y_0 \cr y_1} \right] $

    Note this equation has a unique solution if and only if 
     
    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ }


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 
    \u\u
    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}

    Examples:
    \u\u\u
    1.)  W(\(cos(t)\), \(sin(t)\)) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| \)
      
    \(~~~~~~~~~~~~~~~~= cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  W(\(e^{dt}cos(nt)\), \(e^{dt}sin(nt)) =\) 
      
    ~~~~$ \left|\matrix{e^{dtcos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    \(^{= e^{dt}cos(nt)(de^{dt}sin(nt) + ne^{dt}cos(nt) ) - e^{dt}sin(nt)( de^{dt}cos(nt)- ne^{dt}sin(nt) )}\)

    \u\u
    $~^{= e^{2dt}%\huge
    [cos(nt)(dsin(nt) + ncos(nt)) - sin(nt)(dcos(nt)- nsin(nt) )]%\huge
    }$
    \u\u
    $~^{= e^{2dt}%\huge
    [dcos(nt)sin(nt) + ncos^2(nt) - dsin(nt)cos(nt)+ nsin^2(nt)]%\huge
    )}$
    \u\u

    $~~= e^{2dt}%\huge
    [ ncos^2(nt) + nsin^2(nt)%\huge
    ]$
      
    [ cos^2(nt) + sin^2(nt)%\huge
    ]$
    \(~=~ ne^{2dt} > 0\) for all \(t\).}


    Definition:  The Wronskian of two differential functions, \(f\) and \(g\) is 

    \(W(f, g) = fg' - f'g = \big|\matrix{f & g \cr f' & g'\big|\)}

    Thm 3.2.3:  Suppose that 
     \(\phi_1\) and \(\phi_2\) are two solutions to $y'' + p(t) y' + q(t)y = 
    0$. \hb
     There is a unique choice of constants \(c_1\) and \(c_2\) such that \(c_1\phi_1 + c_2\phi_2\) 
    satisfies this 
    homog linear differential 
    equation and initial conditions, \(y(t_0) = y_0\), \(y'(t_0) = y_0'\).

    iff
      \(W(\phi_1, \phi_2)(t_0) = \phi_1(t_0)\phi_2'(t_0) - \phi_1'(t_0)\phi_2(t_0) \not= 0\).

     fill
    Thm 3.2.4:  Given the hypothesis of thm 3.2.1, \hb
    suppose that \(\phi_1\) and \(\phi_2\) are two solutions to 
     
    \(y'' + p(t) y' + q(t)y =0\).
     \u\u
     If \(W(\phi_1, \phi_2)(t_0) \not= 0\), 
    for some \(t_0 \in (a, b)\), then any solution to this homogeneous linear differential
    equation can be written as $y = 
    c_1\phi_1 + c_2\phi_2\( for some \)c_1\( and \)c_2$.
     fill
    Defn  If \(\phi_1\) and \(\phi_2\) satisfy the conditions in thm 3.2.4, then \(\phi_1\) and \(\phi_2\) 
    form a fundamental set of solutions to $y'' + p(t) y' + q(t)y =
    0$. 

     fill
    Thm 3.2.5:  Given any second order homogeneous linear differential equation, there exist a pair 
    of functions which form a fundamental set of solutions.


    FYI:  Linear Independence and the Wronskian

    Defn: \(\po\) and \(\pt\) are linearly dependent if there exists constants \(c_1, c_2\) 
    such that \(c_1 \not= 0\) or \(c_2 \not= 0\) and 

    \(c_1\po(t) + c_2\pt(t) = 0\) for all \(t \in (a, b)\)

    Thm 3.3.1:  If \(\po: (a, b) \rightarrow R\) and \(\pt(a, b) \rightarrow R\) are differentiable 
    functions on (a, b) and \hb if \(W(\po, \pt)(t_0) \not= 0\) for some \(t_0 \in (a, b)\), then\hb \(\po\) and \(\pt\) 
    are linearly independent on \((a, b)\).  \hb Moreover, if \(\po\) and \(\pt\) are linearly dependent on $(a, 
    b)\(, then \)W(\po, \pt)(t) = 0\(  for all \)t \in (a, b)$

    Proof idea:

    If \(c_1\po(t) + c_2\pt(t) = 0\) for all \(t\in (a, b)\),

    \(c_1\po'(t) + c_2\pt'(t) = 0\) for all \(t\in (a, b)\)}

    Solve the following linear system of equations for \(c_1, c_2\)

    $\matrix{c_1 \po(t_0) + c_2\pt(t_0) = 0
    \cr
    c_1 \po'(t_0) + c_2\pt'(t_0) = 0}$


    $\left[\matrix{\po(t_0) & \pt(t_0) \cr
    \po'(t_0) & \pt'(t_0)}\right]
    \left[\matrix{
    c_1 \cr c_2
    }\right]
    =
    \left[\matrix{
    0 \cr 0
    }\right]$
     fill
    In other words the fundamental set of solutions \(\{\po, \pt\}\) to $y'' + p(t) y' + q(t)y =
    0$ form a basis for the set of all solutions to this linear homogeneous DE.

    \end


    Thm:  Suppose \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    If \(\psi\) is a solution to

    \(ay'' + by' + cy = g(t)\) [*],
    Then \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is also a solution to [*].

    Moreover if \(\gamma\) is also a solution to [*], then there exist constants \(c_1, c_2\) such that 

    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\)

    Or in other words, \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to [*].


    Proof:  

    Define   \(L(f) = af'' + bf' + cf\).

    Recall \(L\) is a linear function.

     Let \(h = c_1 \phi_1(t) + c_2 \phi_2(t)\).  Since \(h\) is a solution to the differential 
    equation, \(ay'' + by' + cy = 0\),


    Since \(\psi\) is a solution to 
     \(ay'' + by' + cy = g(t)\),


    We will now show that \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t) = \psi + h\) is also a solution to 
    [*].


    Since \(\gamma\) a solution to  \(ay'' + by' + cy = g(t)\),


    We will first show that \(\gamma - \psi\) is a solution to the differential equation
     \(ay'' + by' + cy = 0\).

     fill

    Since \(\gamma - \psi\) is a solution to \(ay'' + by' + cy = 0\) and 

    \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    there exist constants \(c_1, c_2\) such that

    \(\gamma - \psi =\underline{\hskip 2in\)}


    Thus
    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\).


    Thm: \hfil \break
     Suppose  
    \(f_1\) is a a solution to
    \(ay'' + by' + cy = g_1(t)\)  \hfil \break
    and \(f_2\) is a a solution to
    \(ay'' + by' + cy = g_2(t)\), then \(f_1 + f_2\) is a solution to
    \(ay'' + by' + cy = g_1(t) + g_2(t)\)


    Proof: Let  \(L(f) = af'' + bf' + cf\).

    Since \(f_1\) is a solution to 
     \(ay'' + by' + cy = g_1(t)\),


    Since \(f_2\) is a solution to 
     \(ay'' + by' + cy = g_2(t)\),


    We will now show that \(f_1 + f_2\) is a solution to \break
     \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill


    Sidenote:  The proofs above work even if \(a, b, c\) are functions of \(t\) instead of constants.


    {\bf Examples:} Find a suitable form for \(\psi\) for the following differential equations:

    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     fill

    2.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     fill


    3.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     fill


    4.)  \(y'' - 5y  = 4sin(3t)\)
     fill

    5.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     fill

    6.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     fill

    7.)  
    \(y'' - 4y' - 5y = 4 sin(3t) e^{2t}\)
     fill
    8.)  
    \(y'' - 4y' - 5y = 4 (t^2 - 2t - 1)sin(3t) e^{2t}\)
     fill

    9.) \(y'' - 4y' - 5y =4sin(3t) +  4 sin(3t) e^{2t}\)
     fill
    10.)  \(y'' - 4y' - 5y\)

     fill
    11.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     fill
    12.) \(y'' - 4y' - 5y = 4e^{-t}\)
     fill
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.) {\bf First solve homogeneous equation:}

      Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to \hb
      LINEAR HOMOGENEOUS equation.

    Thus the general solution to the 2nd order LINEAR \hb HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.) {\bf Find one solution to non-homogeneous eq'n:}
      Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)
    ~~~~~~~~\(y' = 3A cos(3t) - 3B sin(3t)\)
    ~~~~~~~~\(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) ~~and~~ $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.) {\bf If initial value problem:}
    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to separately satisfy the initial values.
    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).

    \((e^{-t})'' - 4(e^{-t})' - 5(e^{-t}) = 0\) and 
    \((e^{5t})'' - 4(e^{5t})' - 5(e^{5t}) = 0\) 


    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2') + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right]
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/3_2a.tex

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.7in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.4in}
     etlength{\textheight}{9.6in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    {\bf When does the following IVP have a unique solution:}

    IVP:  \(ay'' + by' + cy = 0\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is a solution to \(ay'' + by' + cy = 0\).  Then 
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t)\)

    \(y(t_0) = y_0\):  \(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)\)

    \(y'(t_0) = y_1\):  \(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).

    Note that in these equations \(c_1\) and \(c_2\) are the unknowns and \(y_0,  \phi_1(t_0), \phi_2(t_0)\), \(y_1, \phi_1'(t_0), \phi_2'(t_0)\) are the constants.  We can translate this linear system of equations into matrix form:

    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = y_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = y_1}$ ~~~implies~~~
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]
    \left[\matrix{c_1 \cr c_2} \right] = \left[\matrix{y_0 \cr y_1} \right] $

    Note this equation has a unique solution if and only if $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ 


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 

    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}


    Examples:

    1.)  Wronskian of \(cos(t)\), \(sin(t)\) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| = cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  Wronskian of \(e^{dt}cos(nt)\), \(e^{dt}sin(nt)\) =
    $\left|\matrix{e^{dt}cos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    $= e^{dt}cos(nt)[de^{dt}sin(nt) + ne^{dt}cos(nt)] - 
    e^{dt}sin(nt)[ de^{dt}cos(nt)- ne^{dt}sin(nt)]$


    \(= e^{2dt}\huge(cos(nt)[dsin(nt) + ncos(nt)] - sin(nt)[ dcos(nt)- nsin(nt)]\huge)\)

    \(= e^{2dt}\huge(dcos(nt)sin(nt) + ncos^2(nt)] - dsin(nt)cos(nt)+ nsin^2(nt)]\huge)\)


    \(= e^{2dt}\huge( ncos^2(nt) + nsin^2(nt)\huge)\)
    \(= ne^{2dt}\huge( cos^2(nt) + sin^2(nt)\huge)\)
    \(= ne^{2dt} > 0\) for all \(t\).
    \end{document}

    START 100/ch3.tex part 1

    {\bf Existence and Uniqueness for  LINEAR DEs.}
    \u\u
    \underbar{Homogeneous:}
     

    \(y^{(n) + p_1(t)y^{(n-1)} + ... p_{n-1}(t) y' + p_n(t)y = 0\)}
    \u
    \underbar{Non-homogeneous:} \(g(t) \not= 0\)
     

    \(y^{(n) + p_1(t)y^{(n-1)} + ... p_{n-1}(t) y' + p_n(t)y = g(t)\)}
    \u
    {\bf 1st order LINEAR differential equation:}
    \u\u

    Thm 2.4.1:  If \(p:(a, b) \rightarrow R\) and \(g:(a, b) \rightarrow R\) are continuous and $a < 
    t_0 < b$, then 
    there exists a unique function \(y = \phi(t)\), ~\(\phi:(a, b) \rightarrow R\) that satisfies the 
     
    IVP:  \(y' + p(t) y = g(t)\), ~~\(y(t_0) = y_0\)

    \u
    Thm:  If \(y = \phi_1(t)\) is a solution to \underbar{homogeneous} equation, \(y' + p(t) y = 0\), then \(y = c\phi_1(t)\) is the general solution to this equation.
    \u\u
    If in addition \(y = \psi(t)\) is a solution to \underbar{non-homogeneous} equation, \(y' + p(t) y = g(t)\), then \(y = c\phi_1(t) + \psi(t)\) is the general solution to this equation.

    Partial proof:  \(y = \phi_1(t)\) is a solution to  \(y' + p(t) y = 0\)
    implies

    Thus \(y = c\phi_1(t)\) is a solution to  \(y' + p(t) y = 0\) since
     fill

     \(y = \psi(t)\) is a solution to  \(y' + p(t) y = g(t)\)
    implies
     fill
    Thus \(y = c\phi_1(t) + \psi(t)\) is a solution to  \(y' + p(t) y = g(t)\) since

    {\bf 2nd order LINEAR differential equation:}
    \u

    Thm 3.2.1:  If \(p:(a, b) \rightarrow R\), \(q:(a, b) \rightarrow R\), and \(g:(a, b) \rightarrow R\) 
    are 
    continuous and \(a < t_0 < b\), then
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the
    initial value problem

    \(y'' + p(t) y' + q(t)y = g(t)\),

    \(y(t_0) = y_0\),

    \(y'(t_0) = y_0'\)


    Thm 3.2.2:  If \(\phi_1\) and \(\phi_2\) are two solutions to a \underbar{homogeneous} linear differential 
    equation, then 
    \(c_1\phi_1 + c_2\phi_2\) is also a solution to this linear differential equation.

    Proof of thm 3.2.2:  

    Since \(y(t) = \phi_i(t)\) is a solution to the linear homogeneous differential equation \(y'' + py' + qy = 0\) where \(p\) and \(q\) are functions of \(t\) (note this includes the case with constant coefficients), then


    Claim:   \(y(t) = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution to \(y'' + py' + qy = 0\) 

    Pf of claim:  


    {\bf Second order differential equation:}
     
    Linear equation with constant coefficients:
    \hskip 10pt
    If the second order differential equation is 
    \(ay'' + by' + cy = 0\), 

    then \(y = e^{rt\) is a solution}

    Need to have two independent solutions.


    Solve the following IVPs:


    1.)  \(y'' - 6y' + 9y = 0\)    \hfill     \(y(0) = 1, ~ y'(0) = 2\)

    \w

    2.) \(4y'' - y' + 2y = 0\) \hfill     \(y(0) = 3, ~ y'(0) = 4\)
    \w

    3.) \(4y'' + 4y' + y = 0\)  \hfill     \(y(0) = 6, ~ y'(0) = 7\)
    \w

    4.)  \(2y'' - 2y = 0\)  \hfill     \(y(0) = 5, ~y'(0) = 9\)

    \(ay'' + by' + cy = 0\), ~~\(y = e^{rt}\), then 
    \(ar^2e^{rt} + bre^{rt} + ce^{rt} = 0\) implies \(ar^2 + br + c = 0\),
     
    Suppose \(r = r_1, r_2\) are solutions to \(ar^2 + br + c = 0\)

    \(r_1, r_2 = {-b \pm  qrt{b^2 - 4ac \over 2a}\)}


    If \(r_1 \not= r_2\), then \(b^2 - 4ac \not= 0\).  Hence a general solution is
    {\(y = c_1e^{r_1t} + c_2e^{r_2t}\)}

    If \(b^2 - 4ac > 0\), general solution is \(y = c_1e^{r_1t} + c_2e^{r_2t}\).


    If \(b^2 - 4ac < 0\), change format to linear combination of real-valued functions instead of 
    complex valued functions by using Euler's formula.

    general solution is \(y = c_1 e^{dt} cos (nt) + c_2 e^{dt} sin (nt)\) where \(r = d \pm in\)


    If \(b^2 - 4ac = 0\), \(r_1 = r_2\), so need 2nd (independent) solution:  \(te^{r_1t}\)

    Hence general solution is \(y = c_1e^{r_1t} + c_2te^{r_1t}\).


    Initial value problem:  use \(y(t_0) = y_0\), \(y'(t_0) = y_0'\) to solve for \(c_1, c_2\) to find unique 
    solution. 
    Derivation of general solutions:


    If \(b^2 - 4ac > 0\) we guessed \(e^{rt}\) is a solution and noted that any linear combination of 
    solutions is a solution to a homogeneous linear differential equation.


    3.3:  Linear Independence and the Wronskian

    Defn: \(f\) and \(g\) are linearly dependent if there exists constants \(c_1, c_2\) 
    such that \(c_1 \not= 0\) or \(c_2 \not= 0\) and 

    \(c_1f(t) + c_2g(t) = 0\) for all \(t \in (a, b)\)

    Thm 3.3.1:  If \(f: (a, b) \rightarrow R\) and \(g(a, b) \rightarrow R\) are differentiable 
    functions on (a, b) and if \(W(f, g)(t_0) \not= 0\) for some \(t_0 \in (a, b)\), then \(f\) and \(g\) 
    are linearly independent on \((a, b)\).  Moreover, if \(f\) and \(g\) are linearly dependent on $(a, 
    b)\(, then \)W(f, g)(t) = 0\(  for all \)t \in (a, b)$


    If \(c_1f(t) + c_2g(t) = 0\) for all \(t\),
    then
    \(c_1f'(t) + c_2g'(t) = 0\)

    Solve the following linear system of equations for \(c_1, c_2\)

    $\matrix{c_1 f(t_0) + c_2g(t_0) = 0
    \cr
    c_1 f'(t_0) + c_2g'(t_0) = 0}$


    $\left[\matrix{f(t_0) & g(t_0) \cr
    f'(t_0) & g'(t_0)}\right]
    \left[\matrix{
    c_1 \cr c_2
    }\right]
    =
    \left[\matrix{
    0 \cr 0
    }\right]$


    \end

    START 100/ch3_134.tex part 2 AND 100/ch3new.tex part 2

    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
     
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    {\bf When does the following IVP have  unique sol'n:}

    IVP:  \(ay'' + by' + cy = 0\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is a solution to 
     
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t)\)}

    \(y(t_0) = y_0\):  \(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)\)

    \(y'(t_0) = y_1\):  \(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).


    Note that in these equations \(c_1\) and \(c_2\) are the unknowns and \(y_0,  \phi_1(t_0), \phi_2(t_0)\), \(y_1, \phi_1'(t_0), \phi_2'(t_0)\) are the constants.  We can translate this linear system of equations into matrix form:
    \u
    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = y_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = y_1}\( \hfill \)\Rightarrow$ \hfill
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]\left[\matrix{c_1 \cr c_2} \right]=\left[\matrix{y_0 \cr y_1} \right] $

    Note this equation has a unique solution if and only if 
     
    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ }


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 
    \u\u
    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}

    Examples:
    \u\u\u
    1.)  W(\(cos(t)\), \(sin(t)\)) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| \)
      
    \(~~~~~~~~~~~~~~~~= cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  W(\(e^{dt}cos(nt)\), \(e^{dt}sin(nt)) =\) 
      
    ~~~~$ \left|\matrix{e^{dtcos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    \(^{= e^{dt}cos(nt)(de^{dt}sin(nt) + ne^{dt}cos(nt) ) - e^{dt}sin(nt)( de^{dt}cos(nt)- ne^{dt}sin(nt) )}\)

    \u\u
    $~^{= e^{2dt}%\huge
    [cos(nt)(dsin(nt) + ncos(nt)) - sin(nt)(dcos(nt)- nsin(nt) )]%\huge
    }$
    \u\u
    $~^{= e^{2dt}%\huge
    [dcos(nt)sin(nt) + ncos^2(nt) - dsin(nt)cos(nt)+ nsin^2(nt)]%\huge
    )}$
    \u\u

    $~~= e^{2dt}%\huge
    [ ncos^2(nt) + nsin^2(nt)%\huge
    ]$
      
    [ cos^2(nt) + sin^2(nt)%\huge
    ]$
    \(~=~ ne^{2dt} > 0\) for all \(t\).}


    Definition:  The Wronskian of two differential functions, \(f\) and \(g\) is 

    \(W(f, g) = fg' - f'g = \big|\matrix{f & g \cr f' & g'\big|\)}

    Thm 3.2.3:  Suppose that \hfil \break
     \(\phi_1\) and \(\phi_2\) are two solutions to $y'' + p(t) y' + q(t)y = 
    0$. \hb
      If \(W(\phi_1, \phi_2)(t_0) = \phi_1(t_0)\phi_2'(t_0) - \phi_1'(t_0)\phi_2(t_0) \not= 0\), then \hb
     there is a unique choice of constants \(c_1\) and \(c_2\) such that \(c_1\phi_1 + c_2\phi_2\) 
    satisfies this 
    homogeneous linear differential 
    equation and initial conditions, \(y(t_0) = y_0\), \(y'(t_0) = y_0'\).

    Thm 3.2.4:  Given the hypothesis of thm 3.2.1, \hb
    suppose that \(\phi_1\) and \(\phi_2\) are two solutions to 
     
    \(y'' + p(t) y' + q(t)y =0\).
     \u\u
     If \(W(\phi_1, \phi_2)(t_0) \not= 0\), 
    for some \(t_0 \in (a, b)\), then any solution to this homogeneous linear differential
    equation can be written as $y = 
    c_1\phi_1 + c_2\phi_2\( for some \)c_1\( and \)c_2$.

    Defn  If \(\phi_1\) and \(\phi_2\) satisfy the conditions in thm 3.2.4, then \(\phi_1\) and \(\phi_2\) 
    form a fundamental set of solutions to $y'' + p(t) y' + q(t)y =
    0$. 

    Thm 3.2.5:  Given any second order homogeneous linear differential equation, there exist a pair 
    of functions which form a fundamental set of solutions.

    3.3:  Linear Independence and the Wronskian

    Defn: \(f\) and \(g\) are linearly dependent if there exists constants \(c_1, c_2\) 
    such that \(c_1 \not= 0\) or \(c_2 \not= 0\) and 

    \(c_1f(t) + c_2g(t) = 0\) for all \(t \in (a, b)\)

    Thm 3.3.1:  If \(f: (a, b) \rightarrow R\) and \(g(a, b) \rightarrow R\) are differentiable 
    functions on (a, b) and if \(W(f, g)(t_0) \not= 0\) for some \(t_0 \in (a, b)\), then \(f\) and \(g\) 
    are linearly independent on \((a, b)\).  Moreover, if \(f\) and \(g\) are linearly dependent on $(a, 
    b)\(, then \)W(f, g)(t) = 0\(  for all \)t \in (a, b)$


    If \(c_1f(t) + c_2g(t) = 0\) for all \(t\),
    then
    \(c_1f'(t) + c_2g'(t) = 0\)

    Solve the following linear system of equations for \(c_1, c_2\)

    $\matrix{c_1 f(t_0) + c_2g(t_0) = 0
    \cr
    c_1 f'(t_0) + c_2g'(t_0) = 0}$


    $\left[\matrix{f(t_0) & g(t_0) \cr
    f'(t_0) & g'(t_0)}\right]
    \left[\matrix{
    c_1 \cr c_2
    }\right]
    =
    \left[\matrix{
    0 \cr 0
    }\right]$


    START 100/3_2.tex


     
    {\bf Existence and Uniqueness for  LINEAR DEs.}
    \u\u
    \underbar{Homogeneous:}
     

    \(y^{(n) + p_1(t)y^{(n-1)} + ... p_{n-1}(t) y' + p_n(t)y = 0\)}
    \u
    \underbar{Non-homogeneous:} \(g(t) \not= 0\)
     

    \(y^{(n) + p_1(t)y^{(n-1)} + ... p_{n-1}(t) y' + p_n(t)y = g(t)\)}
    \u
    {\bf 1st order LINEAR differential equation:}
    \u\u

    Thm 2.4.1:  If \(p:(a, b) \rightarrow R\) and \(g:(a, b) \rightarrow R\) are continuous and $a < 
    t_0 < b$, then 
    there exists a unique function \(y = \phi(t)\), ~\(\phi:(a, b) \rightarrow R\) that satisfies the 
     
    IVP:  \(y' + p(t) y = g(t)\), ~~\(y(t_0) = y_0\)

    \u
    Thm:  If \(y = \phi_1(t)\) is a solution to \underbar{homogeneous} equation, \(y' + p(t) y = 0\), then \(y = c\phi_1(t)\) is the general solution to this equation.
    \u\u
    If in addition \(y = \psi(t)\) is a solution to \underbar{non-homogeneous} equation, \(y' + p(t) y = g(t)\), then \(y = c\phi_1(t) + \psi(t)\) is the general solution to this equation.

    Partial proof:  \(y = \phi_1(t)\) is a solution to  \(y' + p(t) y = 0\)
    implies

    Thus \(y = c\phi_1(t)\) is a solution to  \(y' + p(t) y = 0\) since
     fill

     \(y = \psi(t)\) is a solution to  \(y' + p(t) y = g(t)\)
    implies
     fill
    Thus \(y = c\phi_1(t) + \psi(t)\) is a solution to  \(y' + p(t) y = g(t)\) since

    {\bf 2nd order LINEAR differential equation:}
    \u

    Thm 3.2.1:  If \(p:(a, b) \rightarrow R\), \(q:(a, b) \rightarrow R\), and \(g:(a, b) \rightarrow R\) 
    are 
    continuous and \(a < t_0 < b\), then
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the
    initial value problem

    \(y'' + p(t) y' + q(t)y = g(t)\),

    \(y(t_0) = y_0\),

    \(y'(t_0) = y_0'\)


    Thm 3.2.2:  If \(\phi_1\) and \(\phi_2\) are two solutions to a \underbar{homogeneous} linear differential 
    equation, then 
    \(c_1\phi_1 + c_2\phi_2\) is also a solution to this linear differential equation.

    Proof of thm 3.2.2:  

    Since \(y(t) = \phi_i(t)\) is a solution to the linear homogeneous differential equation \(y'' + py' + qy = 0\) where \(p\) and \(q\) are functions of \(t\) (note this includes the case with constant coefficients), then


    Claim:   \(y(t) = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution to \(y'' + py' + qy = 0\) 

    Pf of claim:  


    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
     
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    {\bf When does the following IVP have  unique sol'n:}

    IVP:  \(ay'' + by' + cy = 0\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is a solution to 
     
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t)\)}

    \(y(t_0) = y_0\):  ~~\(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)\)

    \(y'(t_0) = y_1\):  ~~\(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).


    Note that in these equations \(c_1\) and \(c_2\) are the unknowns and \(y_0,  \phi_1(t_0), \phi_2(t_0)\), \(y_1, \phi_1'(t_0), \phi_2'(t_0)\) are the constants.  We can translate this linear system of equations into matrix form:
    \u
    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = y_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = y_1}\( \hfill \)\Rightarrow$ \hfill
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]\left[\matrix{c_1 \cr c_2} \right]=\left[\matrix{y_0 \cr y_1} \right] $

    Note this equation has a unique solution if and only if 
     
    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ }


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 
    \u\u
    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}

    Examples:
    \u\u\u
    1.)  W(\(cos(t)\), \(sin(t)\)) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| \)
      
    \(~~~~~~~~~~~~~~~~= cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  W(\(e^{dt}cos(nt)\), \(e^{dt}sin(nt)) =\) 
      
    ~~~~$ \left|\matrix{e^{dtcos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    \(^{= e^{dt}cos(nt)(de^{dt}sin(nt) + ne^{dt}cos(nt) ) - e^{dt}sin(nt)( de^{dt}cos(nt)- ne^{dt}sin(nt) )}\)

    \u\u
    $~^{= e^{2dt}%\huge
    [cos(nt)(dsin(nt) + ncos(nt)) - sin(nt)(dcos(nt)- nsin(nt) )]%\huge
    }$
    \u\u
    $~^{= e^{2dt}%\huge
    [dcos(nt)sin(nt) + ncos^2(nt) - dsin(nt)cos(nt)+ nsin^2(nt)]%\huge
    )}$
    \u\u

    $~~= e^{2dt}%\huge
    [ ncos^2(nt) + nsin^2(nt)%\huge
    ]$
      
    [ cos^2(nt) + sin^2(nt)%\huge
    ]$
    \(~=~ ne^{2dt} > 0\) for all \(t\).}


    Definition:  The Wronskian of two differential functions, \(f\) and \(g\) is 

    \(W(f, g) = fg' - f'g = \big|\matrix{f & g \cr f' & g'\big|\)}

    Thm 3.2.3:  Suppose that 
     \(\phi_1\) and \(\phi_2\) are two solutions to $y'' + p(t) y' + q(t)y = 
    0$. \hb
     There is a unique choice of constants \(c_1\) and \(c_2\) such that \(c_1\phi_1 + c_2\phi_2\) 
    satisfies this 
    homog linear differential 
    equation and initial conditions, \(y(t_0) = y_0\), \(y'(t_0) = y_0'\).

    iff
      \(W(\phi_1, \phi_2)(t_0) = \phi_1(t_0)\phi_2'(t_0) - \phi_1'(t_0)\phi_2(t_0) \not= 0\).

     fill
    Thm 3.2.4:  Given the hypothesis of thm 3.2.1, \hb
    suppose that \(\phi_1\) and \(\phi_2\) are two solutions to 
     
    \(y'' + p(t) y' + q(t)y =0\).
     \u\u
     If \(W(\phi_1, \phi_2)(t_0) \not= 0\), 
    for some \(t_0 \in (a, b)\), then any solution to this homogeneous linear differential
    equation can be written as $y = 
    c_1\phi_1 + c_2\phi_2\( for some \)c_1\( and \)c_2$.
     fill
    Defn  If \(\phi_1\) and \(\phi_2\) satisfy the conditions in thm 3.2.4, then \(\phi_1\) and \(\phi_2\) 
    form a fundamental set of solutions to $y'' + p(t) y' + q(t)y =
    0$. 

     fill
    Thm 3.2.5:  Given any second order homogeneous linear differential equation, there exist a pair 
    of functions which form a fundamental set of solutions.


    FYI:  Linear Independence and the Wronskian

    Defn: \(\po\) and \(\pt\) are linearly dependent if there exists constants \(c_1, c_2\) 
    such that \(c_1 \not= 0\) or \(c_2 \not= 0\) and 

    \(c_1\po(t) + c_2\pt(t) = 0\) for all \(t \in (a, b)\)

    Thm 3.3.1:  If \(\po: (a, b) \rightarrow R\) and \(\pt(a, b) \rightarrow R\) are differentiable 
    functions on (a, b) and \hb if \(W(\po, \pt)(t_0) \not= 0\) for some \(t_0 \in (a, b)\), then\hb \(\po\) and \(\pt\) 
    are linearly independent on \((a, b)\).  \hb Moreover, if \(\po\) and \(\pt\) are linearly dependent on $(a, 
    b)\(, then \)W(\po, \pt)(t) = 0\(  for all \)t \in (a, b)$

    Proof idea:

    If \(c_1\po(t) + c_2\pt(t) = 0\) for all \(t\in (a, b)\),

    \(c_1\po'(t) + c_2\pt'(t) = 0\) for all \(t\in (a, b)\)}

    Solve the following linear system of equations for \(c_1, c_2\)

    $\matrix{c_1 \po(t_0) + c_2\pt(t_0) = 0
    \cr
    c_1 \po'(t_0) + c_2\pt'(t_0) = 0}$


    $\left[\matrix{\po(t_0) & \pt(t_0) \cr
    \po'(t_0) & \pt'(t_0)}\right]
    \left[\matrix{
    c_1 \cr c_2
    }\right]
    =
    \left[\matrix{
    0 \cr 0
    }\right]$
     fill
    In other words the fundamental set of solutions \(\{\po, \pt\}\) to $y'' + p(t) y' + q(t)y =
    0$ form a basis for the set of all solutions to this linear homogeneous DE.

    \end


    Thm:  Suppose \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    If \(\psi\) is a solution to

    \(ay'' + by' + cy = g(t)\) [*],
    Then \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is also a solution to [*].

    Moreover if \(\gamma\) is also a solution to [*], then there exist constants \(c_1, c_2\) such that 

    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\)

    Or in other words, \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to [*].


    Proof:  

    Define   \(L(f) = af'' + bf' + cf\).

    Recall \(L\) is a linear function.

     Let \(h = c_1 \phi_1(t) + c_2 \phi_2(t)\).  Since \(h\) is a solution to the differential 
    equation, \(ay'' + by' + cy = 0\),


    Since \(\psi\) is a solution to 
     \(ay'' + by' + cy = g(t)\),


    We will now show that \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t) = \psi + h\) is also a solution to 
    [*].


    Since \(\gamma\) a solution to  \(ay'' + by' + cy = g(t)\),


    We will first show that \(\gamma - \psi\) is a solution to the differential equation
     \(ay'' + by' + cy = 0\).

     fill

    Since \(\gamma - \psi\) is a solution to \(ay'' + by' + cy = 0\) and 

    \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    there exist constants \(c_1, c_2\) such that

    \(\gamma - \psi =\underline{\hskip 2in\)}


    Thus
    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\).


    Thm: \hfil \break
     Suppose  
    \(f_1\) is a a solution to
    \(ay'' + by' + cy = g_1(t)\)  \hfil \break
    and \(f_2\) is a a solution to
    \(ay'' + by' + cy = g_2(t)\), then \(f_1 + f_2\) is a solution to
    \(ay'' + by' + cy = g_1(t) + g_2(t)\)


    Proof: Let  \(L(f) = af'' + bf' + cf\).

    Since \(f_1\) is a solution to 
     \(ay'' + by' + cy = g_1(t)\),


    Since \(f_2\) is a solution to 
     \(ay'' + by' + cy = g_2(t)\),


    We will now show that \(f_1 + f_2\) is a solution to \break
     \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill


    Sidenote:  The proofs above work even if \(a, b, c\) are functions of \(t\) instead of constants.


    {\bf Examples:} Find a suitable form for \(\psi\) for the following differential equations:

    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     fill

    2.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     fill


    3.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     fill


    4.)  \(y'' - 5y  = 4sin(3t)\)
     fill

    5.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     fill

    6.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     fill

    7.)  
    \(y'' - 4y' - 5y = 4 sin(3t) e^{2t}\)
     fill
    8.)  
    \(y'' - 4y' - 5y = 4 (t^2 - 2t - 1)sin(3t) e^{2t}\)
     fill

    9.) \(y'' - 4y' - 5y =4sin(3t) +  4 sin(3t) e^{2t}\)
     fill
    10.)  \(y'' - 4y' - 5y\)

     fill
    11.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     fill
    12.) \(y'' - 4y' - 5y = 4e^{-t}\)
     fill
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.) {\bf First solve homogeneous equation:}

      Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to \hb
      LINEAR HOMOGENEOUS equation.

    Thus the general solution to the 2nd order LINEAR \hb HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.) {\bf Find one solution to non-homogeneous eq'n:}
      Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)
    ~~~~~~~~\(y' = 3A cos(3t) - 3B sin(3t)\)
    ~~~~~~~~\(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) ~~and~~ $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.) {\bf If initial value problem:}
    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to separately satisfy the initial values.
    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).

    \((e^{-t})'' - 4(e^{-t})' - 5(e^{-t}) = 0\) and 
    \((e^{5t})'' - 4(e^{5t})' - 5(e^{5t}) = 0\) 


    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2') + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right]
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/3_2a.tex

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.7in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.4in}
     etlength{\textheight}{9.6in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    {\bf When does the following IVP have a unique solution:}

    IVP:  \(ay'' + by' + cy = 0\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is a solution to \(ay'' + by' + cy = 0\).  Then 
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t)\)

    \(y(t_0) = y_0\):  \(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)\)

    \(y'(t_0) = y_1\):  \(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).

    Note that in these equations \(c_1\) and \(c_2\) are the unknowns and \(y_0,  \phi_1(t_0), \phi_2(t_0)\), \(y_1, \phi_1'(t_0), \phi_2'(t_0)\) are the constants.  We can translate this linear system of equations into matrix form:

    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = y_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = y_1}$ ~~~implies~~~
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]
    \left[\matrix{c_1 \cr c_2} \right] = \left[\matrix{y_0 \cr y_1} \right] $

    Note this equation has a unique solution if and only if $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ 


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 

    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}


    Examples:

    1.)  Wronskian of \(cos(t)\), \(sin(t)\) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| = cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  Wronskian of \(e^{dt}cos(nt)\), \(e^{dt}sin(nt)\) =
    $\left|\matrix{e^{dt}cos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    $= e^{dt}cos(nt)[de^{dt}sin(nt) + ne^{dt}cos(nt)] - 
    e^{dt}sin(nt)[ de^{dt}cos(nt)- ne^{dt}sin(nt)]$


    \(= e^{2dt}\huge(cos(nt)[dsin(nt) + ncos(nt)] - sin(nt)[ dcos(nt)- nsin(nt)]\huge)\)

    \(= e^{2dt}\huge(dcos(nt)sin(nt) + ncos^2(nt)] - dsin(nt)cos(nt)+ nsin^2(nt)]\huge)\)


    \(= e^{2dt}\huge( ncos^2(nt) + nsin^2(nt)\huge)\)
    \(= ne^{2dt}\huge( cos^2(nt) + sin^2(nt)\huge)\)
    \(= ne^{2dt} > 0\) for all \(t\).
    \end{document}

    START 100/FALL16/e1_Fall2016ANS.tex part 6


    [20]~ 1.)  Solve \(y'' - 6y' + 9 = 0\), \(y(0) = 2\), \(y'(0) = 4\).

     fill
    Answer: \(\underline{~~\hskip 4in~~\)}

    \end

    START 100/FALL18/final3600_F2016ans.tex part 3

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \begin{document}

    MATH:3600:0002 Final Exam \hfil \break
    Dec. 12, 2016 \hfill SHOW ALL STEPS \hfill

    [6] ~1.)  The  Wronskian of \(e^{-t}cos(t)\),  \(e^{-t}sin(t)\) is 
    ~\(W(e^{-t}cos(t),  e^{-t}sin(t)) = \underline{~~e^{-2t}~~}\)

    $W(e^{-t}cos(t),  e^{-t}sin(t)) = \left|\matrix{e^{-t}cos(t) &  e^{-t}sin(t) \cr 
     - e^{-t}sin(t)  - e^{-t}cos(t) &  e^{-t}cos(t)  -e^{-t}sin(t)}\right|$
     
    \hskip 1.3in $= e^{-t}cos(t)[e^{-t}cos(t)  -e^{-t}sin(t)]
    - e^{-t}sin(t) [ -e^{-t}sin(t)  - e^{-t}cos(t) ]$
     
    \hskip 1.3in $= e^{-2t}cos^2(t)  -e^{-2t}cos(t)sin(t)
    +  e^{-2t}sin^2(t)  + e^{-2t}cos(t) sin(t)$
     
    \hskip 1.3in $= e^{-2t}[cos^2(t) 
    +  sin^2(t)] = e^{-2t}$

    \end

    START 34/FALL03/finalreviewANS2.txt part 2

    Note the following review problems DO NOT cover all problem types which may appear on the 
    final.  

    Chapter 3:

    9.)  Solve the following initial problems:

    9a.)  \(y'' + 6y' + 8y = 0, ~y(0) = 0, ~y'(0) = 0 \)

    Suppose \(y = e^{rt}\).  Then \(y' = re^{rt}, ~y'' = r^2e^{rt}\)

    \(r^2e^{rt} + 6re^{rt} + 8e^{rt} = 0\)
    Hence \(r^2 + 6r + 8 = 0\).  Thus, (r + 2)(r + 4) = 0\(.  Hence \)r = -2, -4$

    Hence general solution is \(y(t) = c_1e^{-2t} + c_2e^{-4t}\)

    \(y(0) = 0:  0 = c_1 + c_2\).  Thus \(c_2 = -c_1\)

    \(y'(0) = 0:  y' = -2c_1e^{-2t} - 4c_2e^{-4t}\)

    \(0 = -2c_1 - 4c_2 = 2c_2 - 4c_2 = -2c_2\)  Thus \(c_2 = 0, c_1 = 0\)

    Thus, \(y(t) = 0\) is the solution to the initial value problem.

    9b.)  \(y'' + 6y' + 9y = 0, ~y(0) = 0, ~y'(0) = 0 \)

    \(r^2 + 6r + 9 = (r + 3)(r +3) = 0\)

    Hence general solution is \(y(t) = c_1e^{-3t} + c_2te^{-3t}\)

    \(y(0) = 0:  0 = c_1 + c_2(0)\).  Thus \(c_1 = 0\)

    \(y = c_2te^{-3t}\)

    \(y' = c_2[e^{-3t} -3t e^{-3t}]\)

    \(y'(0) = 0:  0 =  c_2[e^{0} -3(0) e^{0}] \).  Thus \(c_2 = 0\).

    Thus, \(y(t) = 0\) is the solution to the initial value problem.


    9c.)  \(y'' + 6y' + 10y = 0, ~y(0) = 0, ~y'(0) = 0\)

    \(r^2 + 6r + 10 = 0\), $r = {-6 \pm  qrt{36 - 4(1)(10)} \over 2}  
    = {-6 \pm 2i \over 2} = -3 \pm i$

    Hence general solution is  \(y(t) = c_1e^{-3t}sin(t) + c_2e^{-3t}cos(t)\)

    \(y(0) = 0:  0 = c_1(0) + c_2(1)\).  Thus \(c_2 = 0\)

    \(y = c_1 e^{-3t}sin(t) \)

    $y' = c_1[-3 e^{-3t}sin(t) +  e^{-3t}cos(t)] 

    \(y'(0) = 0:  0 =  c_1[0 + 1] \).  Thus \(c_1 = 0\).

    Thus, \(y(t) = 0\) is the solution to the initial value problem.

    Quicker method to solve 9a, b, c:

    Note that \(y = 0\) was the obvious solution to the initial value problems in 9a, b, c.

    Clearly the constant function \(y(t) = 0\) satisfies \(ay'' + by' + cy = 0\) for any 
    \(a,~ b,~ c\).  It also satisfies \(y(0) = 0, ~y'(0) = 0\).  Thus this constant function 
    is a solution to IVP of this type.  Since  IVP of this type have unique solutions, $y(t) 
    = 0$ is the only solution.

    \end

    START quiz5Fall2017ans.tex part 1


    \nopagenumbers


    Quiz 5 Form A \hfil \break
    Oct 30, 2017

    [10]~~ 1.  Let \(y_1\) and \(y_2\) be solutions of
    $ty''
    + 4y'
    +
    sin(t)
    y = 0\(; \)t > 0$.
    Let \(W(t)\) be the Wronskian of \(y_1(t)\) and \(y_2(t)\). Given that \(W(1) = 3\), find
    \(W(t)\).

    {\(W(t) = \underline{~~3t^{-4}~~}\)}


    \(p(t) = {4 \over t}\).  Thus by Abel's thm \(W(t) =ce^{-\int  {4 dt \over t}}= ce^{-4\int  {dt \over t}}= ce^{-4 ln|t|} =e^{ln|t|^{-4}} = ct^{-4}\) .

    Thus  \(W(t) =ct^{-4} \) for some constant \(c\).  Since \(W(1) = 3\),   ~~\(3 =  c(1)^{-4}\).  Thus \(c = 3\).

    Hence \(W(t) =3t^{-4} \)

    --- 

    \end

    START 100/FALL16/e2_3600_F2016ANS part 1

    [20]~ 4.)  Solve ~~ \(x^2y'' + 8xy' -8y = 0\).

    Guess \(y = x^r\).  Then \(y' = rx^{r-1}\) and \(y'' = r(r-1)x^{r-2}\)

    Plug \(y = x^r\) into \(x^2y'' + 8xy' -8y = 0\).

    \(x^2 r(r-1)x^{r-2} + 8x rx^{r-1} -8x^r = 0\).

    \((r^2 -r)x^{r} + 8rx^{r} -8x^r = 0\).

    \((r^2 -r + 8r -8)x^r = 0\).

    \((r^2 + 7r -8)x^r = 0\) implies \((r-1)(r + 8) = 0\). Thus \(r = 1, -8\)

    Thus \(y = x\) and \(y = x^{-8}\) are two linearly independent solutions to this 2nd order linear homogeneous DE.
    Answer: \(\underline{~~y = c_1x + c_2x^{-8~~}\)}


    Section 3.3: Complex Roots of the Characteristic Equation

    START 100/3_3.tex

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.5in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.4in}
     etlength{\textheight}{9.4in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).

    RECOMMENDED Method: 

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\)

    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    NOT RECOMMENDED:  work with  \(y = c_1e^{it} + c_2 e^{-it}\)

     \(y' = ic_1e^{it} - ic_2 e^{-it}\)

     \(y(0) = -1\):   \(-1 = c_1e^{0} + c_2 e^{0}\) implies \(-1 = c_1 + c_2\).

     \(y'(0) = -3\):   \(-3 = ic_1e^{0} - ic_2 e^{0}\) implies $-3 = ic_1 - 
    ic_2$.


     \(-1i = ic_1 + ic_2\).

     \(-3 = ic_1 - ic_2\).


    \(2ic_1 = -3 - i\) implies \(c_1 = {-3i - i^2 \over -2} =  {3i - 1\over 2}\)


    \(2ic_2 = 3 - i\) implies \(c_2 = {3i - i^2 \over -2} =  {-3i - 1\over 2}\)

     Euler's formula:  \(e^{ix} = cos(x) + isin(x)\)
     
     $y = ({3i - 1\over 2})e^{it} + ({-3i - 1\over 2}) e^{-it} =
     ({3i - 1\over 2})[cos(t) + isin(t)] + ({-3i - 1\over 2}) [cos(-t) + 
    isin(-t)]$
     
     
     $= ({3i - 1\over 2})[cos(t) + isin(t)] + ({-3i - 1\over 2}) [cos(t) - 
    isin(t)]$
     
     
      
     $= ({3i \over 2})cos(t) + ({3i \over 2})isin(t) 
    + ({ -1\over 2})cos(t) + ({-1 \over 2})isin(t)
     + ({-3i \over 2}) cos(t) - ({-3i \over 2})isin(t)
      + ({-1\over 2}) cos(t) - ({-1 \over 2})isin(t)
     $
     
     $=  ({3i \over 2})isin(t) 
    + ({ -1\over 2})cos(t) +  ({3i \over 2})isin(t)
      + ({-1\over 2}) cos(t) 
     $
     
    $=  -({3 \over 2})sin(t) 
    - ({ 1\over 2})cos(t) -  ({3 \over 2})sin(t)
      - ({1\over 2}) cos(t) 
     $
     
     $=  -{3 }sin(t) 
    - { 1}cos(t)
     $
     
     
     
    \end{document}

    START 100/ch3.tex part 2

    Section 3.3:  If \(b^2 - 4ac < 0\), :

    Changed format of \(y = c_1e^{r_1t} + c_2e^{r_2t}\) to linear combination of real-valued 
    functions 
    instead of
    complex valued functions by using Euler's formula:

    \(e^{it = cos(t) + i sin(t)\)}

    Hence \(e^{(d + in)t} =e^{dt}e^{int} = e^{dt}[cos (nt) + i sin (nt)]\)

    Let \(r_1 = d + in\), \(r_2 = d - in\)

    \(y = c_1e^{r_1t} + c_2e^{r_2t} \)
    $= 
    c_1e^{dt}[cos (nt) + i sin (nt)] +c_2e^{dt}[cos (-nt) + i sin (-nt)] $
    \(=c_1e^{dt}cos (nt) + ic_1 e^{dt} sin (nt) + c_2e^{dt}cos (nt) - ic_2 e^{dt} sin (nt) \)

    =\((c_1 + c_2)e^{dt}cos (nt) + i(c_1 - c_2) e^{dt}sin (nt)\)
    \hskip 28pt\(=k_1 e^{dt} cos (nt) + k_2e^{dt} sin (nt)\)

    \end

    START 100/ch3_134.tex part 3 AND 100/ch3new.tex part 3

    Ex 2:  Solve \(y'' - 3y' + 4y = 0\).  
    \u
    \(y = e^{rt}\) implies \(r^2 - 3r + 4= 0\) and hence 

    \(r = {3 \pm  qrt{(-3)^2 -4(1)(4)} \over 2}= {3 \over 2}\pm { qrt{9 -16} \over 2} = {3 \over 2}\pm i{ qrt{7} \over 2}\) 

    Hence general sol'n is \(y = c_1e^{{3 \over 2t}cos({ qrt{7} \over 2}t)  + c_2e^{{3 \over 2}t}sin({ qrt{7} \over 2}t)\)}

    ---
    \u

    Section 3.3:  If \(b^2 - 4ac < 0\), :

    Changed format of \(y = c_1e^{r_1t} + c_2e^{r_2t}\) to linear combination of real-valued 
    functions 
    instead of
    complex valued functions by using Euler's formula:

    \(e^{it = cos(t) + i sin(t)\)}

    Hence \(e^{(d + in)t} =e^{dt}e^{int} = e^{dt}[cos (nt) + i sin (nt)]\)

    Let \(r_1 = d + in\), \(r_2 = d - in\)

    \(y = c_1e^{r_1t} + c_2e^{r_2t} \)
    $= 
    c_1e^{dt}[cos (nt) + i sin (nt)] +c_2e^{dt}[cos (-nt) + i sin (-nt)] $
    \(=c_1e^{dt}cos (nt) + ic_1 e^{dt} sin (nt) + c_2e^{dt}cos (nt) - ic_2 e^{dt} sin (nt) \)

    =\((c_1 + c_2)e^{dt}cos (nt) + i(c_1 - c_2) e^{dt}sin (nt)\)
    \hskip 28pt\(=k_1 e^{dt} cos (nt) + k_2e^{dt} sin (nt)\)

    \end

    START 100/ch7and9.tex part 1

    {\bf Section 3.3:}  If \(b^2 - 4ac < 0\), :

    Changed format of \(y = c_1e^{r_1t} + c_2e^{r_2t}\) to linear combination of real-valued
    functions
    instead of
    complex valued functions by using Euler's formula:

    \(e^{it = cos(t) + i sin(t)\)}

    Hence \(e^{(d + in)t} =e^{dt}e^{int} = e^{dt}[cos (nt) + i sin (nt)]\)

    Let \(r_1 = d + in\), \(r_2 = d - in\)

    \(y = c_1e^{r_1t} + c_2e^{r_2t} = c_1e^{( d + in)t} + c_2e^{( d - in)t} = c_1e^{dt}e^{int} + c_2e^{dt}e^{- int} \)
    $=
    c_1e^{dt}[cos (nt) + i sin (nt)] +c_2e^{dt}[cos (-nt) + i sin (-nt)] $
    \(=c_1e^{dt}cos (nt) + ic_1 e^{dt} sin (nt) + c_2e^{dt}cos (nt) - ic_2 e^{dt} sin (nt) \)

    =\((c_1 + c_2)e^{dt}cos (nt) + i(c_1 - c_2) e^{dt}sin (nt)\)
    \hskip 28pt$=k_1 e^{dt} cos (nt) + k_2e^{dt} sin (nt)
    = e^{dt} [k_1cos (nt) + k_2sin (nt)]$


    \end

    START 100/3_3.tex

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.5in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.4in}
     etlength{\textheight}{9.4in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).

    RECOMMENDED Method: 

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\)

    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    NOT RECOMMENDED:  work with  \(y = c_1e^{it} + c_2 e^{-it}\)

     \(y' = ic_1e^{it} - ic_2 e^{-it}\)

     \(y(0) = -1\):   \(-1 = c_1e^{0} + c_2 e^{0}\) implies \(-1 = c_1 + c_2\).

     \(y'(0) = -3\):   \(-3 = ic_1e^{0} - ic_2 e^{0}\) implies $-3 = ic_1 - 
    ic_2$.


     \(-1i = ic_1 + ic_2\).

     \(-3 = ic_1 - ic_2\).


    \(2ic_1 = -3 - i\) implies \(c_1 = {-3i - i^2 \over -2} =  {3i - 1\over 2}\)


    \(2ic_2 = 3 - i\) implies \(c_2 = {3i - i^2 \over -2} =  {-3i - 1\over 2}\)

     Euler's formula:  \(e^{ix} = cos(x) + isin(x)\)
     
     $y = ({3i - 1\over 2})e^{it} + ({-3i - 1\over 2}) e^{-it} =
     ({3i - 1\over 2})[cos(t) + isin(t)] + ({-3i - 1\over 2}) [cos(-t) + 
    isin(-t)]$
     
     
     $= ({3i - 1\over 2})[cos(t) + isin(t)] + ({-3i - 1\over 2}) [cos(t) - 
    isin(t)]$
     
     
      
     $= ({3i \over 2})cos(t) + ({3i \over 2})isin(t) 
    + ({ -1\over 2})cos(t) + ({-1 \over 2})isin(t)
     + ({-3i \over 2}) cos(t) - ({-3i \over 2})isin(t)
      + ({-1\over 2}) cos(t) - ({-1 \over 2})isin(t)
     $
     
     $=  ({3i \over 2})isin(t) 
    + ({ -1\over 2})cos(t) +  ({3i \over 2})isin(t)
      + ({-1\over 2}) cos(t) 
     $
     
    $=  -({3 \over 2})sin(t) 
    - ({ 1\over 2})cos(t) -  ({3 \over 2})sin(t)
      - ({1\over 2}) cos(t) 
     $
     
     $=  -{3 }sin(t) 
    - { 1}cos(t)
     $
     
     
     
    \end{document}

    START 100/SPRING13/e1_2013ANS.txt part 3

    5.)   Find the general solutions for the following three  differential equations.

    [15]~  5A.)  \(2y''  - 3y' + 5y = 0\)

    \(y = e^{rt}\).  Then \(y' = re^{rt}\) and \(y'' = r^2e^{rt}\).

    \(2r^2e^{rt}  - 3re^{rt} + 5e^{rt} = 0\) implies \(2r^2 - 3r + 5 = 0\)

    \(2r^2  - 3r + 5 = 0\) implies $r = {3 \pm  qrt{9 - 4(2)(5)} \over 4} = 
    {3 \pm  qrt{9 - 40} \over 4} = {3 \pm  qrt{-31} \over 4}
     = {3 \pm  qrt{-31} \over 4} = {3\over 4} \pm i{ qrt{31} \over 4}$

     fill  fill

    Answer 5A.) $\underline{~~
    y = c_1 e^{3t \over 4cos({ qrt{31} \over 4}~t) + c_2 e^{3t \over 4}sin({ qrt{31} \over 4}~t)
    ~~}$}
     fill  fill

    \end

    Section 3.4: Repeated Roots; Reduction of Order

    START 100/ch3.tex part 3

    Section 3.4:  If \(b^2 - 4ac = 0\), then \(r_1 = r_2\).  \hfil \break
    Hence one solution is \(y = e^{r_1t}\)  Need second 
    solution.
    \u
    If \(y = e^{rt}\) is a solution, \(y = ce^{rt}\) is a solution.
    How about \(y = v(t)e^{rt\)?}
    \u\u
    \(y' = v'(t)e^{rt} + v(t)re^{rt}\)
    \u\u
    \(y'' = v''(t)e^{rt} +  v'(t)re^{rt} + v'(t)re^{rt} +  v(t)r^2e^{rt}\)
    \u\u
    $\hskip 14pt = 
    v''(t)e^{rt} +  2v'(t)re^{rt} +  v(t)r^2e^{rt} 
    $


    \(ay'' + by' + cy = 0\)
    \u
    {\(a(v''e^{rt} + 2v're^{rt} + v r^2e^{rt}) + b(v'e^{rt} + vre^{rt}) + cve^{rt}= 0\)}
    \u
    $a(v''(t) + 2v'(t)r + v(t)r^2) + b(v'(t) + v(t)r) + cv(t)
    = 0$
    \u
    $av''(t) + 2av'(t)r + av(t)r^2 + bv'(t) + bv(t)r + cv(t)
    = 0$
    \u

    $av''(t) 
    + (2ar+b)v'(t) 
    + (ar^2
    + br + c)v(t)
    = 0$
    \u
    $av''(t) 
    + (2a({-b \over 2a})+b)v'(t) 
    + 0
    = 0$

    \(ar^2 + br + c = 0\)
    and \(r = {-b \over 2a}\)}
    \u

    $av''(t) 
    + (-b + b)v'(t) 
    = 0$.
    \hfill
    Thus
    \(av''(t)  = 0\).
    \u
    Hence 
    \(v''(t)  = 0\)
    and
    \(v'(t)  = k_1\)
    and
    \(v(t)  = k_1t + k_2\)

    Hence \(v(t)e^{r_1t   = (k_1t + k_2)e^{r_1t}\) is a soln}
    Thus \(te^{r_1t}\) is a nice second solution.
    \u
    Hence general solution is \(y = c_1 e^{r_1t}+ c_2 te^{r_1t}\)


    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)

    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
     
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)

     \(y(0) = -1\):      \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)

     \(y'(0) = -3\):   \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)

    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)


    {\bf When does the following IVP have  unique sol'n:}

    IVP:  \(ay'' + by' + cy = 0\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is a solution to 
     
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t)\)}

    \(y(t_0) = y_0\):  \(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)\)

    \(y'(t_0) = y_1\):  \(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).


    Note that in these equations \(c_1\) and \(c_2\) are the unknowns and \(y_0,  \phi_1(t_0), \phi_2(t_0)\), \(y_1, \phi_1'(t_0), \phi_2'(t_0)\) are the constants.  We can translate this linear system of equations into matrix form:
    \u
    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = y_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = y_1}\( \hfill \)\Rightarrow$ \hfill
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]\left[\matrix{c_1 \cr c_2} \right]=\left[\matrix{y_0 \cr y_1} \right] $

    Note this equation has a unique solution if and only if 
     
    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ }


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 
    \u\u
    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}

    Examples:
    \u\u\u
    1.)  W(\(cos(t)\), \(sin(t)\)) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| \)
      
    \(~~~~~~~~~~~~~~~~= cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  W(\(e^{dt}cos(nt)\), \(e^{dt}sin(nt)) =\) 
      
    ~~~~$ \left|\matrix{e^{dtcos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    \(^{= e^{dt}cos(nt)(de^{dt}sin(nt) + ne^{dt}cos(nt) ) - e^{dt}sin(nt)( de^{dt}cos(nt)- ne^{dt}sin(nt) )}\)

    \u\u
    $~^{= e^{2dt}%\huge
    [cos(nt)(dsin(nt) + ncos(nt)) - sin(nt)(dcos(nt)- nsin(nt) )]%\huge
    }$
    \u\u
    $~^{= e^{2dt}%\huge
    [dcos(nt)sin(nt) + ncos^2(nt) - dsin(nt)cos(nt)+ nsin^2(nt)]%\huge
    )}$
    \u\u

    $~~= e^{2dt}%\huge
    [ ncos^2(nt) + nsin^2(nt)%\huge
    ]$
      
    [ cos^2(nt) + sin^2(nt)%\huge
    ]$
    \(~=~ ne^{2dt} > 0\) for all \(t\).}


    Definition:  The Wronskian of two differential functions, \(f\) and \(g\) is 

    \(W(f, g) = fg' - f'g = \big|\matrix{f & g \cr f' & g'\big|\)}

    Thm 3.2.3:  Suppose that \hfil \break
     \(\phi_1\) and \(\phi_2\) are two solutions to $y'' + p(t) y' + q(t)y = 
    0$. \hb
      If \(W(\phi_1, \phi_2)(t_0) = \phi_1(t_0)\phi_2'(t_0) - \phi_1'(t_0)\phi_2(t_0) \not= 0\), then \hb
     there is a unique choice of constants \(c_1\) and \(c_2\) such that \(c_1\phi_1 + c_2\phi_2\) 
    satisfies this 
    homogeneous linear differential 
    equation and initial conditions, \(y(t_0) = y_0\), \(y'(t_0) = y_0'\).

    Thm 3.2.4:  Given the hypothesis of thm 3.2.1, \hb
    suppose that \(\phi_1\) and \(\phi_2\) are two solutions to 
     
    \(y'' + p(t) y' + q(t)y =0\).
     \u\u
     If \(W(\phi_1, \phi_2)(t_0) \not= 0\), 
    for some \(t_0 \in (a, b)\), then any solution to this homogeneous linear differential
    equation can be written as $y = 
    c_1\phi_1 + c_2\phi_2\( for some \)c_1\( and \)c_2$.

    Defn  If \(\phi_1\) and \(\phi_2\) satisfy the conditions in thm 3.2.4, then \(\phi_1\) and \(\phi_2\) 
    form a fundamental set of solutions to $y'' + p(t) y' + q(t)y =
    0$. 

    Thm 3.2.5:  Given any second order homogeneous linear differential equation, there exist a pair 
    of functions which form a fundamental set of solutions.

    \end

    START 100/ch3_134.tex part 4 AND 100/ch3new.tex part 4

    Ex 3:  \(y'' - 6y' + 9y = 0\)  implies \(r^2 - 6r + 9 = (r-3)^2= 0\) 
    \u\u\u
    Repeated root, \(r = 3\) implies  

    general solution is \(y = c_1e^{3t  + c_2te^{3t}\)}


    So why did we guess \(y = e^{rt}\)?

    Goal:  Solve linear homogeneous 2nd order DE with constant coefficients, 

    \(ay'' + by' + cy = 0\) where \(a, b, c\) are constants

    Standard mathematical technique:  make up simpler problems and see if you can generalize to the problem of interest.

    Section 3.4:  If \(b^2 - 4ac = 0\), then \(r_1 = r_2\).  \hfil \break
    Hence one solution is \(y = e^{r_1t}\)  Need second 
    solution.
    \u
    If \(y = e^{rt}\) is a solution, \(y = ce^{rt}\) is a solution.
    How about \(y = v(t)e^{rt\)?}
    \u\u
    \(y' = v'(t)e^{rt} + v(t)re^{rt}\)
    \u\u
    \(y'' = v''(t)e^{rt} +  v'(t)re^{rt} + v'(t)re^{rt} +  v(t)r^2e^{rt}\)
    \u\u
    $\hskip 14pt = 
    v''(t)e^{rt} +  2v'(t)re^{rt} +  v(t)r^2e^{rt} 
    $


    \(ay'' + by' + cy = 0\)
    \u
    {\(a(v''e^{rt} + 2v're^{rt} + v r^2e^{rt}) + b(v'e^{rt} + vre^{rt}) + cve^{rt}= 0\)}
    \u
    $a(v''(t) + 2v'(t)r + v(t)r^2) + b(v'(t) + v(t)r) + cv(t)
    = 0$
    \u
    $av''(t) + 2av'(t)r + av(t)r^2 + bv'(t) + bv(t)r + cv(t)
    = 0$
    \u

    $av''(t) 
    + (2ar+b)v'(t) 
    + (ar^2
    + br + c)v(t)
    = 0$
    \u
    $av''(t) 
    + (2a({-b \over 2a})+b)v'(t) 
    + 0
    = 0$

    \(ar^2 + br + c = 0\)
    and \(r = {-b \over 2a}\)}
    \u

    $av''(t) 
    + (-b + b)v'(t) 
    = 0$.
    \hfill
    Thus
    \(av''(t)  = 0\).
    \u
    Hence 
    \(v''(t)  = 0\)
    and
    \(v'(t)  = k_1\)
    and
    \(v(t)  = k_1t + k_2\)

    Hence \(v(t)e^{r_1t   = (k_1t + k_2)e^{r_1t}\) is a soln}
    Thus \(te^{r_1t}\) is a nice second solution.
    \u
    Hence general solution is \(y = c_1 e^{r_1t}+ c_2 te^{r_1t}\)


    {\bf Summary of sections 3.1, 3, 4:}  
    Solve linear homogeneous 2nd order DE with constant coefficients.

    Solve \(ay'' + by' + cy = 0\).~~ Educated guess \(y = e^{rt}\), then 


    \(ar^2e^{rt} + bre^{rt} + ce^{rt} = 0\) implies \(ar^2 + br + c = 0\),
     
    Suppose \(r = r_1, r_2\) are solutions to \(ar^2 + br + c = 0\)

    \(r_1, r_2 = {-b \pm  qrt{b^2 - 4ac \over 2a}\)}


    If \(r_1 \not= r_2\), then \(b^2 - 4ac \not= 0\).  Hence a general solution is
    {\(y = c_1e^{r_1t} + c_2e^{r_2t}\)}

    If \(b^2 - 4ac > 0\), general solution is \(y = c_1e^{r_1t} + c_2e^{r_2t}\).


    If \(b^2 - 4ac < 0\), change format to linear combination of real-valued functions instead of 
    complex valued functions by using Euler's formula.

    general solution is \(y = c_1 e^{dt} cos (nt) + c_2 e^{dt} sin (nt)\) where \(r = d \pm in\)


    If \(b^2 - 4ac = 0\), \(r_1 = r_2\), so need 2nd (independent) solution:  \(te^{r_1t}\)

    Hence general solution is \(y = c_1e^{r_1t} + c_2te^{r_1t}\).


    Initial value problem:  use \(y(t_0) = y_0\), \(y'(t_0) = y_0'\) to solve for \(c_1, c_2\) to find unique 
    solution. 


    \end

    START 100/FALL16/e1_Fall2016ANS.tex part 7

    \nopagenumbers

    [15]~ 4a.)  Solve \(y'' - 8y' + 16y = 0\)
     fill

    Educated guess:  \(y = e^{rt}\).  Then \(y' = re^{rt}\) and  \(y'' = r^2e^{rt}\)

    Plugging in the guess into our equation:  

     \( r^2e^{rt} - 8 re^{rt} + 16e^{rt} = 0\)

    Since  \(e^{rt} > 0\), we can divide both sides of the above equation by \( re^{rt}\) without loosing any solutions:

     \( r^2 - 8 r + 16 = 0\) implies \((r - 4)^2 = 0\) and thus \(r = 4\).
     
     Thus \(y = e^{4t}\) is a solution.  We can check by plugging in (as we did in class for a different example) that \(y = te^{4t}\) is also a solution.

    Sidenote:  \(\{e^{4t}, te^{4t}\}\) is a linear independent set and thus a basis for our solution.  We can check linear independence by calculating the Wronskian.

     fill
    Answer: \(\underline{~~y = c_1e^{4t + c_2te^{4t}~~}\)}
     fill
    [15]~ 4b.)   Solve \(y'' - y' + 3y = 0\)
     fill
    Educated guess:  \(y = e^{rt}\).  Then \(y' = re^{rt}\) and  \(y'' = r^2e^{rt}\)

    Plugging in the guess into our equation: 

    \( r^2e^{rt} -  re^{rt} + 3e^{rt} = 0\)

    Since  \(e^{rt} > 0\), we can divide both sides of the above equation by \( re^{rt}\) without loosing any solutions:

     \( r^2 -  r + 3 = 0\) implies  $r = {1 \pm  qrt{1 - 4(3)} \over 2}
      = {1 \pm  qrt{11} \over 2} =  {1 \pm i qrt{11} \over 2}
     $.

     fill
    Answer: \(\underline{~~y = c_1e^{t \over 2 cos({ qrt{11} \over 2}t) + c_2e^{t \over 2} sin({ qrt{11} \over 2}t)~~}\)}
     fill

    \end

    START 100/SPRING13/e1_2013ANS.txt part 4

    5.)   Find the general solutions for the following three  differential equations.

    [15]~  5B.)  \(y'' + 6y' + 9y = 0\)

    \(r^2 + 6r + 9 = 0\)

    \((r + 3)^2 = 0\) implies \(r = -3\)

     fill  fill
    Answer 5B) \(\underline{~~y = c_1 e^{-3t + c_2 te^{-3t}~~}\)}
     fill  fill

    \end

    Section 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients

    START 100/3_5.tex


     

    Thm:  Suppose \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    If \(\psi\) is a solution to

    \(ay'' + by' + cy = g(t)\) [*],
    Then \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is also a solution to [*].

    Moreover if \(\gamma\) is also a solution to [*], then there exist constants \(c_1, c_2\) such that 

    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\)

    Or in other words, \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to [*].


    Proof:  

    Define   \(L(f) = af'' + bf' + cf\).

    Recall \(L\) is a linear function.

     Let \(h = c_1 \phi_1(t) + c_2 \phi_2(t)\).  Since \(h\) is a solution to the differential 
    equation, \(ay'' + by' + cy = 0\),


    Since \(\psi\) is a solution to 
     \(ay'' + by' + cy = g(t)\),


    We will now show that \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t) = \psi + h\) is also a solution to 
    [*].


    Since \(\gamma\) a solution to  \(ay'' + by' + cy = g(t)\),


    We will first show that \(\gamma - \psi\) is a solution to the differential equation
     \(ay'' + by' + cy = 0\).

     fill

    Since \(\gamma - \psi\) is a solution to \(ay'' + by' + cy = 0\) and 

    \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    there exist constants \(c_1, c_2\) such that

    \(\gamma - \psi =\underline{\hskip 2in\)}


    Thus
    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\).


    Thm: \hfil \break
     Suppose  
    \(f_1\) is a a solution to
    \(ay'' + by' + cy = g_1(t)\)  \hfil \break
    and \(f_2\) is a a solution to
    \(ay'' + by' + cy = g_2(t)\), then \(f_1 + f_2\) is a solution to
    \(ay'' + by' + cy = g_1(t) + g_2(t)\)


    Proof: Let  \(L(f) = af'' + bf' + cf\).

    Since \(f_1\) is a solution to 
     \(ay'' + by' + cy = g_1(t)\),


    Since \(f_2\) is a solution to 
     \(ay'' + by' + cy = g_2(t)\),


    We will now show that \(f_1 + f_2\) is a solution to \break
     \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill


    Sidenote:  The proofs above work even if \(a, b, c\) are functions of \(t\) instead of constants.


    {\bf Examples:} Find a suitable form for \(\psi\) for the following differential equations:

    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     fill

    2.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     fill


    3.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     fill


    4.)  \(y'' - 5y  = 4sin(3t)\)
     fill

    5.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     fill

    6.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     fill

    7.)  
    \(y'' - 4y' - 5y = 4 sin(3t) e^{2t}\)
     fill
    8.)  
    \(y'' - 4y' - 5y = 4 (t^2 - 2t - 1)sin(3t) e^{2t}\)
     fill

    9.) \(y'' - 4y' - 5y =4sin(3t) +  4 sin(3t) e^{2t}\)
     fill
    10.)  \(y'' - 4y' - 5y\)

     fill
    11.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     fill
    12.) \(y'' - 4y' - 5y = 4e^{-t}\)
     fill
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.) {\bf First solve homogeneous equation:}

      Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to \hb
      LINEAR HOMOGENEOUS equation.

    Thus the general solution to the 2nd order LINEAR \hb HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.) {\bf Find one solution to non-homogeneous eq'n:}
      Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)
    ~~~~~~~~\(y' = 3A cos(3t) - 3B sin(3t)\)
    ~~~~~~~~\(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) ~~and~~ $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.) {\bf If initial value problem:}
    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to separately satisfy the initial values.
    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).

    \((e^{-t})'' - 4(e^{-t})' - 5(e^{-t}) = 0\) and 
    \((e^{5t})'' - 4(e^{5t})' - 5(e^{5t}) = 0\) 


    \end
    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2') + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right]
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/3_5exA.tex

    \font\frm=cmr9

    3.5:  Solving 2nd order linear non-homogeneous DE using method of undetermined coefficients.
     
    Example:  Solve  \(y'' + 4y = 12t + 8sin(2t)\).
    ---

     
    Step 1:  Solve homogeneous system,  \(y'' + 4y = 0\)
     
    \(r^2 + 4 = 0 ~~\Rightarrow~~ r^2 = -4 ~~\Rightarrow~~ r = \pm  qrt{-4} = 0 \pm 2i\)
     
    Hence homogeneous soln is \(y = c_1cos(2t) + c_2sin(2t)\)

    ---

    Step 2a:  Find one solution to  \(y'' + 4y = 12t\)
     
    Possible guess:  \(y = At + B\).  Then \(y' = A\) and \(y'' = 0\).
     
    Plug in: \( 0 + 4(At +B) = 12t\)
    \(\Rightarrow\)
    \(4At + 4B = 12t + 0\)   
     
    Thus \(4A = 12\) and \(4B = 0 ~~\Rightarrow~~ A = 3\) and \(B = 0\)

    Thus \(y = 3t\) is a solution to \(y'' + 4y = 12t\).

    Simpler guess:  since there is no \(y'\) term, we didn't need the B term in our guess.  We could have guessed \(y = At\) instead for this particular problem (and other analogous problems).  If you make similar observations when you do your HW, you can save time when you do comparable problems.


    Step 2b:  Find one solution to  \(y'' + 4y = 8sin(2t)\)

    Incorrect guess:  \(y = Asin(2t)\).  Then \(y' = 2Acos(2t)\) and \(y'' = -4Asin(2t)\).

    Note:  since no \(y'\) term, did not include a \(Bcos(2t)\) term in guess.

    Plug in:  \(-4Asin(2t) +4Asin(2t) = 8sin(2t)\).  
    \u 
    Thus \(0 = 8sin(2t)\).
    \u
    Thus equation has no solution for \(A\).  Hence guess is wrong.  

    Note this guess is wrong because \(y = sin(2t)\) is a homogeneous solution.  This is why we always solve homogeneous equations first.  If a function is a solution to a homogeneous equation, then no constant multiple of that function can be a solution to a non-homogeneous solution since it is a homogeneous solution.  

    If your normal guess is a homogeneous solution: 
     \u
     Multiply it by \(t\) 
    \u
    until it is no longer a homogeneous solution.

    Incorrect guess:  \(y = Atsin(2t)\).  
    \u
    Then \(y' = Asin(2t)+ 2Atcos(2t)\) and
    \u
     \(y'' = 2Acos(2t) + 2Acos(2t)- 4Atsin(2t)\)
     \u

    Plug into  \(y'' + 4y = 8sin(2t)\):
    \u
    \( 4Acos(2t)- 4Atsin(2t) + 4Atsin(2t) = 8sin(2t)\)

    \u
    But this equation has no solution for \(A\).  Note we need to add a cosine term to our guess so that we can cancel out the cosine term on LHS:

    ---

    Better guess:  \(y = t[Asin(2t) + Bcos(2t)]\).  %Then


    ---

    Best guess:  \(y = Btcos(2t)\)

    Then \(y' = Bcos(2t) - 2Btsin(2t)\)
    \u
    and \(y'' = -2Bsin(2t) - 2Bsin(2t) - 4Btcos(2t)  \)


    Plug into  \(y'' + 4y = 8sin(2t)\)
    \u
    \( -4Bsin(2t) - 4Btcos(2t) + 4Btcos(2t) = 8sin(2t)\)
    \u
    \( -4Bsin(2t)  = 8sin(2t)  ~~\Rightarrow~~ -4B = 8  ~~\Rightarrow~~B = -2\)


    Thus \(y = -2tcos(2t)\) is a solution to 


    ---

    Note:  Guessing wrong is NOT a big deal.  You can use your wrong guess to determine a correct guess (though guessing right the first time will save you time).  

    Recall you are looking for ONE solution to your NON-homogeneous equation. 

     \(\bullet\) If you find 
    an infinite number of solns, choose one. 

      \(\bullet\) If your guess gives you one solution, use it.  

     \(\bullet\) If your guess leads to no solutions, than make a different (improved) educated guess.

    ---


    To find general solution to non-homogeneous \hb LINEAR differential equation:  combine all solutions
     
    \(y = c_1cos(2t) + c_2sin(2t) +3t -2tcos(2t)\)

    \end

    START 100/ch3.tex part 3


    Thm:  Suppose \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    If \(\psi\) is a solution to

    \(ay'' + by' + cy = g(t)\) [*],
    Then \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is also a solution to [*].

    Moreover if \(\gamma\) is also a solution to [*], then there exist constants \(c_1, c_2\) such that 

    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\)

    Or in other words, \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to [*].


    Proof:  

    Define   \(L(f) = af'' + bf' + cf\).

    Recall \(L\) is a linear function.

     Let \(h = c_1 \phi_1(t) + c_2 \phi_2(t)\).  Since \(h\) is a solution to the differential 
    equation, \(ay'' + by' + cy = 0\),


    Since \(\psi\) is a solution to 
     \(ay'' + by' + cy = g(t)\),


    We will now show that \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t) = \psi + h\) is also a solution to 
    [*].


    Since \(\gamma\) a solution to  \(ay'' + by' + cy = g(t)\),


    We will first show that \(\gamma - \psi\) is a solution to the differential equation
     \(ay'' + by' + cy = 0\).

     fill

    Since \(\gamma - \psi\) is a solution to \(ay'' + by' + cy = 0\) and 

    \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    there exist constants \(c_1, c_2\) such that

    \(\gamma - \psi =\underline{\hskip 2in\)}


    Thus
    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\).


    Thm: \hfil \break
     Suppose  
    \(f_1\) is a a solution to
    \(ay'' + by' + cy = g_1(t)\)  \hfil \break
    and \(f_2\) is a a solution to
    \(ay'' + by' + cy = g_2(t)\), then \(f_1 + f_2\) is a solution to
    \(ay'' + by' + cy = g_1(t) + g_2(t)\)


    Proof: Let  \(L(f) = af'' + bf' + cf\).

    Since \(f_1\) is a solution to 
     \(ay'' + by' + cy = g_1(t)\),


    Since \(f_2\) is a solution to 
     \(ay'' + by' + cy = g_2(t)\),


    We will now show that \(f_1 + f_2\) is a solution to \break
     \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill


    Sidenote:  The proofs above work even if \(a, b, c\) are functions of \(t\) instead of constants.


    {\bf Examples:} Find a suitable form for \(\psi\) for the following differential equations:

    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     fill

    2.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     fill


    3.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     fill


    4.)  \(y'' - 5y  = 4sin(3t)\)
     fill

    5.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     fill

    6.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     fill

    7.)  
    \(y'' - 4y' - 5y = 4 sin(3t) e^{2t}\)
     fill
    8.)  
    \(y'' - 4y' - 5y = 4 (t^2 - 2t - 1)sin(3t) e^{2t}\)
     fill

    9.) \(y'' - 4y' - 5y =4sin(3t) +  4 sin(3t) e^{2t}\)
     fill
    10.)  \(y'' - 4y' - 5y\)

     fill
    11.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     fill
    12.) \(y'' - 4y' - 5y = 4e^{-t}\)
     fill
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.) {\bf First solve homogeneous equation:}

      Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to \hb
      LINEAR HOMOGENEOUS equation.

    Thus the general solution to the 2nd order LINEAR \hb HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.) {\bf Find one solution to non-homogeneous eq'n:}
      Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)
    ~~~~~~~~\(y' = 3A cos(3t) - 3B sin(3t)\)
    ~~~~~~~~\(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) ~~and~~ $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.) {\bf If initial value problem:}
    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to separately satisfy the initial values.
    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).

    \((e^{-t})'' - 4(e^{-t})' - 5(e^{-t}) = 0\) and 
    \((e^{5t})'' - 4(e^{5t})' - 5(e^{5t}) = 0\) 


    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end

    START 100/ch3_134.tex part 5 AND 100/ch3new.tex part 5

    {\bf Examples:} Find a suitable form for \(\psi\) for the following differential equations:

    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     fill

    2.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     fill


    3.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     fill


    4.)  \(y'' - 5y  = 4sin(3t)\)
     fill

    5.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     fill

    6.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     fill

    7.)  
    \(y'' - 4y' - 5y = 4 sin(3t) e^{2t}\)
     fill
    8.)  
    \(y'' - 4y' - 5y = 4 (t^2 - 2t - 1)sin(3t) e^{2t}\)
     fill

    9.) \(y'' - 4y' - 5y =4sin(3t) +  4 sin(3t) e^{2t}\)
     fill
    10.)  \(y'' - 4y' - 5y\)

     fill
    11.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     fill
    12.) \(y'' - 4y' - 5y = 4e^{-t}\)
     fill
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.) {\bf First solve homogeneous equation:}

      Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to \hb
      LINEAR HOMOGENEOUS equation.

    Thus the general solution to the 2nd order LINEAR \hb HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.) {\bf Find one solution to non-homogeneous eq'n:}
      Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)
    ~~~~~~~~\(y' = 3A cos(3t) - 3B sin(3t)\)
    ~~~~~~~~\(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) ~~and~~ $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.) {\bf If initial value problem:}
    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to separately satisfy the initial values.
    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).

    \((e^{-t})'' - 4(e^{-t})' - 5(e^{-t}) = 0\) and 
    \((e^{5t})'' - 4(e^{5t})' - 5(e^{5t}) = 0\) 


    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end

    START 100/3_5.tex


     

    Thm:  Suppose \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    If \(\psi\) is a solution to

    \(ay'' + by' + cy = g(t)\) [*],
    Then \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is also a solution to [*].

    Moreover if \(\gamma\) is also a solution to [*], then there exist constants \(c_1, c_2\) such that 

    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\)

    Or in other words, \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to [*].


    Proof:  

    Define   \(L(f) = af'' + bf' + cf\).

    Recall \(L\) is a linear function.

     Let \(h = c_1 \phi_1(t) + c_2 \phi_2(t)\).  Since \(h\) is a solution to the differential 
    equation, \(ay'' + by' + cy = 0\),


    Since \(\psi\) is a solution to 
     \(ay'' + by' + cy = g(t)\),


    We will now show that \(\psi + c_1 \phi_1(t) + c_2 \phi_2(t) = \psi + h\) is also a solution to 
    [*].


    Since \(\gamma\) a solution to  \(ay'' + by' + cy = g(t)\),


    We will first show that \(\gamma - \psi\) is a solution to the differential equation
     \(ay'' + by' + cy = 0\).

     fill

    Since \(\gamma - \psi\) is a solution to \(ay'' + by' + cy = 0\) and 

    \(c_1 \phi_1(t) + c_2 \phi_2(t)\) is a general solution to

    \(ay'' + by' + cy = 0\),

    there exist constants \(c_1, c_2\) such that

    \(\gamma - \psi =\underline{\hskip 2in\)}


    Thus
    \(\gamma = \psi + c_1 \phi_1(t) + c_2 \phi_2(t)\).


    Thm: \hfil \break
     Suppose  
    \(f_1\) is a a solution to
    \(ay'' + by' + cy = g_1(t)\)  \hfil \break
    and \(f_2\) is a a solution to
    \(ay'' + by' + cy = g_2(t)\), then \(f_1 + f_2\) is a solution to
    \(ay'' + by' + cy = g_1(t) + g_2(t)\)


    Proof: Let  \(L(f) = af'' + bf' + cf\).

    Since \(f_1\) is a solution to 
     \(ay'' + by' + cy = g_1(t)\),


    Since \(f_2\) is a solution to 
     \(ay'' + by' + cy = g_2(t)\),


    We will now show that \(f_1 + f_2\) is a solution to \break
     \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill


    Sidenote:  The proofs above work even if \(a, b, c\) are functions of \(t\) instead of constants.


    {\bf Examples:} Find a suitable form for \(\psi\) for the following differential equations:

    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     fill

    2.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     fill


    3.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     fill


    4.)  \(y'' - 5y  = 4sin(3t)\)
     fill

    5.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     fill

    6.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     fill

    7.)  
    \(y'' - 4y' - 5y = 4 sin(3t) e^{2t}\)
     fill
    8.)  
    \(y'' - 4y' - 5y = 4 (t^2 - 2t - 1)sin(3t) e^{2t}\)
     fill

    9.) \(y'' - 4y' - 5y =4sin(3t) +  4 sin(3t) e^{2t}\)
     fill
    10.)  \(y'' - 4y' - 5y\)

     fill
    11.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     fill
    12.) \(y'' - 4y' - 5y = 4e^{-t}\)
     fill
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.) {\bf First solve homogeneous equation:}

      Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to \hb
      LINEAR HOMOGENEOUS equation.

    Thus the general solution to the 2nd order LINEAR \hb HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.) {\bf Find one solution to non-homogeneous eq'n:}
      Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)
    ~~~~~~~~\(y' = 3A cos(3t) - 3B sin(3t)\)
    ~~~~~~~~\(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) ~~and~~ $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.) {\bf If initial value problem:}
    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to separately satisfy the initial values.
    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).

    \((e^{-t})'' - 4(e^{-t})' - 5(e^{-t}) = 0\) and 
    \((e^{5t})'' - 4(e^{5t})' - 5(e^{5t}) = 0\) 


    \end
    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2') + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right]
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/3_5ex.tex

    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    1.)  Find the general solution to \(y'' - 4y' - 5y  = 0\):  

    Guess \(y = e^{rt}\) for HOMOGENEOUS equation:

    \(y' = re^{rt}\), \(y' = r^2e^{rt}\)

     \(y'' - 4y' - 5y = 0\)
     
    \(  r^2e^{rt} -  4re^{rt} - 5 e^{rt} = 0\)

    \(  e^{rt}(r^2 -  4r - 5) = 0\)

    \( e^{rt} \not= 0\), thus can divide both sides by \(e^{rt}\): 
    \( r^2 -  4r - 5 = 0\)

    \((r +1)(r  - 5) = 0\).  Thus \(r = -1, 5\). 

      Thus \(y = e^{-t}\) and \(y = e^{5t}\) are both solutions to  HOMOGENEOUS equation.

    Thus the general solution to the 2nd order linear  HOMOGENEOUS equation is 

    \(y = c_1e^{-t + c_2e^{5t}\)}

    2.)  Find a solution to \(ay'' + by' + cy = 4sin(3t)\):  

    Guess \(y = A sin(3t) + B cos(3t)\)

    \(y' = 3A cos(3t) - 3B sin(3t)\)

    \(y'' = -9A sin(3t)  - 9B cos(3t)\)

    \(y'' - 4y' - 5y = 4sin(3t)\)

    $\matrix{  -9A sin(3t)& -& 9B cos(3t)&& \cr
    12B sin(3t) &- &12A cos(3t) &&\cr
     -5A sin(3t)  &- &5 cos(3t) &&\cr
       \noalign{---ule}
    &&& \cr
        (12B - 14A) sin(3t)  &- &(-14B - 12A) cos(3t)&=& 4sin(3t)
    }$

    Since \(\{sin(3t), cos(3t)\}\) is a linearly independent set:

    \(12B - 14A = 4\) and \(-14B - 12A = 0\)


    Thus \(A = -{14 \over 12}B = -{7 \over 6}B\) and 

    \(12B - 14(-{7 \over 6}B) = 12B + 7({7 \over 3}B) =  {36 + 49 \over  3}B= {85 \over 3}B= 4\)

    Thus \(B = 4({3 \over 85 }) = {12 \over 85}\) and $A  = -{7 \over 6}B
     = -{7 \over 6}( {12 \over 85}) = -{14 \over 85}$

    Thus \(y = (-{14 \over 85})sin(3t) + {12 \over 85}cos(3t)\) is one solution to the nonhomogeneous equation.

    Thus the general solution to the 2nd order linear  nonhomogeneous equation is 

    \(y = c_1e^{-t + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)}

    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    NOTE:  you must know the GENERAL solution to the ODE BEFORE you can solve for the initial values.  The homogeneous solution and the one nonhomogeneous solution found in steps 1 and 2 above do NOT need to satisfy the initial values.

    Solve \(y'' - 4y' - 5y = 4sin(3t)\), ~\(y(0) = 6\), \(y'(0) = 7\).

    General solution:
    \(y = c_1e^{-t} + c_2e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\)

    Thus \(y' =  -c_1e^{-t} + 5c_2e^{5t} -({42 \over 85})cos(3t) - {36 \over 85}sin(3t)\)

    \(y(0) = 6\): ~~~~ \(6 =  c_1 + c_2  + {12 \over 85}\)
    ~~~~~~~~~ \( {498 \over 85} =  c_1 + c_2 \)

    \(y'(0) = 7\):  ~~~~\(7 =  -c_1 + 5c_2 -{42 \over 85}\)
     ~~~~~~~\({637 \over 85} =  -c_1 + 5c_2 \)


    \(6c_2 = {498 + 637 \over 85} = {1135 \over 85} = {227 \over 17}\).
    Thus \(c_2 = {227 \over 102}\).

    $c_1 =  {498 \over 85}  - c_2 =  {498 \over 85}  -  {227 \over 102}
    = {2988  -  1135 \over 510} = {1853 \over 510} = {109 \over 30}$


    Thus \(y = ( {109 \over 30})e^{-t} + ({227 \over 102})e^{5t} -({14 \over 85})sin(3t) + {12 \over 85}cos(3t)\).

     fill
    Partial Check:  \(y(0) = ( {109 \over 30}) + ({227 \over 102}) + {12 \over 85} =  6\).

    ~~~~~~~~~~~~~~~~~~~~\(y'(0) =  -{109 \over 30} + 5({227 \over 102}) -{42 \over 85} = 7\).


    Potential proofs for exam 1:


    Proof by (counter) example:


    \item\item 1. Prove a function is not 1:1, not onto, not a bijection, not linear.

    \item\item 2. Prove that a differential equation can have multiple solutions.


    Prove convergence of a series using ratio test.

    Induction proof.


    Prove a function is linear. 

    Theorem 3.2.2:  If \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to the 2nd order linear ODE, \(ay'' + by' + cy = 0\), then their linear combination \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution for constants \(c_1\) and \(c_2\).

     Note you may use what you know from both pre-calculus and calculus (e.g., integration and derivatives are linear).

    \end


    \end

    START 100/3_5exA.tex

    \font\frm=cmr9

    3.5:  Solving 2nd order linear non-homogeneous DE using method of undetermined coefficients.
     
    Example:  Solve  \(y'' + 4y = 12t + 8sin(2t)\).
    ---

     
    Step 1:  Solve homogeneous system,  \(y'' + 4y = 0\)
     
    \(r^2 + 4 = 0 ~~\Rightarrow~~ r^2 = -4 ~~\Rightarrow~~ r = \pm  qrt{-4} = 0 \pm 2i\)
     
    Hence homogeneous soln is \(y = c_1cos(2t) + c_2sin(2t)\)

    ---

    Step 2a:  Find one solution to  \(y'' + 4y = 12t\)
     
    Possible guess:  \(y = At + B\).  Then \(y' = A\) and \(y'' = 0\).
     
    Plug in: \( 0 + 4(At +B) = 12t\)
    \(\Rightarrow\)
    \(4At + 4B = 12t + 0\)   
     
    Thus \(4A = 12\) and \(4B = 0 ~~\Rightarrow~~ A = 3\) and \(B = 0\)

    Thus \(y = 3t\) is a solution to \(y'' + 4y = 12t\).

    Simpler guess:  since there is no \(y'\) term, we didn't need the B term in our guess.  We could have guessed \(y = At\) instead for this particular problem (and other analogous problems).  If you make similar observations when you do your HW, you can save time when you do comparable problems.


    Step 2b:  Find one solution to  \(y'' + 4y = 8sin(2t)\)

    Incorrect guess:  \(y = Asin(2t)\).  Then \(y' = 2Acos(2t)\) and \(y'' = -4Asin(2t)\).

    Note:  since no \(y'\) term, did not include a \(Bcos(2t)\) term in guess.

    Plug in:  \(-4Asin(2t) +4Asin(2t) = 8sin(2t)\).  
    \u 
    Thus \(0 = 8sin(2t)\).
    \u
    Thus equation has no solution for \(A\).  Hence guess is wrong.  

    Note this guess is wrong because \(y = sin(2t)\) is a homogeneous solution.  This is why we always solve homogeneous equations first.  If a function is a solution to a homogeneous equation, then no constant multiple of that function can be a solution to a non-homogeneous solution since it is a homogeneous solution.  

    If your normal guess is a homogeneous solution: 
     \u
     Multiply it by \(t\) 
    \u
    until it is no longer a homogeneous solution.

    Incorrect guess:  \(y = Atsin(2t)\).  
    \u
    Then \(y' = Asin(2t)+ 2Atcos(2t)\) and
    \u
     \(y'' = 2Acos(2t) + 2Acos(2t)- 4Atsin(2t)\)
     \u

    Plug into  \(y'' + 4y = 8sin(2t)\):
    \u
    \( 4Acos(2t)- 4Atsin(2t) + 4Atsin(2t) = 8sin(2t)\)

    \u
    But this equation has no solution for \(A\).  Note we need to add a cosine term to our guess so that we can cancel out the cosine term on LHS:

    ---

    Better guess:  \(y = t[Asin(2t) + Bcos(2t)]\).  %Then


    ---

    Best guess:  \(y = Btcos(2t)\)

    Then \(y' = Bcos(2t) - 2Btsin(2t)\)
    \u
    and \(y'' = -2Bsin(2t) - 2Bsin(2t) - 4Btcos(2t)  \)


    Plug into  \(y'' + 4y = 8sin(2t)\)
    \u
    \( -4Bsin(2t) - 4Btcos(2t) + 4Btcos(2t) = 8sin(2t)\)
    \u
    \( -4Bsin(2t)  = 8sin(2t)  ~~\Rightarrow~~ -4B = 8  ~~\Rightarrow~~B = -2\)


    Thus \(y = -2tcos(2t)\) is a solution to 


    ---

    Note:  Guessing wrong is NOT a big deal.  You can use your wrong guess to determine a correct guess (though guessing right the first time will save you time).  

    Recall you are looking for ONE solution to your NON-homogeneous equation. 

     \(\bullet\) If you find 
    an infinite number of solns, choose one. 

      \(\bullet\) If your guess gives you one solution, use it.  

     \(\bullet\) If your guess leads to no solutions, than make a different (improved) educated guess.

    ---


    To find general solution to non-homogeneous \hb LINEAR differential equation:  combine all solutions
     
    \(y = c_1cos(2t) + c_2sin(2t) +3t -2tcos(2t)\)

    \end


    START 100/3_5listSans.tex


     


    Guess a possible non-homog soln for the  following DEs:
    \u

    Note homogeneous solution to \(y'' - 4y' - 5y = 0\)~~ is~~ \(y = c_1e^{-t} + c_2e^{5t}\)
    since \(r^2 - 4r - 5 = (r-5)(r+1) = 0\)


    1.)  
    \(y'' - 4y' - 5y = 4e^{2t}\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ Ae^{2t}~~~~}\)}

    We want to plug in a solution for \(y\) into the left-hand side (LHS) of the equation that will give us the right-hand side (RHS) of the equation.  In this case we need the output of the LHS to be a multiple of \(e^{2t}\) (in particular the output of the LHS when pluggin in \(y\) needs to be the RHS which is \(4e^{2t}\)).  

    Thus we guess \(y = Ae^{2t}\).  Plugging  this into the LHS, we can solve for \(A\) so that we get the RHS, \(4e^{2t}\), thus finding a non-homogeneous solution.

    2a.)  \(y'' - 4y' - 5y = t^2 - 2t + 1\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ At^2 + Bt + C  ~~~~}\)}


    2b.)  \(y'' - 4y' - 5y = t^2 \)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~  At^2 + Bt + C  ~~~~}\)}


    2c.)  \(y'' - 4y' - 5y = \) a degree 2 polynomial
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~  At^2 + Bt + C   ~~~~}\)}

    Note that the non-homog solution guess is the same for 2a, 2b, 2c.  In each case, we need to guess a solution such that when we plug it into the LHS we get the RHS, a degree 2 polynomial.  Thus our guess is a degree 2 polynomial (but compare this to example 12).  Note we need \(y ~=~  At^2 + Bt + C\) even in case 2b.  Make sure you understand why \(y = At^2\) won't work.

    3a.)  \(y'' - 4y' - 5y = 30\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~A   ~~~~}\)}


    We have a constant on the RHS, so I guess a constant (but again compare to example 12).  If you are observant, you may note that a non-homog solution is \(y = -6\))

    4a.)  \(y'' - 4y' - 5y = 4sin(3t)\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ Asin(3t) + Bcos(3t)  ~~~~}\)}

    4b.) \(y'' - 4y' - 5y =4sin(3t) +  5cos(3t)\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~   Asin(3t) + Bcos(3t) ~~~~}\)}

    4c.) \(y'' - 4y' - 5y = 5cos(3t)\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~   Asin(3t) + Bcos(3t) ~~~~}\)}


    Note that the non-homog solution guess is the same for 4a, 4b, 4c.   If we plug in \(y = Asin(3t)\), the output will contain both \(sin(3t)\) and \(cos(3t)\) terms.  Thus I need to include both these terms in my guess.  Compare to example 11.


    5.) \(y'' - 4y' - 5y = 4e^{-t}\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ Ate^{-t}  ~~~~}\)}

    Note \(y = Ae^{-t}\) is a homogeneous solution.  Thus if I plug in it, I will get 0.  But I want the RHS, \( 4e^{-t}\).  When a guess doesn't work because it is a homogeneous solution, multiple by \(t\).  

    Sidenote:  this trick works because when you plug it in, you must use the product rule; the  homogeneous part \(e^{-t}\) of \(y = Ate^{-t}\) will result in a number of cancellations, but the \(t\) part will give you terms that don't cancel out and whose sum is the RHS.

    Observe \(y =  Ate^{-t}\), ~~\(y' =  Ae^{-t} - Ate^{-t}\), ~~
    \(y'' =  -Ae^{-t} - Ae^{-t} + Ate^{-t} = -2 Ae^{-t} + Ate^{-t}\)


    Thus $y'' - 4y' - 5y = 
    - 2Ae^{-t} + Ate^{-t} - 4( Ae^{-t} - Ate^{-t}) - 5(Ate^{-t})$

    \(= - 2Ae^{-t}  - 4 Ae^{-t} + At(e^{-t} + 4 e^{-t} - 5e^{-t})\)
    \(= - 6 Ae^{-t} + At(0)\)
    \(= 4e^{-t}\) when \(A = -{2 \over 3}\)
    DO NOT FORGET THE PRODUCT RULE!!!!

    6.)   \(y'' - 4y' - 5y =(e^t) + (e^{-t}) + (2t^3 + 3t^2) + (4sin(3t) +  5cos(3t))\)
    Guess: \(\underline{~~y ~=~ (A_1e^{t) + (A_2te^{-t}) + (A_3t^3 + B_3t^2 + C_3t + D_3) + (A_4sin(3t) + B_4cos(3t))   ~~~~}\)}

    Note if we wanted to find a non-homogeneous solution, we would need to determine all our undetermined coefficients.  Note we have 8 undetermined coefficients.  Instead of solving for them all at once (which would require 8 equations for the 8 unknowns), it is easier to divide finding a non-homogeneous solution into 4 simpler parts indicated by the parenthesis and subscripts as described below:  


    a.)  Find \(A_1\) by plugging \(y = A_1e^{t}\) into \(y'' - 4y' - 5y =e^t \)

    b.)  Find \(A_2\) by plugging \(y = A_2te^{-t}\) into \(y'' - 4y' - 5y =e^{-t} \)

    c.) Find \(A_3, B_3, C_3, D_3\) by plugging \(y = A_3t^3 + B_3t^2 + C_3t + D_3\) into \(y'' - 4y' - 5y = 2t^3 + 3t^2 \)

    d.) Find \(A_4, B_4\) by plugging \(y = A_4sin(3t) + B_4cos(3t)\) into 

    We get the non-homogeneous solution by adding together the non-homogeneous solutions obtained from the above 4 parts since our diff eqn is LINEAR.

    We get the general solution by combining the general homogeneous solution with this non-homogeneous solution.


    7.)   \(y'' - 4y' - 5y =e^t + e^{-t} + 2t^3 + 3t^2 + 4sin(3t) +  5cos(t)\)

    \hskip 0.15in{Guess: \(\underline{~~y ~=~ (A_1e^{t}) + (A_2te^{-t}) + (A_3t^3 + B_3t^2 + C_3t + D_3)~~ }\)}


    8.)  
    \(y'' - 4y' - 5y = 4(t^2 - 2t - 1)e^{2t}\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ (At^2 + Bt + C)e^{2t}   ~~~~}\)}

    Since the RHS is a product, we guess a product.   \hb
    Note I could have guessed
    \(y ~=~ (At^2 + Bt + C)De^{2t} ~=~ (ADt^2 + BDt + CD)e^{2t}\),
    but since \(AD, BD, CD\) are just constants, I don't need \(D\).


    ---  skip -5pt ---  skip -5pt ---  skip 0pt

    Note homogeneous solution to \(y'' - 6y' +9y = 0\) ~~is~~ \(y = c_1e^{3t} + c_2te^{3t}\)
    \o
    \hskip 1.55in{since \(r^2 - 6r +9 = (r-3)(r-3) = 0\)}

    9.)  \(y'' - 6y' +9y = 7e^{3t}\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ At^2e^{3t}  ~~~~}\)}
    \o
    Note neither \(y = Ae^{3t}\) nor \(y = Ate^{3t}\) will work since both are homogeneous solutions.  But our trick of multiplying by \(t\) until we have a guess that is not a homogeneous solution will work.

    10.)  \(y'' - 6y' +9y = 7e^{-3t}\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~ Ae^{-3t}  ~~~~}\)}
    \o
    \(y ~=~ Ae^{-3t}\) is not a homogeneous solution (when \(A \not= 0\)).
    ---  skip -5pt ---  skip -5pt ---  skip 0pt
    Some special cases:

    11.)  \(y'' - 5y  = 4sin(3t)\)
     
    \hskip 0.5in{Best Guess: \(\underline{~~~~y ~=~ Asin(3t)  ~~~~}\)}
    \o
    Note, we also could have guessed \(y = Asin(3t) + Bcos(3t)\), but since there is no \(y'\) term, we don't need the cosine term.  But both guesses will work.  Plugging in \(y = Asin(3t) + Bcos(3t)\) will take a little more work, but you will still get the right answer.


    12.)  \(y'' - 4y'  = t^2 - 2t + 1\)
     
    \hskip 0.5in{Guess: \(\underline{~~~~y ~=~At^3 + Bt^2 +Ct   ~~~~}\)}

    \o
    Note there is no \(y\) term on the LHS.  Thus to get a \(t^2\) term when we plug in our guess, we will need to plug in a \(t^3\) term. Hence we guess a degree 3 polynomial.  Note we don't need to include a constant term;  we could have guessed \(y ~=~At^3 + Bt^2 +Ct + D\), but any constant \(D\) will work (and hence there are an infinite number of solutions for \(D\)) so we might as well take \(D = 0\).

    ---

    Don't worry too much about guessing wrong.  You will usually be able to figure out why an incorrect guess doesn't work and use that info to determine a better guess.

    \end

    START 100/FALL16/quiz3Fall16Answers.tex

    \nopagenumbers

    Find the solution to the initial value problem:
    \(y'' - 6y' + 9y = 8e^{3t + 27t\),~~ \(y(0) = 5\),~~ \(y'(0) = 2\).}

    ---

    Step 1:  Solve Homogeneous equation \(y'' - 6y' + 9y = 0\)

    Let \(y = e^{rt}\).  Then \(r^2 - 6r + 9 = 0\).  Thus \((r - 3)^2 = 0\) and \(r = 3\).

    Thus general homogeneous solution is \(y = c_1e^{3t} + c_2te^{3t}\).

    ---

    Step 2a:   Solve Non-homogeneous equation \(y'' - 6y' + 9y = 8e^{3t} \)

    Since \(y = e^{3t}\) and \(y = te^{3t}\) are homogeneous solutions, multiples of these cannot be solutions to the non-homogeneouse equation.  Thus we will try multiplying by another \(t\) and try  \(y = At^2e^{3t}\).  

    \(y = At^2e^{3t}\) implies \(y' = 2Ate^{3t} +  3At^2e^{3t}\) and   
    \(y'' = 2Ae^{3t} +  6Ate^{3t} +  6Ate^{3t} +  9At^2e^{3t}\)

    Plugging into \(y'' - 6y' + 9y = 8e^{3t} \) and solve for \(A\):

    \(2Ae^{3t} +  12Ate^{3t} +  9At^2e^{3t} - 6(2Ate^{3t} +  3At^2e^{3t}) + 9(At^2e^{3t}) ~=~ 8e^{3t}\)

    \(2Ae^{3t} +  12Ate^{3t} +  9At^2e^{3t} - 12Ate^{3t} -  18At^2e^{3t} + 9At^2e^{3t} ~=~ 8e^{3t}\)

    \(2Ae^{3t} +  (12 - 12)Ate^{3t} +  (9 - 18 + 9)At^2e^{3t}  ~=~ 8e^{3t}\)

    \(2Ae^{3t}   ~=~ 8e^{3t}\) implies \(2A ~=~ 8\) and thus \(A = 4\).

    Thus \(y = 4t^2e^{3t}\) is anon-homogeneous solution to  \(y'' - 6y' + 9y = 8e^{3t}\). 

    Thus  general non-homogeneous solution to  \(y'' - 6y' + 9y = 8e^{3t} \) is 
      skip 5pt
     \(y = c_1e^{3t + c_2te^{3t} + 4t^2e^{3t}\).}
    ---
    Step 2b:   Solve Non-homogeneous equation \(y'' - 6y' + 9y = 27t\)

    Guess \(y = At + B\).  Then \(y' = A\) and \(y'' = 0\).

    Plugging into \(y'' - 6y' + 9y = 27t \) and solve for \(A\) and \(B\):

     \(0 - 6A + 9(At + B) = 27t \)

     \(9At + 9B - 6A = 27t + 0 \).  Thus \(9A = 27\) and  \(9B - 6A = 0\).
     
     Hence \(A = 3\) and \(9B = 6A = 6(3)\) and thus \(B = 2\).
     
     Thus \(y = 3t + 2\) is a non-homogeneous solution to  \(y'' - 6y' + 9y = 27t\). 
     
     Thus  general non-homogeneous solution to  \(y'' - 6y' + 9y = 27t \) is 

       skip 5pt
     \(y = c_1e^{3t + c_2te^{3t} + 3t + 2\).}
     ---
     
     {\bf Hence  general non-homogeneous solution to  \(y'' - 6y' + 9y = 8e^{3t} + 27t\) is }
      skip 5pt
     \(y = c_1e^{3t + c_2te^{3t} + 4t^2e^{3t} + 3t + 2\).}
      
      or equivalently,
      
       \(y = e^{3t(4t^2 + c_2t +c_1) + 3t + 2\).}
      

      
      
      Step 3:  Use initial values to solve for \(c_1\) and \(c_2\):    

    \(y = e^{3t}(4t^2 + c_2t +c_1) + 3t + 2\)
    ~~implies~~
    \(y' = 3e^{3t}(4t^2 + c_2t +c_1) +  e^{3t}(8t + c_2) + 3\)

     \(y(0) = 5\): ~~ \(5 =  e^{0} (4(0)^2 + c_2(0) +c_1)  + 3(0) + 2\)
     
     \hskip 0.77in \(5 =  c_1  + 2\) implies \(c_1 = 3\)
     
       \(y'(0) = 2\):  ~~ \(2 = 3e^{0} (4(0)^2 + c_2(0) +c_1) +  e^{0}(8(0) + c_2) + 3\)

     \hskip 0.78in \(2 =  3c_1  + c_2 + 3\) implies \(c_2 = 2 - 3 - 3c_1 = 2 - 3 - 9 = -10\)
     
     Thus solution to IVP is \(y = e^{3t}(4t^2 -10t +3) + 3t + 2\).
     
     
    ---  skip -5pt ---
    Quiz 3  \hfil  
    Oct. 14, 2016 

    1.)  Suppose \(y = c_1 e^{3t} + c_2te^{3t} + 4t^2e^{3t}\)
    is a solution to \(y'' - 6y' + 9y = 8e^{3t}\).
    Find the solution to the initial value problem:
    \(y'' - 6y' + 9y = 8e^{3t + 27t\),~~ \(y(0) = 5\),~~ \(y'(0) = 2\).}

    Note:  Solving this IVP is a 4 part problem, but I have already done the first two parts for you.

    {\bf ANSWER:}  Since  \(y = c_1 e^{3t} + c_2te^{3t} + 4t^2e^{3t}\)
    is a solution to \(y'' - 6y' + 9y = 8e^{3t}\), 
    we know \(y = c_1 e^{3t} + c_2te^{3t}\) is the general solution to the homogeneous equation
    is a solution to \(y'' - 6y' + 9y = 0\) ~~and~~
    \(y = 4t^2e^{3t}\)
    is a solution to \(y'' - 6y' + 9y = 8e^{3t}\).

    Thus parts 1 and 2a are already completed.  Repeating the remaining 2 parts:

    {\bf Step 2b:}   Solve Non-homogeneous equation \(y'' - 6y' + 9y = 27t\):~~
    Guess \(y = At + B\).  Then \(y' = A\) and \(y'' = 0\).

    Plugging into \(y'' - 6y' + 9y = 27t \) and solve for \(A\) and \(B\):
    ~~~~
     \(0 - 6A + 9(At + B) = 27t \)

     \(9At + 9B - 6A = 27t + 0 \).  Thus \(9A = 27\) and  \(9B - 6A = 0\).
     
     Hence \(A = 3\) and \(9B = 6A = 6(3)\) and thus \(B = 2\).
     
     Thus \(y = 3t + 2\) is a non-homogeneous solution to  \(y'' - 6y' + 9y = 27t\). 
     
     Thus  general non-homogeneous solution to  \(y'' - 6y' + 9y = 27t \) ~~is~~ 
    {\(y = c_1e^{3t} + c_2te^{3t} + 3t + 2\).}
     ---
      skip -5pt
      Thus  general non-homog. soln to  \(y'' - 6y' + 9y = 8e^{3t} + 27t\) is
     % skip 5pt
     %\centerline
     {\(y = c_1e^{3t} + c_2te^{3t} + 4t^2e^{3t} + 3t + 2\).}
      
      or equivalently,
      %\centerline
       {\(y = e^{3t}(4t^2 + c_2t +c_1) + 3t + 2\).}
      ---

      
      
     {\bf Step 3:}  Use initial values to solve for \(c_1\) and \(c_2\):    

    \(y = e^{3t}(4t^2 + c_2t +c_1) + 3t + 2\)
    ~~implies~~
    \(y' = 3e^{3t}(4t^2 + c_2t +c_1) +  e^{3t}(8t + c_2) + 3\)

     \(y(0) = 5\): ~~ \(5 =  e^{0} (4(0)^2 + c_2(0) +c_1)  + 3(0) + 2\)
     %\hskip 0.77in
     implies
       \(5 =  c_1  + 2\) implies \(c_1 = 3\)
     
       \(y'(0) = 2\):  ~~ \(2 = 3e^{0} (4(0)^2 + c_2(0) +c_1) +  e^{0}(8(0) + c_2) + 3\)

     \hskip 0.78in 
    \(2 =  3c_1  + c_2 + 3\) implies \(c_2 = 2 - 3 - 3c_1 = 2 - 3 - 9 = -10\)
     
     Thus solution to IVP is \(y = e^{3t}(4t^2 -10t +3) + 3t + 2\).
     
     fill

    Answer:  \underbar{~~~ \(y = e^{3t(4t^2 -10t +3) + 3t + 2\)~~~}}


    \end

    START 100/FALL17/quiz4Fall2017formBans.tex part 2

    3.)  Suppose that \(y_1(t) = t\) and \(y_2(t) = t^2\) are solutions to the differential equation, \(y'' + p(t)y' + q(t)y = 0\).  Find the general solution to   \(y'' + p(t)y' + q(t)y = {1 \over t}\)

    General solution:  \(\underline{~y = c_1t + c_2t^2 -tln|t| ~}\)


    \(W(t, t^2) = \left|\matrix{t  & t^2 \cr 1 & 2t} \right| = 2t^2 - t^2 = t^2\).  %~~~~~Check by Abel's theorem:  $W(t, t^2) = e^{-\int p_1(t) dt}


    \({1 \over t}\left|\matrix{0 & t^2 \cr 1 & 2t} \right|  = \left|\matrix{0 & t^2 \cr {1 \over t} & 2t} \right| =-t\) \hfill 
    \(u_1(t) =  \int {g(t) \over a}{W_1 \over W} = \int {-t \over t^2} dt = \int {-1 \over t} dt = - ln|t|\)

    \(\left|\matrix{t  & 0 \cr 1 & {1 \over t}} \right| =1\)
    \hfill 
    \(u_2(t) =  \int {g(t) \over a}{W_2 \over W} = \int {1 \over t^2} dt = \int t^{-2} dt = -t^{-1}\)

    Non-homog:\( -tln|t| - t^{-1}t^2 = -tln|t| - t\)

    General solution: \(y = k_1t + c_2t^2 -tln|t| - t = (k_1- 1)t + c_2t^2 -tln|t|  = c_1t + c_2t^2 -tln|t|\)


    FYI:  


     \(y'' + p(t)y' + q(t)y = 0\).

    \(y_1(t) = t\), \(y' = 1\), \(y'' = 0\)

    and \(y_2(t) = t^2\), \(y' = 2t\), \(y'' = 2\)

     \(0 + p(t) + q(t)t = 0\).

     \(2 + 2p(t)t + q(t)t^2 = 0\).

     \(0 + p(t)t + q(t)t^2 = 0\).


    \(2 + tp(t) = 0\).  Thus \(p(t) = -{2 \over t}\)

    \(0 +  -{2 \over t} + q(t)t = 0\).  Thus \(q(t) = {2 \over t^2}\)


     \(y'' -{2 \over t}y' +  {2 \over t^2}y = 0\).

    By Abel's thm, \(W(t, t^2) = e^{\int{2 \over t} dt} = e^{2ln|t|} = e^{ln|t|^2} = t^2\) 

    \end

    START 100/FALL18/quiz3_2018ans.tex part 1


    \nopagenumbers


    Quiz 3 ~~~SHOW ALL WORK\hfill Oct 12, 2018


    1.)  The solution to \(y'' + 16y =  36cos(2t) \) ~is~ \(y = c_1cos(4t) +  c_2sin(4t) + 3cos(2t)\)
    \hfil \break
    Use this fact to answer the following two questions.

    [5]~ 1a.)  Guess a possible non-homog soln for the following differential equation 
    (do
    \hfill\break
     not solve):  ~~ \(y'' + 16y = 3sin(4t) -  e^{4t} \)

    Guess \(y = t[Asin(4t) + Bcos(4t)] + Ce^{4t}\)

    For explanations and examples, \hfill\break
    see http://homepage.divms.uiowa.edu/\( im\)idarcy/COURSES/100/3\_5listSans.pdf
    \hfill\break
    and http://homepage.divms.uiowa.edu/\( im\)idarcy/COURSES/100/3\_5exA.pdf


     fill
     

    [3]~ 1b.)  The general solution to  ~\(y'' + 16y = 36cos(2t) +  32\) ~is

     \(y = c_1cos(4t) +  c_2sin(4t) + 3cos(2t) + 2\)


    See http://homepage.divms.uiowa.edu/\( im\)idarcy/COURSES/100/FALL18/18\_10\_15.pdf
     fill


     

    \end

    START 100/FALL16/e1_Fall2016ANS.tex part 8

    [15]~  5.)  Let \(y = y_1(t)\) be a solution of \(y' + p(t)y = 0\) and let \(y = y_2(t)\) be a solution of \(y' + p(t)y = g(t)\).  Show that  \(y = y_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\).


    Proof: Since \(y = y_1(t)\) is a solution of \(y' + p(t)y = 0\), we know that  
    \(y_1' + p(t)y_1 = 0\).

    Since \(y = y_2(t)\) is a solution of \(y' + p(t)y = g(t)\), ~~ 
    \(y_2' + p(t)y_2 = g(t)\)


    Claim:  \(y = y_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\).

     We will plug \(y = y_1(t) + y_2(t)\) into the LHS to determine that the LHS = RHS:
     
     \((y_1(t) + y_2(t))' + p(t)(y_1(t) + y_2(t)) =\)
    \( y_1'(t) + y_2'(t) + p(t)y_1(t) + p(t)y_2(t) \)
     
     Hence \(y = y_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\).
      skip 10pt
     ---ule
     
     Alternate proof:  
      Since \(y = y_1(t)\) is a solution of \(y' + p(t)y = 0\), we know that  
      skip 10pt
    \(y_1' + p(t)y_1 = 0 ~~~(1)\).

    Since \(y = y_2(t)\) is a solution of \(y' + p(t)y = g(t)\).  
      skip 10pt
    \(y_2' + p(t)y_2 = g(t) ~~~(2)\).

    If we add equations (1) and (2), we obtain:

    \][y_1'(t) + p(t)y_1(t)] + [y_2'(t) + p(t)y_2(t)]  = 0 + g(t)\[

    Thus \( y_1'(t) + y_2'(t) + p(t)y_1(t) + p(t)y_2(t)  = g(t)\)

    and  \((y_1(t) + y_2(t))' + p(t)(y_1(t) + y_2(t)) =g(t)\)

    Hence \(y = y_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\).
      skip 10pt
     % skip -30pt
     ---ule
     
     Alternate proof: 
       skip -10pt
     Claim:  \(L(f) = f' + pf \) is a linear function where \(f\) and \(p\) are functions of \(t\).
     
     Proof of claim:  Let \(a, b\) be constants and \(f, g\) be functions of \(t\).
     
     $L(af + bg) = (af+ bg)' + p(af + bg)
     = af' + bg' + paf + pbg = af' + paf + bg' + pbg = 
     [a(f' + pf)] + [b(g' + pg)] = 
     L(f) + L(g)$
     
     
     We will now show that  \(y = y_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\):
     
     Since \(y = y_1(t)\) is a solution of \(y' + p(t)y = 0\), ~~\(L(y_1) = 0\).
     
      Since \(y = y_2(t)\) is a solution of \(y' + p(t)y = g(t)\),~~\(L(y_2) = g(t)\)
      
      \(L(y_1 + y_2) = L(y_1) + L(y_2) = 0 + g(t) = g(t)\).  Thus 
     \(y = y_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\).
      skip 10pt
     ---ule
     
     Note similar proofs would show that  \(y = cy_1(t) + y_2(t)\) is a solution of \(y' + p(t)y = g(t)\) for any constant \(c\).
     
    \end

    START 34/FALL10/e2_34_F10ANS.txt part 1

    \nopagenumbers


    Math 34 Differential Equations Exam \#2
                                   October 29, 2010 \hfill  SHOW ALL
    WORK
    ~~~

    [4]~~ 2.)  Circle T for True or F for False:
    \u\u  skip -4pt
     Suppose \(y = f(t)\) is a solution to $3y'' 
    + 10y = cos(t)\(, \)y(0) = 0\(, \)y'(0) = 0$ and suppose 
    \(y = g(t)\) is a solution to $3y'' 
    +  10y = cos(t)\(, \)y(0) = 100\(, \)y'(0) = -200$.
    For large values of \(t\), \(f(t) - g(t)\) is very small.
      \hfill {\bf Note:  no damping}
    { ~~~~~~~~~F}


     fill

    \end

    START 100/SPRING13/final3600ANS.tex part 3

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \usepackage{amsmath}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}


    \begin{document}

    22M:100 (MATH:3600:0001) Final Exam \hfil \break
    May 15, 2013 \hfill SHOW ALL STEPS \hfill

    [20]~ 4.)  Solve:  \( y'' - 3y' - 4y = 8t\), \(y(0) = 5\), \(y'(0) = 3\)


    \(r^2 - 3r - 4 = 0\).  
    ~~~~~~~~~
    \((r - 4)(r + 1) = 0\). ~~~~ Thus \(r = 4, -1\).

    general homogeneous solution:  \(y = c_1e^{4t} + c_2e^{-t}\)


    Let \(y = At + B\).  Then \(y' = A\) and \(y'' = 0\)

    \(-3A - 4(At + B) = 8t\)

    \(A = -2\), \(6 - 4B = 0\).  Thus \(B = \frac{3}{2}\)


    Thus \(\psi = -2t + \frac{3}{2}\) is a non-homogeneous solution.

    General solution to non-homogeneous DE:   \(y = c_1e^{4t} + c_2e^{-t} - 2t + \frac{3}{2}\)

    \(y' =  4c_1e^{4t} - c_2e^{-t} - 2\)

    \(5 = c_1 + c_2 + \frac{3}{2}\)

    \(3 = 4c_1 - c_2 - 2\)


    Thus \(c_1 =  \frac{17}{10}\) and \(c_2 =  \frac{9}{5}\)


    Answer: \underline{~~ \(y = \frac{17{10}e^{4t} +   \frac{9}{5}e^{-t} - 2t + \frac{3}{2}\)~~}}
    ---

    \end

    START 34/FALL03/finalexamANS.txt part 5

    [4]~ 1b.)  Without using the LaPlace transform, find the general solution to the differential 
    equation
    \(y'' +  2y' + y = e^{-t}\)

    Note \(c_1e^{-t}\) and  \(c_2te^{-t}\) are both solutions to the homogenous equation (without the 
    initial values).  Hence they cannot be solutions to the non-homogeneous equation.

    Thus guess \(y = At^2e^{-t}\).  Then \(y' = A(2te^{-t} - t^2e^{-t})\) \hfil \break
    $y'' 
    = A(2e^{-t} - 2te^{-t}  -  2te^{-t} + t^2e^{-t})
    = A(2e^{-t} - 4te^{-t}  + t^2e^{-t})

    From \(y'' +  2y' + y = e^{-t}\), we get


    \(A(2e^{-t} - 4te^{-t}  + t^2e^{-t}) + 2A(2te^{-t} - t^2e^{-t}) + At^2e^{-t}= e^{-t}\)

    \(A(2e^{-t} - 4te^{-t}  + t^2e^{-t} + 4te^{-t} - 2t^2e^{-t} + t^2e^{-t})= e^{-t}\)

    \(A(2e^{-t})= e^{-t}\).  Hence \(2A = 1\) and \(A = {1 \over 2}\)


    Thus \({1 \over 2} t^2e^{-t}\) is a solution to \(y'' +  2y' + y = e^{-t}\)

    \u
    Answer 1b.) \(\underline{ {1 \over 2 t^2e^{-t} + c_1e^{-t} + c_2te^{-t} }\)}
    \w
    \u
    Note if you guessed the wrong solution, but did everything else correctly, you could still 
    earn 3 - 4pts for this problem depending on whether and how well you explained how your 
    answer could not have been correct and how to get the right answer.


    [3]~ 1c.)  Without using the LaPlace transform, solve the following initial value problem:

    \(y'' +  2y' + y = e^{-t, ~y(0) = 0, ~y'(0) = 4\)}

    \(y = {1 \over 2} t^2e^{-t} + c_1e^{-t} + c_2te^{-t}\)

    \(y(0) = 0:~~0 =  0 + c_1 + 0\).  Hence \(c_1 = 0\).

    \(y' = [te^{-t} - {1 \over 2} t^2e^{-t}]  + c_2[e^{-t} -te^{-t}]\)

    \(y'(0) = 4:~~4 = [0 - 0] + c_2[1-0] \).  Hence \(c_2 = 4\).
    \u
    Answer 1c.) \(\underline{y(t) = {1 \over 2 t^2e^{-t} + 4te^{-t}}\)}
    \u
    Note the above problem graded based upon your answer to 1b.  Hence you could get full credit 
    for this problem even if your answer to 1b was wrong.  

    Note also that although these are the same solutions for \(c_1\) and \(c_2\) as in 1a, this is 
    not usually the case, so you can't just take those solutions for the coefficients in 1c.
    \u

    \end

    START 34/FALL03/finalreviewANS2.txt part 3

    Note the following review problems DO NOT cover all problem types which may appear on the 
    final.  

    Chapter 3:

    9.)  Solve the following initial problems:
     
    9d.)  \(y'' + 6y' + 8y = cos(t), ~y(0) = 0, ~y'(0) = 0 \)

    Guess \(y = Acos(t) + Bsin(t) \) is a solution.

    Then \(y' = -Asin(t) + Bcos(t)\) and \(y'' = -Acos(t) - Bsin(t)\) 

    \(-Acos(t) - Bsin(t) + 6(-Asin(t) + Bcos(t)) + 8(Acos(t) + Bsin(t)) = cos(t)\)

    \((-A + 6B + 8A) cos(t) + (-B -6A + 8B) sin(t) = cos(t)\)

    \((6B + 7A) cos(t) + (-6A + 7B) sin(t) = cos(t) + 0 sin(t)\)

    \(cos(t)\) and \(sin(t)\) are linearly independent functions, 

    Hence \( (-6A + 7B) sin(t) =  0 sin(t)\).  Thus \(-6A + 7B = 0\)  so \(A = {7 \over 6}B \)

    And \((6B + 7A) cos(t)  = cos(t)\).  Thus \(6B + 7A = 1\), so \(6B + 7({7 \over 6}B ) = 1\).  
    \({36 + 49 \over 6}B = {85 \over 6}B = 1\)

    Thus 
    \(B = {6 \over 85} \) and \(A = {7 \over 85} \).

    Check: $-{7 \over 85} cos(t) - {6 \over 85} sin(t) + 6(-{7 \over 85} sin(t) + 
    {6 \over 85} cos(t)) + 8({7 \over 85} cos(t) + {6 \over 85} sin(t)) = 
    (-{7 \over 85}  + {36 \over 85} + {56 \over 85})cos(t) + 
    (- {6 \over 85} - {42 \over 85} + {48 \over 85} )sin(t) = cos(t)$

    Thus general solution is 
    \(y(t) = c_1e^{-2t} + c_2e^{-4t} +  {7 \over 85} cos(t) + {6 \over 85} sin(t) \)

    Use initial values to find \(c_1, ~c_2\):

    \(0 = c_1 + c_2 + {7 \over 85} + 0\).  Hence \(c_1 = -c_2 - {7 \over 85}\) 

    \(y'(t) = -2c_1e^{-2t} + -4c_2e^{-4t} -  {7 \over 85} sin(t) + {6 \over 85} cos(t) \)

    $0 = -2c_1 - 4c_2 - 0 + {6 \over 85} 
    = -2(-c_2 - {7 \over 85} )- 4c_2 + {6 \over 85} 
    = 2c_2 + {14 \over 85} - 4c_2 + {6 \over 85} 
    = -2c_2 + {20 \over 85}$ 

    Thus \(2c_2 = {20 \over 85}\) or \(c_2 = {10 \over 85} \) and 
    \(c_1 = -{10 \over 85} - {7 \over 85} = -{17 \over 85}\) 

    Note these are NOT the same values for \(c_1\) and \(c_2\) for the homogeneous case.

    The the solution to the initial value problem is
    $y(t) = -{17 \over 85}e^{-2t} + {10 \over 85} e^{-4t} 
    +  {7 \over 85} cos(t) + {6 \over 85} sin(t) $


    9e.)  \(y'' + 6y' + 9y = cos(t), ~y(0) = 0, ~y'(0) = 0 \)

    Guess \(y = Acos(t) + Bsin(t) \) is a solution.

    Then \(y' = -Asin(t) + Bcos(t)\) and \(y'' = -Acos(t) - Bsin(t)\) 

    \(-Acos(t) - Bsin(t) + 6(-Asin(t) + Bcos(t)) + 9(Acos(t) + Bsin(t)) = cos(t)\)

    \((-A + 6B + 9A) cos(t) + (-B -6A + 9B) sin(t) = cos(t)\)

    \((6B + 8A) cos(t) + (-6A + 8B) sin(t) = cos(t) + 0 sin(t)\)

    \(cos(t)\) and \(sin(t)\) are linearly independent functions, 

    Hence \( (-6A + 8B) sin(t) =  0 sin(t)\).  Thus \(-6A + 8B = 0\)  so $A = {8 \over 6}B =
    {4 \over 3}B  $

    And \((6B + 8A) cos(t)  = cos(t)\).  Thus \(6B + 8A = 1\), so \(6B + 8({4 \over 3}B ) = 1\).  
    \({18 + 32 \over 3}B = {50 \over 3}B = 1\)

    Thus 
    \(B = {3 \over 50} \) and \(A = {8 \over 100}  = {2 \over 25}\).


    Thus general solution is 
    \(y(t) = c_1e^{-3t} + c_2te^{-3t} +  {2 \over 25} cos(t) + {3 \over 50} sin(t) \)


    Use initial values to find \(c_1, ~c_2\):

    \(0 = c_1 + c_2(0) + {2 \over 25} + 0\).  Hence \(c_1 = - {2 \over 25}\) 

    $y'(t) = -3c_1e^{-3t} + c_2e^{-3t} - 3c_2te^{-3t}  -  {2 \over 25} sin(t) 
    + {3 \over 50} cos(t) $

    $0 = -3c_1 + c_2 - 0 - 0 + {3 \over 50} 
    = -3(- {2 \over 25} ) + c_2 + {3 \over 50} 
    = {6 \over 25}  + c_2 + {3 \over 50} 
    = c_2 + {15 \over 50}$ 

    Thus \(c_2 = -{15 \over 50} \) and 
    \(c_1 = -{2 \over 25} \) 


    Note these are NOT the same values for \(c_1\) and \(c_2\) for the homogeneous case.

    The the solution to the initial value problem is

    $y(t) = -{2 \over 25} e^{-3t}  -{15 \over 50} te^{-3t} + 
     {2 \over 25} cos(t) + {3 \over 50} sin(t) $

    Check: \(y(0) = -{2 \over 25} + 0 + {2 \over 25} = 0\)

    $y'(t) = {6 \over 25} e^{-3t} + {45 \over 50} te^{-3t} -{15 \over 50} e^{-3t}  
     - {2 \over 25} sin(t) + {3 \over 50} cos(t) $

    $y'(0) = {6 \over 25}  + 0  -{15 \over 50}   
     - 0 + {3 \over 50} = {12 - 15 + 3 \over 50} = 0 $

    Thus initial conditions are satisfied.  To fully check that this is the solution, 
    should check if \(y'' + 6y' + 9y = cos(t)\) 

    9f.)  \(y'' + 6y' + 10y = cos(t), ~y(0) = 0, ~y'(0) = 0\)

    Hence general solution to the homogeneous equation is  
    \(y(t) = c_1e^{-3t}sin(t) + c_2e^{-3t}cos(t)\)

    Thus \(y = Acos(t) + Bsin(t) \) is not a solution to the homogeneous equation.

    Guess \(y = Acos(t) + Bsin(t) \) is a solution.

    Then \(y' = -Asin(t) + Bcos(t)\) and \(y'' = -Acos(t) - Bsin(t)\) 

    \(-Acos(t) - Bsin(t) + 6(-Asin(t) + Bcos(t)) + 10(Acos(t) + Bsin(t)) = cos(t)\)

    \((-A + 6B + 10A) cos(t) + (-B -6A + 10B) sin(t) = cos(t)\)

    \((6B + 9A) cos(t) + (-6A + 9B) sin(t) = cos(t) + 0 sin(t)\)

    \(cos(t)\) and \(sin(t)\) are linearly independent functions, 

    Hence \( (-6A + 9B) sin(t) =  0 sin(t)\).  Thus \(-6A + 9B = 0\)  so $A = {9 \over 6}B =
    {3 \over 2}B  $

    And \((6B + 9A) cos(t)  = cos(t)\).  Thus \(6B + 9A = 1\), so \(6B + 9({3 \over 2}B ) = 1\).  
    \({12 + 27 \over 2}B = {39 \over 2}B = 1\)

    Thus 
    \(B = {2 \over 39} \) and \(A = {3 \over 39}  = {1 \over 13}\).


    Thus general solution is 
    \(y(t) = c_1e^{-3t}sin(t) + c_2e^{-3t}cos(t) +  {2 \over 39} cos(t) + {3 \over 39} sin(t) \)


    Use initial values to find \(c_1, ~c_2\):

    \(0 = c_1(0) + c_2(1) + {2 \over 39} + 0\).  Hence \(c_2 = - {2 \over 39} \) 

    $y'(t) =   -3c_1e^{-3t}sin(t) + c_1e^{-3t}cos(t) 
     -3c_2e^{-3t}cos(t) - c_2e^{-3t}sin(t)   
    -  {2 \over 39} sin(t) 
    + {3 \over 39} cos(t) $

    \(0 = 0 + c_1 -3c_2 + 0 - 0 + {3 \over 39} \)
    Thus $c_1 = 3c_2-{3 \over 39}  = 3(- {2 \over 39}) -{3 \over 39} = {-12 \over 39}
    {-4 \over 13} $  
     
    Note these are NOT the same values for \(c_1\) and \(c_2\) for the homogeneous case.

    The the solution to the initial value problem is

    $y(t) = {-4 \over 13}e^{-3t}sin(t) + - {2 \over 39} e^{-3t}cos(t) +  
    {2 \over 39} cos(t) + {3 \over 39} sin(t) $

    Check: $y(0) = 0 - {2 \over 39}  +  
    {2 \over 39}  + 0 = 0$

    To fully check that this is the solution, 
    should check if \(y'' + 6y' + 9y = cos(t)\) and if \(y'(0) = 0\).


    \end

    START 100/FALL16/quiz6F16ans.tex part 1


    \nopagenumbers

    Quiz 6 Math 2560 Sect 81\hfill  Show your work \break
    Dec 2, 2016

    [3]~~ 1.)  Circle T for True and F for false:


    1a.)  If \(\phi\) is a solution to a first order {\bf linear homogeneous} differential equation, then \(c\phi\) is 
    also a 
    solution to this equation.
     \hfill  T~~~~~~~
      
    1b.)   If \(\phi\) is a solution to a first order linear differential equation, then \(c\phi\) is also a 
    solution to this equation.
     \hfill  ~~~~~~~F
     

    \end

    Section 3.6: Variation of Parameters

    START 100/3_6.tex


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2' + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right] =
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/ch3 part 4


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2') + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right]
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/ch3_134.tex part 6


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2') + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right]
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/3_6.tex


    3.6   Variation of Parameters~~~~~~\hfill
    {Solve \(y'' - 2y' + y = e^t ln(t)\)}~~
    {\bf 1)  Find homogeneous solutions:  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     \(= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt \)
     
     tln(t) - t$ }


    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

    \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)
    \hfill
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)
         
    General solution :
    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }
     
    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    Solve \(y'' + p(t)y' + q(t)y = g(t)\) where \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is solution to homogeneous equation  \(y'' + p(t)y' + q(t)y = 0\)


    Guess  \(y = u_1(t)\phi_1(t) + u_2(t) \phi_2(t)\)

    \(y = u_1 \p_1 + u_2 \p_2\)
    implies
    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2\)


    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' + p(t)y' + q(t)y = g(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 = 0\)}


     
    \(y' = u_1 \p_1' + u_2 \p_2' \)
    implies
    \(y'' =  u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2'\)


    Plug into \(y'' + p(t)y' + q(t)y = g(t)\):

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p( u_1 \p_1' + u_2 \p_2') + q(u_1 \p_1 + u_2 \p_2) = g\)

    \(u_1 \p_1'' +  u_1' \p_1' + u_2 \p_2''+ u_2' \p_2' + p u_1 \p_1' + pu_2 \p_2' + qu_1 \p_1 + qu_2 \p_2 = g\)

    \(u_1 \p_1'' +  p u_1 \p_1' + qu_1 \p_1 + u_1' \p_1' + u_2 \p_2'' + pu_2 \p_2' + qu_2 \p_2 + u_2' \p_2'= g\)

    \(u_1( \p_1'' +  p  \p_1' + q \p_1) + u_1' \p_1' + u_2 (\p_2'' + p \p_2' +  q\p_2) + u_2' \p_2'= g\)

    \(\p_1\), \(\p_2\) are homogeneous solutions.  Thus \(\p_i'' + p \p_i' +  q\p_i = 0\).


    Hence \(u_1( 0) + u_1' \p_1' + u_2 (0) + u_2' \p_2'= g\)

    Thus we have 2 eqns to find  2 unknowns, the functions \(u_1\) and \(u_2\):
     

    $\matrix{
    u_1'\p_1 + u_2' \p_2 = 0 \cr
    \ u_1' \p_1' +  u_2' \p_2'= g
    }$
    implies $\left[\matrix{\p_1 &  \p_2  \cr
     \p_1' &  \p_2'}\right]
     \left[\matrix{ u_1'\cr u_2' }\right] =
    \left[ \matrix{ 0\cr g }\right]$

    Cramer's rule: $u_1'(t) =  { \left|\matrix{0 & \phi_2 \cr g & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|}\( and  \)u_2'(t) =   { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & g}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} $


    Sect.3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \(y' = u_1'e^t +u_1e^t + u_2'te^t + u_2(e^t + te^t) = e^{2t} + te^{2t} - te^{2t} - e^{2t}\).

    Two unknown functions, \(u_1\) and \(u_2\), but only one equation (\(y'' - 2y' + y = e^t ln(t)\)).  Thus might be 
    OK to choose 2nd eq'n.

    {\bf Avoid 2nd derivative in \(y''\): ~~Choose \(u_1'e^t + u_2' te^t = 0\)}

    Hence \(y' = u_1e^t +  u_2(e^t + te^t)\).

    and 
    \(y'' = u_1'e^t +u_1e^t + u_2'(e^t + te^t) + u_2(e^t + e^t + te^t)\).

     
    ~~~~~~~~~\( = u_1'e^t +u_1e^t + u_2'e^t + u_2'te^t + u_2(2e^t + te^t)\).
     
    ~~~~~~~~~\( = u_1e^t + u_2'e^t + u_2(2e^t + te^t)\).


    Solve \(y'' - 2y' + y = e^t ln(t)\)


    $  u_1e^t + u_2'e^t + u_2(2e^t + te^t) - 2[ u_1e^t +  u_2(e^t + te^t)] +  u_1e^t + 
    u_2te^t = e^t ln(t)$

    \(  u_2'e^t + 2u_2e^t + u_2te^t - 2u_2 e^t  -2u_2 te^t +  u_2te^t = e^t ln(t)\)

    \(  u_2'    = ln(t)\)
    or in other words,
    \({du_2 \over dt} = ln(t)\)

    Thus \(\int du_2 = \int ln(t) dt\)

    \(u_2 = t ln(t) - t\).   Note only need one solution, so don't need \(+C\).


     \(y = u_1(t)e^t + [ t ln(t) - t ] te^t\)

    \(u_1'e^t + u_2' te^t = 0\).  Thus \(u_1' + u_2' t = 0\).  Hence \(u_1' =  -u_2' t = -tln(t) \)

    Thus \(u_1 =  -\int t ln(t) dt =  -{t^2 ln(t) \over 2} + {t^2 \over 4}  \)

    Thus the general solution is 

     \(y = c_1e^{t + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }


    \end


    \end

    \end

    START 100/FALL18/e1_Fall2018ansOLD.tex part 3

    \nopagenumbers

    Math 3600 Differential Equations Exam \#1
                                   Sept 26, 2018 \hfill  SHOW ALL
    WORK
    ~~~

    5.) Solve the following 2nd order differential equations

    [15]~   5a.) \(2y'' - y' + 10y= 0\) 

    Guess \(y = e^{rt}\)

    \(2r^2 - r + 10 = 0\).  Thus $r = {1 \pm  qrt{(-1)^2 - 4(2)(10)} \over 2(2)} = {1 \pm  qrt{(1- 80)} \over 4} = {1 \pm  qrt{- 79} \over 4}
    = {1  \over 4} \pm  i{ qrt{ 79} \over 4}$

     fill

    General solution: \(\underline{~~y = c_1e^{t \over 4cos({ qrt{79} \over 4}t) +  c_2e^{t \over 4}sin({ qrt{79} \over 4}t) ~~}\)}

    [15]~  5b.) \(x(x'') =  (x’)^2 \)  ~~~~Hint: Let \(x' = {dx \over dt} = v\), then \(v' = {dv \over dt} ={dx \over dt}{dv \over dx}   = v{dv \over dx}\)

    Also   \(x' = {dx \over dt} =v\) implies \(x'' = v' = {dv \over dt} =  {dx \over dt}{dv \over dx}  = v{dv \over dx}\)

    \(x{dv \over dt} = v^2\), but this has 3 variables, so replace \({dv \over dt} =  {dx \over dt}{dv \over dx}  = v{dv \over dx}\)

    \(xv{dv \over dx} = v^2\)

    \({dv \over v} = {dx \over x}\)

    \(ln|v| = ln|x| + C\)

    \(v = Cx\)

    \( {dx \over dt} = Cx\)

    \( {dx \over x} = Cdt\) 

    \(ln|x| = Ct + k\)

    \(x = ke^{Ct}\)

    Check: \( ( ke^{Ct})( kC^2e^{Ct}) = Cke^{Ct} Cke^{Ct}\)

     fill

    General solution: \(\underline{~~x = ke^{Ct~~}\)}
     fill

    \end

    START 100/SPRING13/e1_2013ANS.txt part 5

    5.)   Find the general solutions for the following three  differential equations.

    [15]~  5C.)  \(3y'' (y')^2 = 1\)

    Let \(v  y'\).  Then \(v' = y''\).

    \(3v' (v)^2 = 1\) implies \(3{dv \over dt} (v)^2 = 1\)

     \(3{dv} (v)^2 = dt\)
     
     \(\int3 (v)^2dv = \int dt\)

    \(v^3 = t + C_1\).  Thus \(v = (t + C_1)^{1 \over 3}\)

    \({dy \over dt} =  (t + C_1)^{1 \over 3}\)

    \({dy} =  (t + C_1)^{1 \over 3}dt\)

    \(\int {dy} = \int (t + C_1)^{1 \over 3}dt\)

    \(y = {3 \over 4}(t + C_1)^{4 \over 3} + C_2\)

     fill  fill 
    Answer 5C.) \(\underline{~~y = {3 \over 4(t + C_1)^{4 \over 3} + C_2~~}\)}

     \end
     
     

    Section 3.7: Mechanical and Electrical Vibrations

    START 100/3_8appl.tex

    Mechanical Vibrations:
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 
    IVP:  \(u(t_0) = u_0\), ~~, \(u'(t_0) = u_1\)

    NOTE:  Positive direction points DOWN.


    \(m\)=  mass,
    \u
    \(k\) = spring force proportionality constant,
    \u
    \(\gamma\) = damping force proportionality constant

    \u
    g = 9.8 m/sec\(^2\) or 32 ft/sec\(^2\).


    Weight \(= mg\)~~~~~  \(mg - kL = 0\), ~~~~~\(F_{damping(t) = -\gamma u'(t)\)}

    ---

    A mass of 3kg  stretches a spring 4.9 m.  If the mass is acted upon by an external force of \(40e^{-t \over 3}\) N in a medium that imparts a viscous force of 10 N when the speed of the mass is 5 m/sec.  If the mass is pulled down 1 m and set in 
     motion with an upward velocity of \({8}\) m/sec, describe the motion of the mass.
     

    \(m = 3\)

     
    \(|F_{damping}(t)| = |\gamma u'(t)| \Rightarrow 10  = \gamma(5)\).  Thus \(\gamma = 2\)

     
    \(mg - kL = 0\)  implies \( = {mg \over L} = {3(9.8) \over 4.9} = 6\)


    IVP: ~~ \(3u'' + 2u' + 6u = 40e^{-t \over 3}\), ~~\(u(0) = 1\), ~~\(u'(0) = -8\)  

    IVP: ~~ \(3u'' + 2u' + 6u = 40e^{-t \over 3}\), ~~\(u(0) = 1\), ~~\(u'(0) = -8\)  

    ---

    {\bf Step 1:}  Solve homogeneous eqn:  \(3u'' + 2u' + 6u = 0\)
     
    \(u = e^{rt}\) implies \(3r^2 + 2r + 6 = 0\) implies 

    $r = {-2 \pm  qrt{4 - 4(3)(6)} \over 2(3)} 
    = {-2  \over 2(3)} \pm { qrt{4} qrt{1 - (3)(6)} \over 2(3)}
    = -{1  \over 3} \pm i{ qrt{17} \over 3} $

    Thus general homogeneous solution is

    \(u(t) = c_1 e^{-{t\over 3} cos({ qrt{17} \over 3} t) + c_2e^{-{t \over 3}} sin({ qrt{17} \over 3} t)\) }

    ---

    {\bf Step 2:}  Find a non-homogeneous soln % to \(3u'' + 2u' + 6u = 40e^{-t \over 3}\)

    Section 3.6:  First find Wronskian, 

    \(W( e^{-{t\over 3} cos({ qrt{17} \over 3} t), e^{-{t \over 3}} sin({ qrt{17} \over 3} t))\).}
        Too much work.  Thus,

    Section 3.5:  Guess \(u(t) = Ae^{-t \over 3}\).  

    Then \(u'(t) = -{A \over 3}e^{-t \over 3}\) and \(u''(t) = {A \over 9}e^{-t \over 3}\)

    \(3({A \over 9}e^{-t \over 3}) + 2(-{A \over 3}e^{-t \over 3}) + 6{A}e^{-t \over 3} = 40e^{-t \over 3}\)

    \({A \over 3} -{2A \over 3} + 6{A} = 40\) implies \(A - 2A + 18A = 17A = 120\).  

    Thus \(A = {120 \over 17}\) and 

    hence \(u(t) = {120 \over 17}e^{-t \over 3}\) is a non-homogeneous soln.

    Thus general NON-homogeneous solution is
    \(u(t) = e^{-{t \over 3}[c_1  cos({ qrt{17} \over 3} t) + c_2 sin({ qrt{17} \over 3} t)] +  {120 \over 17}e^{-t \over 3}\) }
    \(u(t) = e^{-{t \over 3}[c_1  cos({ qrt{17} \over 3} t) + c_2 sin({ qrt{17} \over 3} t) +  {120 \over 17}]\) }

    ---

    {\bf Step 3:}  Use initial values to find \(c_1\) and \(c_2\).

    \(u(t) = e^{-{t \over 3}}[c_1  cos({ qrt{17} \over 3} t) + c_2 sin({ qrt{17} \over 3} t) +  {120 \over 17}]\)

    \(u'(t) = -{1 \over 3}e^{-{t \over 3}}[c_1  cos({ qrt{17} \over 3} t) + c_2 sin({ qrt{17} \over 3} t) +  {120 \over 17} ] \)

    \(u(0) = 1\):  ~~\(1 = c_1 (1) + c_2 (0) +  {120 \over 17}\) 

    \(u'(0) = -8\): ~~   \(-8 =  -{1 \over 3}[c_1   +  {120 \over 17}] + c_2{ qrt{17} \over 3}\) 

      skip 10pt
    ~~~\(-24 =  -[  -{103 \over 17   +  {120 \over 17}] + c_2{ qrt{17}}\) }

     \(-24 =  -[ {17 \over 17}] + c_2{ qrt{17}}\) implies \(c_2{ qrt{17}} = -23\) and thus \(c_2 = -{23 \over  qrt{17}} = -{23  qrt{17} \over 17}\)

    Thus solution to IVP is
    \(u(t) = e^{-{t \over 3}[ -{103 \over 17}  cos({ qrt{17} \over 3} t) -{23  qrt{17} \over 17} sin({ qrt{17} \over 3} t) +  {120 \over 17}]\) }

    Thus solution to IVP is
    \(u(t) = e^{-{t \over 3}[ -{103 \over 17}  cos({ qrt{17} \over 3} t) -{23  qrt{17} \over 17} sin({ qrt{17} \over 3} t) +  {120 \over 17}]\) }

    Simplify:
    \(u(t) = e^{-{t \over 3}[ R cos\delta  cos({ qrt{17} \over 3} t) + R sin \delta sin({ qrt{17} \over 3} t) +  {120 \over 17}]\) }
    \(u(t) = e^{-{t \over 3}[ R  cos({ qrt{17} \over 3} t - \delta) +  {120 \over 17}]\) }


    where \(R cos\delta  = c_1 =  -{103 \over 17}\) and \(R sin \delta = c_2 = -{23  qrt{17} \over 17} \).

    Thus \(R =  qrt{R^2cos^2\delta + R^2 sin^2 \delta} =  qrt{c_1^2 + c_2^2} \)

    \(R  =  qrt{( -{103 \over 17)^2 + ( -{23  qrt{17} \over 17})^2}\)% = {  qrt{10609 + 8993  } \over 17} 
    $= {  qrt{19602  } \over 17}
    = { qrt{ 2(3)^4(11)^2} \over 17} = {99 qrt{ 2} \over 17}$}
     fill

    and \({c_2 \over c_1} = {Rsin \delta \over Rcos \delta} = tan{\delta}\).  Thus \(\delta = tan^{-1}({c_2 \over c_1})\), sort of  

    \(\delta = tan^{-1}({23  qrt{17} \over 103}) + \pi  im  222.64^o  im 3.8858\) radians 

    Simplified answer to IVP:
    \(u(t) = e^{-{t \over 3}[ {99 qrt{ 2} \over 17}  cos({ qrt{17} \over 3} t - ( tan^{-1}({23  qrt{17} \over 103}) + \pi )) +  {120 \over 17}]\) }

    Approximation of solution:
    \(u(t)  im e^{-{t \over 3}[ {99 qrt{ 2} \over 17}  cos({ qrt{17} \over 3} t -  {5 \pi \over 4}) +  {120 \over 17}]\) }


    \end

    START 100/3_8trig.tex

    3.7/8 Mechanical Vibrations:
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 
     \(mg - kL = 0\), ~~~~~\(F_{damping(t) = -\gamma u'(t)\)}
    \u
    \(m\)=  mass,
    \u
    \(k\) = spring force proportionality constant,
    \u
    \(\gamma\) = damping force proportionality constant

    \u
    \(g\) = 9.8 m/sec\(^2\) or 32 ft/sec\(^2\). ~~~ Weight = \(mg\).


    Electrical Vibrations:
    Voltage drop across inductor +  resistor + capacitor

    ~~$L{dI(t) \over dt + RI(t) + {1 \over C}Q(t) = E(t), ~~L, R, C \geq 0 {\hbox{ and 
    }}
    I = {dQ \over dt}$~~~~~~}

    \(LQ''(t) + RQ'(t) + {1 \over CQ(t) = E(t)\)}

    \(L\) = inductance (henrys),
    \u
    \(R\) = resistance (ohms)
    \u
    \(C\) = capacitance (farads)
    \u
    \(Q(t)\) = charge at time \(t\) (coulombs)
    \u
    \(I(t)\) = current at time \(t\) (amperes)
    \u
    \(E(t)\) = impressed voltage (volts).

    1 volt = 1 ohm \(\cdot\) 1 ampere = 1 coulomb / 1 farad = 1 henry \(\cdot\) 1 amperes/ 1 second

    Trig background:
     
    \(cos (y \mp x) = cos(x \mp y) = cos(x) cos(y) \pm sin(x)sin(y)\)

    Let \(c_1 = Rcos(\delta)\),  \(c_2 = Rsin(\delta)\) in 


    \(c_1cos(\omega_0t) + c_2 sin(\omega_0t)\)
    \u
    \hskip 0.3in = \(Rcos(\delta)cos(\omega_0t) +  Rsin(\delta) sin(\omega_0t)\)
    \u
    \hskip 0.3in = \(Rcos(\omega_0t - \delta)\)

    Amplitude = \(R\)
    \u
    frequency = \(\omega_0\) (measured in radians per unit time).
    \u
    period = \({2\pi \over \omega_0}\)
    \hfill
    phase (displacement) = \(\delta\)

    \(c_1 = Rcos(\delta)\),  \(c_2 = Rsin(\delta)\) implies
     
    \(c_1^2 + c_2^2 = R^2cos^2(\delta)  + R^2sin^2(\delta) \)


    and \({Rsin(\delta) \over Rcos(\delta)} = tan(\delta) = {c_2 \over c_1}\)


    BUT easier to plot to convert Euclidean coordinates \((c_1, c_2) = (Rcos(\delta), Rsin(\delta))\)
     into polar coordinates \((R, \delta)\) = (length, angle).


    3.7:  Homogeneous equation (no external force):
    \(mu''(t) + \gamma u'(t) + ku(t) = 0, ~~m, \gamma, k \geq 0\)

    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4km} \over 2m}\)

    ---

    {\bf Critical damping: \(\gamma = 2 qrt{km}\)}

    \(\gamma^2 - 4km = 0\):  \(u(t) = (c_1 + c_2t)e^{r_1t} \)

    ~~~~Note \(r_1 = -{\gamma  \over 2m} < 0\). \hfill  {\bf Thus \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}


    ---

    {\bf Overdamped: \(\gamma > 2 qrt{km}\)}

    \(\gamma^2 - 4km > 0\):  \(u(t) = c_1e^{r_1t} + c_2e^{r_2t}\)

    ~~~~Note  \(r_1, r_2 < 0\). \hfill   {\bf Thus \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}

    ~~~~Example \(u(t) = 4e^{-t} - 3e^{-2t} \)%= e^{-t}(4 - 3e^{-t}) $

    ~~~~~~~If \( t >  0\),  \(4e^{-t} > 3e^{-2t}\)

    ~~~~~~~If \( t <  0\),  \(4e^{-t} < 3e^{-2t}\)


    {\bf Underdamped: \(\gamma < 2 qrt{km}\)}

    \(\gamma^2 - 4km < 0\):  \(u(t) = e^{-{\gamma t \over 2m}}(c_1 cos \mu t + c_2 sin \mu t)\)

    \(\mu\) =  quasi frequency, \({2 \pi \over \mu}\) = quasi period

    Note if \(\gamma \not= 0\), ~~~~{\bf then \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}
     fill
    Note if \(\gamma = 0\), then
     fill
    ---

    {\bf NOTE if \(\gamma \not= 0\), then homogeneous solution goes to 0 as} \(t \rightarrow \infty\).  

    Thus initial values have very little effect on the long-term behaviour of solution if  \(\gamma \not= 0\).


    Note:  The larger \(\gamma\) is, the faster the  homogeneous solution goes to 0 as \(t \rightarrow \infty\). 

    ~


    3.8:   \(F_{external} \not= 0\)
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 


    General solution:  \(u(t) = c_1\phi_1 + c_2\phi_2 + \psi\)
    where \(\phi_1, \phi_2\) are homogeneous solutions and \(\psi\) is a non-homogeneous solution.

     NOTE if \(\gamma \not= 0\), then homogeneous solution 

    Thus  if \(\gamma \not= 0\), then \(u(t)  \rightarrow  \psi\)  as \(t \rightarrow \infty\).  

    ---


    {\bf No damping} \((\gamma = 0)\) example:  \(u''+u=cos( t)\) 
    Step 1:  Solve homogeneous \(u''+u=0\)

    \(r^2 +1 = 0\) implies \(r = \pm i\)

    Step 2:  Find a non-homogeneous solution.

    Guess \(u(t) = \)

    Plug in plus lots of work implies \(A = 0\) and \(B = {1 \over 2}\)

    Thus general non-homogeneous solution:  

    \(u(t) =  c_1cos(t) + c_2sin(t) +  {1 \over 2tsin(t) \)}


    {\bf No damping} example  \(u''+u=cos(\omega t)\) where \(\omega\neq 1\).  

    Step 1:  Solve homogeneous \(u''+u=0\)

    \(r^2 +1 = 0\) implies \(r = \pm i\)


    Step 2:  Find a non-homogeneous solution.

    Since \(\omega\neq 1\), guess \(u(t) = \)

     fill

    Trig background:

    \(cos (y \mp x) = cos(x \mp y) = cos(x) cos(y) \pm sin(x)sin(y)\)

    \(cos(u) + cos(v) = 2cos({u+v \over 2})cos({u-v \over 2})\)

    \(cos(u) - cos(v) = -2sin({u+v \over 2})sin({u-v \over 2})\)

    \(sin(u) + sin(v) = 2sin({u+v \over 2})cos({u-v \over 2})\)

    \(sin(u) - sin(v) = sin(u) + sin(-v) = 2sin({u-v \over 2})cos({u+v \over 2})\)

    ---

    Derivation:

    Let \(x = ({u+v \over 2})\) and \(y = ({u-v \over 2})\) 

    \( cos(u)= cos( ({u+v \over 2}) + ({u-v \over 2}))\)
    \w


    \( cos(v)= cos( ({u+v \over 2}) - ({u-v \over 2}))\)
    \w

    ---

    Ex:  \(u(t) = cos(t) + cos(3t) = \)

    Graph:

    Example {\bf  with damping: }
    \(u''+\gamma u' + u=cos(\omega t)\) where \(\gamma\) is small. 


    \end


    Example with :  \(u''+ \gamma u' + u=0\).  I note that when gamma is postive and close to
    zero, the solution dies very slowly and introduce the notion of
    quasifrequency. I also notice that the oscillating behavior of the
    decaying solutions slows down as we increase the friction staying near zero.


    4.  Next I solve  u''+gamma u' + u=cos(omega t) and break the general
    solution into its transitory and steady state solution. I write the
    steady state solution in the form  amplitude times cos(omega t -delta)
    where delta is the phase shift and I plot the amplitude where gamma is
    fixed as small positive number.

    START 100/SLIDES2/3_7worksheetANSWERS.tex

    \documentclass[12pt]{article}
     etlength{\textwidth}{6.8in}
     etlength{\textheight}{8.6in}
     etlength{\oddsidemargin}{-.2in}
     etlength{\topmargin}{-0.6in}
    \pagestyle{empty}

    \usepackage{amsmath}
    \usepackage{graphicx}
    \renewcommand{\arraystretch}{1.5}

    \begin{document}


    1. The following shows the graphs of \(u = e^{-t}\), \(u = -e^{-2t}\) and \(u =  e^{-t}-e^{-2t}\).

    1a.) The thin red curve corresponds to \(\underline{~~u = e^{-t}~~}\). 

    1b.) The medium dotted blue curve corresponds to \(\underline{~~u = -e^{-2t}~~}\). 

    1c.)  The thick light green curve  corresponds to \(\underline{~~u =  e^{-t}-e^{-2t}~~}\). 

    1d.) \(\displaystyle\lim_{t \rightarrow -\infty} e^{-t}-e^{-2t} = -\infty\)

    1e.) \(\displaystyle\lim_{t \rightarrow \infty} e^{-t}-e^{-2t} = 0\)

    1f.)  As \({t \rightarrow -\infty}\) which term of \( e^{-t}-e^{-2t}\) dominates.  In other words, does  \( e^{-t}-e^{-2t}\) look more like  \( e^{-t}\) or  \( -e^{-2t}\)  for large negative values of \(t\)
     
    \( -e^{-2t\)}

    1f.)  As \({t \rightarrow \infty}\) which term of \( e^{-t}-e^{-2t}\) dominates.  In other words, does  \( e^{-t}-e^{-2t}\) look more like  \( e^{-t}\) or  \( -e^{-2t}\)  for large positive values of \(t\)
     
    \( e^{-t\)}

    ---

    2a.) Suppose \(u(t) = c_1\phi_i +c_1\phi_2\) is the general {\bf homogeneous} solution to a differential equation modeling mechanical vibration {\bf with damping}, then  \(\displaystyle\lim_{t \rightarrow \infty} u(t) = 0\)

    2b.)  Will the initial values affect the long-term behaviour of the  general {\bf homogeneous} solution to a differential equation modeling mechanical vibration {\bf with damping}?
     
    No.


    3.)  Suppose \(u'' + 4u = tcos(2t)\) models mechanical vibration (with no damping and with external force = \(tcos(2t))\)

    Normally when solving \(au'' + bu' + cu = tcos(2t)\) one would guess a non-homogenous solution to be of the form \(u = (At + B)[Ccos(2t) + Dsin(2t)]\) since  \(tcos(2t)\)
    is the product of a degree 1 polynomial and \(cos(2t)\).  But that won't work in this case.

    \( (At + B)[Ccos(2t) + Dsin(2t)] =(At)[Ccos(2t) + Dsin(2t)] + (B)[Ccos(2t) + Dsin(2t)]\)

    3a.) \(u =  (B)[Ccos(2t) + Dsin(2t)]\) is NOT a solution to the non-homogeneous equation  \(u'' + 4u = tcos(2t)\) since it is a solution to the equation:

     

    \(u'' + 4u = 0\)


    Sidenote 1:  If you did include this in your guess, this term would cancel out since it is a homogeneous solution, and you would see that any choice of \(B\) would work IF the rest of your guess worked.  \(B = 0\) is the simplest choice. 


    3b.)  \(u =  (At)[Ccos(2t) + Dsin(2t)]\) is NOT a solution to the non-homogeneous equation  \(u'' + 4u = tcos(2t)\) since it is a solution to the equation:
     
    \(u'' + 4u = cos(2t)\)

    Sidenote 2:  If I were solving the equation that answers 3B, I would let C and D swallow the constant A and thus guess \(u =  t[Ccos(2t) + Dsin(2t)]\) instead of \(u =  (At)[Ccos(2t) + Dsin(2t)]\)

    3c.)  Thus the best guess for a non-homogeneous solution to  \(u'' + 4u = tcos(2t)\) would be

    \(u = t (A t + B) [C cos(2 t) + D sin(2 t)]\) or
    \(u = A_1 t^2 cos(2 t) + A_2 t^2 sin(2 t) + A_3 t cos(2 t) + A_4 t sin(2 t)\)

     
    Hint:  Your answer will likely include 4 unknowns.

    3d.) Plugging in \(u = t (A t + B) [C cos(2 t) + D sin(2 t)]\) would result in 4 nonlinear equations involving products such as \(AC\). Note 

    $\begin{matrix}
    u &=& t (A t + B) [C cos(2 t) + D sin(2 t)]\hfill \cr
    &=& A C t^2 cos(2 t) + A D t^2 sin(2 t) + B C t cos(2 t) + B D t sin(2 t)  \cr
    &=&  A_1 t^2 cos(2 t) + A_2 t^2 sin(2 t) + A_3 t cos(2 t) + A_4 t sin(2 t) 
    \end{matrix}$

    Thus we can instead plug in \(u = A_1 t^2 cos(2 t) + A_2 t^2 sin(2 t) + A_3 t cos(2 t) + A_4 t sin(2 t)\).

    Solve \(u'' + 4u = tcos(2t)\)  using  that 

    \([A_1 t^2 cos(2 t) + A_2 t^2 sin(2 t) + A_3 t cos(2 t) + A_4 t sin(2 t)]'' \)


    ~~~~~~~~~\(=  - 8 A_1 t sin(2 t)+ 2 A_2 sin(2 t) - 4 A_3 sin(2 t) + 8 A_2 t cos(2 t)  + 2 A_1 cos(2 t) + 4 A_4 cos(2 t)\)

    Answer:  The LHS of  \(u'' + 4u = tcos(2t)\) is given above.  Setting LHS = RHS:

     \(- 8 A_1 t sin(2 t)+ 2 A_2 sin(2 t) - 4 A_3 sin(2 t) + 8 A_2 t cos(2 t)  + 2 A_1 cos(2 t) + 4 A_4 cos(2 t) = tcos(2t)\)

    Combine like terms:

     \(- 8 A_1 t sin(2 t)+ (2 A_2  - 4 A_3) sin(2 t) + 8 A_2 t cos(2 t)  + (2 A_1  + 4 A_4) cos(2 t) \)

    tcos(2t) + 0 cos(2 t) $}

    Since $\{t sin(2 t), sin(2 t), 
    tcos(2t), cos(2 t) \}$ is a linearly independent set, the coefficients of like terms from LHS equal the coefficients of the corresponding like terms on RHS.  Thus 

    $ 8 A_1 = 0,~~ 
    2 A_2  - 4 A_3 = 0,~~
     8 A_2 t = 1,~~  
    2 A_1  + 4 A_4 = 0$

    Thus \(A_1 = A_4 = 0\), \(A_2 = {1 \over 8}\), and \(A_3 = {1 \over 2}A_2 = ({1 \over 2})({1 \over 8}) = {1 \over 16}\)


    Thus the general solution is \(u(t) = c_2 sin(2 t) + c_1 cos(2 t) + {1 \over 8}t^2 sin(2 t) + {1 \over 16} t cos(2 t)\)

    \renewcommand{\arraystretch}{2.5}

    4.)  The following are solutions to a second order differential equation modeling mechanical vibration.
    Match these equations to their graphs.  State whether the graph corresponds to an undamped, underdamped, critically damped, or overdamped mechanical vibration.

    \begin{center}
    \begin{tabular}{ |c |c |c| }
     \hline
      Equation      & Graph &  damping \\ \hline
    \(u = 3cos(2t + {\pi \over 6})\) & B & none \\    \hline 
    \(u = 3cos(2t - {\pi \over 6})\) & A & none\\    \hline 
    \(u = 3 e^{-2t}cos(2t + {\pi \over 6})\)  & F & underdamped \\    \hline 
    \(u =  3e^{-2t}cos(2t - {\pi \over 6})\) & D & underdamped \\    \hline 
    \(u = 3 e^{-2t}cos(5t + {\pi \over 6})\) & E & underdamped \\    \hline 
    \(u = 3 e^{-2t}cos(5t - {\pi \over 6})\) & C & underdamped \\    \hline 
    \(u = e^{-2t}(1 + t)\) & G & ~~critically damped ~~\\    \hline 
    \(u = 100 e^{-2t} + e^{-5t}\) & I & overdamped \\    \hline 
    \(u = -100 e^{-2t} - e^{-5t}\) & K & overdamped \\    \hline 
    \(u = -100 e^{-2t} + e^{-5t}\) & H & overdamped \\    \hline 
    \(u = 100 e^{-2t} - e^{-5t}\) & J & overdamped \\    \hline 
    \end{tabular}
    \end{center}

    A. \includegraphics[width= 3.4in]{A \hfill
    B. \includegraphics[width= 3.4in]{B} \hfill}

     
    C. \includegraphics[width= 3.4in]{C \hfill
    D. \includegraphics[width= 3.4in]{D} \hfill}
     
    E. \includegraphics[width= 3.4in]{E \hfill
    F. \includegraphics[width= 3.4in]{F} \hfill}
     
    G. \includegraphics[width= 3.4in]{G \hfill
    H. \includegraphics[width= 1.4in]{Rplot02} \hfill}

     
    I. \includegraphics[width= 1.4in]{Rplot03 \hfill
    J. \includegraphics[width= 1.4in]{Rplot04} \hfill
    K. \includegraphics[width= 1.4in]{Rplot05} \hfil}

    \end{document}

    START 100/FALL17/quiz4Fall2017ans.tex part 1


    1.  A mass weighing 5 lbs stretches a spring 8 in. The mass is acted on by an external force of 9sin(2t) lbs.  The mass is pulled down 1 foot and then set in motion with an upward velocity of 3ft/s. Assume that there is no damping. Note \(g = 32ft/s^2\).  State the initial value problem that describes the motion of this mass.

    IVP:  \(\underline{~ {5 \over 32}u''  + {15 \over 2}u = 9sin(2t), ~u(0) = +2, ~u'(0) = -8 ~}\)


    \(mg = 5\).  Thus \(m = {5 \over 32}\).
    \hfill
    \(kL = mg\).  Thus \(k(8/12) = k(2/3) =5\).   Thus \(k = {15 \over 2}\).
    \(mu'' + 0u' + ku = 9sin(2t) \)~~~~~~~~~~~~~~~~~~~~~~


    2.)  Given that the solution to \(y'' + y = 0\) is \(y = c_1cos(t) + c_2sin(t)\), what would be a good guess for a non-homogeneous solution to
    \(y'' + y = cos(2t)\)?  Note you do not need to solve this differential equation.  You also don't need to determine the undetermined coefficients.

    Acceptable guess:  \(\underline{~y = Acos(2t) + Bsin(2t) ~\)}
      skip 10pt
    Best guess:  \(\underline{~y = Bcos(2t) ~\)}
    Since no \(y'\) term, don't need \(sin\) term.  However, both guesses will give you the correct non-homogeneous solution, so both answers are correct since I didn't ask for the best guess.


    3.)  Suppose that \(y_1(t) = t\) and \(y_2(t) = t^2\) are solutions to the differential equation, \(y'' + p(t)y' + q(t)y = 0\).  Find the general solution to   \(y'' + p(t)y' + q(t)y = {1 \over t}\)


    General solution:  \(\underline{~y = c_1t + c_2t^2 -tln|t| ~}\)


    \(W(t, t^2) = \left|\matrix{t  & t^2 \cr 1 & 2t} \right| = 2t^2 - t^2 = t^2\).  %~~~~~Check by Abel's theorem:  $W(t, t^2) = e^{-\int p_1(t) dt}


    \({1 \over t}\left|\matrix{0 & t^2 \cr 1 & 2t} \right|  = \left|\matrix{0 & t^2 \cr {1 \over t} & 2t} \right| =-t\) \hfill 
    \(u_1(t) =  \int {g(t) \over a}{W_1 \over W} = \int {-t \over t^2} dt = \int {-1 \over t} dt = - ln|t|\)

    \(\left|\matrix{t  & 0 \cr 1 & {1 \over t}} \right| =1\)
    \hfill 
    \(u_2(t) =  \int {g(t) \over a}{W_2 \over W} = \int {1 \over t^2} dt = \int t^{-2} dt = -t^{-1}\)

    Non-homog:\( -tln|t| - t^{-1}t^2 = -tln|t| - t\)

    General solution: \(y = k_1t + c_2t^2 -tln|t| - t = (k_1- 1)t + c_2t^2 -tln|t|  = c_1t + c_2t^2 -tln|t|\)


    FYI:  


     \(y'' + p(t)y' + q(t)y = 0\).

    \(y_1(t) = t\), \(y' = 1\), \(y'' = 0\)

    and \(y_2(t) = t^2\), \(y' = 2t\), \(y'' = 2\)

     \(0 + p(t) + q(t)t = 0\).

     \(2 + 2p(t)t + q(t)t^2 = 0\).

     \(0 + p(t)t + q(t)t^2 = 0\).


    \(2 + tp(t) = 0\).  Thus \(p(t) = -{2 \over t}\)

    \(0 +  -{2 \over t} + q(t)t = 0\).  Thus \(q(t) = {2 \over t^2}\)


     \(y'' -{2 \over t}y' +  {2 \over t^2}y = 0\).

    By Abel's thm, \(W(t, t^2) = e^{\int{2 \over t} dt} = e^{2ln|t|} = e^{ln|t|^2} = t^2\) 

    \end

    START 100/FALL17/quiz4Fall2017formBans.tex part 3


    \nopagenumbers


    Quiz 4 Form B ~~~~
    Oct 16, 2017

    1.  A mass weighing 9 lbs stretches a spring 5 in. The mass is acted on by an external force of 7sin(3t) lbs.  The mass is pulled down  2 feet and then set in motion with an upward velocity of 8ft/s. Assume that there is no damping. Note \(g = 32ft/s^2\).  State the initial value problem that describes the motion of this mass.

    IVP:  \(\underline{~ {9 \over 32}u''  + {108 \over 5}u = 7sin(3t), ~u(0) = +2, ~u'(0) = -8 ~}\)


    \(mg = 9\).  Thus \(m = {9 \over 32}\).
    \hfill
    \(kL = mg\).  Thus \(k(5/12) = 9\).   Thus \(k = {108 \over 5}\).
    \(mu'' + 0u' + ku = 7sin(3t) \)~~~~~~~~~~~~~~~~~~~~~~

    \end

    START 34/FALL10/e2_34_F10ANS.txt part 2

    [4]~~ 3a.) Given  \(2y''  + 5y = cos(wt)\), determine the value  
    \(w\) for which undamped resonance occurs:   

    \(2r^2 + 5 = 0\).  Thus \(r  = i qrt{5 \over 2}\).
    Hence homogeneous soln is \(y(t) = c_1 cos(t qrt{5 \over 2}) + c_2 sin(t qrt{5 \over 2})\).  Hence a potential solution for the non-homogeneous equation  \(2y''  + 5y = cos(t qrt{5 \over 2})\) would be of the form: \(t[A cos(t qrt{5 \over 2}) + B sin(t qrt{5 \over 2})]\).

    Answer \(\underline{ w =  qrt{5 \over 2~~}\)}
    \u\u
    [3]~~ 3b.)  Briefly describe in words the long-term behaviour of a solution to \break
     \(2y''  + 5y = cos(wt)\) for this value of 
    \(w\).

    The solution oscillates and the pseudo-amplitude gets increasingly larger, approaching 
    infinity.

     

    [15]~~ 4.)  A mass of 4 kg stretches a spring 5m.  The mass is acted on by an external force of \(6e^t\) N (newtons) and 
    moves in a medium that imparts a viscous force of 8 N when the speed of the mass is 15 m/sec.
    The mass is pulled downward 1m below its equilibrium position, and then set in motion in the upward direction 
    with a velocity of 10 m/sec.  
    Formulate the initial value problem describing the motion of the mass.


    \(m = 4\).
    \(F_{viscous}(t) = -\gamma v(t)\), where \(v = \)velocity.  Hence
    \(8 = 15\gamma\) implies \(\gamma = {8 \over 15}\).
    Also, \(mg = kL\).  Hence \(k = {mg \over L} = {4(9.8) \over 5}\).

     fill

    Answer $\underline{~~ 4u''(t) + {8 \over 15u'(t) +  {4(9.8) \over 5} 
    u(t) = 6e^t}$}

    [20]~~ 5.)   Use ch 3 methods to solve the given initial value problem.

     $y'' + 4y  = sin(t), ~~~~ y(0) = 0,~~ y'(0) 
    = 0$


    Step 1.)  Find the general solution to \(y''  + 4y = 0\):  

    Guess \(y = e^{rt}\).  ~Then \(r^2e^{rt} + 4e^{rt} = 0\) implies \( \)r^2 + 4 = 0\( which implies \)r = \pm 2i$.
    homogeneous solution: \(y(t) = c_1cos(2t) + c_2 sin(2t)\)

    Step 2.)  Find ONE solution to \(y'' + 4y = sin(t)\):  

    Educated guess: \(y = Asin(t)\) ~~(since no y' term).

    \(y = Asin(t)\)
    \hfill
    \(y' = Acos(t)\)
    \hfill
    \(y'' = -Asin(t)\)

    \(-Asin(t) + 4Asin(t) = sin(t)\).

    \(3Asin(t) = sin(t)\).  Hence \(3A  = 1\) and \(A = {1 \over 3}\).


    The general solution to NON-homogeneous equation is

    \(c_1cos(2t) + c_2 sin(2t) + {1 \over 3sin(t)\)}


    Step 3.) Initial value problem:

    {Once general solution to problem is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}


    \(y(t) = c_1cos(2t) + c_2 sin(2t) + {1 \over 3}sin(t)\)

    \(y'(t) = -2c_1sin(2t) + 2c_2 cos(2t) + {1 \over 3}cos(t)\)

    \(y(0) = 0\): \(0 = c_1 \)
     
    \(y'(0) = 0\): \(0 = 2c_2 + {1 \over 3} \).  Hence \(2c_2 = -{1 \over 3}\) and \(c_2 = -{1 \over 6}\)

     fill


    Answer \(\underline{~~y(t) = -{1 \over 6 sin(2t) + {1 \over 3}sin(t)~~}\)}

    \end

    START 34/FALL03/finalexamANS.txt part 6

    9.)  Circle T for true and F for false.

    [2]~ 9a.)  Given an initial value, there always exists a unique solution to any second order
    differential equation.


    [2]~ 9b.)  Given an initial value, there always exists at least one solution to any second
    order
    differential equation.


    [2]~ 9c.) If there is no damping and no external force, then the general solution to a 
    mechanical 
    vibration problem with constant spring force must be of the form $c_1cos(\omega_0t) + c_2 
    sin(\omega_0t)$ 

    [1]~ 9d.)  \(y = c_1e^{3t} + c_2te^{3t} + 4cos t\) is a possible general solution to a 
    mechanical
    vibration problem with damping.

    [4 or 1-EC]~ 9e.)  Explain your answer to problem 9d.

    Short answer \(3 > 0\).

    Long answer:  The long term behaviour should not be affected 
    by the initial conditions.  Since \(3 > 0\), the long term behaviour of $y = c_1e^{3t} + 
    c_2te^{3t} + 4cos t\( is definitely affected by the values of \)c_1\( and \)c_2$ and hence by 
    initial conditions. 
    Recall that when damping is present, the possible solutions for the homogeneous part of the 
    answers (i.e., the part 
    affected by initial conditions) must be of one of the following forms:  $y = c_1e^{r_1t} + 
    c_2e^{r_2t}\(, \)y = c_1e^{r_1t} + c_2te^{r_1t}\(, or \)e^{d}(cos(\omega_0t) + sin (\omega_0t))$ 
    where $r_1, r_2, 
    d < 0$.


    [10]~  10a.)  A 2 kg mass stretches a spring .1m.  If the mass is pulled down an 
    additional 
    .2m and released, and if there is no damping, determine the position of the mass at any time 
    \(t\)

    \(mg - kL = 0\) implies \(k = {mg \over L} = {2(9.8) \over .1} = 196\)

    \(2u'' + 196u = 0\), 
    \(u(0) = .2\),
    \(u'(0) = 0\).


    \(u'' + 98u = 0\)

    \(r^2 + 98 = 0\)

    \(r = i qrt{98}\)

    \(u(t) = c_1cos( qrt{98}t) + c_2sin( qrt{98}t)\)

    \(u(0) = .2\): \(0.2 = c_1\)

    \(u'(t) = -c_1 qrt{98}sin( qrt{98}t) + c_2 qrt{98}cos( qrt{98}t)\)

    \(u'(0) = 0\): \(0 =  qrt{98}c_2\), \(c_2 = 0\).

    \u
    Answer 10a.) $\underline{u(t) = 0.2cos( qrt{98t)
    }$}
    \u

    [1-EC]~  10b.)  Do the initial conditions affect the long-term behavior of the motion of the 
    mass?

    Yes (since there is no damping).

    \end

    Section 3.8: Forced Periodic Vibrations

    START 100/3_7and8transientVSss.tex

    3.7/8 Mechanical Vibrations:
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 
     \(mg - kL = 0\), ~~~~~\(F_{damping(t) = -\gamma u'(t)\)}
    \u
    \(m\)=  mass,
    \u
    \(k\) = spring force proportionality constant,
    \u
    \(\gamma\) = damping force proportionality constant

    \u
    \(g\) = 9.8 m/sec\(^2\) or 32 ft/sec\(^2\). ~~~ Weight = \(mg\).


    Electrical Vibrations:
    Voltage drop across inductor +  resistor + capacitor

    ~~$L{dI(t) \over dt + RI(t) + {1 \over C}Q(t) = E(t), ~~L, R, C \geq 0 {\hbox{ and 
    }}
    I = {dQ \over dt}$~~~~~~}

    \(LQ''(t) + RQ'(t) + {1 \over CQ(t) = E(t)\)}

    \(L\) = inductance (henrys),
    \u
    \(R\) = resistance (ohms)
    \u
    \(C\) = capacitance (farads)
    \u
    \(Q(t)\) = charge at time \(t\) (coulombs)
    \u
    \(I(t)\) = current at time \(t\) (amperes)
    \u
    \(E(t)\) = impressed voltage (volts).

    1 volt = 1 ohm \(\cdot\) 1 ampere = 1 coulomb / 1 farad = 1 henry \(\cdot\) 1 amperes/ 1 second

    Trig background:
     
    \(cos (y \mp x) = cos(x \mp y) = cos(x) cos(y) \pm sin(x)sin(y)\)

    Let \(c_1 = Rcos(\delta)\),  \(c_2 = Rsin(\delta)\) in 


    \(c_1cos(\omega_0t) + c_2 sin(\omega_0t)\)
    \u
    \hskip 0.3in = \(Rcos(\delta)cos(\omega_0t) +  Rsin(\delta) sin(\omega_0t)\)
    \u
    \hskip 0.3in = \(Rcos(\omega_0t - \delta)\)

    Amplitude = \(R\)
    \u
    frequency = \(\omega_0\) (measured in radians per unit time).
    \u
    period = \({2\pi \over \omega_0}\)
    \hfill
    phase (displacement) = \(\delta\)

    \(c_1 = Rcos(\delta)\),  \(c_2 = Rsin(\delta)\) implies
     
    \(c_1^2 + c_2^2 = R^2cos^2(\delta)  + R^2sin^2(\delta) \)


    and \({Rsin(\delta) \over Rcos(\delta)} = tan(\delta) = {c_2 \over c_1}\)


    BUT easier to plot to convert Euclidean coordinates \((c_1, c_2) = (Rcos(\delta), Rsin(\delta))\)
     into polar coordinates \((R, \delta)\) = (length, angle).


    3.7:  Homogeneous equation (no external force):
    \(mu''(t) + \gamma u'(t) + ku(t) = 0, ~~m, \gamma, k \geq 0\)

    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4km} \over 2m}\)

    ---

    {\bf Critical damping: \(\gamma = 2 qrt{km}\)}

    \(\gamma^2 - 4km = 0\):  \(u(t) = (c_1 + c_2t)e^{r_1t} \)

    ~~~~Note \(r_1 = -{\gamma  \over 2m} < 0\). \hfill  {\bf Thus \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}


    ---

    {\bf Overdamped: \(\gamma > 2 qrt{km}\)}

    \(\gamma^2 - 4km > 0\):  \(u(t) = c_1e^{r_1t} + c_2e^{r_2t}\)

    ~~~~Note  \(r_1, r_2 < 0\). \hfill   {\bf Thus \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}

    ~~~~Example \(u(t) = 4e^{-t} - 3e^{-2t} \)%= e^{-t}(4 - 3e^{-t}) $

    ~~~~~~~If \( t >  0\),  \(4e^{-t} > 3e^{-2t}\)

    ~~~~~~~If \( t <  0\),  \(4e^{-t} < 3e^{-2t}\)


    {\bf Underdamped: \(\gamma < 2 qrt{km}\)}

    \(\gamma^2 - 4km < 0\):  \(u(t) = e^{-{\gamma t \over 2m}}(c_1 cos \mu t + c_2 sin \mu t)\)

    \(\mu\) =  quasi frequency, \({2 \pi \over \mu}\) = quasi period

    Note if \(\gamma \not= 0\), ~~~~{\bf then \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}
     fill
    Note if \(\gamma = 0\), then
     fill
    ---

    {\bf NOTE if \(\gamma \not= 0\), then homogeneous solution goes to 0 as} \(t \rightarrow \infty\).  

    Thus initial values have very little effect on the long-term behaviour of solution if  \(\gamma \not= 0\).


    Note:  The larger \(\gamma\) is, the faster the  homogeneous solution goes to 0 as \(t \rightarrow \infty\). 

    ~


    3.8:   \(F_{external} \not= 0\)
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 


    General solution:  \(u(t) = c_1\phi_1 + c_2\phi_2 + \psi\)
    where \(\phi_1, \phi_2\) are homogeneous solutions and \(\psi\) is a non-homogeneous solution.

     NOTE if \(\gamma \not= 0\), then homogeneous solution 

    Thus  if \(\gamma \not= 0\), then \(u(t)  \rightarrow  \psi\)  as \(t \rightarrow \infty\).  

    ---


    {\bf No damping} \((\gamma = 0)\) example:  \(u''+u=cos( t)\) 
    Step 1:  Solve homogeneous \(u''+u=0\)

    \(r^2 +1 = 0\) implies \(r = \pm i\)

    Step 2:  Find a non-homogeneous solution.

    Guess \(u(t) = \)

    Plug in plus lots of work implies \(A = 0\) and \(B = {1 \over 2}\)

    Thus general non-homogeneous solution:  

    \(u(t) =  c_1cos(t) + c_2sin(t) +  {1 \over 2tsin(t) \)}


    {\bf No damping} example  \(u''+u=cos(\omega t)\) where \(\omega\neq 1\).  
     
    Step 1:  Solve homogeneous \(u''+u=0\)

    \(r^2 +1 = 0\) implies \(r = \pm i\)


    Step 2:  Find a non-homogeneous solution.
     
    Since \(\omega\neq 1\), guess \(u(t) = Acos(\omega t)\)
    \hskip 1.15in \(u'(t) = -A\omega sin(\omega t)\)
    \hskip 1.15in \(u''(t) = -A\omega^2 cos(\omega t)\)

    Plug into  \(u''+u=cos(\omega t)\):
      
    \( -A\omega^2 cos(\omega t) + Acos(\omega t) = cos(\omega t)\)

    \(-A\omega^2 + A = 1\).  Thus \(A(1-\omega^2) = 1\)

    Hence \(A = {1 \over 1 - \omega^2}\)

    Thus general solution is 
      

    \(u(t) = c_1cos(t) + c_2sin(t)+ {1 \over 1 - \omega^2cos(\omega t)\)}

    NOTE:  Since we do not have damping, we do NOT have a transient solution.

    BUT if \(\omega\) is close to 1, then \( {1 \over 1 - \omega^2}\) is large and the term \({1 \over 1 - \omega^2}cos(\omega t)\) dominates.
     fill

    Trig background:

    \(cos (y \mp x) = cos(x \mp y) = cos(x) cos(y) \pm sin(x)sin(y)\)

    \(cos(u) + cos(v) = 2cos({u+v \over 2})cos({u-v \over 2})\)

    \(cos(u) - cos(v) = -2sin({u+v \over 2})sin({u-v \over 2})\)

    \(sin(u) + sin(v) = 2sin({u+v \over 2})cos({u-v \over 2})\)

    \(sin(u) - sin(v) = sin(u) + sin(-v) = 2sin({u-v \over 2})cos({u+v \over 2})\)

    ---

    Derivation:

    Let \(x = ({u+v \over 2})\) and \(y = ({u-v \over 2})\) 

    \( cos(u)= cos( ({u+v \over 2}) + ({u-v \over 2}))\)
    \w


    \( cos(v)= cos( ({u+v \over 2}) - ({u-v \over 2}))\)
    \w

    ---

    Ex:  \(u(t) = cos(t) + cos(3t) = \)

    Graph:


    {\bf No damping} example  \(mu''+ku=cos(\omega t)\).  
     
    Step 1:  Solve homogeneous \(mu''+ku=0\)

    \(mr^2 +k = 0\) implies \(r = \pm i qrt{k \over m\)}  

    Let \(\omega_0 =  qrt{k \over m}\). ~~~ Then \(r = \pm i \omega_0\) and 
      

    Step 2:  Find a non-homogeneous solution.
     

    IF \(\omega = \omega_0\), guess \(u(t) = t[Acos(\omega t) + Bsin(\omega t)]\)

    Plug in plus lots of work implies \(A = 0\) and \(B = {1 \over 2 qrt{mk}}\)

    Thus general non-homogeneous solution:  
      
    \(u(t) =  c_1cos(\omega_0 t) + c_2sin(\omega_0 t) +  {1 \over 2 qrt{mk}tsin(t) \)}


    IF \(\omega\neq \omega_0\), guess \(u(t) = Acos(\omega t)\)
    \hskip 1.in \(u'(t) = -A\omega sin(\omega t)\)
    \hskip 1.1in \(u''(t) = -A\omega^2 cos(\omega t)\)

    Plug into  \(mu''+ku=cos(\omega t)\):
      
    \( -mA\omega^2 cos(\omega t) + kAcos(\omega t) = cos(\omega t)\)

    \(-mA\omega^2 + kA = 1\).  Thus \(A(k-m\omega^2) = 1\)

    Hence \(A = {1 \over k - m\omega^2}\)

    Thus general solution is 
      

    \(u(t) =c_1cos(\omega_0 t) + c_2sin(\omega_0 t) + {1 \over k - m\omega^2cos(\omega t)\)}

    NOTE:  Since we do not have damping, we do NOT have a transient solution.

    BUT if \(\omega^2\) is close to \({k \over m}\), then \( {1 \over k - m\omega^2}\) is large and the term \({1 \over k - m\omega^2}cos(\omega t)\) dominates.
     fill


    Example {\bf  with small damping (\(\gamma = {1 \over 8} < 2  qrt{km}\)): }

    Compare book examples (see slides)

    \(u'' + {1 \over 8}u' + u = 3cos(0.3t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(2t), ~~u(0) = 2, ~~u'(0) = 0\)

    --- 

    Approximate midterm grades \u
    A \( \geq\)  52
     \u     A-   50-51
      \u      B+  48-49
      \u      B    42-47
      \u      B-   40-41
       \u     C+  38-39
       \u     C    28-37
       \u     C-  22-27
       \u      D 20-21
       \u      F 0-19

    \end
    Example {\bf  with small damping (\(\gamma = {1 \over 8} < 2  qrt{km}\)): }
    \(u''+{1 \over 8 u' + u=cos(\omega t)\) where \({1 \over 8}\) is small. }

    Step 1:  Solve homogeneous \(u''+ {1 \over 8} u'+u=0\)

    \(r^2 + {1 \over 8 r+1 = 0\) implies }


    $r_1, r_2 = {-{1 \over 8} \pm  qrt{({1 \over 8})^2 - 4} \over 2}=
    = {-{1 \over 8} \pm  qrt

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[3]/div[8]/div[1]/p[97]/span, line 1, column 10
    
    \over 2}
    = {-{1 \over 8} \pm { qrt{1 - 256}\over 8} \over 2}$

    $= {-{1 } \pm { qrt{- 255}} \over 16}= -{1 \over 16} \pm i{ qrt{255} \over 16}
    =
     {-{1 \over 8} \over 2} \pm i{ qrt{  4 - {1 \over 8}^2} \over 2} =  {-{1 \over 8} \over 2} \pm i b$

    Note if \({1 \over 8}\) is small, \(b = { qrt{  4 - {1 \over 8}^2} \over 2}\) is close to  \({ qrt{  4 } \over 2} = 1\)

       
     
    Step 2:  Find a non-homogeneous solution.
     

     guess \(u(t) = Acos(\omega t) + Bsin(\omega t)\)


    Example {\bf  with small damping (\(\gamma < 2  qrt{km}\)): }
    \(u''+\gamma u' + u=cos(\omega t)\) where \(\gamma\) is small. 

    Step 1:  Solve homogeneous \(u''+ \gamma u'+u=0\)

    \(r^2 + \gamma r+1 = 0\) implies 


    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4} \over 2}= {-\gamma \over 2} \pm i{ qrt{  4 - \gamma^2} \over 2} =  {-\gamma \over 2} \pm i b\)

    Note if \(\gamma\) is small, \(b = { qrt{  4 - \gamma^2} \over 2}\) is close to  \({ qrt{  4 } \over 2} = 1\)

       
     
    Step 2:  Find a non-homogeneous solution.
     

     guess \(u(t) = Acos(\omega t) + Bsin(\omega t)\)


    General non-homogeneous solution 

    \hskip .32in \(u'(t) = -A\omega sin(\omega t) + B\omega cos(\omega t)\)
    \hskip .31in \(u''(t) = -A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t)\)  

    Plug into \(u''+\gamma u' + u=cos(\omega t)\) to solve for \(A\) and \(B\):


    \(-A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t) \)

    \(+ B\omega\gamma cos(\omega t) - A\omega\gamma sin(\omega t) \)

    \( + Acos(\omega t) + Bsin(\omega t)\)

    ---------------------------------------


    \([-A\omega^2 +B\omega\gamma + A]cos(\omega t) + [- B\omega^2  - A\omega\gamma +B]sin (\omega t)\)


    Thus \(-A\omega^2 +B\omega\gamma + A = 1\) and 
    \(- B\omega^2  - A\omega\gamma +B = 0\)

    \(- B\omega^2  - A\omega\gamma +B = 0\) implies 
    \(B(-\omega^2   +1) = A\omega\gamma\) and thus 
    \(B = {A\omega\gamma  \over 1-\omega^2  }\)

    \(-A\omega^2 +B\omega\gamma + A = 1\) implies 

    \(-A\omega^2 +({A\omega\gamma  \over 1-\omega^2})\omega\gamma + A = 1\)


    \(A(-\omega^2 +{\omega^2\gamma^2  \over 1-\omega^2} + 1) = 1\)

    \(A[(1-\omega^2) (1-\omega^2)+{\omega^2\gamma^2  }] = 1-\omega^2\)

    \(A = {1-\omega^2 \over (1-\omega^2) (1-\omega^2)+{\omega^2\gamma^2  }}\)

     \(u(t) = e^ {-\gamma t \over 2m}[ c_1cos(bt) + c_2sin(bt)] + Acos(\omega t) + Bsin(\omega t)\)


    \(u'' + {1 \over 8}u' + u = 3cos(0.3t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(2t), ~~u(0) = 2, ~~u'(0) = 0\)

    \end

    Example {\bf  with small damping (\(\gamma < 2  qrt{km}\)): }
    \(u''+\gamma u' + u=cos(\omega t)\) where \(\gamma\) is small. 

    Step 1:  Solve homogeneous \(u''+ \gamma u'+u=0\)

    \(r^2 + \gamma r+1 = 0\) implies 


    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4km} \over 2m}= {-\gamma \over 2m} \pm i{ qrt{  4km - \gamma^2} \over 2m} =  {-\gamma \over 2m} \pm i b\)

       

    Step 2:  Find a non-homogeneous solution.
     

     guess \(u(t) = Acos(\omega t) + Bsin(\omega t)\)
    \hskip .32in \(u'(t) = -A\omega sin(\omega t) + B\omega cos(\omega t)\)
    \hskip .31in \(u''(t) = -A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t)\)  

    Plug into \(u''+\gamma u' + u=cos(\omega t)\) to solve for \(A\) and \(B\):


    \(-A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t) \)

    \(+ B\omega\gamma cos(\omega t) - A\omega\gamma sin(\omega t) \)

    \( + Acos(\omega t) + Bsin(\omega t)\)

    ---------------------------------------


    \([-A\omega^2 +B\omega\gamma + A]cos(\omega t) + [- B\omega^2  - A\omega\gamma +B]sin (\omega t)\)


    Thus \(-A\omega^2 +B\omega\gamma + A = 1\) and 
    \(- B\omega^2  - A\omega\gamma +B = 0\)

    \(- B\omega^2  - A\omega\gamma +B = 0\) implies 
    \(B(-\omega^2   +1) = A\omega\gamma\) and thus 
    \(B = {A\omega\gamma  \over 1-\omega^2  }\)

    \(-A\omega^2 +B\omega\gamma + A = 1\) implies 

    \(-A\omega^2 +({A\omega\gamma  \over 1-\omega^2})\omega\gamma + A = 1\)


    \(A(-\omega^2 +{\omega^2\gamma^2  \over 1-\omega^2} + 1) = 1\)

    \(A[(1-\omega^2) (1-\omega^2)+{\omega^2\gamma^2  }] = 1-\omega^2\)


     \(u(t) = e^ {-\gamma t \over 2m}[ c_1cos(bt) + c_2sin(bt)] + Acos(\omega t) + Bsin(\omega t)\)


    \(u'' + {1 \over 8}u' + u = 3cos(0.3t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(2t), ~~u(0) = 2, ~~u'(0) = 0\)

    \end


    Example with :  \(u''+ \gamma u' + u=0\).  I note that when gamma is postive and close to
    zero, the solution dies very slowly and introduce the notion of
    quasifrequency. I also notice that the oscillating behavior of the
    decaying solutions slows down as we increase the friction staying near zero.


    4.  Next I solve  u''+gamma u' + u=cos(omega t) and break the general
    solution into its transitory and steady state solution. I write the
    steady state solution in the form  amplitude times cos(omega t -delta)
    where delta is the phase shift and I plot the amplitude where gamma is
    fixed as small positive number.

    Hi Charlie,

    Just wanted to double check some assumptions regarding what we should cover and/or emphasize.

    Do students need to be able to convert homogeneous solution to R cos (wt - d) when roots are complex and should they be able to draw an accurate graph (determining applitude, period, and phase)?  Or is quasi-period sufficient?

    What about beat?  There is one HW problem where they need to combine a trig sum into a trig product, but no application problem.  Should students know the trig identities for this conversion for the exam?  Should they be able to graph beat?

    I assume we should emphasize transient vs steady state solution when there is damping?  As well as the concept of resonance?

    START 100/3.9.tex


    \(mu'' + \gamma u' + ku = F_0 cos (\omega t)\)

    Non-homogeneous solution:  Guess \(\p(t) = A cos(\omega t) + B sin(\omega t).\)

     \(\p'(t) = -A \o sin (\omega t) + B \o cos (\omega t) \)
    ~~and~~
    \(\p''(t) = -A \o^2 cos(\omega t) - B \o^2 sin(\omega t) \).

    Plug into \(mu'' + \gamma u' + ku = F_0 cos (\omega t)\):


    $m[-A \o^2 cos(\omega t) - B \o^2 sin(\omega t) ] + \gamma [  -A \o sin (\omega t) + B \o cos (\omega t) ] + k[A cos(\omega 
    t) + B sin(\omega t) ]$

    \(cos(\o t) [ -mA\o^2 + \ g B \o + kA] + sin(\o t) [ -mB \o^2 - \g A \o + kB]  = F_0 cos (\omega t)\)

    \(cos(\o t) [ (-m\o^2 + k) A + \ g  \o B ] + sin(\o t) [ (-m \o^2 + k)B - \g  \o A]  = F_0 cos (\omega t) + 0 sin(\omega t)\)

    \((-m\o^2 + k) A + \g  \o B  = F_0\)

    \((-m \o^2 + k)B - \g  \o A = 0\).  Thus \(A = {(-m \o^2 + k)B \over \g \o }\).
    \hfill
    Hence \( {(-m \o^2 + k)^2B \over \g \o } + \g  \o B  = F_0\).

    \( {(-m \o^2 + k)^2B  } + (\g  \o)^2 B  = F_0 \g \o \)
    \hfill
    \([ {(-m \o^2 + k)^2  } + (\g  \o)^2] B  = F_0 \g \o \)

    \( B  = {F_0 \g \o \over [ {(-m \o^2 + k)^2  } + (\g  \o)^2]}.\)
    \hfill
    Thus $A =  {(-m \o^2 + k)F_0 \g \o \over \g \o  [ {(-m \o^2 + k)^2  } + (\g  \o)^2] } =  {(-m \o^2 + k)F_0  \over  [ {(-m 
    \o^2 + k)^2  } + (\g  \o)^2] } $ 
     


     \(\p(t) = A cos(\omega t) + B sin(\omega t)  \) = \(Rcos(\omega t - \delta)\).

    where \(A = Rcos(\delta)\),  \(B = Rsin(\delta)\) in 
    \(Acos(\omega t) + B sin(\omega t)\).  Thus,

    \(Acos(\omega t) + B sin(\omega t)\)
    = \(Rcos(\delta)cos(\omega t) +  Rsin(\delta) sin(\omega t)\)
    = \(Rcos(\omega t - \delta)\)

    where $R =  qrt{A^2 + B^2} =   qrt{
     ({(-m \o^2 + k)F_0  \over  [ {(-m \o^2 + k)^2  } + (\g  \o)^2] } )^2 + ( {F_0 \g \o \over [ {(-m \o^2 + k)^2  } + (\g  
    \o)^2] } )^2
      }$

    $=  { F_0  \over  [ {(-m \o^2 + k)^2  } + (\g  \o)^2] }  qrt{
     ({(-m \o^2 + k) } )^2 + ( {\g \o } )^2
      }$

    $=  { F_0  \over  qrt{
     ({(-m \o^2 + k) } )^2 + ( {\g \o } )^2}
      }$
    $=  { F_0  \over  qrt{
     ({m ({k\over m} - \o^2) } )^2 + ( {\g \o } )^2}
      }$

    So $R =   { F_0  \over  qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}
      }\( for \) {\o_o}^2 = {k\over m}$

    Find maximux amplitude

    $R(\o) =   { F_0  \over  qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}
      }$ 
    =    \({ F_0 [{m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}  }]^{-1 \over 2} \) for \( {\o_o}^2 = {k\over m}\)

    $R'(\o) = -{1 \over 2}{ F_0 [{m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}  }]^{-3 \over 2}
     [2m^2 ( {\o_o}^2 - \o^2 )(-2\o) + 2 \g^2 \o   ] $

    Critical point occur when \( 2m^2 ( {\o_o}^2 - \o^2 )(-2\o) + 2 \g^2 \o    = 0\)


     \(2m^2 ( {\o_o}^2 - \o^2 )(-2\o) + 2 \g^2 \o    =  [-2m^2 ( {\o_o}^2 - \o^2 ) +  \g^2)] 2\o    = 0\)

    \(\o = 0\) or \( [-2m^2 ( {\o_o}^2 - \o^2 ) +  \g^2)] = 0\) 

     \( 2m^2 ( {\o_o}^2 - \o^2 ) =  \g^2\)  implies 
     \(  {\o_o}^2 - \o^2  = { \g^2 \over 2m^2}\)  
    implies \(   \o^2  = \o_o^2 - { \g^2 \over 2m^2}\)%   = \o_o^2 - { \g^2 k\over 2km^2}$  

    Critical pts are \(\o = 0, \pm  qrt{ \o_o^2 - { \g^2 \over 2m^2}} =  \pm  qrt{ \o_o^2 - { \g^2 k\over 2km^2}} =  \pm \o_o qrt{ 1 - { \g^2 \over 2mk}} =  \pm \o_o qrt{ S}\)


      % \({ F_0 [{m^2 ({ {\o_o}^2 - ( \o_o qrt{ 1 - { \g^2 \over 2k^2}})^2 } )^2 + ( {\g ( \o_o qrt{ 1 - { \g^2 \over 2k^2}}) } )^2}  }]^{-1 \over 2} \) 


    Maximum amplitude is
    \(R(  \pm \o_o qrt{ S}) =   { F_0  \over  qrt{m^2 ({ {\o_o}^2 - ( \o_o qrt{ S})^2 } )^2 + ( {\g ( \o_o qrt{ S}) } )^2}  }\) 
    \(=   { F_0  \over  qrt{m^2 ( {\o_o}^2 - \o_o^2 S  )^2 + \g^2  \o_o^2S   }}\) 

    \(=   { F_0  \over  qrt{m^2 ( {\o_o}^2 (1 -  S  ))^2 + \g^2  \o_o^2S   }}\) 
    \(=   { F_0  \over  qrt{m^2  {\o_o}^4 (1 -  S  )^2 + \g^2  \o_o^2S   }}\) 
    \(=   { F_0  \over \o_o qrt{m^2  {\o_o}^2 (1 -  S  )^2 + \g^2  S   }}\) 


    \(=   { F_0  \over \o_o qrt{ m^2  {k \over m}  (1 -  ( 1 - { \g^2 \over 2mk})  )^2 + \g^2  S   }}\) 
    \(=   { F_0  \over \o_o qrt{ mk  ( { \g^2 \over 2mk}  )^2 + \g^2  S   }}\) 
    \(=   { F_0  \over \o_o qrt{ { \g^4 \over 4mk}   + \g^2  S   }}\) 
    \(=   { F_0  \over \o_o\g qrt{ { \g^2 \over 4mk}   +  S   }}\) 

    \(=   { F_0  \over \o_o\g qrt{ { \g^2 \over 4mk}   +  1 - { \g^2 \over 2mk}   }}\) 
    \(=   { F_0  \over \o_o\g qrt{ { \g^2 \over 4mk}   +  1 - { 2\g^2 \over 4mk}   }}\) 
    \(=   { F_0  \over \o_o\g qrt{   1 - { \g^2 \over 4mk}   }}  im  { F_0  \over \o_o\g}(   1 + { \g^2 \over 8mk} )\)  for small \(\gamma \not=0\)

    via Taylor series expansion about \(\gamma = 0\)

    \(\gamma = 0\) (No damping):
    \(mu''  + ku = F_0 cos (\omega t)\)


    Homogeneous solution:  \(mr^2 + k = 0\) implies \(r = i  qrt{k \over m} = \o_o\) 
    Thus homogeneous solution: \(u = c_1 cos(\o_ot) + c_2 sin(\o_ot)\)

    A non-homogeneous solution to \(mu''  + ku = F_0 cos (\omega_o t)\) is of the form
    \(u = t(A cos(\o_ot) + Bsin(\o_ot)) = tRcos(\o_o - \delta)\).  Thus amplitude \(\rightarrow \infty\) as \(t \rightarrow \infty\)  

    \end
    \(tan \delta = {B \over A}\)

    \(cos \delta = {A \over R}\) = $m( \o_0^2 - \o^2) \over 
      qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}$, \hfil
    $sin \delta = {B \over R} = {\g \o \over  
     qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}  }$ 

    \end

    START 100/3_7and8transientVSss.tex

    3.7/8 Mechanical Vibrations:
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 
     \(mg - kL = 0\), ~~~~~\(F_{damping(t) = -\gamma u'(t)\)}
    \u
    \(m\)=  mass,
    \u
    \(k\) = spring force proportionality constant,
    \u
    \(\gamma\) = damping force proportionality constant

    \u
    \(g\) = 9.8 m/sec\(^2\) or 32 ft/sec\(^2\). ~~~ Weight = \(mg\).


    Electrical Vibrations:
    Voltage drop across inductor +  resistor + capacitor

    ~~$L{dI(t) \over dt + RI(t) + {1 \over C}Q(t) = E(t), ~~L, R, C \geq 0 {\hbox{ and 
    }}
    I = {dQ \over dt}$~~~~~~}

    \(LQ''(t) + RQ'(t) + {1 \over CQ(t) = E(t)\)}

    \(L\) = inductance (henrys),
    \u
    \(R\) = resistance (ohms)
    \u
    \(C\) = capacitance (farads)
    \u
    \(Q(t)\) = charge at time \(t\) (coulombs)
    \u
    \(I(t)\) = current at time \(t\) (amperes)
    \u
    \(E(t)\) = impressed voltage (volts).

    1 volt = 1 ohm \(\cdot\) 1 ampere = 1 coulomb / 1 farad = 1 henry \(\cdot\) 1 amperes/ 1 second

    Trig background:
     
    \(cos (y \mp x) = cos(x \mp y) = cos(x) cos(y) \pm sin(x)sin(y)\)

    Let \(c_1 = Rcos(\delta)\),  \(c_2 = Rsin(\delta)\) in 


    \(c_1cos(\omega_0t) + c_2 sin(\omega_0t)\)
    \u
    \hskip 0.3in = \(Rcos(\delta)cos(\omega_0t) +  Rsin(\delta) sin(\omega_0t)\)
    \u
    \hskip 0.3in = \(Rcos(\omega_0t - \delta)\)

    Amplitude = \(R\)
    \u
    frequency = \(\omega_0\) (measured in radians per unit time).
    \u
    period = \({2\pi \over \omega_0}\)
    \hfill
    phase (displacement) = \(\delta\)

    \(c_1 = Rcos(\delta)\),  \(c_2 = Rsin(\delta)\) implies
     
    \(c_1^2 + c_2^2 = R^2cos^2(\delta)  + R^2sin^2(\delta) \)


    and \({Rsin(\delta) \over Rcos(\delta)} = tan(\delta) = {c_2 \over c_1}\)


    BUT easier to plot to convert Euclidean coordinates \((c_1, c_2) = (Rcos(\delta), Rsin(\delta))\)
     into polar coordinates \((R, \delta)\) = (length, angle).


    3.7:  Homogeneous equation (no external force):
    \(mu''(t) + \gamma u'(t) + ku(t) = 0, ~~m, \gamma, k \geq 0\)

    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4km} \over 2m}\)

    ---

    {\bf Critical damping: \(\gamma = 2 qrt{km}\)}

    \(\gamma^2 - 4km = 0\):  \(u(t) = (c_1 + c_2t)e^{r_1t} \)

    ~~~~Note \(r_1 = -{\gamma  \over 2m} < 0\). \hfill  {\bf Thus \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}


    ---

    {\bf Overdamped: \(\gamma > 2 qrt{km}\)}

    \(\gamma^2 - 4km > 0\):  \(u(t) = c_1e^{r_1t} + c_2e^{r_2t}\)

    ~~~~Note  \(r_1, r_2 < 0\). \hfill   {\bf Thus \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}

    ~~~~Example \(u(t) = 4e^{-t} - 3e^{-2t} \)%= e^{-t}(4 - 3e^{-t}) $

    ~~~~~~~If \( t >  0\),  \(4e^{-t} > 3e^{-2t}\)

    ~~~~~~~If \( t <  0\),  \(4e^{-t} < 3e^{-2t}\)


    {\bf Underdamped: \(\gamma < 2 qrt{km}\)}

    \(\gamma^2 - 4km < 0\):  \(u(t) = e^{-{\gamma t \over 2m}}(c_1 cos \mu t + c_2 sin \mu t)\)

    \(\mu\) =  quasi frequency, \({2 \pi \over \mu}\) = quasi period

    Note if \(\gamma \not= 0\), ~~~~{\bf then \(u(t) \rightarrow 0\) as \(t \rightarrow \infty\)}
     fill
    Note if \(\gamma = 0\), then
     fill
    ---

    {\bf NOTE if \(\gamma \not= 0\), then homogeneous solution goes to 0 as} \(t \rightarrow \infty\).  

    Thus initial values have very little effect on the long-term behaviour of solution if  \(\gamma \not= 0\).


    Note:  The larger \(\gamma\) is, the faster the  homogeneous solution goes to 0 as \(t \rightarrow \infty\). 

    ~


    3.8:   \(F_{external} \not= 0\)
    \(mu''(t) + \gamma u'(t) + ku(t) = F_{external, ~~m, \gamma, k \geq 0\)} 


    General solution:  \(u(t) = c_1\phi_1 + c_2\phi_2 + \psi\)
    where \(\phi_1, \phi_2\) are homogeneous solutions and \(\psi\) is a non-homogeneous solution.

     NOTE if \(\gamma \not= 0\), then homogeneous solution 

    Thus  if \(\gamma \not= 0\), then \(u(t)  \rightarrow  \psi\)  as \(t \rightarrow \infty\).  

    ---


    {\bf No damping} \((\gamma = 0)\) example:  \(u''+u=cos( t)\) 
    Step 1:  Solve homogeneous \(u''+u=0\)

    \(r^2 +1 = 0\) implies \(r = \pm i\)

    Step 2:  Find a non-homogeneous solution.

    Guess \(u(t) = \)

    Plug in plus lots of work implies \(A = 0\) and \(B = {1 \over 2}\)

    Thus general non-homogeneous solution:  

    \(u(t) =  c_1cos(t) + c_2sin(t) +  {1 \over 2tsin(t) \)}


    {\bf No damping} example  \(u''+u=cos(\omega t)\) where \(\omega\neq 1\).  
     
    Step 1:  Solve homogeneous \(u''+u=0\)

    \(r^2 +1 = 0\) implies \(r = \pm i\)


    Step 2:  Find a non-homogeneous solution.
     
    Since \(\omega\neq 1\), guess \(u(t) = Acos(\omega t)\)
    \hskip 1.15in \(u'(t) = -A\omega sin(\omega t)\)
    \hskip 1.15in \(u''(t) = -A\omega^2 cos(\omega t)\)

    Plug into  \(u''+u=cos(\omega t)\):
      
    \( -A\omega^2 cos(\omega t) + Acos(\omega t) = cos(\omega t)\)

    \(-A\omega^2 + A = 1\).  Thus \(A(1-\omega^2) = 1\)

    Hence \(A = {1 \over 1 - \omega^2}\)

    Thus general solution is 
      

    \(u(t) = c_1cos(t) + c_2sin(t)+ {1 \over 1 - \omega^2cos(\omega t)\)}

    NOTE:  Since we do not have damping, we do NOT have a transient solution.

    BUT if \(\omega\) is close to 1, then \( {1 \over 1 - \omega^2}\) is large and the term \({1 \over 1 - \omega^2}cos(\omega t)\) dominates.
     fill

    Trig background:

    \(cos (y \mp x) = cos(x \mp y) = cos(x) cos(y) \pm sin(x)sin(y)\)

    \(cos(u) + cos(v) = 2cos({u+v \over 2})cos({u-v \over 2})\)

    \(cos(u) - cos(v) = -2sin({u+v \over 2})sin({u-v \over 2})\)

    \(sin(u) + sin(v) = 2sin({u+v \over 2})cos({u-v \over 2})\)

    \(sin(u) - sin(v) = sin(u) + sin(-v) = 2sin({u-v \over 2})cos({u+v \over 2})\)

    ---

    Derivation:

    Let \(x = ({u+v \over 2})\) and \(y = ({u-v \over 2})\) 

    \( cos(u)= cos( ({u+v \over 2}) + ({u-v \over 2}))\)
    \w


    \( cos(v)= cos( ({u+v \over 2}) - ({u-v \over 2}))\)
    \w

    ---

    Ex:  \(u(t) = cos(t) + cos(3t) = \)

    Graph:


    {\bf No damping} example  \(mu''+ku=cos(\omega t)\).  
     
    Step 1:  Solve homogeneous \(mu''+ku=0\)

    \(mr^2 +k = 0\) implies \(r = \pm i qrt{k \over m\)}  

    Let \(\omega_0 =  qrt{k \over m}\). ~~~ Then \(r = \pm i \omega_0\) and 
      

    Step 2:  Find a non-homogeneous solution.
     

    IF \(\omega = \omega_0\), guess \(u(t) = t[Acos(\omega t) + Bsin(\omega t)]\)

    Plug in plus lots of work implies \(A = 0\) and \(B = {1 \over 2 qrt{mk}}\)

    Thus general non-homogeneous solution:  
      
    \(u(t) =  c_1cos(\omega_0 t) + c_2sin(\omega_0 t) +  {1 \over 2 qrt{mk}tsin(t) \)}


    IF \(\omega\neq \omega_0\), guess \(u(t) = Acos(\omega t)\)
    \hskip 1.in \(u'(t) = -A\omega sin(\omega t)\)
    \hskip 1.1in \(u''(t) = -A\omega^2 cos(\omega t)\)

    Plug into  \(mu''+ku=cos(\omega t)\):
      
    \( -mA\omega^2 cos(\omega t) + kAcos(\omega t) = cos(\omega t)\)

    \(-mA\omega^2 + kA = 1\).  Thus \(A(k-m\omega^2) = 1\)

    Hence \(A = {1 \over k - m\omega^2}\)

    Thus general solution is 
      

    \(u(t) =c_1cos(\omega_0 t) + c_2sin(\omega_0 t) + {1 \over k - m\omega^2cos(\omega t)\)}

    NOTE:  Since we do not have damping, we do NOT have a transient solution.

    BUT if \(\omega^2\) is close to \({k \over m}\), then \( {1 \over k - m\omega^2}\) is large and the term \({1 \over k - m\omega^2}cos(\omega t)\) dominates.
     fill


    Example {\bf  with small damping (\(\gamma = {1 \over 8} < 2  qrt{km}\)): }

    Compare book examples (see slides)

    \(u'' + {1 \over 8}u' + u = 3cos(0.3t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(2t), ~~u(0) = 2, ~~u'(0) = 0\)

    --- 

    Approximate midterm grades \u
    A \( \geq\)  52
     \u     A-   50-51
      \u      B+  48-49
      \u      B    42-47
      \u      B-   40-41
       \u     C+  38-39
       \u     C    28-37
       \u     C-  22-27
       \u      D 20-21
       \u      F 0-19

    \end
    Example {\bf  with small damping (\(\gamma = {1 \over 8} < 2  qrt{km}\)): }
    \(u''+{1 \over 8 u' + u=cos(\omega t)\) where \({1 \over 8}\) is small. }

    Step 1:  Solve homogeneous \(u''+ {1 \over 8} u'+u=0\)

    \(r^2 + {1 \over 8 r+1 = 0\) implies }


    $r_1, r_2 = {-{1 \over 8} \pm  qrt{({1 \over 8})^2 - 4} \over 2}=
    = {-{1 \over 8} \pm  qrt

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[3]/div[8]/div[3]/p[97]/span, line 1, column 10
    
    \over 2}
    = {-{1 \over 8} \pm { qrt{1 - 256}\over 8} \over 2}$

    $= {-{1 } \pm { qrt{- 255}} \over 16}= -{1 \over 16} \pm i{ qrt{255} \over 16}
    =
     {-{1 \over 8} \over 2} \pm i{ qrt{  4 - {1 \over 8}^2} \over 2} =  {-{1 \over 8} \over 2} \pm i b$

    Note if \({1 \over 8}\) is small, \(b = { qrt{  4 - {1 \over 8}^2} \over 2}\) is close to  \({ qrt{  4 } \over 2} = 1\)

       
     
    Step 2:  Find a non-homogeneous solution.
     

     guess \(u(t) = Acos(\omega t) + Bsin(\omega t)\)


    Example {\bf  with small damping (\(\gamma < 2  qrt{km}\)): }
    \(u''+\gamma u' + u=cos(\omega t)\) where \(\gamma\) is small. 

    Step 1:  Solve homogeneous \(u''+ \gamma u'+u=0\)

    \(r^2 + \gamma r+1 = 0\) implies 


    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4} \over 2}= {-\gamma \over 2} \pm i{ qrt{  4 - \gamma^2} \over 2} =  {-\gamma \over 2} \pm i b\)

    Note if \(\gamma\) is small, \(b = { qrt{  4 - \gamma^2} \over 2}\) is close to  \({ qrt{  4 } \over 2} = 1\)

       
     
    Step 2:  Find a non-homogeneous solution.
     

     guess \(u(t) = Acos(\omega t) + Bsin(\omega t)\)


    General non-homogeneous solution 

    \hskip .32in \(u'(t) = -A\omega sin(\omega t) + B\omega cos(\omega t)\)
    \hskip .31in \(u''(t) = -A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t)\)  

    Plug into \(u''+\gamma u' + u=cos(\omega t)\) to solve for \(A\) and \(B\):


    \(-A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t) \)

    \(+ B\omega\gamma cos(\omega t) - A\omega\gamma sin(\omega t) \)

    \( + Acos(\omega t) + Bsin(\omega t)\)

    ---------------------------------------


    \([-A\omega^2 +B\omega\gamma + A]cos(\omega t) + [- B\omega^2  - A\omega\gamma +B]sin (\omega t)\)


    Thus \(-A\omega^2 +B\omega\gamma + A = 1\) and 
    \(- B\omega^2  - A\omega\gamma +B = 0\)

    \(- B\omega^2  - A\omega\gamma +B = 0\) implies 
    \(B(-\omega^2   +1) = A\omega\gamma\) and thus 
    \(B = {A\omega\gamma  \over 1-\omega^2  }\)

    \(-A\omega^2 +B\omega\gamma + A = 1\) implies 

    \(-A\omega^2 +({A\omega\gamma  \over 1-\omega^2})\omega\gamma + A = 1\)


    \(A(-\omega^2 +{\omega^2\gamma^2  \over 1-\omega^2} + 1) = 1\)

    \(A[(1-\omega^2) (1-\omega^2)+{\omega^2\gamma^2  }] = 1-\omega^2\)

    \(A = {1-\omega^2 \over (1-\omega^2) (1-\omega^2)+{\omega^2\gamma^2  }}\)

     \(u(t) = e^ {-\gamma t \over 2m}[ c_1cos(bt) + c_2sin(bt)] + Acos(\omega t) + Bsin(\omega t)\)


    \(u'' + {1 \over 8}u' + u = 3cos(0.3t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(2t), ~~u(0) = 2, ~~u'(0) = 0\)

    \end

    Example {\bf  with small damping (\(\gamma < 2  qrt{km}\)): }
    \(u''+\gamma u' + u=cos(\omega t)\) where \(\gamma\) is small. 

    Step 1:  Solve homogeneous \(u''+ \gamma u'+u=0\)

    \(r^2 + \gamma r+1 = 0\) implies 


    \(r_1, r_2 = {-\gamma \pm  qrt{\gamma^2 - 4km} \over 2m}= {-\gamma \over 2m} \pm i{ qrt{  4km - \gamma^2} \over 2m} =  {-\gamma \over 2m} \pm i b\)

       

    Step 2:  Find a non-homogeneous solution.
     

     guess \(u(t) = Acos(\omega t) + Bsin(\omega t)\)
    \hskip .32in \(u'(t) = -A\omega sin(\omega t) + B\omega cos(\omega t)\)
    \hskip .31in \(u''(t) = -A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t)\)  

    Plug into \(u''+\gamma u' + u=cos(\omega t)\) to solve for \(A\) and \(B\):


    \(-A\omega^2 cos(\omega t) - B\omega^2 sin (\omega t) \)

    \(+ B\omega\gamma cos(\omega t) - A\omega\gamma sin(\omega t) \)

    \( + Acos(\omega t) + Bsin(\omega t)\)

    ---------------------------------------


    \([-A\omega^2 +B\omega\gamma + A]cos(\omega t) + [- B\omega^2  - A\omega\gamma +B]sin (\omega t)\)


    Thus \(-A\omega^2 +B\omega\gamma + A = 1\) and 
    \(- B\omega^2  - A\omega\gamma +B = 0\)

    \(- B\omega^2  - A\omega\gamma +B = 0\) implies 
    \(B(-\omega^2   +1) = A\omega\gamma\) and thus 
    \(B = {A\omega\gamma  \over 1-\omega^2  }\)

    \(-A\omega^2 +B\omega\gamma + A = 1\) implies 

    \(-A\omega^2 +({A\omega\gamma  \over 1-\omega^2})\omega\gamma + A = 1\)


    \(A(-\omega^2 +{\omega^2\gamma^2  \over 1-\omega^2} + 1) = 1\)

    \(A[(1-\omega^2) (1-\omega^2)+{\omega^2\gamma^2  }] = 1-\omega^2\)


     \(u(t) = e^ {-\gamma t \over 2m}[ c_1cos(bt) + c_2sin(bt)] + Acos(\omega t) + Bsin(\omega t)\)


    \(u'' + {1 \over 8}u' + u = 3cos(0.3t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(t), ~~u(0) = 2, ~~u'(0) = 0\)

    \(u'' + {1 \over 8}u' + u = 3cos(2t), ~~u(0) = 2, ~~u'(0) = 0\)

    \end


    Example with :  \(u''+ \gamma u' + u=0\).  I note that when gamma is postive and close to
    zero, the solution dies very slowly and introduce the notion of
    quasifrequency. I also notice that the oscillating behavior of the
    decaying solutions slows down as we increase the friction staying near zero.


    4.  Next I solve  u''+gamma u' + u=cos(omega t) and break the general
    solution into its transitory and steady state solution. I write the
    steady state solution in the form  amplitude times cos(omega t -delta)
    where delta is the phase shift and I plot the amplitude where gamma is
    fixed as small positive number.

    Hi Charlie,

    Just wanted to double check some assumptions regarding what we should cover and/or emphasize.

    Do students need to be able to convert homogeneous solution to R cos (wt - d) when roots are complex and should they be able to draw an accurate graph (determining applitude, period, and phase)?  Or is quasi-period sufficient?

    What about beat?  There is one HW problem where they need to combine a trig sum into a trig product, but no application problem.  Should students know the trig identities for this conversion for the exam?  Should they be able to graph beat?

    I assume we should emphasize transient vs steady state solution when there is damping?  As well as the concept of resonance?

    START 100/3.9.tex


    \(mu'' + \gamma u' + ku = F_0 cos (\omega t)\)

    Non-homogeneous solution:  Guess \(\p(t) = A cos(\omega t) + B sin(\omega t).\)

     \(\p'(t) = -A \o sin (\omega t) + B \o cos (\omega t) \)
    ~~and~~
    \(\p''(t) = -A \o^2 cos(\omega t) - B \o^2 sin(\omega t) \).

    Plug into \(mu'' + \gamma u' + ku = F_0 cos (\omega t)\):


    $m[-A \o^2 cos(\omega t) - B \o^2 sin(\omega t) ] + \gamma [  -A \o sin (\omega t) + B \o cos (\omega t) ] + k[A cos(\omega 
    t) + B sin(\omega t) ]$

    \(cos(\o t) [ -mA\o^2 + \ g B \o + kA] + sin(\o t) [ -mB \o^2 - \g A \o + kB]  = F_0 cos (\omega t)\)

    \(cos(\o t) [ (-m\o^2 + k) A + \ g  \o B ] + sin(\o t) [ (-m \o^2 + k)B - \g  \o A]  = F_0 cos (\omega t) + 0 sin(\omega t)\)

    \((-m\o^2 + k) A + \g  \o B  = F_0\)

    \((-m \o^2 + k)B - \g  \o A = 0\).  Thus \(A = {(-m \o^2 + k)B \over \g \o }\).
    \hfill
    Hence \( {(-m \o^2 + k)^2B \over \g \o } + \g  \o B  = F_0\).

    \( {(-m \o^2 + k)^2B  } + (\g  \o)^2 B  = F_0 \g \o \)
    \hfill
    \([ {(-m \o^2 + k)^2  } + (\g  \o)^2] B  = F_0 \g \o \)

    \( B  = {F_0 \g \o \over [ {(-m \o^2 + k)^2  } + (\g  \o)^2]}.\)
    \hfill
    Thus $A =  {(-m \o^2 + k)F_0 \g \o \over \g \o  [ {(-m \o^2 + k)^2  } + (\g  \o)^2] } =  {(-m \o^2 + k)F_0  \over  [ {(-m 
    \o^2 + k)^2  } + (\g  \o)^2] } $ 
     


     \(\p(t) = A cos(\omega t) + B sin(\omega t)  \) = \(Rcos(\omega t - \delta)\).

    where \(A = Rcos(\delta)\),  \(B = Rsin(\delta)\) in 
    \(Acos(\omega t) + B sin(\omega t)\).  Thus,

    \(Acos(\omega t) + B sin(\omega t)\)
    = \(Rcos(\delta)cos(\omega t) +  Rsin(\delta) sin(\omega t)\)
    = \(Rcos(\omega t - \delta)\)

    where $R =  qrt{A^2 + B^2} =   qrt{
     ({(-m \o^2 + k)F_0  \over  [ {(-m \o^2 + k)^2  } + (\g  \o)^2] } )^2 + ( {F_0 \g \o \over [ {(-m \o^2 + k)^2  } + (\g  
    \o)^2] } )^2
      }$

    $=  { F_0  \over  [ {(-m \o^2 + k)^2  } + (\g  \o)^2] }  qrt{
     ({(-m \o^2 + k) } )^2 + ( {\g \o } )^2
      }$

    $=  { F_0  \over  qrt{
     ({(-m \o^2 + k) } )^2 + ( {\g \o } )^2}
      }$
    $=  { F_0  \over  qrt{
     ({m ({k\over m} - \o^2) } )^2 + ( {\g \o } )^2}
      }$

    So $R =   { F_0  \over  qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}
      }\( for \) {\o_o}^2 = {k\over m}$

    Find maximux amplitude

    $R(\o) =   { F_0  \over  qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}
      }$ 
    =    \({ F_0 [{m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}  }]^{-1 \over 2} \) for \( {\o_o}^2 = {k\over m}\)

    $R'(\o) = -{1 \over 2}{ F_0 [{m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}  }]^{-3 \over 2}
     [2m^2 ( {\o_o}^2 - \o^2 )(-2\o) + 2 \g^2 \o   ] $

    Critical point occur when \( 2m^2 ( {\o_o}^2 - \o^2 )(-2\o) + 2 \g^2 \o    = 0\)


     \(2m^2 ( {\o_o}^2 - \o^2 )(-2\o) + 2 \g^2 \o    =  [-2m^2 ( {\o_o}^2 - \o^2 ) +  \g^2)] 2\o    = 0\)

    \(\o = 0\) or \( [-2m^2 ( {\o_o}^2 - \o^2 ) +  \g^2)] = 0\) 

     \( 2m^2 ( {\o_o}^2 - \o^2 ) =  \g^2\)  implies 
     \(  {\o_o}^2 - \o^2  = { \g^2 \over 2m^2}\)  
    implies \(   \o^2  = \o_o^2 - { \g^2 \over 2m^2}\)%   = \o_o^2 - { \g^2 k\over 2km^2}$  

    Critical pts are \(\o = 0, \pm  qrt{ \o_o^2 - { \g^2 \over 2m^2}} =  \pm  qrt{ \o_o^2 - { \g^2 k\over 2km^2}} =  \pm \o_o qrt{ 1 - { \g^2 \over 2mk}} =  \pm \o_o qrt{ S}\)


      % \({ F_0 [{m^2 ({ {\o_o}^2 - ( \o_o qrt{ 1 - { \g^2 \over 2k^2}})^2 } )^2 + ( {\g ( \o_o qrt{ 1 - { \g^2 \over 2k^2}}) } )^2}  }]^{-1 \over 2} \) 


    Maximum amplitude is
    \(R(  \pm \o_o qrt{ S}) =   { F_0  \over  qrt{m^2 ({ {\o_o}^2 - ( \o_o qrt{ S})^2 } )^2 + ( {\g ( \o_o qrt{ S}) } )^2}  }\) 
    \(=   { F_0  \over  qrt{m^2 ( {\o_o}^2 - \o_o^2 S  )^2 + \g^2  \o_o^2S   }}\) 

    \(=   { F_0  \over  qrt{m^2 ( {\o_o}^2 (1 -  S  ))^2 + \g^2  \o_o^2S   }}\) 
    \(=   { F_0  \over  qrt{m^2  {\o_o}^4 (1 -  S  )^2 + \g^2  \o_o^2S   }}\) 
    \(=   { F_0  \over \o_o qrt{m^2  {\o_o}^2 (1 -  S  )^2 + \g^2  S   }}\) 


    \(=   { F_0  \over \o_o qrt{ m^2  {k \over m}  (1 -  ( 1 - { \g^2 \over 2mk})  )^2 + \g^2  S   }}\) 
    \(=   { F_0  \over \o_o qrt{ mk  ( { \g^2 \over 2mk}  )^2 + \g^2  S   }}\) 
    \(=   { F_0  \over \o_o qrt{ { \g^4 \over 4mk}   + \g^2  S   }}\) 
    \(=   { F_0  \over \o_o\g qrt{ { \g^2 \over 4mk}   +  S   }}\) 

    \(=   { F_0  \over \o_o\g qrt{ { \g^2 \over 4mk}   +  1 - { \g^2 \over 2mk}   }}\) 
    \(=   { F_0  \over \o_o\g qrt{ { \g^2 \over 4mk}   +  1 - { 2\g^2 \over 4mk}   }}\) 
    \(=   { F_0  \over \o_o\g qrt{   1 - { \g^2 \over 4mk}   }}  im  { F_0  \over \o_o\g}(   1 + { \g^2 \over 8mk} )\)  for small \(\gamma \not=0\)

    via Taylor series expansion about \(\gamma = 0\)

    \(\gamma = 0\) (No damping):
    \(mu''  + ku = F_0 cos (\omega t)\)


    Homogeneous solution:  \(mr^2 + k = 0\) implies \(r = i  qrt{k \over m} = \o_o\) 
    Thus homogeneous solution: \(u = c_1 cos(\o_ot) + c_2 sin(\o_ot)\)

    A non-homogeneous solution to \(mu''  + ku = F_0 cos (\omega_o t)\) is of the form
    \(u = t(A cos(\o_ot) + Bsin(\o_ot)) = tRcos(\o_o - \delta)\).  Thus amplitude \(\rightarrow \infty\) as \(t \rightarrow \infty\)  

    \end
    \(tan \delta = {B \over A}\)

    \(cos \delta = {A \over R}\) = $m( \o_0^2 - \o^2) \over 
      qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}$, \hfil
    $sin \delta = {B \over R} = {\g \o \over  
     qrt{
    m^2 ({ {\o_o}^2 - \o^2 } )^2 + ( {\g \o } )^2}  }$ 

    \end

    START 100/FALL17/quiz4Fall2017formBans.tex part 4

    2.)  Given that the solution to \(y'' + y = 0\) is \(y = c_1cos(t) + c_2sin(t)\), what would be a good guess for a non-homogeneous solution to
    \(y'' + y = sin(3t)\)?  Note you do not need to solve this differential equation.  You also don't need to determine the undetermined coefficients.

    Acceptable guess:  \(\underline{~y = Acos(3t) + Bsin(3t) ~\)}
      skip 10pt
    Best guess:  \(\underline{~y = Bsin(3t) ~\)}
    Since no \(y'\) term, don't need \(cos\) term.  However, both guesses will give you the correct non-homogeneous solution, so both answers are correct since I didn't ask for the best guess.

    \end

    Chapter 4: Higher-Order Differential Equations

    Section 4.1: General Theory of nth Order Linear Differential Equations

    START 100/4_1.tex

    {\bf 4.1: General Theory of nth Order Linear Equations}
    \u
    {\it Thm:}  \(L(y) = y^{(n)} + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y \) is a linear function.
    \u
    Proof: 
    Let \(a, b\) be real numbers.
    \u
    \(L(af + bg) \)
     
    \(= (af + bg)^{(n)} + p_1(t)(af + bg)^{(n-1)} + ... + p_{n-1}(t)(af + bg)' + p_n(t)(af + bg)\)
    \(= af^{(n)} + bg^{(n)} + p_1(af^{(n-1)} + bg^{(n-1)}) + ... + p_{n-1}(af' + bg')+ p_n(af + bg)\)
    \line{\(= af^{(n)} + p_1af^{(n-1)} + ... + p_{n-1}af' + p_naf + bg^{(n)} + p_1bg^{(n-1)}+ ... + p_{n-1} bg'+ p_n bg\)}
    \(= a[f^{(n)} + p_1f^{(n-1)} + ... + p_{n-1}f' + p_nf] + b[g^{(n)} + p_1g^{(n-1)}+ ... + p_{n-1} g'+ p_n g]\)
     

    \hskip 0.67in \(= aL(f) + bL(g)\)

    {\it Theorem:}  If \(\phi_i\), \(i = 1, ..., n\) are solutions to a homogeneous linear differential equation (i.e.,  \(y^{(n)} + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\) (*) ) , then \(c_1\phi_1 + c_2\phi_2 + ... + c_n\phi_n\) is also a solution to this linear differential equation.
    \u
    {\it Pf:}  Since \(\phi_i\), \(i = 1, ..., n\) are solutions to (*), \(L(\phi_i) = 0\) for \(i = 1, ..., n\).\hb Thus \(L(c_1\phi_1 + c_2\phi_2 + ... + c_n\phi_n) = c_1L(\phi_1) + c_2L(\phi_2) + ... + c_nL(\phi_n) = 0\).  Thus \(c_1\phi_1 + c_2\phi_2 + ... + c_n\phi_n\) is also a solution to (*).


    ---
    \u
    Solve: \(y'' + y = 0\),  \(y(0) = -1\), \(y'(0) = -3\)
    \u
    \(r^2 + 1 = 0\) implies \(r^2 = -1\).  Thus \(r = \pm i\).
     \u

     Since \(r = 0 \pm 1i\),  \(y = k_1cos(t) + k_2sin(t)\).
    Then \(y' = -k_1sin(t) + k_2 cos(t)\)
    \u\t
     \(y(0) = -1\):   ~   \(-1 = k_1cos(0) + k_2sin(0)\) implies \(-1 = k_1\)
    \u 
     \(y'(0) = -3\): ~  \(-3 = -k_1sin(0) + k_2 cos(0)\) implies \(-3 = k_2\)
    \u\t
    Thus IVP solution:  \(y = -cos(t)  - 3sin(t)\)
     
    {\bf When does the following IVP have a unique solution:}
    \u
    \u
    IVP:  \(y^{(n)} + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\), ~~

    \u
    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t) + ... + c_n\phi_n(t)\) is a solution to this IVT  Then 

     
    \(y(t_0) = y_0\):  ~~\(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)+  ... + c_n\phi_n(t_0)\)
     
    \(y'(t_0) = y_1\):  ~~\(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)+  ... + c_n\phi_n'(t_0)\)
     
    .
    \u.
    \u.
    \( y^{(n-1)(t_0) = y_{n-1}\): ~~~\(y_{n-1} = c_1\phi_1^{(n-1)}(t_0) + c_2\phi_2^{(n-1)}(t_0)+  ... + c_n\phi_n^{(n-1)}(t_0)\)}


    To find IVP solution, need to solve above system of equations for the unknowns \(c_i\), \(i = 1, ..., n\).

    Note the IVP has a unique solution if and only if the above system of equations has a unique solution for the  \(c_i\).

    Note that in these equations the \(c_i\)  are the unknowns and\hb the \(y_i,  \phi_i(t_0),... \phi_i^{(n-1)}(t_0)\),  are the constants.  \hb
    We can translate this linear system of equations into matrix form:

     
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) & ... &\phi_n(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) & ... &\phi_n'(t_0)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t_0) & \phi_2^{(n-1)}(t_0) & ... &\phi_n^{(n-1)}(t_0) } \right]
    \left[\matrix{c_1 \cr c_2 \cr . \cr . \cr . \cr c_n} \right] = \left[\matrix{y_0 \cr y_1 \cr . \cr . \cr . \cr y_{n-1}} \right] $}

    Note this equation has a unique solution if and only if 
     

    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) & ... &\phi_n(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) & ... &\phi_n'(t_0)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t_0) & \phi_2^{(n-1)}(t_0) & ... &\phi_n^{(n-1)}(t_0) } \right] \not= 0$ }


    {\it Definition: } The Wronskian of the functions, \(\phi_1\), \(\phi_2\),...,  \(\phi_n\) is 
     
    $W(\phi_1, \phi_2, ..., \phi_n) = det\left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right]$}

    {\it Theorem:}  Suppose that \(\phi_i\), \(i = 1, ..., n\) are  solutions to 
     
    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\).}
    \u
       If \(W(\phi_1, \phi_2, ..., \phi_n)(t_0)  \not= 0\), 
    then there is a unique choice of constants \(c_i\) such that \(c_1\phi_1 + c_2\phi_2 + ... + c_n\phi_n\) 
    satisfies this 
    homogeneous linear differential 
    equation and  initial conditions, \(y(t_0) = y_0\), \(y'(t_0) = y_1, ..., y^{(n-1)}(t_0) = y_{n-1}\).


    Recall \(\phi_1, ..., \phi_n\) are linearly independent iff \(c_1 =  ... = c_n = 0\) is the only solution to \(c_1\phi_1 + ... + c_n\phi_n = {\bf 0}\).

    If \(\phi_i\) are functions of \(t\), then \({\bf 0}\) is the constant function, \({\bf 0}(t) = 0\) for all \(t\).
    \hb
    Thus \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { 0}\) for all \(t\).


    Hence \(c_1\phi_1^{(k)}(t) + ... + c_n\phi_n^{(k)}(t) = { 0}\) for all \(t\), \(k\) if derivatives exist.


    Thus \(\phi_1, ..., \phi_n\) are linearly independent 
    iff for any given \(f\), \hb \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { 0}\)  has a unique  solution (that works for all \(t\)).


    iff the following system of equations has   a unique solution  
    \(c_1\phi_1(t) + c_2\phi_2(t)+  ... + c_n\phi_n(t) = 0\)
     
    \( c_1\phi_1'(t) + c_2\phi_2'(t)+  ... + c_n\phi_n'(t) = 0\)

    .
    .
    .
     
    \(c_1\phi_1^{(n-1)(t) + c_2\phi_2^{(n-1)}(t)+  ... + c_n\phi_n^{(n-1)}(t) = 0\)}


    iff the following system of equations has a unique solution  
    $\left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right]
    \left[\matrix{c_1 \cr c_2 \cr . \cr . \cr . \cr c_n} \right] = \left[\matrix{0 \cr 0\cr . \cr . \cr . \cr 0  } \right] $}

    Note this equation has a unique solution if and only if for some \(t_0\)
     


    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) & ... &\phi_n(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) & ... &\phi_n'(t_0)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t_0) & \phi_2^{(n-1)}(t_0) & ... &\phi_n^{(n-1)}(t_0) } \right] \not= 0$ }
     

    iff ~~
    \(W(\phi_1, \phi_2, ..., \phi_n)(t_0)  \not= 0\), 

    {\bf Example}:  Determine if \(\{1 + 2t, 5 + 4t^2, 6 - 8t  + 8t^2\}\) are linearly independent:

    {\it Method 1:}  Solve \(c_1(1 + 2t) + c_2(5 + 4t^2) + c_3(6 - 8t  + 8t^2) = 0\)

    Or equivalently, solve  \(c_1 \left[\matrix{1 \cr 2 \cr 0  } \right] + c_2 \left[\matrix{5 \cr 0 \cr 4  } \right]  + c_3 \left[\matrix{~6 \cr -8 \cr ~8 } \right]  =  \left[\matrix{0 \cr 0 \cr 0  } \right]  \)


    Or equivalently, solve  $ \left[\matrix{1 & 5 & ~6  \cr 2 & 0 & -8 \cr 0 & 4 & ~8  } \right] 
    \left[\matrix{c_1 \cr c_2 \cr c_3} \right] = \left[\matrix{0 \cr 0 \cr 0  } \right]$

    {\it Method 2:} Check the Wronskian

    ---

    {\bf \(n\)th order LINEAR differential equation:}

    Theorem 4.1.1:  If \(p_i:(a, b) \rightarrow R\), \(i = 1, ..., n\) and \(g:(a, b) \rightarrow R\) 
    are 
    continuous and \(a < t_0 < b\), then
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the
    initial value problem

     \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y  = g(t)\),}
    \(y(t_0) = y_0\), ~~\(y'(t_0) = y_1\), ~~\(y^{(n-1)(t_0) = y_{n-1}\)}

    Proof:  We proved the case \(n = 1\) using an integrating factor.  When \(n > 1\), see more advanced textbook.  

     fill

    {\bf Claim}:   If \(p_i\) are continuous on \((a, b)\), if \(\phi_1, ..., \phi_n\) are linearly independent solutions to 

    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\),}
    \u
     then \(\{\phi_1, ..., \phi_n\}\) is a basis for the solution set to this differential equation.

     fill

    {\it Theorem 4.1.2}:  If \(p_i\) are continuous on \((a, b)\),
    suppose that \(\phi_i\), \(i = 1, ..., n\)  are  
    solutions to \(y^{(n)} + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\). \hb
     If \(W(\phi_1, \phi_2, ..., \phi_n)(t_0) \not= 0\), 
    for some \(t_0 \in (a, b)\), then any solution to this homogeneous linear differential
    equation can be written as

     $y = 
    c_1\phi_1 + c_2\phi_2 + ... + c_n\phi_n\( for some constants \)c_i$.
     fill

    {\it Defn:}   The \(\phi_1, ..., \phi_n\) are called a fundamental set of solutions to 

    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\).}
     fill

    {\it Theorem:}  Given any \(n\)th order homogeneous linear differential equation, there exist a set of \(n\)  functions which form a fundamental set of solutions.

     fill

    \end

    Recall \(\phi_1, ..., \phi_n\) are linearly independent iff \(c_1 =  ... = c_n = 0\) is the only solution to \(c_1\phi_1 + ... + c_n\phi_n = {\bf 0}\).

    If \(\phi_i\) are functions of \(t\), then \({\bf 0}\) is the constant function \({\bf 0}(t) = 0\) for all \(t\).
    \hb
    Thus \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { 0}\) for all \(t\).


    Equivalently, \(\phi_1, ..., \phi_n\) are linearly independent iff  for any given \(f\), \hb \(c_1\phi_1 + ... + c_n\phi_n = { f}\) has at most one  solution.


    If \(\phi_i\) are functions of \(t\), then \({ f}\) is also a function.

    Thus \(c_1\phi_1(t) + ... + c_n\phi_n(t) = f(t)\) for all \(t\).


    Hence \(c_1\phi_1^{(k)}(t) + ... + c_n\phi_n^{(k)}(t) = f^{(k)}(t)\) for all \(t\), \(k\) if derivatives exist.


    Thus \(\phi_1, ..., \phi_n\) are linearly independent 

    iff for any given \(f\), \hb \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { f(t)}\)  has at most one  solution (that works for all \(t\)).


    iff the following system of equations has  has at most one  solution  
    \(c_1\phi_1(t) + c_2\phi_2(t)+  ... + c_n\phi_n(t) = f(t)\)
     
    \( c_1\phi_1'(t) + c_2\phi_2'(t)+  ... + c_n\phi_n'(t) = f'(t)\)

    .
    .
    .
     
    \(c_1\phi_1^{(n-1)(t) + c_2\phi_2^{(n-1)}(t)+  ... + c_n\phi_n^{(n-1)}(t) = f^{(n-1)}(t)\)}


    iff the following system of equations has a unique solution  
    $\left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right]
    \left[\matrix{c_1 \cr c_2 \cr . \cr . \cr . \cr c_n} \right] = \left[\matrix{f(t) \cr f'(t) \cr . \cr . \cr . \cr f^{(n-1)}(t)   } \right] $}

    Note this equation has a unique solution if and only if 
     

    $det \left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right] \not= 0$ }

    \end{document}

    START 100/4_1Abel.tex


    Ex:  Find the Wronskian of a fundamental set of solutions of the DE

    \(y'' + 5y' = 0\)

    Method 1:  Find homogeneous solution

    \(r^2 + 5r = 0\) implies \(r = 0, -5\)

    homog sol'n \(y = c_1e^{0t} + c_2e^{-5t} = c_1(1) + c_2e^{-5t} = c_1 + c_2e^{-5t}\)

    A fundamental set of solutions:  \(\{1, e^{-5t}\}\)


     Wronskian =  \(W(1,  e^{-5t})(t) = det\left(\matrix{1 &  e^{-5t} \cr 0 & -5 e^{-5t}}\right) =  -5 e^{-5t}\)


    Method 2:  Abel's theorem:  
     Wronskian = \(ce^{-\int p_1(t)dt}\)

    \(y'' + 5y' = 0\) implies \(p_1(t) = 5\).  

    Thus Wronskian = \(W(1,  e^{-5t})(t) =ce^{-\int 5dt} = c e^{-5t}\)


    The above is what the book is looking for, but we can find \(c\).

    \(W(\phi 1, \phi 2)(0) = det\left(\matrix{1 &  1 \cr 0 & -5 }\right) = -5\)


     \(W(\phi 1, \phi 2)(0) = c e^{0} = c\)


    Thus \(c = -5\)


    Thus  \(W(1,  e^{-5t})(t)  = -5 e^{-5t}\)

    \end

    START 100/4_1unity.tex

    \documentclass[20pt]{extarticle}
    \usepackage{amsmath,mathpazo,gensymb}
    \usepackage{tikz}
     etcounter{page}{3} 


     \textwidth 7.55in
    \oddsidemargin = -0.42in
    \evensidemargin = -0.42in
    \columnsep = .25in
    \columnseprule = .4pt


     
    \begin{document}
     

    Solving polynomial equations:

    Example:  \(r^3+r^2+3 r+10 = 0\)

    Plug in \(r = \pm 1, \pm 2, \pm 5, \pm 10\) to see if any of these are solns:


    ~~~~~~\((\pm 1)^3+ (\pm 1)^2+3 (\pm 1)+10 \not= 0\)

    ~~~~~~\((\pm 2)^3+ (\pm 2)^2+3 (\pm 2)+10~ ?=? 0\)

    ~~~~~~\((-2)^3+ (- 2)^2+3 (-2)+10 = -8 + 4 - 6 + 10 =  0\)

    Thus \((r - (-2))\) is a factor of \(r^3+r^2+3 r+10\)

    Hence \(r^3+r^2+3 r+10 = (r + 2)(r^2 + \underline{\hskip 40pt}~ r + 5)\)
     fill

    To find the coefficient of \(r\) in the above, you can do so by \hb (1) long division,  (2) inspection,  (3) using variable \(x\)

    \(r^3+r^2+3 r+10 = (r + 2)(r^2 + \underline{~~x~~}~ r + 5)\)


    $ (r + 2)(r^2 + \underline{~~x~~}~ r + 5) =
    r^3 + (2+x)r^2 + (2x+5)r + 10$

    Thus \(2 + x = 1\) and hence \(x = -1\)
    Check: \(2x + 5 = 2(-1) + 5 = 3\)


    Hence \(r^3+r^2+3 r+10 = (r + 2)(r^2 -r + 5) = 0\)

    Thus \(r = -2, \frac{1 \pm  qrt{1 - 20}}{2}\).  ~~~~~~~~~~~~~~~~~~~~Thus \(r = -2,  \frac{1 \pm i  qrt{19}}{2}\).

    In special cases, you can use the unit circle.

    Ex:  \(r^4 + 1 = 0\) implies
     
       $r = (-1)^ \frac{1}{4} = (-1 + 0i)^ \frac{1}{4}
     = (e^{i \pi})^ \frac{1}{4} =  (e^{i (\pi + 2\pi k)})^ \frac{1}{4}  $
     
    \(k = 0: \) ~~~~~
    $ e^\frac{i \pi}{4} = cos(\frac{ \pi}{4}) + i sin(\frac{ \pi}{4})
    =  \frac{ qrt{2}}{2} + i  \frac{ qrt{2}}{2}$
     
     
    \(k = 1: \) ~~~~~
    $ e^\frac{3i \pi}{4} = cos(\frac{3 \pi}{4}) + i sin(\frac{3 \pi}{4})
    = -\frac{ qrt{2}}{2} + i \frac{ qrt{2}}{2}$
     
     \(k = 2: \) ~~~~~
    $ e^\frac{5i \pi}{4} = cos(\frac{5 \pi}{4}) + i sin(\frac{5 \pi}{4})
    = -\frac{ qrt{2}}{2} - i \frac{ qrt{2}}{2}$

     \(k = 3: \) ~~~~~
    $ e^\frac{7i \pi}{4} = cos(\frac{7 \pi}{4}) + i sin(\frac{7 \pi}{4})
    = \frac{ qrt{2}}{2} - i \frac{ qrt{2}}{2}$ 


     
    \begin{tikzpicture} [&gt;=stealth, scale=1.9, 
    angle/.style={fill=white},
    point/.style={},
    ]
        \draw [white] (-3.6,-3.6) rectangle (3.6,3.6);
        \draw [thick,fill=white] (0,0) circle (3cm);
        \draw [thick, ] (-3.3,0) -- (3.3,0);
        \draw [thick, ] (0,-3.3) -- (0,3.3);
        \draw (0,0) --  node [angle] {\(\frac{\pi}{2}\)} (90:3)
                    node[point, above right] {\( \left(0,1\right) \)};
        \draw (0,0) --  node [angle] {\footnotesize{\(\pi\)}} (180:3)
                    node[point, above left] {\(-1 + 0i = \left(-1,0\right) \)};
        \draw (0,0) --  node [angle] {\(\frac{3\pi}{2}\)} (270:3)
                    node[point, below right] {\( \left(0,-1\right) \)};
        \draw (0,0) --  node [angle] {\footnotesize{\(2\pi\)}} (0:3)
                    node[point, above right] {\( \left(1,0\right) \)};
        \draw (0,0) --  node [angle] {\(\frac{\pi}{4}\)} (45:3)
                    node [point, above right] {\( \left( \frac{ qrt2}{2} , \frac{ qrt2}{2}  \right) \)};
        \draw (0,0) --  node [angle] {\(\frac{3\pi}{4}\)} (135:3)
                    node [point, above left] {\( \left( -\frac{ qrt2}{2} , \frac{ qrt2}{2}  \right) \)};
        \draw (0,0) --  node [angle] {\(\frac{5\pi}{4}\)} (225:3)
                    node [point, below left] {\( \left( -\frac{ qrt2}{2} , -\frac{ qrt2}{2}  \right) \)};
        \draw (0,0) --  node [angle] {\(\frac{7\pi}{4}\)} (315:3)
                    node [point, below right] {\( \left( \frac{ qrt2}{2} , -\frac{ qrt2}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{\pi}{6}\)} (30:3)
                    node [point, above right] {\( \left( \frac{ qrt3}{2} , \frac{1}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{\pi}{3}\)} (60:3)
                    node [point, above right] {\( \left( \frac{1}{2} , \frac{ qrt3}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{2\pi}{3}\)} (120:3)
                    node [point, above left] {\( \left( -\frac{1}{2} , \frac{ qrt3}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{5\pi}{6}\)} (150:3)
                    node [point, above left] {\( \left(- \frac{ qrt3}{2} , \frac{1}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{7\pi}{6}\)} (210:3)
                    node [point, below left] {\( \left(- \frac{ qrt3}{2} , -\frac{1}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{4\pi}{3}\)} (240:3)
                    node [point, below left] {\( \left( -\frac{1}{2} , -\frac{ qrt3}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{5\pi}{3}\)} (300:3)
                    node [point, below right] {\( \left( \frac{1}{2} , -\frac{ qrt3}{2}  \right) \)};
        \draw (0,0) --  node [near end, angle] {\(\frac{11\pi}{6}\)} (330:3)
                    node [point, below right] {\( \left( \frac{ qrt3}{2} , -\frac{1}{2}  \right) \)};
     
        \foreach \n in {1,2,3,4}
            \foreach \t in {0,30,45,60}
                \fill (\n*90+\t:3) circle (0.03cm);
    \end{tikzpicture}


    \(sin(0) =  \frac{ qrt{0}}{2} = 0\) \hskip 1in \(cos(0) =  1\) 
    \u
    \(sin(\frac{\pi}{6}) =  \frac{ qrt{1}}{2} = \frac{1}{2}\) \hskip 1in \(cos(\frac{\pi}{6}) =  \frac{ qrt{3}}{2} \)
    \u
    \(sin(\frac{\pi}{4}) =  \frac{ qrt{2}}{2}\)  \hskip 1.55in \(cos(\frac{\pi}{4}) =  \frac{ qrt{2}}{2} \)
    \u
    \(sin(\frac{\pi}{3}) =  \frac{ qrt{3}}{2}\) \hskip 1.55in \(cos(\frac{\pi}{3}) =  \frac{1}{2} \)
    \u
    \(sin(\frac{\pi}{2}) =  \frac{ qrt{4}}{2} = 1\) \hskip 1in \(cos(\frac{\pi}{2}) =  0 \)

    ---

    Example:  Solve \(y^{(iv)} + y = 0\)
     
    \(y = e^{rt}\) implies \(r^4 + 1 = 0\) and thus 


    \(r = \frac{ qrt{2}{2} \pm i \frac{ qrt{2}}{2}\) and
    \(r = -\frac{ qrt{2}}{2} \pm i \frac{ qrt{2}}{2}\)}


    Thus general homogeneous solution is

    \(y = c_1 e^{ \frac{ qrt{2}}{2}t}cos( \frac{ qrt{2}}{2}t) + c_2 e^{ \frac{ qrt{2}}{2}t}sin( \frac{ qrt{2}}{2}t)\)

    \end{document}

    Longer method:

     \(r^4 + 1 = (r^2 - i)(r^2 + i) = 0\)
     Thus \(r = \pm  qrt{i}, ~\pm  qrt{-i} = \pm i qrt{i}\)
    $   = (r -  qrt{i})( (r +  qrt{i})
     (r - i qrt{i})( (r + i qrt{i})$

    But what is \( qrt{i}\)?

    \(0 + 1i = e^{i \pi}{2}\).  Thus  $ qrt{i} =  qrt{ e^{i \pi}{2}} = e^{i({ \pi}{2} + 2 \pi k)}{2} = 
    e^{\frac{i \pi}{4}},  e^

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[4]/div[1]/div[3]/p[32]/span, line 1, column 3
    
    $

    $e^{\frac{i \pi}{4}}  = cos(\frac{i \pi}{4}) + i sin(\frac{i \pi}{4})
    = \frac{ qrt{2}}{2} + i \frac{ qrt{2}}{2}$

    {\bf Shorter method: }

    $r = {-b \pm  qrt{b^2 - 4ac}}{2a} = { qrt{-4i}}{2} = 
    i qrt{i}$

    \end{document}

    Section 4.2: Homogeneous Differential Equations with Constant Coefficients

    START 100/ch4.tex part 2

     \(\phi_1, ..., \phi_n\) are linearly independent 

    iff  

     \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { 0}\)  has a unique  solution (that works for all \(t\)).

    iff  

    the following system of equations has   a unique solution  
    \(c_1\phi_1(t) + c_2\phi_2(t)+  ... + c_n\phi_n(t) = 0\)
     
    \( c_1\phi_1'(t) + c_2\phi_2'(t)+  ... + c_n\phi_n'(t) = 0\)

    .
    .
    .
     
    \(c_1\phi_1^{(n-1)(t) + c_2\phi_2^{(n-1)}(t)+  ... + c_n\phi_n^{(n-1)}(t) = 0\)}


    iff the following system of equations has a unique solution  
    $\left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right]
    \left[\matrix{c_1 \cr c_2 \cr . \cr . \cr . \cr c_n} \right] = \left[\matrix{0 \cr 0\cr . \cr . \cr . \cr 0  } \right] $}

    Note this equation has a unique solution if and only if for some \(t_0\)
     


    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) & ... &\phi_n(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) & ... &\phi_n'(t_0)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t_0) & \phi_2^{(n-1)}(t_0) & ... &\phi_n^{(n-1)}(t_0) } \right] \not= 0$ }
     

    iff ~~
    \(W(\phi_1, \phi_2, ..., \phi_n)(t_0)  \not= 0\), 

    {\bf Example}:  Determine if \(\{1 + 2t, 5 + 4t^2, 6 - 8t  + 8t^2\}\) are linearly independent:

    {\it Method 1:}  \hb Solve \(c_1(1 + 2t) + c_2(5 + 4t^2) + c_3(6 - 8t  + 8t^2) = 0\)

    Or equivalently, 


    Or equivalently, solve  $ \left[\matrix{1 & 5 & ~6  \cr 2 & 0 & -8 \cr 0 & 4 & ~8  } \right] 
    \left[\matrix{c_1 \cr c_2 \cr c_3} \right] = \left[\matrix{0 \cr 0 \cr 0  } \right]$

    {\it Method 2:} Check the Wronskian

    \(det   \left[\matrix{1 + 2t & 5 + 4t^2 & 6 - 8t  + 8t^2  \cr 2 & 8t & -8 + 16t \cr 0 & 8 & 16  } \right]\)

    \end

    Section 4.3: The Method of Undetermined Coefficients

    START 100/4_3ex1.tex

    Solve \(y''' - 3y'' + 3y' - y = te^{t}\)


    Step 1:  Solve homogenous:   \(y''' - 3y'' + 3y' - y = 0\)


    \end

    START 100/4_3ex1.tex

    Solve \(y''' - 3y'' + 3y' - y = te^{t}\)


    Step 1:  Solve homogenous:   \(y''' - 3y'' + 3y' - y = 0\)


    \end

    START 100/ch4.tex part 1

    {\bf \(n\)th order LINEAR differential equation:}

    Thm 2.4.1:  
    If \(p\) and \(g\) are continuous on \((a, b)\) and the
    point \(t_0 \in (a, b)\), 
    then there exists a unique function \(y = \phi(t)\) defined on \((a, b)\) that 
    satisfies the following 
    initial value problem:  
    \(y' + p(t)y = g(t),~~ y(t_0) = y_0.\)


    Thm 3.2.1:  If \(p:(a, b) \rightarrow R\), \(q:(a, b) \rightarrow R\), and \(g:(a, b) \rightarrow R\) 
    are 
    continuous and \(a < t_0 < b\), then
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the
    initial value problem
    \(y'' + p(t) y' + q(t)y = g(t)\),
    \(y(t_0) = y_0\), ~~\(y'(t_0) = y_1\)

    Theorem 4.1.1:  If \(p_i:(a, b) \rightarrow R\), \(i = 1, ..., n\) and \hb \(g:(a, b) \rightarrow R\) 
    are 
    continuous and \(a < t_0 < b\), then
    there exists a unique function \(y = \phi(t)\), \(\phi:(a, b) \rightarrow R\) that satisfies the
    initial value problem
     \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y  = g(t)\),}
    \(y(t_0) = y_0\), ~~\(y'(t_0) = y_1\), ..., ~~\(y^{(n-1)(t_0) = y_{n-1}\)}

    Proof:  We proved the case \(n = 1\) using an integrating factor.  When \(n > 1\), see more advanced textbook.  

    Example 4 from ch 2:  \((t^2 - 1)y' + {(t+1)y \over t - 4} = ln|t|, ~y(3) = 6\)

    This equation is linear, so we know that it has a unique solution as long as \(p\) and \(g\) are continuous.

    \((t^2 - 1)y' + {(t+1)y \over t - 4} = ln|t| ~\Rightarrow~ 1y' + {(t+1) \over (t - 4)(t^2 - 1)}y = {ln|t| \over t^2 - 1}\)


    Note \(p(t) =  {(t+1) \over (t - 4)(t^2 - 1)} = {(t+1) \over (t - 4)(t +1)(t- 1)}= {1 \over (t - 4)(t- 1)}\) is   continuous for all \(t \not= 1, 4\)

    Note \(g(t) ={ln|t| \over t^2 - 1} = {ln|t| \over (t +1)(t- 1)}\) is   continuous for all \hb \(t \not= -1, 0, 1\)


    Thus \(ty' - y = 1, ~y(t_0) = y_0\) has a unique solution as long as \(t_0 \not= -1, 0, 1, 4\).

    Since for IVP,  \((t^2 - 1)y' + {(t+1)y \over t - 4} = ln|t|, ~y(3) = 6\), \hb
    \(t_0 = 3\), this IVP has a unique solution which by Thm 4.1.1 is valid on the interval
      \((1, 4)\).

    {\bf NOTE:}  Theorem 4.1.1 is VERY useful in the real world.  Suppose you can't solve the linear differential equation directly.  You may be able to instead approximate the solution -- see for example ch 5 series solution (guess \(y =  um a_nx^n\)), which we won't cover in this class or MATH:3800 Elementary Numerical Analysis.

    But your approximation is not of much use unless you know where your approximation is valid.

    To solve  \(ay'' + by' + cy = g(t)\)

    1.)  Easily solve homogeneous DE:   \(ay'' + by' + cy = 0\)
    \u
    \(y = e^{rt} \Rightarrow ar^2 + br + c =0 \Rightarrow y = c_1\phi_1 + c_2\phi_2\) for homogeneous solution
    (see sections 3.1, 3.3, 3.4, 4.1).
     

    2.)  More work:  Find one solution to  \(ay'' + by' + cy = g(t)\)
    (see sections 3.5 = 4.3,~~ 3.6 = 4.4)
    \u
    If \(y = \psi(t)\) is a soln to the nonhomogeneous DE, then general soln to \(ay'' + by' + cy = g(t)\)
    is 
     
    \(y =  c_1\phi_1 + c_2\phi_2 + \psi\)

     
    Check:  \(a\phi_1'' + b\phi_1' + c\phi_1 = 0\)
    \hskip 0.47in \(a\phi_2'' + b\phi_2' + c\phi_2 = 0\)
    \hskip 0.47in \(a\psi'' + b\psi' + c\psi = g(t)\)

    ---
    \u\u

    Note you can break step 2 into simpler parts.  For example:

    To solve \(ay'' + by' + cy = g_1(t) + g_2(t)\)
    \u
    1.)  Solve  \(ay'' + by' + cy = 0 ~~\Rightarrow~~  y = c_1\phi_1 + c_2\phi_2\) for

    \u
    2a.)   Solve  \(ay'' + by' + cy = g_1(t) ~~\Rightarrow~~  y = \psi_1\) 
    \u
    2b.)   Solve  \(ay'' + by' + cy = g_2(t) ~~\Rightarrow~~  y = \psi_2\) 
     
    General solution to  \(ay'' + by' + cy = g_1(t) + g_2(t)\) is
    \( y = c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2\) 


    {\bf When does the following IVP have  unique sol'n:}

    IVP:  \(ay'' + by' + cy = g(t)\), \(y(t_0) = y_0\), \(y'(t_0) = y_1\).

    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t) +\psi(t)\) is a solution to 
     
    \(y' = c_1\phi_1'(t) + c_2\phi_2'(t) + \psi'(t)\)}

    \(y(t_0) = y_0\):  ~~\(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0) + \psi(t_0)\)

    \(y'(t_0) = y_1\):  ~~\(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)+ \psi'(t_0)\)

    To find IVP solution, need to solve above system of two equations for the unknowns \(c_1\) and \(c_2\).

    Note the IVP has a unique solution if and only if the above system of two equations has a unique solution for \(c_1\) and \(c_2\).


    Note that in these equations \(c_1\) and \(c_2\) are the unknowns.

    Let \(b_0 = y_0 - \psi(t_0)\) and \(b_1 = y_1 - \psi'(t_0)\)

    We can translate this linear system of equations into matrix form:
    \u
    $\matrix{c_1\phi_1(t_0) + c_2\phi_2(t_0) = b_0 \cr
    c_1\phi_1'(t_0) + c_2\phi_2'(t_0) = b_1}\( \hfill \)\Rightarrow$ \hfill
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0)} \right]\left[\matrix{c_1 \cr c_2} \right]=\left[\matrix{b_0 \cr b_1} \right] $

    Note this equation has a unique solution if and only if 
     
    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) \right] = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|  = \phi_1 \phi_2' - \phi_1'\phi_2 \not= 0$ }


    Definition:  The Wronskian of two differential functions, \(\phi_1\) and \(\phi_2\) is 
    \u\u
    \(W(\phi_1, \phi_2) = \phi_1 \phi_2' - \phi_1'\phi_2 = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}

    Examples:
    \u\u\u
    1.)  W(\(cos(t)\), \(sin(t)\)) =
    \(\left|\matrix{cos(t) & sin(t) \cr -sin(t) & cos(t)}\right| \)
      
    \(~~~~~~~~~~~~~~~~= cos^2(t) + sin^2(t) = 1 > 0.\) 

    2.)  W(\(e^{dt}cos(nt)\), \(e^{dt}sin(nt)) =\) 
      
    ~~~~$ \left|\matrix{e^{dtcos(nt) && e^{dt}sin(nt) \cr
     de^{dt}cos(nt)- ne^{dt}sin(nt) &~& de^{dt}sin(nt) + ne^{dt}cos(nt)}\right|$}

    \(^{= e^{dt}cos(nt)(de^{dt}sin(nt) + ne^{dt}cos(nt) ) - e^{dt}sin(nt)( de^{dt}cos(nt)- ne^{dt}sin(nt) )}\)

    \u\u
    $~^{= e^{2dt}%\huge
    [cos(nt)(dsin(nt) + ncos(nt)) - sin(nt)(dcos(nt)- nsin(nt) )]%\huge
    }$
    \u\u
    $~^{= e^{2dt}%\huge
    [dcos(nt)sin(nt) + ncos^2(nt) - dsin(nt)cos(nt)+ nsin^2(nt)]%\huge
    )}$
    \u\u

    $~~= e^{2dt}%\huge
    [ ncos^2(nt) + nsin^2(nt)%\huge
    ]$
      
    [ cos^2(nt) + sin^2(nt)%\huge
    ]$
    \(~=~ ne^{2dt} > 0\) for all \(t\).}

    {\bf 4.1: General Theory of nth Order Linear Eqns}

     
    {\bf When does the following IVP have a unique soln:}


    IVP:  \(y^{(n)} + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = g(t)\), ~~
     
    \(y(t_0) = y_0\), \(y'(t_0) = y_1, ..., y^{(n-1)(t_0) = y_{n-1}\).}
    \u
    Suppose \(y = c_1\phi_1(t) + c_2\phi_2(t) + ... + c_n\phi_n(t) + \psi(t)\) is the general solution to DE.  Then 


    \(y(t_0) = y_0\):  ~~
     t
    \(y_0 = c_1\phi_1(t_0) + c_2\phi_2(t_0)+  ... + c_n\phi_n(t_0)+ \psi(t_0)\)
     
    \(y'(t_0) = y_1\):  ~~
     t
    \(y_1 = c_1\phi_1'(t_0) + c_2\phi_2'(t_0)+  ... + c_n\phi_n'(t_0) + \psi'(t_0)\)
     
    .
    \u.
    \u.
    \( y^{(n-1)}(t_0) = y_{n-1}\): ~~~
     t
    \(y_{n-1 = c_1\phi_1^{(n-1)}(t_0) + c_2\phi_2^{(n-1)}(t_0)\)  \hskip 0.8in}
     t

    To find IVP solution, need to solve above system of equations for the unknowns \(c_i\), \(i = 1, ..., n\).

    Note the IVP has a unique solution if and only if the above system of equations has a unique solution for the  \(c_i\)'s.

    Let \(b_k = y_k - \psi^{(k)}(t_0)\). ~~Note that in these equations the \(c_i\)  are the unknowns

    \u

    Translating this linear system of eqns into matrix form:


     
    $\left[\matrix{ \phi_1(t_0) & \phi_2(t_0) & ... &\phi_n(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) & ... &\phi_n'(t_0)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t_0) & \phi_2^{(n-1)}(t_0) & ... &\phi_n^{(n-1)}(t_0) } \right]
    \left[\matrix{c_1 \cr c_2 \cr . \cr . \cr . \cr c_n} \right] = \left[\matrix{b_0 \cr b_1 \cr . \cr . \cr . \cr b_{n-1}} \right] $}

     fill

    Note this equation has a unique solution if and only if 
     

    $det \left[\matrix{ \phi_1(t_0) & \phi_2(t_0) & ... &\phi_n(t_0) \cr
    \phi_1'(t_0) &\phi_2'(t_0) & ... &\phi_n'(t_0)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t_0) & \phi_2^{(n-1)}(t_0) & ... &\phi_n^{(n-1)}(t_0) } \right] \not= 0$ }

     fill

    {\it Defn: } The Wronskian of the functions, \(\phi_1\), \(\phi_2\),...,  \(\phi_n\) is 
     
    $W(\phi_1, \phi_2, ..., \phi_n) = det\left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right]$}
     fill
    Note: \(\{\phi_1, \phi_2, ..., \phi_n\}\) is a linearly independent set of fns


    In other words if \(\phi_i\) are homogeneous solutions to an \(n\)th order linear DE, 
     
    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\)}
    \u
    and \(W(\phi_1, \phi_2, ..., \phi_n)(t_0) \not= 0\) for some \(t_0\).


    iff \(\{\phi_1, \phi_2, ..., \phi_n\}\) is a basis for the solution set of this homogeneous equation.

    In other words any homogeneous solution can be written as a linear combination of these basis elements:

     
    \(y = c_1\phi_1 + ... + c_n\phi_n\)

    Moreover, the general soln to the non-homogeneous eqn  

     
    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = g(t)\)}
    \u
     is just the translated version of the general homogeneous solution:


    \(y = c_1\phi_1 + ... + c_n\phi_n + \psi\)
    \u
     where \(\psi\) is a non-homogeneous solution.

    ---

    Abel's theorem:   if \(\phi_i\) are homogeneous solutions to an \(n\)th order linear DE, 
     
    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\)}
    \u
    then \(W(\phi_1, \phi_2, ..., \phi_n)(t) = c e^{-\int p_1(t)dt}\) for some constant \(c\) 

     fill

    {\bf Claim}:   If \(p_i\) are continuous on \((a, b)\), if \(\phi_1, ..., \phi_n\) are linearly independent solutions to 

    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\),}
    \u
     then \(\{\phi_1, ..., \phi_n\}\) is a basis for the solution set to this differential equation.

     fill

    {\it Theorem 4.1.2}:  If \(p_i\) are continuous on \((a, b)\),
    suppose that \(\phi_i\), \(i = 1, ..., n\)  are  
    solutions to \(y^{(n)} + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\). \hb
     If \(W(\phi_1, \phi_2, ..., \phi_n)(t_0) \not= 0\), 
    for some \(t_0 \in (a, b)\), then any solution to this homogeneous linear differential
    equation can be written as

     $y = 
    c_1\phi_1 + c_2\phi_2 + ... + c_n\phi_n\( for some constants \)c_i$.
     fill

    {\it Defn:}   The \(\phi_1, ..., \phi_n\) are called a fundamental set of solutions to 

    \(y^{(n) + p_1(t)y^{(n-1)} + ... + p_{n-1}(t)y' + p_n(t)y = 0\).}

     fill

    {\it Theorem:}  Given any \(n\)th order homogeneous linear differential equation, there exist a set of \(n\)  functions which form a fundamental set of solutions.

     fill

    Recall \(\phi_1, ..., \phi_n\) are linearly independent iff \(c_1 =  ... = c_n = 0\) is the only solution to \(c_1\phi_1 + ... + c_n\phi_n = {\bf 0}\).

    If \(\phi_i\) are functions of \(t\), then \({\bf 0}\) is the constant function \({\bf 0}(t) = 0\) for all \(t\).
    \hb
    Thus \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { 0}\) for all \(t\).


    Equivalently, \(\phi_1, ..., \phi_n\) are linearly independent iff  for any given \(f\), \hb \(c_1\phi_1 + ... + c_n\phi_n = { f}\) has at most one  solution.


    If \(\phi_i\) are functions of \(t\), then \({ f}\) is also a function.

    Thus \(c_1\phi_1(t) + ... + c_n\phi_n(t) = f(t)\) for all \(t\).


    Hence \(c_1\phi_1^{(k)}(t) + ... + c_n\phi_n^{(k)}(t) = f^{(k)}(t)\) for all \(t\), \(k\) if derivatives exist.


    Thus \(\phi_1, ..., \phi_n\) are linearly independent 

    iff for any given \(f\), \hb \(c_1\phi_1(t) + ... + c_n\phi_n(t) = { f(t)}\)  has at most one  solution (that works for all \(t\)).


    iff the following system of equations has  has at most one  solution  
    \(c_1\phi_1(t) + c_2\phi_2(t)+  ... + c_n\phi_n(t) = f(t)\)
     
    \( c_1\phi_1'(t) + c_2\phi_2'(t)+  ... + c_n\phi_n'(t) = f'(t)\)

    .
    .
    .
     
    \(c_1\phi_1^{(n-1)(t) + c_2\phi_2^{(n-1)}(t)+  ... + c_n\phi_n^{(n-1)}(t) = f^{(n-1)}(t)\)}


    iff the following system of equations has a unique solution  
    $\left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right]
    \left[\matrix{c_1 \cr c_2 \cr . \cr . \cr . \cr c_n} \right] = \left[\matrix{f(t) \cr f'(t) \cr . \cr . \cr . \cr f^{(n-1)}(t)   } \right] $}

    Note this equation has a unique solution if and only if 
     

    $det \left[\matrix{ \phi_1(t) & \phi_2(t) & ... &\phi_n(t) \cr
    \phi_1'(t) &\phi_2'(t) & ... &\phi_n'(t)  \cr
    &.&& \cr &.&& \cr &.&& \cr  \phi_1^{(n-1)(t) & \phi_2^{(n-1)}(t) & ... &\phi_n^{(n-1)}(t) } \right] \not= 0$ }


    To solve \(ay'' + by' + cy = g_1(t) + g_2(t) + ... g_n(t)\) [**]

    1.)  Find the general solution to \(ay'' + by' + cy = 0\):  

    \(c_1\phi_1 + c_2\phi_2\)

    2.)  For each \(g_i\), find a solution to \(ay'' + by' + cy = g_i\):  

    \(\psi_i\)

    This includes plugging guessed solution {\(\psi_i\)} into \break
    \(ay'' + by' + cy = g_i\).

    The general solution to [**] is

    \(c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2 + ... \psi_n\)


    3.)  If initial value problem:

    {Once general solution is known, can solve initial value 
    problem (i.e., use initial conditions to find \(c_1, c_2\)).}

    \end

    START 100/FALL16/e2_3600_F2016ANS.tex part 2

    \nopagenumbers

    [20]~ 3.)  Solve 
    \]y'' - 6y' + 9y = {e^{3t} \over t}\[

    Solve homogeneous equation:  \(y'' - 6y' + 9y = 0 \).

    Guess \(y = e^{rt}\).  Then \(y' = re^{rt}\) and \(y'' = r^2 e^{rt}\)

    \(r^2 - 6r + 9= (r-3)^2 = 0\).  Thus \(r = 3\)

    Thus general homogeneous solution is \(y = c_1e^{3t} + c_2te^{3t}\)

    Solve non-homogeneous equation:  \(y'' - 6y' + 9y = {e^{3t} \over t}\)

    General non-homogeneous solution is \(y = c_1e^{3t} + c_2te^{3t} + ( u_1(t)e^{3t} + u_2(t) (te^{3t}))\) where we determine \(u_i\) as follows:

    $W(e^{3t}, te^{3t}) = 
    \left|\matrix{e^{3t} & te^{3t} \cr 3e^{3t} & e^{3t} + 3te^{3t}}\right| = e^{6t} + 3te^{6t} - 3te^{6t} =  e^{6t}$ 

     \(u_1(t) = \int  {\left|\matrix{0 & te^{3t} \cr 1 & e^{3t} + 3te^{3t}}\right| \over e^{6t}}({e^{3t} \over t})dt \)
     \(=  \int  {-te^{3t} \over e^{6t}}({e^{3t} \over t})dt\)
     \(=  \int  {-te^{6t} \over te^{6t}}dt\)
      \(=  -\int  dt\)
      \(= -t + C_1\)
     
     
      $u_2(t) = \int  {\left|\matrix{e^{3t} & 0 \cr 3e^{3t} & 1}\right| \over e^{6t}}({e^{3t} \over t})dt  = \int  {e^{3t}  \over e^{6t}}({e^{3t} \over t})dt 
       = \int { dt \over t} = ln|t| + C_2$
     
     
    NOTE:  need only 1 solution for each \(u_i\) and thus don't need constants \(C_1, C_2\).

    Alternate method to find \(u_i\):  \(y =  u_1e^{3t} + u_2 te^{3t}\)

      Then \(y' =  u_1'e^{3t} +  3u_1e^{3t} + u_2' te^{3t} + u_2 [e^{3t} + 3te^{3t}]\)
          
      Choose 2nd equation for solving for 2 unknowns \(u_1, u_2\):    Let \(u_1'e^{3t} +  + u_2' te^{3t} = 0\) 
          
          Then \(y' =    3u_1e^{3t} + u_2 [e^{3t} + 3te^{3t}]\)
          
                and \(y'' =    3u_1'e^{3t} +    9u_1e^{3t} + u_2' [e^{3t} + 3te^{3t}]+ u_2 [3e^{3t} + 3e^{3t} + 9te^{3t}]\)
          
    \(y'' =    3u_1'e^{3t} +   u_2' [e^{3t} + 3te^{3t}]  +  9u_1e^{3t} + u_2 [6e^{3t}  + 9te^{3t}]\)

    \(y'' =    (3u_1'e^{3t} +   u_2' [3te^{3t}])  +   u_2' [e^{3t}]+  9u_1e^{3t} + u_2 [6e^{3t} + 9te^{3t}]\)


    $y'' =  3(0) +  u_2' e^{3t}+  9u_1e^{3t} + u_2 [6e^{3t} + 9te^{3t}]
    =    u_2' e^{3t}+  9u_1e^{3t} + u_2 (6e^{3t} + 9te^{3t})$

    Plug into DE:

    \(u_2' e^{3t} +  9u_1e^{3t} + u_2 (6e^{3t} + 9te^{3t}) - 6[ 3u_1e^{3t} + u_2 (e^{3t} + 3te^{3t})] + 9[u_1e^{3t} + u_2 te^{3t}] = {e^{3t} \over t}\)

    \(u_2' e^{3t} +  (9u_1e^{3t}  - 18u_1e^{3t} +  9u_1e^{3t})  +  [6u_2e^{3t} + 9u_2te^{3t} - 6 u_2e^{3t} -18u_2te^{3t} + 9u_2 te^{3t}] = 0\)

    \(u_2' e^{3t}    = {e^{3t} \over t}\).  Thus \(u_2' = {1 \over t} = t^{-1}\) and \(u_2(t) = ln|t|\)


    \(u_1'e^{3t} + u_2' te^{3t} = 0\) implies \(u_1'e^{3t} +   {1 \over t} te^{3t} = 0\) 

    Thus \(u_1'  = -1\) and \(u_1(t) = -t\) 

    \(y = c_1e^{3t} + c_2te^{3t} + ( -te^{3t} + ln|t| (te^{3t})) = c_1e^{3t} + (c_2 - 1)te^{3t}  + ln|t| (te^{3t})\)
     fill
    Answer: \(\underline{~~y = c_1e^{3t + c_2te^{3t}  + ln|t| (te^{3t})~~}\)}

    \end

    START 100/FALL17/3600exam2ANS.tex part 1

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \begin{document}


    Math 3600 Differential Equations Exam \#2 \hfil \break
    Oct 26, 2018  \hfill SHOW ALL STEPS \hfill

    [22]~ 5.)  Solve \(y'' - y = e^t + 2\), ~~\(y(0) = 1\), \(y'(0) = 2\)


    Solve homogeneous:  Guess \(y = e^{rt}\) and plug into \(y'' - y =  0\):  \(r^2e^{rt} - e^{rt} = 0\). 

     ~~~Thus \(r^2 - 1 = (r+1)(r-1)= 0\).  Thus \(r = 1, -1\).

    ~~~Homogeneous solution:  \(c_1e^t + c_2e^{-t}\)


    Solve \(y'' - y = e^t\)


    ~~~\(y = e^t\) is a homogeneous solution, so guess \(y = Ate^t\).  Then \(y' = Ae^t + Ate^t\) and 
    \(y'' = Ae^t +  Ae^t +Ate^t =  2Ae^t +Ate^t \).

    ~~~Plug into \(y'' - y = e^t\):

    ~~~\(2Ae^t +Ate^t - Ate^t = e^t\) implies \(2Ae^t = e^t\).  Thus \(2A = 1\) and \(A = \frac{1}{2}\).

    ~~Thus \(y = \frac{1}{2}te^t\) is one solution to \(y'' - y = e^t\)


    Solve \(y'' - y = 2\) 

    ~~~Guess \(y = B\), then \(y ' = 0, y'' = 0\).  

    ~~~Plug in:  \(0 - B = 2\).  Thus \(B = -2\).

    ~~Thus \(y = -2\) is one solution to \(y'' - y = 2\)


    Hence general solution to \(y'' - y = e^t + 2\) is \(y = c_1e^t + c_2e^{-t} +  \frac{1}{2}te^t - 2\)


    Solve IVP:  \(y(0) = 1\), \(y'(0) = 2\).

    \(y = c_1e^t + c_2e^{-t} +  \frac{1}{2}te^t - 2\)

    \(y' = c_1e^t - c_2e^{-t} +  \frac{1}{2}te^t +  \frac{1}{2}e^t\)

    \(y(0) = 1\):  \(1 = c_1 + c_2 - 2\) implies  \(3 = c_1 + c_2\)

    \(y'(0) = 2\):  \(2 =  c_1 - c_2 +  \frac{1}{2}\) implies \( \frac{3}{2} =  c_1 - c_2\)

    Add equations: \( \frac{9}{2} = 2c_1\).  Thus \(c_1 =\frac{9}{4} \) 

    Subtract equations:  \( \frac{3}{2} = 2c_2\).  Thus \(c_2 =\frac{3}{4} \) 

    Solution: \(\underline{~~ y = \frac{9{4}e^t + \frac{3}{4}e^{-t} +  \frac{1}{2}te^t - 2~~}\)}

    \end

    START 100/FALL18/final3600_F2016ans.tex part 4

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \begin{document}

    MATH:3600:0002 Final Exam \hfil \break
    Dec. 12, 2016 \hfill SHOW ALL STEPS \hfill

    [18]~ 4.)  Solve \(y''' - 4y' = 30e^{3t} + 8t\), \(y(0) = 0\), \(y'(0) = 6\), \(y''(0) = 16\).

    Solve homogeneous: \(y''' - 4y' = 0\)

    \(y = e^{rt}\):   \(r^3 - 4r = r(r^2 - 4) = r(r - 2)(r + 2) = 0\).  Thus \(r = 0, 2, -2\)

    General homogeneous solution:  \(y = c_1 e^{0t} + c_2 e^{2t} + c_3 e^{-2t}\)

    Guess:  \(y = Ae^{3t}\):  \(y''' - 4y' = 27Ae^{3t} - 12e^{3t} = 15Ae{3t} = 30e^{3t}\).  Thus \(A = 2\).


    Guess \(y = At^2\).  Thus \(y' = 2At\) and \(y''' = 0\).
    \(0 - 4(2At) = 8t\).  Thus \(A = -1\) 

    Answer:  \(y = y(t) = c_1 e^{2 t} + c_2 e^{-2 t} + c_3 - t^2 + 2 e^{3 t}\)


    \(0 =  c_1  + c_2  + c_3 + 2\)

    \(6 =  2c_1  - 2c_2  + 6\)

    \(16 =  4c_1  + 4c_2  -2 + 18\)


    Answer:  \(y = y(t) =   -2 - t^2 + 2 e^{3 t}\)
     fill
    Answer: \underbar{\hskip 5in}

    \end

    Section 4.4: The Method of Variation of Parameters

    START 100/3_6and4_4varPar


    Linear Algebra Review: Determinants

    Defn:  \(det A = \Sigma \pm a_{1 j_1}a_{2j_2} ... a_{nj_n}\)

    \(2\times 2\) short-cut: 
    $det \left[\matrix{  a_{11} & a_{12} \cr
                    a_{21} & a_{22} \cr }\right] = a_{11}a_{22} - a_{21}a_{12}$

    \(3\times 3\) short-cut: 
    $det \left[\matrix{  a_{11} & a_{12} & a_{13}\cr
                    a_{21} & a_{22} & a_{23} \cr 
                    a_{31} & a_{32} & a_{33} \cr }\right]$

    \hskip 2.35in 
    $\matrix{  a_{11} & a_{12} \cr
                    a_{21} & a_{22}  \cr 
                    a_{31} & a_{32} \cr }$

    Note there is no short-cut for \(n \times n\) matrices when $n >
    3$.

    Definition of Determinant using cofactor expansion

    Defn:  \(A_{ij}\) is the matrix obtained from \(A\) by deleting the ith row 
    and
    the jth column.


    Thm:  Let \(A = (a_{ij})\) by an \(n \times n\) square matrix, \(n >1\).  Then
    expanding along row \(i\),

    \]det A = \Sigma_{k = 1}^n (-1)^{i + k}a_{ik} det
    A_{ik}.\[

    Or expanding along column \(j\),
        

    \]det A = 
    \Sigma_{k = 1}^n (-1)^{k + j}a_{kj} det
    A_{kj}.\[

     Properties of Determinants

    Thm:  If \(A ~{\overrightarrow{~_{R_i \rightarrow cR_i~}}} B\), then $det B
    =
    c (det
    A)$.


    Thm:  If $A ~{\overrightarrow{~_{R_i \leftrightarrow R_j~}}}
    B\(, then \)det B =
    - (det A)$.

    Thm:  If $A ~{\overrightarrow{~_{R_i + cR_j \rightarrow R_i~}}}
    B\(, then \)det
    B = det A$.

    ---

    Some Shortcuts:

    Thm: If A is an \(n \times n\) matrix which is either lower triangular or
    upper
    triangular, then \(det A = a_{11}a_{22} ...a_{nn}\), the product of the 
    entries
    along the main diagonal.

    Thm:  A square matrix is invertible if and only if 


    Thm:  Let \(A\) be a square matrix.  Then the linear system \(Ax = b\) has a
    unique solution for every \(b\) if and only if \(det A \not= 0\).
    Linear Algebra Review:  Cramer's Rule.

    Defn:    Let \(A_i({\bf b})\) = the matrix derived from \(A\) by
    replacing the \(i^{th}\) column of \(A\) with \({\bf b}\).

    {\bf Cramer's Rule}:  Suppose \(A{\bf x} = {\bf b}\) where A is an \(n \times n\) matrix such
    that \(det A \not= 0\).  Then \]x_i = {det A_i({\bf b}) \over det A}.\[


    ---

    Solve the following using Cramer's rule:

    $\left[\matrix{
    1 & 2 \cr
    3 & 4 \cr \right]$
    $\left[\matrix{
    x_1 \cr
    x_2 \cr }\right]$ =
    $\left[\matrix{
    5 \cr
    6 \cr }\right]$}

    $det \left[\matrix{
    1 & 2 \cr
    3 & 4 \cr }\right] = (1)(4) - (3)(2) = 4 - 6 = -2$

    $det \left[\matrix{
    5 & 2 \cr
    6 & 4 \cr }\right] = (5)(4) - (6)(2) = 20 - 12 = 8$

    $det \left[\matrix{
    1 & 5 \cr
    3 & 6 \cr }\right] = (1)(6) - (3)(5) = 6 - 15 = -9$

    Thus \(x_1 = {~8 \over -2} = -4\), ~~\(x_2 = {-9 \over -2} = {9 \over 2}\).


    3.6   Variation of Parameters~~~~~~\hfill
    Solve \(ay'' + by' + cy = g(t)\)


    {\bf 1)  Find homogeneous solutions:  }%Solve \(ay'' + by' + cy = 0\)}

    Suppose general homogeneous soln to \(ay'' + by' + cy = 0\) is
    \(y = c_1\phi_1(t) + c_2 \phi_2(t)\)


    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)\phi_1 + u_2(t) \phi_2\) and solve for \(u_1\) and 
    \(u_2\)}

    \u\u\u\u


    \hskip 0.3in  $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} {g(t) \over a}dt$
     \(= -\int {\phi_2(t) g(t) \over aW(\phi_1, \phi_2)} dt \)

      
    \hskip 0.3in $u_2(t) =    \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} {g(t) \over a}dt$
     \(= \int {\phi_1(t) g(t) \over aW(\phi_1, \phi_2)} dt \)
     


    Note that in both cases, you divide by the Wronskian:

    \( W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'\right|\)}


    General non-homogeneous  solution :
     \(y = c_1\phi_1(t) + c_2 \phi_2(t)+  (  u_1(t)\phi_1 + u_2(t) \phi_2)\) 


    Note:  If you are likely to forget to divide by \(a\) when finding \(u_1\) and \(u_2\), then  when finding non-homogeneous solution, divide both sides of DE by \(a\) so that you have \(1y'' + p y' + q y = {g(t) \over a}\)  (this is what our textbook does).


    Note:  These formulas generalize to higher order linear DEs.  To find \(u_i\) replace the \(i^{th}\) column of the Wronskian with a column of all zeros except the last entry which is 1 and follow 2nd order case.


    Note:  {\color{red} ORDER MATTERS}.  Once you choose an ordering of your homogeneous solutions \(\phi_1, ... \phi_n\) for an \(n\)th order DE, be consistent with that order.


    {\color{red}{
     Note:  If you are solving an IVP, you must find the complete general solution including any non-homogeneous parts BEFORE using your initial values to solve for the \(c_i\)'s.}}

    3.6   Variation of Parameters~~~~~~\hfill
    Solve \(y'' - 2y' + y = e^t ln(t)\)


    {\bf 1)  Find homogeneous solutions:}
    \u
    {  Solve \(y'' - 2y' + y = 0\)}
    \u
    Guess:  \(y = e^{rt}\), then \(y' = re^{rt}\), \(y'' = r^2e^{rt}\), and
    \(r^2e^{rt - 2re^{rt} + e^{rt} = 0\)
    implies {\(r^2 - 2r + 1 = 0\)}}
    \u
    \((r - 1)^2 = 0\), and hence \(r = 1\)
        
    General homogeneous solution:  \(y = c_1e^{t} + c_2 te^{t}\)
     
    since have two linearly independent solutions:  \(\{e^{t}, te^{t}\}\) 
     

    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6:  {\bf Guess \(y = u_1(t)e^t + u_2(t) te^t\) and solve for \(u_1\) and 
    \(u_2\)}

    \u
    $ W(\phi_1, \phi_2) = \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|
     = \left|\matrix{e^t & te^t \cr e^t & e^t + te^t}\right|$

     %\(= -\int {\phi_2(t) g(t) \over W(\phi_1, \phi_2)} dt =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)


    \( \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right| = -\phi_2 = -te^{t}\) \hfill
    \(  \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right| =\phi_1 = e^t\)~~~~~~


    $u_1(t) = \int { \left|\matrix{0 & \phi_2 \cr 1 & \phi_2'}\right|
    \over  W(\phi_1, \phi_2)} {g(t) \over a}dt$
     \( =  -\int {(te^t)(e^t ln(t)) \over e^{2t}} dt \)


    ~~~~~~~Integration by parts:~~~~  \(\matrix{u = ln(t) & dv = t dt\cr du = {dt \over t} & v = {t^2 \over 2}}\)

     fill

    $u_2(t) =   \int { \left|\matrix{\phi_1 & 0 \cr  \phi_1' & 1}\right|
    \over  \left|\matrix{\phi_1 & \phi_2 \cr \phi_1' & \phi_2'}\right|} g(t)dt$
     $%= \int {\phi_1(t) g(t) \over W(\phi_1, \phi_2)} dt
     =  \int {(e^t)(e^t ln(t)) \over e^{2t}} dt $
      skip 10pt
     [tln(t) - \int dt] = 
     tln(t) - t$ }


    ~~~~~~~~~~Integration by parts:~~~~
    \(\matrix{u = ln(t) & dv = dt\cr du = {dt \over t} & v = {t}}\)


     fill
    General solution :

    { \(y = c_1e^{t} + c_2 te^{t} +  ( -{t^2 ln(t) \over 2} + {t^2 \over 4} )e^{t} + ( tln(t) - t)te^{t}\) }

    which simplifies to  \(y = c_1e^{t} + c_2 te^{t} +  ({ln(t) \over 2}  -  {3\over 4} )t^2 e^t \)


    \end

    START 100/4_4.tex


    3.6  = 4.4 Variation of Parameters~~~~~~\hfill
    Solve \(ay''' + by'' + cy' + ey= g(t)\)


    {\bf 1)  Find homogeneous solutions:  }%Solve \(ay'' + by' + cy = 0\)}

    Suppose general homogeneous soln to \(ay''' + by'' + cy' + ey = 0\) is
    \(y = c_1\phi_1(t) + c_2 \phi_2(t)+ c_3 \phi_3(t)\)


    {\bf 2.)  Find a non-homogeneous solution:}
    \u
    Sect. 3.5 method:  Educated guess
    \u
    Sect. 3.6 = 4.4:  ~~~{\bf  \(y = u_1(t)\phi_1 + u_2(t) \phi_2 + u_3(t) \phi_3\) and}% \hfil \break 


    3 unknown functions, thus might want 3 equations.  

    1 equation will come from plugging into \(ay''' + by'' + cy' + ey= g(t)\)

    We will choose the remaining equations so that we avoid \(u_i''\)


    \(y = u_1 \p_1 + u_2 \p_2+ u_3 \p_3\) implies

    \(y' = u_1 \p_1' + u_1' \p_1 + u_2 \p_2' + u_2' \p_2+ u_3 \p_3' + u_3' \p_3\)

    I.e., \(y' = u_1 \p_1' + u_2 \p_2' + u_3 \p_3'+ u_1' \p_1 + u_2' \p_2 + u_3' \p_3\)   


     Avoid 2nd derivative \(u_i''\): ~~Choose \(u_1'\p_1 + u_2' \p_2 + u_3' \p_3 = 0\)

    Thus \(y' = u_1 \p_1' + u_2 \p_2' + u_3 \p_3'\)


    \(y'' = u_1 \p_1'' + u_2 \p_2'' + u_3 \p_3'' + u_1' \p_1' + u_2' \p_2' + u_3' \p_3'\)   by product rule.


     Avoid 2nd derivative \(u_i''\): ~~Choose \( u_1' \p_1' + u_2' \p_2' + u_3' \p_3' = 0\)


    Thus \(y'' = u_1 \p_1'' + u_2 \p_2'' + u_3 \p_3'' \)


    \(y''' = u_1 \p_1''' + u_2 \p_2''' + u_3 \p_3''' +  u_1' \p_1'' + u_2' \p_2'' + u_3' \p_3'' \)  by product rule.

    Plug \(y = u_1(t)\phi_1 + u_2(t) \phi_2 + u_3(t) \phi_3\) (using above derivatives including simplifications) into \(ay''' + by'' + cy' + ey = 0\)

    After lots of work, this simplifies to \( u_1' \p_1'; + u_2' \p_2'' + u_3' \p_3'' =  {g(t) \over a}\)

    Thus we have 3 unknowns (the functions, \(u_1, u_2, u_3\)) and 3 equations (the two equations we choose in order to avoid  \(u_i''\)) as well as the equation we get by plugging in  \(y = u_1(t)\phi_1 + u_2(t) \phi_2 + u_3(t) \phi_3\)  into DE and doing lots of simplification.  These 3 equations are

     \(u_1'\p_1 + u_2' \p_2 + u_3' \p_3 = 0\)
     \(u_1'\p_1' + u_2' \p_2' + u_3' \p_3' = 0\)
    \hskip 12pt \(u_1'\p_1'' + u_2' \p_2'' + u_3' \p_3'' = {g(t) \over a\)}

     fill
    In matrix form:

    $ \left(\matrix{
    \p_1 & \p_2 & \p_3 \cr
    \p_1' & \p_2' & \p_3' \cr
    \p_1'' & \p_2'' & \p_3''
    \right)
     \left(\matrix{ u_1'\cr u_2' \cr u_3'}\right) = \left(\matrix{0 \cr 0 \cr {g(t) \over a}}\right)$}

    Solve using Cramer's rule.

    NOTE:  The coefficient matrix is the related to the Wronskian (same matrix, but before you take the determinant).  Thus if \(W = \) the coefficient matrix, \({\bf u} = n \times 1\) vector with ith coordinate \(u_i\) and \({\bf b}  = n \times 1\) vector where all coordinates are 0 except the last term is \({g(t) \over a}\), then  the matrix formula can be written as

    \(W{\bf u' = {\bf b}\)}

    Don't forget to integrate to find \(u_i\) after using Cramer's rule to find \(u_i'\).


    Note:  If you are likely to forget to divide by \(a\), you might want to do so in the beginning (after solving homogeneous).  This is what the book does:


     \(y''' + {b \over ay'' + {c\over a}y' + {e\over a}y= {g(t)\over a}\)}


    \u\u\u\u

    \end

    Chapter 5: Series Solutions of Second-Order Linear Equations

    Section 5.1: Review of Power Series

    START 100/FALL16/e2_3600_F2016ANS.tex part 3

    [20]~ 5.)  Seek the power series solution for the given first order differential equation about the point \(x_0 = 0\):


     ~~~~\((x + 4)y' - 2y  = 0\)
    Note:  A solution for this problem is a finite polynomial and thus all but a finite number of terms will be 0, but you must plug in the infinite series.


    Let \(y = \So a_n x^{n }\).
    ~~Then \(y' = \So n a_n x^{n-1}\).

     \( (x + 4)y' - 2y = (x + 4) \So a_n nx^{n -1} - 2 \So a_n x^{n }\) 
     
     \(\hskip 1.2in =  x \So a_n nx^{n -1} + 4\So a_n nx^{n -1} - 2 \So a_n x^{n }\) 
     
     \(\hskip 1.2in =   \So a_n nx^{n} + \So 4a_n nx^{n -1} -  \So 2a_n x^{n }\) 

     \(\hskip 1.2in =   \So a_n nx^{n} + \S 4a_n nx^{n -1} -  \So 2a_n x^{n }\) 
     
     \(\hskip 1.2in =   \So a_n nx^{n} + \So 4a_{n+1} (n+1)x^{n} -  \So 2a_n x^{n }\) 

     \(\hskip 1.2in =   \So (a_n n + 4a_{n+1} (n+1) - 2a_n) x^{n }\) 


     \(\hskip 1.2in =   \So (a_n( n - 2) + 4a_{n+1} (n+1) ) x^{n }\)  = 0

    Thus \(a_n( n - 2) + 4a_{n+1} (n+1) = 0\) for all \(n \geq 0\)


    \(a_{n+1} = {2-n \over 4(n+1)} a_n\)

    \(n = 0\):  \(a_1 =  {2 \over 4} a_0 = {1 \over 2} a_0 \)

    \(n = 1\):  \(a_2 =  {2-1 \over 4(2)} a_1 = {1 \over 8} a_1= {1 \over 8} ( {1 \over 2} a_0 ) =  {1 \over 16} a_0 \)

    \(n = 2\):  \(a_3 =  {2 - 2 \over 4(3)} a_2 = 0 \)

    \(a_{n+1} = {2-n \over 4(n+1)} (0) = 0\) for \(n > 2\)

    Thus \(y = a_0 + a_1x + a_2x^2 + a_3x^3 + ... = a_0 + {1 \over 2}a_0x +  {1 \over 16} a_0x^2 = a_0( 1 + {1 \over 2}x +  {1 \over 16} x^2)\)

    Check:  \(y' = a_0({1 \over 2} +  {1 \over 8} x)\)

    \((x + 4)y' - 2y  = (x + 4)( a_0)({1 \over 2} +  {1 \over 8} x)) - 2a_0( 1 + {1 \over 2}x +  {1 \over 16} x^2) \)

    $ =
     a_0({1 \over 2}x +  {1 \over 8} x^2 + 2 + {1 \over 2}x - 2 - x -  {1 \over 8} x^2)  = 0$

    Answer: \(\underline{~~y = a_0( 1 + {1 \over 2x +  {1 \over 16} x^2)~~}\)}

    \end

    START 100/FALL17/3600exam2ANS.tex part 2

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \begin{document}


    Math 3600 Differential Equations Exam \#2 \hfil \break
    Oct 26, 2018  \hfill SHOW ALL STEPS \hfill

     1.)  Circle T for true and F for false.  

    [4]~ 1a.) Suppose \(f(x) = \Sigma a_n (x - 3)^n\) has a radius of convergence = \(r\) about  $
    3$.
    Then
    we can define the domain of \(f\) to be \((3- r, 3 + r)\).
    \u
     
    [4]~ 1b.) If \(b^2 - 4ac < 0\), then the solution to the initial value problem 
    $ay'' +
    by' + cy = 0\(, \)y(0) = 2\(, \)y'(0) = 1$ is a complex valued function.
    \u
     

    [4]~ 1c.)  If \(b^2 - 4ac < 0\), then the solution to the characteristic equation \(ar^2 + br + c = 0\) is complex valued.
    \u
     

    [4]~ 1d.) \(D(f) = f'\) is a linear function.
     

    [4]~ 1e.)  There is a unique solution to the differential equation %\hfil \break
     \(ay'' + by' + cy = g(t), y(0) = 1, y(1) = 0\)

      

    \end

    START 100/FALL17/3600exam2ANS.tex part 3

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \begin{document}


    Math 3600 Differential Equations Exam \#2 \hfil \break
    Oct 26, 2018  \hfill SHOW ALL STEPS \hfill

    [24]~  6.)  Solve {\bf two} of the following (from this page and the next page).  If you solve all 4, I will grade your best 2 and will give 1 (or 2) points extra credit for 3 (or 4) correct problems):

    6a.)  If \(y = \psi(t)\) is a solution to \(py'' + qy' + ry = g(t)\), show that \(y = 2\psi(t)\) is a solution to \(py'' + qy' + ry = 2g(t)\).
    Hint use linearity OR plug in.

    {\bf Using linearity:}   Recall that \(L(y) = py'' + qy' + ry \) is a linear function.  

    Since  \(y = \psi(t)\) is a solution to \(py'' + qy' + ry = g(t)\), ~\(L(\psi(t)) = g(t)\).  Since \(L\) is a linear function, \(L(2\psi(t)) =2L(\psi(t)) =  2g(t)\).  Thus \(y = 2\psi(t)\) is a solution to \(py'' + qy' + ry = 2g(t)\).


    {\bf Plugging in:}  Since  \(y = \psi(t)\) is a solution to \(py'' + qy' + ry = g(t)\),  
    ~~  \(p\psi''(t) + q\psi'(t) + r\psi(t) = g(t)\).   

    Thus  \(p[2\psi''(t)] + q[2\psi'(t)] + r[2\psi(t)] =  2[p\psi''(t) + q\psi'(t) + r\psi(t)] =2g(t)\).

     Thus \(y = 2\psi(t)\) is a solution to \(py'' + qy' + ry = 2g(t)\).


     fill fill
    6b.)  Use your work in problem 5 to solve  \(y'' - y = 3e^t + 10\) for the general solution.


    Homogeneous solution:  \(c_1e^t + c_2e^{-t}\)


    Since  \(y = \frac{1}{2}te^t\) is one solution to \(y'' - y = e^t\), 
     ~\(y = \frac{3}{2}te^t\) is one solution to \(y'' - y = 3e^t\)


    Since \(y = -2\) is one solution to \(y'' - y = 2\), ~\(y = -10\) is one solution to \(y'' - y = 10\)

    Thus general solution to 
     \(y'' - y = 3e^t + 10\)~ is ~~\(y = c_1e^t + c_2e^{-t} +  \frac{3}{2}te^t - 10\)

     fill

    6c.)  Given \(a_0\), \(a_1\) and \(a_{n+2} = 2a_{n+1} - a_n\),  determine \(a_n\) in terms of \(a_0\) and \(a_1\).

    \(a_2 =  2a_1 - a_0\)

    \(a_3 =  2a_2 - a_1=  2( 2a_1 - a_0) - a_1 = 3a_1 - 2a_0\)

    \(a_4 =  2a_3 - a_2=  2(3a_1 - 2a_0) - (2a_1 - a_0) = 4a_1 -3a_0\)

    \(a_5 =  2a_4 - a_3=  2(4a_1 -3a_0) - (3a_1 - 2a_0) = 5a_1 -4a_0\)

    Answer:  ~~\(a_n = na_1 - (n-1)a_0\)

    6d.)  Use the ratio test to determine the radius of convergence for the power series
    \(\So {3^n \over 2n -1}x^n\).  For what values of \(x\) does this series converge?

    \u skip -5pt
    \]\lim_{n \rightarrow \infty} \left| \left({3^{n+1}x^{n+1} \over 2(n+1) -1}\right)  \left({2n -1  \over3^n x^n}\right)\right| =\lim_{n \rightarrow \infty} \left|{3(2n-1)x \over  2(n+1) -1}\right| =\lim_{n \rightarrow \infty}\left|{3(2n-1)x \over  2n+1}\right| =
    |3x|   \lim_{n \rightarrow \infty}  {2n-1\over  2n+1} = |3x| < 1\[

    Thus \(|x| < \frac{1}{3}\).  Thus radius of convergence is  \(\frac{1}{3}\) and the series converges for all \(x \in ( -\frac{1}{3},  \frac{1}{3})\) and the series diverges if \(|x| > \frac{1}{3}\) 

    If \(x = \frac{1}{3}\):   \(\So {3^n \over 2n -1}x^n\) = \(\So {3^n \over 2n -1}( \frac{1}{3})^n\)
    = \(\So {1 \over 2n -1} > \So {1 \over 2n} =  {1 \over n} \So {1 \over n}\)

    Since \(\So {1 \over n}\) diverges,  \(\So {3^n \over 2n -1}( \frac{1}{3})^n\) diverges.


    If \( x= -\frac{1}{3}\):    \(\So {3^n \over 2n -1}x^n\) = \(\So {3^n \over 2n -1}( -\frac{1}{3})^n\)
    = \(\So {(-1)^n \over 2n -1}. \)  
    Since \( \lim\limits_{n \rightarrow \infty}{1 \over 2n -1} = 0\) and  \( {1 \over 2n -1}\) is a decreasing sequence, \(\So {(-1)^n \over 2n -1}\) 
    converges by the alternating series test.

    Thus the series \(\So {3^n \over 2n -1}x^n\) converges for all \(x \in [ -\frac{1}{3},  \frac{1}{3})]\).

    \end{document}

    Section 5.2: Series Solutions Near an Ordinary Point, Part I

    START 100/5_2.tex


    Solve \(y'' - 4y' + 4y = 0\)

    Using quick 3.4 method.   Guess \(y = e^{rt}\) and plug into equation to find \(r^2 - 4r + 4 = 0\).  Thus 
    \((r-2)^2 = 0\).  Hence \(r =2\).  Therefore general solution is \(y = c_1e^{2x} + c_2xe^{2x}\).

    Use LONG 5.2 method (normally use this method only when other shorter methods don't exist) to find 
    solution for values near \(x_0 = 0\).

    Suppose the solution \(y = f(x)\) is analytic at \(x_0 = 0\).  

    That is \(f(x) = \So {f^{(n)}(0) \over n!}(x - 0)^n\) for \(x\) near \(x_0 = 0\). 

    Thus there are constants \(a_n =   {f^{(n)}(0) \over n!}\) such that, 
     
    \(f(x) = \So a_n(x - 0)^n  = \So a_nx^n\).

    {\bf Find a recursive formula for the constants of the series solution to \( y'' - 4y' + 4y = 0\) near 
    \(x_0 = 0\)}


    We will determine these constants \(a_n\)  by plugging \(f\) into the ODE.

    \(f(x) = \So a_n x ^n\), \(f'(x) = \S a_n nx^{n-1}\),  \(f''(x) = \St a_n n(n-1)x^{n-2}\).

    \( \St a_n  n(n-1)x^{n-2}  - 4\S a_n nx^{n-1} + 4\So a_n x ^n = 0\).

    \( \So  a_{n+2}(n+2)(n+1)x^{n}  - 4\So a_{n+1}(n+1)x^{n} + 4\So a_n x ^n = 0\).

    \( \So  [a_{n+2}(n+2)(n+1) - 4 a_{n+1}(n+1) + 4 a_n] x^n    = 0\).

    \(a_{n+2}(n+2)(n+1) - 4 a_{n+1}(n+1) + 4 a_n  = 0\).

    \(a_{n+2}    = {4 a_{n+1}(n+1) -  4 a_n \over (n+2)(n+1)  }  \).


    Hence the recursive formula (if know previous terms, can determine later terms) is 

    \(a_{n + 2 = 4\left({(n+1)a_{n+1} - a_n\over (n+2)(n+1)}\right)\)}

    {\bf Given the recursive formula,  \(a_{n+2}   = 4\left({(n+1)a_{n+1} - a_n\over (n+2)(n+1)}\right)\), 
    determine \(a_n\).}

    Determine formula for \(a_k\) by noticing patterns.  Note:  It is easier to notice patterns if you do NOT 
    simplify too much.

    {\bf Find the first 6 terms of the series solution}

    \(n = 0:\)  ~~\(a_{2} =4\left({a_{1} - a_0 \over (2)(1)}\right)\)

    \(n = 1:\)  ~~$a_{3} = 4\left({2a_{2} - a_1 \over (3)(2)}\right)
     = 4\left({(2)(4)\left({a_{1} - a_0 \over (2)(1)}\right) - a_1 \over (3)(2)}\right)$
     \(= 4\left({4\left({a_{1} - a_0}\right) - a_1 \over (3)(2)}\right)\) 
     

    \(n = 2\):  ~~\(a_{4} = 4\left({3a_{3} - a_2\over (4)(3)} \right)\)
    $= 4\left({ 3(4)\left({3a_{1} - 4a_0   \over 3!}\right) 
    - 4\left({a_{1} - a_0 \over 2!}\right) \over 
    (4)(3)}\right)$
    $= 4\left({ 3\left({3a_{1} - 4a_0   \over 3!}\right) 
    - \left({a_{1} - a_0 \over 2!}\right) \over 
    3}\right)$

     
    - \left({a_{1} - a_0 \over 2!}\right) \over 
    3}\right)$
    $= 4\left({ \left({3a_{1} - 4a_0  }\right) 
    - \left({a_{1} - a_0}\right) \over 
    3!}\right)$
    $= 4\left({ 2a_{1} - 3 a_0   \over 
    (3!)}\right)$}


    \(n = 3\): ~~\(a_{5} = 4\left({(4)a_{4} - a_3\over (5)(4)}\right)\)
    = $4\left({(4)4\left({ 2a_{1} - 3 a_0   \over 
    3!}\right) - 4\left({3a_{1} - 4a_0   \over 3!}\right)\over (5)(4)}\right)$

     
    3!}\right) - \left({3a_{1} - 4a_0   \over 3!}\right)\over 5}\right)$
    = \(4\left({4\left( 2a_{1} - 3 a_0  \right) - \left(3a_{1} - 4a_0  \right) \over 5(3!)} \right)\)
    = \(4\left({5a_{1} - 8 a_0  \over 5(3!)} \right)\)}

    $f(x)  im a_0 + a_1x + 4\left({a_{1} - a_0 \over 2!}\right)x^2 + 4\left({3a_{1} - 4a_0   \over 
    3!}\right)x^3 + 4\left({ 2a_{1} - 3 a_0   \over 
    (3!)}\right)x^4 + 4\left({5a_{1} - 8 a_0  \over 5(3!)} \right)x^5$


    Recall \(f(x) = a_0\phi_0(x) + a_1 \phi_1(x)\) for linearly independent solutions \(\phi_0\) and \(\phi_1\) 
    to equation \(y'' - 4y' + 4y = 0\).

    {\bf Find the first 5 terms in each of the 2 solns \(y = \phi_0(x)\) and \(y = \phi_1(x)\)}

    $\phi_0  im 1  + 4\left( {-1 \over 2!}\right)x^2 + 4\left({ -4  \over 3!}\right)x^3 + 4\left({  - 3    
    \over 
    (3!)}\right)x^4 + 4\left({- 8  \over 5(3!)} \right)x^5$

    $\phi_1  im x + 4\left({1  \over 2!}\right)x^2 + 4\left({3  \over 3!}\right)x^3 + 4\left({ 2 \over 
    (3!)}\right)x^4 + 4\left({5  \over 5(3!)} \right)x^5$


    \(n = 0:\)  ~~\(a_{2} =4\left({a_{1} - a_0 \over (2)(1)}\right)\) $= 2\left({2a_{1} - 2a_0 \over 
    2!}\right)$

    \(n = 1:\)  ~~\(a_{3} = \)
     \( = 4\left({3a_{1} - 4a_0   \over 3!}\right)\)  \( = 2^2 \left({3a_{1} - 4a_0   \over 3!}\right)\)


    \(n = 2\):  ~~\(a_{4}  \)
     $= 4\left({ 2a_{1} - 3 a_0   \over 
    3!}\right)$
    $= 16\left({ 2a_{1} - 3 a_0   \over 
    4!}\right)$
    \(= 8\left({ 4a_{1} - 6 a_0   \over  4!}\right)\)
    \(= 2^3\left({ 4a_{1} - 6 a_0   \over  4!}\right)\)


    \(n = 3\): ~~\(a_{5} \)
     = \(4\left({5a_{1} - 8 a_0  \over 5(3!)} \right)\)
    = \(16\left(

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[5]/div[2]/div[1]/p[34]/span[1], line 1, column 2
    
    \right)\)
    = \(2^4\left(
    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[5]/div[2]/div[1]/p[34]/span[2], line 1, column 2
    
    \right)\)


    Hence it appears \(a_k = {2^{k-1}(k a_1 - 2(k-1)a_0) \over k!} \)


    {\bf Prove that if {\(a_{n + 2} = 4\left({(n+1)a_{n+1} - a_n\over (n+2)(n+1)}\right)\)}, then  $a_k = 
    {2^{k-1}(k a_1 - 2(k-1)a_0) \over k!} $}


    Need to prove  \(a_k = {2^{k-1}(k a_1 - 2(k-1)a_0) \over k!} \) for \(k \geq 0\)

    Given:  {\(a_{n + 2} = 4\left({(n+1)a_{n+1} - a_n\over (n+2)(n+1)}\right)\) for \(n \geq 2\)},

    Proof by induction on \(k\).  

    Suppose \(k = 0\).  Then \({2^{0-1}(0 (a_1) - 2(-1)a_0) \over 0!} = {1 \over 2}(2a_0) = a_0 \)

    Suppose \(k =1\).  Then \({2^{1-1}(1 (a_1) - 2(1-1)a_0) \over 1!}  = a_1 \)


    Suppose \(a_k = {2^{k-1}(k a_1 - 2(k-1)a_0) \over k!} \) for \(k = n, n+1\)

    Thus \(a_n = {2^{n-1}(n a_1 - 2(n-1)a_0) \over n!} \)
    and \(a_{n+1} = {2^{n}((n+1) a_1 - 2na_0) \over (n+1)!} \)

    Claim:  \(a_{n+2} = {2^{n+1}((n+2) a_1 - 2(n+1)a_0) \over (n+2)!} \)

    \(a_{n + 2} = 4\left({(n+1)a_{n+1} - a_n\over (n+2)(n+1)}\right)\) 
    =
    $4\left({(n+1)\left[{2^{n}((n+1) a_1 - 2na_0) \over (n+1)!} \right] - \left[{2^{n-1}(n a_1 - 2(n-1)a_0) 
    \over n!} \right] \over (n+2)(n+1)}\right)$

    =
    $4\left({\left[{2^{n}((n+1) a_1 - 2na_0) \over n!} \right] - \left[{2^{n-1}(n a_1 - 2(n-1)a_0) \over 
    n!} \right] \over (n+2)(n+1)}\right)$

    =
    $4(2)^{n-1}\left({\left[2((n+1) a_1 - 2na_0)  \right] - \left[n a_1 - 2(n-1)a_0\right] \over n!  
    (n+2)(n+1)}\right)$

    =
    \(2^{n+1}\left({2(n+1) a_1 - 4na_0   - n a_1 + 2(n-1)a_0 \over n! (n+2)(n+1)}\right)\)
    =
    \(2^{n+1}\left({(n+2) a_1 - 2(n+1)a_0) \over (n+2)!}\right)\)

    ---

    Thus \(f(x) = \So   {2^{n-1}(n a_1 - 2(n-1)a_0) \over n!} x^n \) 

     
     if these two series converge.


    {\bf For what values of \(x\) does  \(\So   {(n-1)2^{n-1}  \over n!} x^n \) converge}

    Ratio test:  
    Suppose we have the series \(\Sigma b_n\) .  Let $L = lim_{n \rightarrow \infty}\left| {b_{n+1} \over 
    b_n} \right|$
                                                                  
    Then,
    if \(L < 1\),  the series is absolutely convergent (and hence convergent).

    If \(L > 1\), the series is divergent.

    If \(L = 1\), the series may be divergent, conditionally convergent, or absolutely convergent.


    $lim_{n \rightarrow \infty}\left|{{n2^{n} \over (n+1)!} x^{n+1} \over    {(n-1)2^{n-1} \over n!} x^n} 
    \right|$
    \(= lim_{n \rightarrow \infty}\left|   {2n   x \over   (n+1)(n  -1) } \right|\)

     


    Hence the series converges for all \(x\)

    {\bf For what values of \(x\) does  \(\S   {2^{n-1}\over (n-1)!} x^n \) converge}

     $ lim_{n \rightarrow \infty}\left|   {2^{n} \over n!} x^{n+1} \over   {2^{n-1} \over (n-1)!} 
    x^n\right|$
    \(= lim_{n \rightarrow \infty}\left|   {2  x \over   n   } \right|\)
    \(=2x ~lim_{n \rightarrow \infty}\left|   {1\over  n   } \right| = 0\)


    Hence the series converges for all \(x\)

    ---

    Thus the solution is 

    \(f(x) =  a_0(-2) \So   {2^{n-1} (n-1) \over n!} x^n   + a_1\S   {2^{n-1} \over (n-1)!} x^n\)

    and the domain is all real numbers.

    I.e., the general solution is  \(f(x) = a_0\phi_0(x) + a_1 \phi_1(x)\) 

     
    {2^{n-1}\over (n-1)!} x^n$ }

    Note we could have replaced the constant \(a_0\) with \(-2a_0\), but the \(a_i\)'s have meaning:   $a_n =   
    {f^{(n)}(0) \over n!}\(.  Thus our initial values are \)a_0 = f(0)\( and \)a_1 = f'(0)$  

    In general, to determine if there is a unique solution to the IVP,
     \(y'' - 4y' + 4y = 0\), \(y(x_0) =  y_0\),  \(y'(x_0) = y_1\),  we solve for unknowns \(a_0\) and \(a_1\).
     
     \(y(x_0) =  a_0\phi_0(x_0) + a_1 \phi_1(x_0)\) \hb
     \(y'(x_0) =  a_0\phi_0'(x_0) + a_1 \phi_1'(x_0)\)


    Note that the above system of two equations has a unique solution for the two unknowns \(a_0\) and \(a_1\) 
    if and only if $det\left(\matrix{ \phi_0(x_0) & \phi_1(x_0) \cr \phi_0'(x_0) & \phi_1'(x_0)}\right) 
    \not= 0$

    In other words the IVP has a unique solution iff the Wronskian of \(\phi_0\) and \(\phi_1\) evaluated at 
    \(x_0\) is not zero.  Recall that by theorem , this also implies that \(\phi_0\) and \(\phi_1\) are linearly 
    independent and hence the general solution is \(y =a_0\phi_0(x) + a_1 \phi_1(x)\)
    by theorem.


    {\bf Show that  \(\phi_0(x) = (-2)\So   {2^{n-1}( (n-1)) \over n!} x^n \) and $\phi_1(x) = \S {2^{n-1} 
    \over (n-1)!} x^n$  are linearly independent by calculating the Wronskian of these two functions 
    evaluated at \(x_0 = 0\).}


    \(W(\phi_1, \phi_2)(x) =\) \(\left(\matrix{ \phi_1(x) & \phi_2(x) \cr \phi_1'(x) & \phi_2'(x)}\right)\)
     $= \left(\matrix{  (-2)\So   {2^{n-1}(n-1) \over n!} x^n  & \S {2^{n-1} \over (n-1)!} x^n  \cr 
    (-2)\S   {2^{n-1}(n-1) \over (n-1)! x^{n-1} }& \S {n2^{n-1} \over (n-1)!} x^{n-1} } \right)$


    \(W(\phi_1, \phi_2)(0) \) 
     %%$= \left(\matrix{ {(0) 2^{0-1} \over (0)!} (0)^0 &  (-2)   {2^{0-1}(0-1) \over 0!} (0)^0  \cr  
    \(= \left(\matrix{ (-2)2^{0-1}(-1)  & 0   \cr  0 &  1  }\right)\)
    \(= \left(\matrix{ 1 &  0 \cr 0 &  1       }\right) = 1 \not= 0\)

    Hence \(\phi_0(x) = (-2)\So   {2^{n-1}( (n-1)) \over n!} x^n \) and $\phi_1(x) = \S {2^{n-1} \over 
    (n-1)!} x^n$  are linearly independent


    ---

    When possible identify the functions giving the series solutions.  Recall that 
    by Taylor's theorem and the ratio test, $e^{2x} = \So {f^{(n)}(x) \over n!} x^n = \So {2^n \over n!} 
    x^n\( for all \)x$.


    \(f(x) = a_1\So   {n2^{n-1} \over n!} x^n  -2a_0 \So   {2^{n-1} (n-1) \over n!} x^n  \)

    $= a_1\So   {n2^{n-1} \over n!} x^n  -2a_0 \So   {n2^{n-1} \over n!} x^n   + 2a_0 \So   {2^{n-1} \over 
    n!} x^n $

    \(= (a_1  -2a_0) \So   {n2^{n-1} \over n!} x^n   + a_0 \So   {2^{n} \over n!} x^n \)

    \(= (a_1  -2a_0)x \S   {2^{n-1} \over (n-1)!} x^{n-1}   + a_0 \So   {2^{n} \over n!} x^n \)

    \(= (a_1  -2a_0)x \So   {2^{n} \over n!} x^{n}   + a_0 \So   {2^{n} \over n!} x^n \)

    \(= (a_1  -2a_0)x e^{2x}   + a_0 e^{2x} \)


    Note we have recovered the solution we found using the 3.4 method.

    ---

    Note a power series solutions exists in a neighborhood of \(x_0\) when the solution is analytic at \(x_0\).  
    I.e, the solution is of the form \(y = \So a_n(x - x_0)^n\) where this series has a nonzero radius of 
    convergence about \(x_0\).

    When do we know an analytic solution exists?  I.e, when is this method guaranteed to work?

    Special case:  \(P(x)y'' + Q(x)y' + R(x) y = 0\)

    Then \(y''(x) = -{Q \over P}y' - {R \over P}y\)


    Definition:  The point \(x_0\) is an {\it ordinary point} of the ODE, 
    \(P(x)y'' + Q(x)y' + R(x) y = 0\)
     if \({Q \over P}\) and \({R \over P}\) are analytic at \(x_0\).

    Theorem 5.3.1:  If \(x_0\) is an ordinary point of the ODE \(P(x)y'' + Q(x)y' + R(x) y = 0\), then the 
    general solution to this ODE is 
    \(y  = \S a_n(x - x_0)^n = a_0\phi_0(x)  + a_1\phi_1(x)\)
    where \(\phi_i\) are power series solutions that are analytic at \(x_0\).  The solutions \(\phi_0, \phi_1\) 
    form a fundamental set of solutions.  The radius of convergence for each of these series solutions is 
    at least as large as the minimum radii of convergence of the series for \({Q \over P}\) and ${R \over 
    P}$. 

    Theorem:  If \(P\) and \(Q\) are polynomial functions, then \(y = Q(x)/P(x)\) is analytic at \(x_0\) if and 
    only if \(P(x_0) \not= 0\).  Moreover  if \(Q/P\) is reduced, the radius of convergence of $ Q(x)/P(x) 
    =min\{||x_0 - x|| ~|~ x \in {\bf C}, P(x) = 0\}\(  where \)||x_0-x||\( = distance from \)x_0\( to \)x$ 
    in the complex plane.

    \end

    START 100/FALL16/e2_3600_F2016ANS.tex part 4

    [20]~  6.)  Given the recursive relation \(a_{n+2} = 6a_{n+1} - 9a_{n}\) where \(a_0 = -1\) and \(a_1 = 3\), 
    prove that \(a_n = 3^n(2n - 1)\).  You may use induction.


    Proof by induction:  First we prove that \(a_n = 3^n(2n - 1)\) for \(n = 0, 1\):

    ~~~~\(n = 0\):   \(3^0(2(0) - 1) = -1 = a_0 \)

    ~~~~\(n = 1\):   \( 3^1(2(1) - 1) = 3 = a_1\)

    Induction hypothesis:  Suppose \(a_k = 3^k(2k - 1)\) for \(k = n, n+1\).

    ~~~~Then \(a_n = 3^n(2n - 1)\) and \(a_{n+1} = 3^{n+1}(2(n+1) - 1)\)

    Claim:  \(a_{n+2} = 3^{n+2}(2(n+2) - 1)\)

    \(a_{n+2} = 6a_{n+1} - 9a_{n} \)

    ~~~~~~~\(= 6[ 3^{n+1}(2(n+1) - 1)] - 9[ 3^n(2n - 1)]\)

    ~~~~~~~$ =
    2[ 3^{n+2}(2n+2 - 1)] -  3^{n+2}(2n - 1)$

    ~~~~~~~\( = 2[ 3^{n+2}(2n+1)] -  3^{n+2}(2n - 1)\)

    ~~~~~~~\(= 3^{n+2}(4n+2) -  3^{n+2}(2n - 1)\)

    ~~~~~~~\(= 3^{n+2}[4n+2 -  2n + 1]\)

    ~~~~~~~\(= 3^{n+2}[2n+ 3]\)

    ~~~~~~~\(= 3^{n+2}[2(n+2) - 1]\)

    Alternative answer ({\bf not} covered in this class -- see     MATH:4050 Intro to Discrete Math):  


    Guess \(a_n = x^n\).  Then \(a_{n+1} = x^{n+1}\) and \(a_{n+2} = x^{n+2}\)

    Then \(a_{n+2} = 6a_{n+1} - 9a_{n}\)  implies \(x^{n+2} - 6x^{n+1} + 9x^{n} = 0\).

     Hence  \(x^{n}(x^2 - 6x + 9) = x^n(x-3)^2 = 0\).  Thus \(x = 3\)

    Claim:  \(a_n = c_1(3^{n}) + c_2(n3^{n})\) satisfies  \(a_{n+2} - 6a_{n+1} + 9a_{n} = 0\) 

    \( c_1(3^{n+2}) + c_2((n+2)3^{n+2}) - 6[ c_1(3^{n+1}) + c_2((n+1)3^{n+1})] + 9[ c_1(3^{n}) + c_2(n3^{n})] \) 

    ~~\(=  c_1[3^{n+2} - 6(3^{n+1}) + 9 (3^{n}) ] + c_2[(n+2)3^{n+2} -6 ((n+1)3^{n+1}) + 9 (n3^{n})] \) 

    ~~\( =c_1[3^{n+2} - 2(3^{n+2}) + (3^{n+2}) ] + c_2\{n[(3^{n+2} -6(3^{n+1}) + 9 (3^{n})] + [(2)3^{n+2} -6 (3^{n+1}) ]\}\) 


    ~~\(= c_1[0 ] + c_2\{n[(3^{n+2} -2(3^{n+2}) + (3^{n+2})] + [(2)3^{n+2} -2 (3^{n+2}) ]\} = 0\)

    Thus  \(a_n = c_1(3^{n}) + c_2(n3^{n})\)

    IVP:  \(a_0 = -1\) and \(a_1 = 3\), 

    \(n = 0\):  \(-1 = c_1(3^{0}) + c_2(0) = c_1\)

    \(n = 1\): \(3 = c_1(3) + c_2(3) = -3 + 3c_2\).  Thus \(c_2 = 2\)

    Hence \(a_n = -(3^{n}) + 2(n3^{n}) = 3^n(2n - 1)\)

    \end

    START 100/SPRING13/exam2ANS.tex part 1

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{9.8in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    22M:100 (MATH:3600:0001) Exam 2 [April 27, 2013] Answers


    [20]~ 3.) Find a recursive formula for the constants of the series solution to
    \(y'' + 2y = 0\) near \(x_0 = 0\).


    Let \(y = \So a_n x^n\), then \(y' = \S n a_n x^{n-1}\), and \(y'' = \St n(n-1) a_n x^{n-2}\)

    \( \St n(n-1) a_n x^{n-2} + 2\So a_nx^n = 0\)


    \( \So (n+2)(n+1) a_{n+2} x^{n} + 2\So a_nx^n = 0\)

    \( \So [(n+2)(n+1) a_{n+2}  + 2 a_n]x^n = 0\)

    Thus \((n+2)(n+1) a_{n+2}  + 2 a_n = 0\)


    Hence \(a_{n+2} = \frac{-2a_n}{(n+2)(n+1)}\)


    Answer: \(\underline{~~a_{n+2 = \frac{-2a_n}{(n+2)(n+1)}~~}\)}

    \end

    START 100/FALL18/final3600_F2016ans.tex part 5

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \begin{document}

    MATH:3600:0002 Final Exam \hfil \break
    Dec. 12, 2016 \hfill SHOW ALL STEPS \hfill

    [10]~  6.)  Given the recursive relation  \(a_n = { 4a_{n-1} \over  (n+1)n }\) where \(a_0 = 1\),  

    use induction to prove that \(a_n = { 4^n  \over  (n+1)!n!}\). 


    Proof outline (thus this answer is very incomplete):

    \({ 4^0  \over  (1)!0!} = 1 = a_0\)

    \(a_n = { 4a_{n-1} \over  (n+1)n }\)
    \( = { 4( 4^{n-1})  \over  n!(n-1)!(n+1)n }\)
    \( = { 4^{n}  \over  (n+1)!n! }\)


    \e

    \end

    Section 5.3: Series Solutions Near an Ordinary Point, Part II

    START 100/5_3a.tex

    5.3:  Series solutions near an ordinary point, part II
    \u
    A power series solution exists in a neighborhood of \(x_0\) when the solution is analytic at \(x_0\).  
    I.e, the solution is of the form \(y = \So a_n(x - x_0)^n\) where this series has a nonzero radius of 
    convergence about \(x_0\).
    \u
    That is \(f(x) = \So {f^{(n)}(x_0) \over n!}(x - x_0)^n\) for \(x\) near \(x_0\). 
    \u
    Thus there are constants \(a_n =   {f^{(n)}(x_0) \over n!}\) such that, 
     
    \(f(x) = \So a_n(x - x_0)^n \).

    When do we know an analytic solution exists?  I.e, when is this method guaranteed to work?

    \u

    Special case:  \(P(x)y'' + Q(x)y' + R(x) y = 0\)

    Then \(y''(x) = -[{Q \over P}y' + {R \over P}y]\)

    \(y'''(x) = -[({Q \over P})'y' + {Q \over P}y'' + {R \over P}'y + {R \over P}y']\)

    If \(f(x) = \So a_n(x - x_0)^n \) is a solution where \(a_n =   {f^{(n)}(x_0) \over n!}\), then \(a_0 = f(x_0), a_1 = f'(x_0)\)


    \(2!a_2 = f''(x_0) = -[{Q \over P}f'(x_0) + {R \over P}f(x_0)] = -[{Q \over P}a_1 + {R \over P}a_0]\)

    \(3!a_3 = f'''(x_0) = -[({Q \over P})'f'(x_0) + {Q \over P}f''(x_0) + {R \over P}'f(x_0) + {R \over P}f'(x_0)]\)

    To find \(a_n\) we could continue taking derivative including derivatives of \({Q \over P}\) and \({R \over P}\) (but much easier to plug series into equation -- ie 5.2 method).


    Definition:  The point \(x_0\) is an {\it ordinary point} of the ODE, 
    \(P(x)y'' + Q(x)y' + R(x) y = 0\)
     if \({Q \over P}\) and \({R \over P}\) are analytic at \(x_0\).  If \(x_0\) is not an ordinary point, then it is a {\it singular point}.

    Theorem 5.3.1:  If \(x_0\) is an ordinary point of the ODE \hb
    \(P(x)y'' + Q(x)y' + R(x) y = 0\), then the 
    general solution to this ODE is 
    \(y  = \So a_n(x - x_0)^n = a_0\phi_0(x)  + a_1\phi_1(x)\)
    where \(\phi_i\) are power series solutions that are analytic at \(x_0\).  The solutions \(\phi_0, \phi_1\) 
    form a fundamental set of solutions.  The radius of convergence for each of these series solutions is 
    at least as large as the minimum radii of convergence of the series for \({Q \over P}\) and ${R \over 
    P}$. 

    Theorem:  If \(P\) and \(Q\) are polynomial functions with no common factors, then \(y = Q(x)/P(x)\) is analytic at \(x_0\) if and 
    only if  \hb
    \(P(x_0) \not= 0\).  Moreover  the radius of convergence of \( Q(x)/P(x) \)
    is

    \(min\{||x_0 - x|| ~|~ x \in {\bf C, P(x) = 0\}\)}
      where \(||x_0-x||\) = distance from \(x_0\) to \(x\) 
    in the complex plane.

    Ex:  \(x(x + 1)y'' + {x^2 \over x^2 + 1} y' + {x \over x-2}y = 0\)

     \(y'' + {x \over (x^2 + 1)(x + 1)} y' + {1 \over (x-2)(x+1)}y = 0\)

    Then \(x_0 = -1, 2\) are singular points.  All other points are ordinary points.
    \u
    The zeros of the denominators are \(x = \pm i, -1, 2\)

    Radius of convergence for the series solution to this ODE about the point \(x_0\) if \(x _0 \not= -1, 2\) is at least as large as \hb  minimum\(\{  qrt{x_0^2 + (\pm 1)^2}, |x_0 - (-1)|, |x_0 - 2|\}\)

    If \(x_0 = 0\), radius of convergence \(\geq 1\)
    \u
    If \(x_0 = -3\), radius of convergence \(\geq 2\)
    \u
    If \(x_0 = 3\), radius of convergence \(\geq 1\)
    \u
    If \(x_0 = {1 \over 3}\), radius of convergence \(\geq  qrt{({1 \over 3})^2 + (\pm 1)^2} = { qrt{10} \over 3}\)


    5.4:  Euler equation:  \(x^2y'' + \alpha x y' + \beta y = 0\)

    Let \(L(y) = x^2y'' + \alpha x y' + \beta y\)

    Recall that \(L\) is a linear function and if \(f\) is a solution to the euler equation, then \(L(f) = 0\).

    Note that if \(x \not= 0\), then \(x\) is an ordinary point and if \(x = 0\), then \(x\) is a singular point.  


    {\bf Suppose \(x > 0\).}  Claim \(L(x^r) = 0\) for some value of \(r\)

    \(y = x^r\), \(y' = rx^{r-1}\), \(y'' = r(r-1)x^{r-2}\)

    \(x^2y'' + \alpha x y' + \beta y = 0\)

    \(x^2 r(r-1)x^{r-2} + \alpha x rx^{r-1} + \beta x^r = 0\)

    \( (r^2-r)x^{r} + \alpha rx^{r} + \beta x^r = 0\)

    \( x^r[r^2-r + \alpha r + \beta] = 0\)

    \( x^r[r^2 + (\alpha - 1) r + \beta] = 0\)

    Thus \(x^r\) is a solution iff \(r^2 + (\alpha - 1) r + \beta = 0\)

    Thus \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\)


    {\bf Suppose \(x < 0\).}  Claim \(L((-x)^r) = 0\) for some value of \(r\)


    \(y = (-x)^r\), \(y' = -r(-x)^{r-1}\), \(y'' = r(r-1)(-x)^{r-2}\)

    \(x^2y'' + \alpha x y' + \beta y = 0\)

    \(x^2 r(r-1)(-x)^{r-2} - \alpha x r(-x)^{r-1} + \beta (-x)^r = 0\)

    \( (r^2-r)(-x)^{r} + \alpha r(-x)^{r} + \beta (-x)^r = 0\)

    \( (-x)^r[r^2-r + \alpha r + \beta] = 0\)

    \( (-x)^r[r^2 + (\alpha - 1) r + \beta] = 0\)

    Thus \((-x)^r\) is a solution iff \(r^2 + (\alpha - 1) r + \beta = 0\)

    Thus \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\)

    Recall \(|x| = \cases{ x & if  \)x > 0\( \cr -x & if   \)x < 0\(}\)

    Thus \(|x|^r = \cases{ x^r & if \)x > 0\( \cr (-x)^r &if \)x < 0\(}\)

    Thus if  \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\), then \(y = |x|^r\) is a solution to Euler's equation for \(x \not= 0\).

    Case 1.  2 real distinct roots, \(r_1, r_2\):      

    General solution is \(y = c_1|x|^{r_1 + c_2|x|^{r_2}\).}

    Case 2:  2 complex solutions \(r_i = \lambda \pm i \mu:\) 

     Convert solution to form without complex numbers.

    Note $|x|^{ \lambda \pm i \mu }= e^{ln(|x|^{ \lambda \pm i \mu } )} =
     e^{ (\lambda \pm i \mu )ln|x|} 
    = e^{ \lambda ln|x|}e^{ i (\pm\mu ln|x|)} $

    \(= |x|^\lambda [cos(\pm\mu ln|x|) + i sin(\pm\mu ln|x|)]\)

    \(= |x|^\lambda [cos(\mu ln|x|) \pm i sin(\mu ln|x|)]\)


    Case 3:  1 repeated root:  Find 2nd solution.
    \end

    How is \(x^r\) defined:

    \(x^n = x \cdot x \cdot ... \cdot x\) when \(n\) is a positive integer.

    If \(f(x) = x^n\), then \(f^{-1}(x) = x^{1 \over n}\) 


    \(x^{m \over n} = (x^m)^{1 \over n}\)

    Let \(r > 0\).  Let \(r_n\) be any sequence consisting of positive  rational numbers such that \(lim{n \rightarrow \infty} r_n = r\)

    Then \(x^r = lim_{n \rightarrow \infty} x^{r_n}\).

    See more advanced class for why the above is well-defined.

    If \(r < 0\), then \(x^r = x^{-r}\).

    If \(x\) is a real number, when is \(x^r\) a real number?

    \(x^n = x \cdot x \cdot ... \cdot x\) is a real number when \(n\) is a positive integer.

    If \(f(x) = x^n\), then the image of $f = 
    \cases{ \hbox{real numbers} & \(n\) odd \cr [0, \infty) & \(n\) even}$

    \(f^{-1}(x) = x^{1 \over n}\) 


    Case 3:  1 repeated root (\( qrt{(\alpha - 1)^2 - 4\beta} = 0\)):  
    \(r_1 = {-(\alpha - 1)   \over 2}.\)  


    Thus \(|x^{r_1}|\) is a solution.  Find 2nd solution.

    Method 1.  Reduction of order:  Suppose \(f(t) = u(x) |x|^{r_1}\) is a solution to \(x^2y'' + \alpha x y' + \beta y = 0\).  Plug in and determine \(u(x)\)


    Method 2:  

      Let \(L(y) = x^2y'' + \alpha x y' + \beta y\) where \(y' = {dy \over dx}\).

    \(L(|x|^r) = |x|^r(r - r_1)^2\)

    ${\partial \over \partial r}[L(|x|^r)] = {\partial \over \partial r}[|x|^r(r - r_1)^2] =
    (|x|^r)'(r - r_1)^2 + 2|x|^r(r - r_1) = 0\( if \)r = r_1$.


    ${\partial \over \partial r}[L(y)] =  {\partial \over \partial r}[x^2y'' + \alpha x y' + \beta y ] =
    x^2 {\partial y''\over \partial r} + \alpha x {\partial y'\over \partial r} + \beta {\partial y\over \partial r}$

    $=
    x^2 {\partial \over \partial r} [{\partial^2 y\over \partial x^2} ]+ \alpha x {\partial \over \partial r}[{\partial y \over \partial x}]  + \beta {\partial y\over \partial r}
    $

    $=
    x^2 {\partial^2 \over \partial x^2} [{\partial y\over \partial r} ]+ \alpha x {\partial \over \partial x}[{\partial y \over \partial r}]  + \beta {\partial y\over \partial r}
    $

    \(= L({\partial y\over \partial r})\)


    \(L({\partial |x|^r \over \partial r}) = {\partial \over \partial r}[L(|x|^r)] = 0\) for \(r = r_1\).

    Thus \({\partial |x|^r \over \partial r}\) is a solution.

    \({\partial |x|^r \over \partial r} = {\partial e^{ln|x|^r} \over \partial r}\)
    \({\partial e^{rln|x|} \over \partial r} = e^{rln|x|}ln|x| = |x|^r ln|x|\)
    \end

    Section 5.4: Euler Equations; Regular Singular Points

    START 100/5_4.tex

    Section 5.4 continued
    \u
    {\bf Solve} \(x^2y'' - 2xy' = 0\) (*).
      

    \line{We could solve by letting \(v = y'\), but we will instead use 5.4 methods}

    Note \(x\) is an ordinary point iff \(x \not = 0\) ~~(\(y'' - {2 \over x} y' = 0\).)
    \hb
    \(x= 0\) is a singular point.

    Note  \(x^2x^{r-2} r(r-1) - 2xx^{r-1}r = 0 \) implies \(r^2 - r - 2r = 0\) and recall \(y = (-x)^r\) gives same equation for \(r\) as \(y = x^r\).

    Thus \(y = |x|^r\) implies \(r^2 + (\alpha - 1)r + \beta = r^2 - 3r + 0 = r(r-3) =0\)
    Thus \(r = 0, 3\).  Thus \(y = |x|^0 = 1\) and \(y = |x|^3\) are solutions to (*)

    Since (*) is a linear equation, the general solution is \(y = c_1 + c_2|x|^3\).
    \u
    Note an equivalent general solution is \(y = k_1 + k_2x^3\).

    Both forms are valid for all \(x\).

    {\bf When is a unique solution to the following initial value problem guaranteed?}
     
    \(x^2y'' - 2xy' = 0\), ~ \(y(t_0) = y_0\), ~\(y'(t_0) = y_1\) (**)
      
    \(y'' - {2 \over x y' = 0\), ~~\(y(t_0) = y_0\),~~ \(y'(t_0) = y_1\) ~~~}

    Since \({2 \over x}\) and the zero constant function are continuous on 

    \u
    (**) has a unique solution for \(t_0 < 0\) and this solution exists on 

    \u
    (**) has a unique solution for \(t_0 > 0\) and this solution exists on 

    \u
    There are an infinite number of solutions for \(y(0) = a\), \(y'(0) = 0\).


    {\bf How is \(x^r\) defined:}

    If \(n\) is a positive integer:  \(x^n = x \cdot x \cdot ... \cdot x\)

    If \(m\) is a positive integer:  If \(f(x) = x^m\), then \(f^{-1}(x) = x^{1 \over m}\) 
    and \(x^{n \over m} = (x^n)^{1 \over m}\)

    Let \(r \geq 0\).  Let \(r_n\) be any sequence consisting of positive  rational numbers such that \(lim_{n \rightarrow \infty} r_n = r\).  Then 

    \(x^r = lim_{n \rightarrow \infty x^{r_n}\).}

    See more advanced class for why the above is well-defined.

    If \(r < 0\), then \(x^r = x^{-r}\).

    ---

    If \(x\) is a real number, when is \(x^r\) a real number?

    \(x^n = x \cdot x \cdot ... \cdot x\) is a real number when \(n\) is a positive integer.

    If \(f(x) = x^n\), then the image of $f = 
    \cases{ \hbox{real numbers} & \(n\) odd \cr [0, \infty) & \(n\) even}$

    Thus if \(f^{-1}(x) = x^{1 \over n}\) is real-valued, then 

    ---

    In complex analysis, \(\left({1 + i  qrt{3} \over 2}\right)^3 = -1\),~  \((-1)^3 = -1\),~ 
    \(\left({1 - i  qrt{3} \over 2}\right)^3 = -1\)

    Recall \(\left(e^{i \pi \over 3}\right)^3 = (cos {\pi \over 3} + i sin{\pi \over 3})^3 = -1\)


    Complex numbers are also roots of unity: 
     \(\left(e^{2i \pi \over 3\right)^3  = 1\)
    ~~
    \(\left(e^{-2i \pi \over 3}\right)^3  = 1\), ~~\((1)^3 = 1\)}


    {\bf Solve} \(x^2y'' + \alpha x y' + \beta y = 0\). ~~~~~Let \(y = x^r\), \hb\(y' = rx^{r-1}\), \(y'' = r(r-1)x^{r-2}\) (case when \(y = (-x)^r\) is similar).

    \(x^2 x^{r-2} r(r-1)+ \alpha x x^{r-1} r + \beta x^r = 0\)

    \( x^r[r^2-r + \alpha r + \beta] = 0\) for all \(x\)
    implies
    \( r^2 + (\alpha - 1) r + \beta = 0\)

    Thus \(x^r\) is a solution iff  \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\)

    {\bf Case 1:}  Two real roots, \(r_1, r_2\).
    \u
    General solution is \(y = c_1|x|^{r_1} +  c_2|x|^{r_2}\) 

    {\bf Case 2:}  Two complex roots, \(r_i = \lambda \pm i \mu:\) 
    \u
     Convert solution to form without complex numbers.
    \u
    Note $|x|^{ \pm i \mu }= e^{ln(|x|^{ \pm i \mu } )} =
     e^{ ( \pm i \mu )ln|x|} 
    = e^{ i (\pm\mu ln|x|)} $
     
     

    General solution is $y = c_1 |x|^{r_1} + c_2|x|^{r_2} 
    =
     c_1 |x|^{\lambda + i \mu} + c_2|x|^{\lambda - i \mu} $

    $=
     |x|^{\lambda}(c_1 |x|^{ i \mu} + c_2|x|^{ -i \mu} )$

    $=
     |x|^{\lambda}(c_1  [cos(\mu ln|x|) + i sin(\mu ln|x|)] + c_2 [cos(\mu ln|x|) - i sin(\mu ln|x|)] )$

    $=
     |x|^{\lambda}([c_1+c_2] cos(\mu ln|x|) + i [c_1 - c_2]sin(\mu ln|x|))$


    $=
     |x|^{\lambda}(k_1cos(\mu ln|x|) +k_2sin(\mu ln|x|))$

    $=
     k_1|x|^{\lambda}cos(\mu ln|x|) +k_2|x|^{\lambda}sin(\mu ln|x|)$

    ---
     
    \line{{\bf Case 3:}{  one repeated root, \(r_1 = {-(\alpha - 1)   \over 2}.\)   }
    (i.e., \( qrt{(\alpha - 1)^2 - 4\beta} = 0\)):  }

    Thus \(|x|^{r_1}\) is a solution.  Find 2nd solution.

    {\it Method 1.}  Reduction of order:  Suppose \(y = u(x) |x|^{r_1}\) is a solution to \(x^2y'' + \alpha x y' + \beta y = 0\).  Plug in and determine \(u(x)\)


    {\it Method 2:}   Let \(L(y) = x^2y'' + \alpha x y' + \beta y\) where \(y' = {dy \over dx}\).

    \u
    \(L(|x|^r) = |x|^r(r - r_1)^2\)

    ${\partial \over \partial r}[L(|x|^r)] = {\partial \over \partial r}[|x|^r(r - r_1)^2] =
    (|x|^r)'(r - r_1)^2 + 2|x|^r(r - r_1) = 0$

    \u skip -3pt
    Suppose \(x\) is constant with respect to \(r\) and all the partial derivatives are continuous.  Then
    \u
    ${\partial \over \partial r}[L(y)] =  {\partial \over \partial r}[x^2y'' + \alpha x y' + \beta y ] =
    x^2 {\partial y''\over \partial r} + \alpha x {\partial y'\over \partial r} + \beta {\partial y\over \partial r}$
     
    x^2 {\partial \over \partial r} [{\partial^2 y\over \partial x^2} ]+ \alpha x {\partial \over \partial r}[{\partial y \over \partial x}]  + \beta {\partial y\over \partial r}
    $}
     
    x^2 {\partial^2 \over \partial x^2} [{\partial y\over \partial r} ]+ \alpha x {\partial \over \partial x}[{\partial y \over \partial r}]  + \beta {\partial y\over \partial r}
    $}
     
    \u  skip -2pt

    \(L({\partial |x|^r \over \partial r}) = {\partial \over \partial r}[L(|x|^r)] = 0\) for \(r = r_1\).

    \({\partial |x|^r \over \partial r} = {\partial e^{ln|x|^r} \over \partial r}\)
    \({\partial e^{rln|x|} \over \partial r} = (e^{rln|x|})ln|x| = |x|^r ln|x|\)

    Thus \(|x|^{r_1} ln|x|\) is a solution.

    Thus general solution is \(y = c_1 |x|^{r_1} + c_2 |x|^{r_1} ln|x|\)

    since by the Wronskian, \(|x|^{r_1} \) and \(|x|^{r_1} ln|x|\) are linearly independent.  Suppose \(x > 0\) and \(r_1 \not = 0\).

    $\left|\matrix{ x^{r_1}  & x^{r_1} ln|x| \cr
    r_1 x^{r_1 - 1} & r_1x^{r_1 - 1} ln|x| +x^{r_1 - 1}  }\right|$

      

      
    \u
    Other cases for Wronskian are similar.

    \end

    lim |h|^r - 0\over h = 

    A power series solutions exists in a neighborhood of \(x_0\) when the solution is analytic at \(x_0\).  
    I.e, the solution is of the form \(y = \So a_n(x - x_0)^n\) where this series has a nonzero radius of 
    convergence about \(x_0\).

    That is \(f(x) = \So {f^{(n)}(0) \over n!}(x - x_0)^n\) for \(x\) near \(x_0\). 

    Thus there are constants \(a_n =   {f^{(n)}(x_0) \over n!}\) such that, 
     
    \(f(x) = \So a_n(x - x_0)^n \).

    When do we know an analytic solution exists?  I.e, when is this method guaranteed to work?

    Special case:  \(P(x)y'' + Q(x)y' + R(x) y = 0\)

    Then \(y''(x) = -[{Q \over P}y' + {R \over P}y]\)

    \(y'''(x) = -[({Q \over P})'y' + {Q \over P}y'' + {R \over P}'y + {R \over P}y']\)

    If \(f(x) = \So a_n(x - x_0)^n \) is a solution where \(a_n =   {f^{(n)}(x_0) \over n!}\), then \(a_0 = f(x_0), a_1 = f'(x_0)\)


    \(2!a_2 = f''(x_0) = -[{Q \over P}f'(x_0) + {R \over P}f(x_0)] = -[{Q \over P}a_1 + {R \over P}a_0]\)

    \(3!a_3 = f'''(x_0) = -[({Q \over P})'f'(x_0) + {Q \over P}f''(x_0) + {R \over P}'f(x_0) + {R \over P}f'(x_0)]\)

    To find \(a_n\) we could continue taking derivative including derivatives of \({Q \over P}\) and \({R \over P}\) (but much easier to plug series into equation -- ie 5.2 method).


    Definition:  The point \(x_0\) is an {\it ordinary point} of the ODE, 
    \(P(x)y'' + Q(x)y' + R(x) y = 0\)
     if \({Q \over P}\) and \({R \over P}\) are analytic at \(x_0\).  If \(x_0\) is not an ordinary point, then it is a {\it singular point}.

    Theorem 5.3.1:  If \(x_0\) is an ordinary point of the ODE \hb
    \(P(x)y'' + Q(x)y' + R(x) y = 0\), then the 
    general solution to this ODE is 
    \(y  = \So a_n(x - x_0)^n = a_0\phi_0(x)  + a_1\phi_1(x)\)
    where \(\phi_i\) are power series solutions that are analytic at \(x_0\).  The solutions \(\phi_0, \phi_1\) 
    form a fundamental set of solutions.  The radius of convergence for each of these series solutions is 
    at least as large as the minimum radii of convergence of the series for \({Q \over P}\) and ${R \over 
    P}$. 

    Theorem:  If \(P\) and \(Q\) are polynomial functions with no common factors, then \(y = Q(x)/P(x)\) is analytic at \(x_0\) if and 
    only if  \hb
    \(P(x_0) \not= 0\).  Moreover  the radius of convergence of \( Q(x)/P(x) \)
    is

    \(min\{||x_0 - x|| ~|~ x \in {\bf C, P(x) = 0\}\)}
      where \(||x_0-x||\) = distance from \(x_0\) to \(x\) 
    in the complex plane.

    Ex:  \(x(x + 1)y'' + {x^2 \over x^2 + 1} y' + {x \over x-2}y = 0\)

     \(y'' + {x \over (x^2 + 1)(x + 1)} y' + {1 \over (x-2)(x+1)}y = 0\)

    Then \(x_0 = -1, 2\) are singular points.  All other points are ordinary points.
    \u
    The zeros of the denominators are \(x = \pm i, -1, 2\)

    Radius of convergence for the series solution to this ODE about the point \(x_0\) if \(x _0 \not= -1, 2\) is at least as large as \hb  minimum\(\{  qrt{x_0^2 + (\pm 1)^2}, |x_0 - (-1)|, |x_0 - 2|\}\)

    If \(x_0 = 0\), radius of convergence \(\geq 1\)
    \u
    If \(x_0 = -3\), radius of convergence \(\geq 2\)
    \u
    If \(x_0 = 3\), radius of convergence \(\geq 1\)
    \u
    If \(x_0 = {1 \over 3}\), radius of convergence \(\geq  qrt{({1 \over 3})^2 + (\pm 1)^2} = { qrt{10} \over 3}\)


    5.4:  Euler equation:  \(x^2y'' + \alpha x y' + \beta y = 0\)

    Let \(L(y) = x^2y'' + \alpha x y' + \beta y\)

    Recall that \(L\) is a linear function and if \(f\) is a solution to the euler equation, then \(L(f) = 0\).

    Note that if \(x \not= 0\), then \(x\) is an ordinary point and if \(x = 0\), then \(x\) is a singular point.  


    {\bf Suppose \(x > 0\).}  Claim \(L(x^r) = 0\) for some value of \(r\)

    \(y = x^r\), \(y' = rx^{r-1}\), \(y'' = r(r-1)x^{r-2}\)

    \(x^2y'' + \alpha x y' + \beta y = 0\)

    \(x^2 r(r-1)x^{r-2} + \alpha x rx^{r-1} + \beta x^r = 0\)

    \( (r^2-r)x^{r} + \alpha rx^{r} + \beta x^r = 0\)

    \( x^r[r^2-r + \alpha r + \beta] = 0\)

    \( x^r[r^2 + (\alpha - 1) r + \beta] = 0\)

    Thus \(x^r\) is a solution iff \(r^2 + (\alpha - 1) r + \beta = 0\)

    Thus \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\)


    {\bf Suppose \(x < 0\).}  Claim \(L((-x)^r) = 0\) for some value of \(r\)


    \(y = (-x)^r\), \(y' = -r(-x)^{r-1}\), \(y'' = r(r-1)(-x)^{r-2}\)

    \(x^2y'' + \alpha x y' + \beta y = 0\)

    \(x^2 r(r-1)(-x)^{r-2} - \alpha x r(-x)^{r-1} + \beta (-x)^r = 0\)

    \( (r^2-r)(-x)^{r} + \alpha r(-x)^{r} + \beta (-x)^r = 0\)

    \( (-x)^r[r^2-r + \alpha r + \beta] = 0\)

    \( (-x)^r[r^2 + (\alpha - 1) r + \beta] = 0\)

    Thus \((-x)^r\) is a solution iff \(r^2 + (\alpha - 1) r + \beta = 0\)

    Thus \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\)

    Recall \(|x| = \cases{ x & if  \)x > 0\( \cr -x & if   \)x < 0\(}\)

    Thus \(|x|^r = \cases{ x^r & if \)x > 0\( \cr (-x)^r &if \)x < 0\(}\)

    Thus if  \(r = {-(\alpha - 1) \pm  qrt{(\alpha - 1)^2 - 4\beta} \over 2}\), then \(y = |x|^r\) is a solution to Euler's equation for \(x \not= 0\).

    Case 1.  2 real distinct roots, \(r_1, r_2\):      

    General solution is \(y = c_1|x|^{r_1 + c_2|x|^{r_2}\).}

    Case 2:  2 complex solutions \(r_i = \lambda \pm i \mu:\) 

     Convert solution to form without complex numbers.

    Note $|x|^{ \lambda \pm i \mu }= e^{ln(|x|^{ \lambda \pm i \mu } )} =
     e^{ (\lambda \pm i \mu )ln|x|} 
    = e^{ \lambda ln|x|}e^{ i (\pm\mu ln|x|)} $

    \(= |x|^\lambda [cos(\pm\mu ln|x|) + i sin(\pm\mu ln|x|)]\)

    \(= |x|^\lambda [cos(\mu ln|x|) \pm i sin(\mu ln|x|)]\)


    Case 3:  1 repeated root:  Find 2nd solution.

    \end

    START 100/FALL16/e2_3600_F2016ANS.tex part 5

    \nopagenumbers


    [8]~ 2.)  Find all the singular points of the following differential equation and determine whether each one is regular or irregular.

     ~~~~\(x^3(x - 3)y'' - 6xy' + 9xy = 0\)


    \(1y'' - {6 \over x^2(x - 3)} y' + {9 \over x^2(x - 3)}y = 0\).  Thus \(x = 0, 3\) are singular points.

    Euler equation:   \(x^2y'' + \alpha xy' + \beta y = 0\).

    Multiply by \(x^2\): ~~ \(x^2y'' - \left({6 \over x(x - 3)}\right) xy' + {9 \over (x - 3)}y = 0\).  Thus \(x = 0\) is an irregular singular point.

    Multiply by \((x-3)^2\):~~  \((x-3)^2y'' - \left({6 \over x^2}\right) (x-3)y' + {9 (x-3) \over x^2}y = 0\).  Thus \(x = 3\) is an regular singular point.


    Alternately:  \(lim_{x \rightarrow 0}~x( {6x \over x^2(x - 3)} )\) is not finite.  Thus \(x = 0\) is an irregular singular point.

     \(lim_{x \rightarrow 3}~(x-3)( {6 \over x^2(x - 3)} )\) and   \(lim_{x \rightarrow 3}~(x-3)^2(  {9 \over x^2(x - 3)} )\) are finite.   Thus \(x = 3\) is an regular singular point.

    \end

    START 100/FALL18/e1_Fall2018ansOLD.tex part 4

    \nopagenumbers

    Math 3600 Differential Equations Exam \#1
                                   Sept 26, 2018 \hfill  SHOW ALL
    WORK
    ~~~

    [15]~ 6.) Show by induction that for Picard's iteration method, \(\phi_n(t) = \displaystyle um_{k=1}^{n} {t^{2k} \over k!}\) \break
    approximates the solution to the initial value problem, 
     \(y' = 2t(1 + y)\), \(y(0) = 0\) where \(\phi_1(t) = {t^2}\).  You may use the proof outline below or write it from scratch.


    Proof by induction on \(n\).

    For \(n = 1\), ~~ \( \displaystyle um_{k=1}^{1}  {t^{2k} \over k!} = \)  \( {3(-1)^{1+1}~  t^{1+1} \over (1+1)!} =  {3~  t^{2} \over 2!}=\phi_1(t) \)

    Suppose for \(n = j\),~~  \(\phi_{j-1}(t) = \displaystyle um_{k=1}^{j-1}  {t^{2k} \over k!}\) 

    Claim:  \(\phi_j =  \displaystyle um_{k=1}^{j}  {t^{2k} \over k!}\)  

    Proof of claim:  By Picard's iteration method, \(\phi_{j} = \)
    \(\int_0^t f(s, \phi_{j-1}(s))ds \)

    \hskip 3in \(= \int_0^t 2s(1 + \displaystyle um_{k=1}^{j-1}  {s^{2k} \over k!})ds\)

    \hskip 3in \(= \int_0^t (2s + \displaystyle um_{k=1}^{j-1}  {2s^{2k+1} \over k!})ds\)

    \hskip 3in \(= \int_0^t ( \displaystyle um_{k=0}^{j-1}  {2s^{2k+1} \over k!})ds\)

    \hskip 3in \(=  \displaystyle um_{k=0}^{j-1}  {2t^{2k+2} \over (2k + 2)k!}\)

    \hskip 3in \(=  \displaystyle um_{k=0}^{j-1}  {2t^{2k+2} \over 2(k + 1)k!}\)

    \hskip 3in \(=  \displaystyle um_{k=0}^{j-1}  {t^{2k+2} \over (k + 1)!}\)

    \hskip 3in \(=  \displaystyle um_{k=1}^{j}  {t^{2k} \over k!}\)


    \end

    START 100/SPRING15/e1_2016ans.tex part 4

    \nopagenumbers


    Math 3600 Differential Equations Exam \#1
                                   March 2, 2016 \hfill  SHOW ALL
    WORK
    ~~~

    [20]~ 6.)  Choose one of the following 2 problems.
     If you do not choose your best problem, I will substitute the
    other problem, but with a 2 point penalty (if it
    improves your grade).
    Circle the letter corresponding to your chosen problem: A ~~ B

    6A.)  Show that  \(\phi(t) = \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k} \over k!}\) converges for all \(t\)
    and  show that  \(\phi(t) = \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k} \over k!}\)  is a solution to \(y' = 3t - y\).


    Proof: ~~ \(\displaystyle\lim_{k \rightarrow \infty}

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[5]/div[4]/div[4]/p[5]/span, line 1, column 6
    
    ~=~ \displaystyle\lim_{k \rightarrow \infty}{t \over k+1} = 0 < 1 \) for all \(t\).

    Thus  \(\phi(t) = \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k} \over k!}\) converges for all \(t\) by the ratio test.


    To show that \(y = \phi(t)\) is a solution to  \(y' = 3t - y\), we plug it in.

    \(\phi' = \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~ (k) t^{k-1} \over k!} = \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k-1} \over (k-1)!}\)


    \(3t - \phi ~=~ 3t -  \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k} \over k!} ~=~ 3t -  \displaystyle um_{k=3}^{\infty}{3(-1)^{k-1}~  t^{k-1} \over (k-1)!}\)


    \(\phi' ~=~ \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~ (k) t^{k-1} \over k!} ~=~ \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k-1} \over (k-1)!}\)
    \(~=~   \displaystyle um_{k=2}^{2}{3(-1)^{k}~  t^{k-1} \over (k-1)!}  +  \displaystyle um_{k=3}^{\infty}{3(-1)^{k}~  t^{k-1} \over (k-1)!}  \)

    Thus   \(\phi(t) = \displaystyle um_{k=2}^{\infty}{3(-1)^{k}~  t^{k} \over k!}\)  is a solution to \(y' = 3t - y\).


    6B.)  Show by induction that for Picard's iteration method, \(\phi_n(t) = \displaystyle um_{k=1}^{n} {3(-1)^{k+1}~  t^{k+1} \over (k+1)!}\) approximates the solution to the initial value problem,  \(y' = 3t - y\), \(y(0) = 0\) where \(\phi_1(t) = {3t^2 \over 2}\).  You may use the proof outline below or write it from scratch.


    Proof by induction on \(n\).

    For \(n = 1\), ~~ \( \displaystyle um_{k=1}^{1} {3(-1)^{k+1}~  t^{k+1} \over (k+1)!} = \) 
     \( {3(-1)^{1+1}~  t^{1+1} \over (1+1)!} =  {3~  t^{2} \over 2!} = \phi_1\)

    Suppose for \(n = j-1\),~~  \(\phi_{j-1}(t) = \displaystyle um_{k=1}^{j-1} {3(-1)^{k+1}~  t^{k+1} \over (k+1)!}\) 


    Then by Picard's iteration method, \(\phi_{j} = \int_0^t f(s, \phi_{j-1}(s))ds \) where \(f(t, y) =3t - y\).

    Thus $\phi_{j} = \int_0^t (3s - \phi_{j-1}(s))ds 
    =  \displaystyle\int_0^t (3s - \displaystyle um_{k=1}^{j-1} {3(-1)^{k+1}~  s^{k+1} \over (k+1)!})ds $

    \(\hskip 1.8in=  \displaystyle\int_0^t 3s~ ds - \displaystyle um_{k=1}^{j-1}  \displaystyle\int_0^t  {3(-1)^{k+1}~  s^{k+1} \over (k+1)!}ds \)

    \(\hskip 1.8in=   {3 \over 2}s^2|_0^t - \displaystyle um_{k=1}^{j-1}    {3(-1)^{k+1}~  s^{k+2} \over (k+2)!}|_0^t\)


    \(\hskip 1.8in=   {3 \over 2}t^2 - 0 - (\displaystyle um_{k=1}^{j-1}    {3(-1)^{k+1}~  t^{k+2} \over (k+2)!} - 0)\)

    \(\hskip 1.8in=   {3 \over 2}t^2  + \displaystyle um_{k=1}^{j-1}    {3(-1)^{k+2}~  t^{k+2} \over (k+2)!}\)

    \(\hskip 1.8in=   \displaystyle um_{k=1}^{1}    {3(-1)^{k+1}~  t^{k+1} \over (k+1)!} + \displaystyle um_{k=2}^{j}    {3(-1)^{k+1}~  t^{k+1} \over (k+1)!}\)

    \(\hskip 1.8in=   \displaystyle um_{k=1}^{j}    {3(-1)^{k+1}~  t^{k+1} \over (k+1)!}\)


    \end

    Section 5.5: Series Solutions Near a Regular Singular Point, Part I

    START 100/5_5.tex


    {\bf 5.5 Series Solutions Near a Regular Singular Point, Part I }
    \u
    Theorem 5.3.1:  If \(p(x)\) and\(q(x)\) are analytic at \(x_0\)  (i.e., \(x_0\) is an ordinary point of the ODE 
    \(y'' + p(x)y' + q(x) y = 0\)), then the 
    general solution to this ODE is 

    \(y  = \So a_n(x - x_0)^n = a_0\phi_0(x)  + a_1\phi_1(x)\)
    where \(\phi_i\) are power series solutions that are analytic at \(x_0\).  The solutions \(\phi_0, \phi_1\) 
    form a fundamental set of solutions.  The radius of convergence for each of these series solutions is 
    at least as large as the minimum radii of convergence of the series for \({Q \over P}\) and ${R \over 
    P}$. 

    If you prefer a power series expansion about 0, use \(u\)-substitution:  let \(u = x - x_0\).  Then \(p(u + x_0)\) and \(q(u + x_0)\)  are analytic at \(0\)


    (Semi-failed) attempt to transform 5.5 problem into 5.4 problem:
    \u

    {\bf 5.5:  \(y'' + p(x) y' + q(x)y = 0\)}

     \(x^2y'' + x^2p(x) y' + x^2q(x)y = 0\)

     \(x^2y'' + x[xp(x)] y' + [x^2q(x)]y = 0\) where \(xp(x)\) and \(x^2q(x)\) are functions of \(x\).

    {\bf 5.4:   \(x^2 y'' + \alpha x y' + \beta y = 0\) where \(\alpha, \beta\) are constants.}


    Combine 5.3/5.4 methods.


    Defn:  \(x_0\) is a {\it regular singular value}  if \(x_0\) is a singular value and \(xp(x)\) and 
    \(x^2q(x)\)
    are analytic at \(x_0\). 

    singular value which is not regular is called {\it irregular}.

    Examples:
    \u
    \(y'' + {y' \over x} + {y \over x^2} = 0\),   regular singular value:  \(x = 0\).
    \u
    \(y'' + {y' \over x^2} + {y \over x} = 0\),   irregular singular value:  \(x = 0\).
    \u
    \(y'' + {y'} + {y \over x^3} = 0\),  irregular singular value:  \(x = 0\).


    If \(p(x)\) and \(q(x)\) are rational functions, then \(xp(x)\) and \(x^2q(x)\) are analytic iff \(lim_{x \rightarrow 0} xp(x)\) and iff \(lim_{x \rightarrow 0} x^2q(x)\) are finite.  (i.e., after reducing fractions, \(x\) is not in the denominator.
    \u
    Ex:   \(p(x) = {1 \over x}\) implies \(xp(x) = {x \over x} = 1\)
    \u
    Ex:   \(p(x) = {1 \over x^2}\) implies \(xp(x) = {x \over x^2} = {1 \over x}\)
    ---

    If \(x_0 = 0\) is a regular singular value of the linear homogeneous DE,  \(x^2y'' + x[xp(x)] y' + x^2 q(x)y = 0\) (*), then
    \u skip -2pt
    \(xp(x) = \So p_nx^{n}\) and \(x^2q(x) = \So q_nx^{n}\) for constants \(p_n, q_n\).
      

    If \(y = x^r  \So a_nx^n = \So a_n x^{n + r}\)  is a solution to (*) where \(r \not=0\).

    \( y' =   \So (n+r)a_n x^{n + r-1}\)   and \( y'' =  \So (n+r)(n+r - 1) a_n x^{n + r-2}\)   

      

     \( x^2\So (n+r)(n+r - 1) a_n x^{n + r-2} + x[xp(x)]  \So (n+r)a_n x^{n + r-1} \)


    \( \So (n+r)(n+r - 1) a_n x^{n + r} + [xp(x)]  \So (n+r)a_n x^{n + r}\)

     \rightline{\(+ [x^2q(x)] \So a_n x^{n + r} \) }

    $
    \So(n+r)(n+r-1)a_nx^{n+r}+ \left(
    \So p_nx^{n} \right)
     \left( \So
    (n+r)a_nx^{n+r} \right)$

     \left( \So
    q_n x^n\right) \left( \So a_nx^{n+r} \right)
     $}

    Thus the coefficient of \(x^r\) is \(r(r-1)a_0 + p_0ra_0 + q_0a_0 = 0\)

    We can take \(a_0 \not = 0\).  Thus  \(r(r-1)+p_0r+q_0=0\)
    \u
    Thus  we can solve for \(r\) using the quadratic formula.
    \u
    Case 1:  \(r_1 > r_2\) both real and \(r_1 - r_2\) is not an integer.
    \u\u
    Case 2:   \(r_1 > r_2\) both real and \(r_1 - r_2 = p\), \(p\) an integer.
    \u\u
    Case 3:  one repeated root.
    \u\u
    Case 4:  two complex roots.

    \end
    Case 1:  \(r_1 > r_2\) both real and \(r_1 - r_2\) is not an integer.

    \(y = \So a_nx^{n + r_1}\) and \(y = \So a_nx^{n + r_2}\) are two linearly independent solutions.

    Case 2:   \(r_1 > r_2\) both real and \(r_1 - r_2 = p\), \(p\) an integer.

    \(y = \So a_nx^{n + r_1}\)  \(= \So a_nx^{n + r_2 + p} =x^p \So a_nx^{n + r_2  }\)

    \(\Sigma_{n = p}^\infty a_{n-p}x^{n + r_2}\) 


    \end

    $ \St (n+r)(n+r - 1) a_n x^{n + r} +   xp(x)(1 + r)a_1x^{1 + r} +  [xp(x)]  \St (n+r)a_n x^{n + r} + 
    [x^2q(x)]a_0x^r   + [x^2q(x)]a_1x^{r+1} +   [x^2q(x)] \St a_n x^{n + r}  $ 


    $     [x^2q(x)]a_0x^r   +(xp(x)(1 + r)a_1 +  [x^2q(x)]a_1)x^{r+1} +   
    \St [(n+r)(n+r - 1) a_n x^{n + r} + [xp(x)]  (n+r)a_n x^{n + r} + 
    [x^2q(x)]  a_n x^{n + r}  $ 

    $  a_0 F(r)x^r+ um_{n = 1}^{\infty} \Big[ F(n+r)a_n+ \big[(n+r-1)p_1+q_1 \big] a_{n-1}+
      \cdots+ (rp_n+q_n)a_0 \Big]x^{n+r}=0,
    $
    where \(F(r)=r(r-1)+p_0r+q_0\). Equating coefficients to zero, we get
     

     \(r(r-1)+p_0r+q_0=0,\)

    the {\bf indicial equation}, and

     \( F(n+r)a_n=-\big( (n+r-1)p_1+q_1 \big)a_{n-1}-\cdots-(rp_n+q_n)a_0\)

    START 100/5_5part2.tex


    {\bf 5.5: } Solve \(x^2 y'' - x(2 + x) y' + (2 + x^2)y = 0\)


    \(p(x) = - {x(2 + x) \over x^2} = -{2 + x \over x}\).  Thus \(x_0 = 0\) is a singular value. 

    \(q(x) = {2 + x^2 \over x^2}\) also implies  \(x_0 = 0\) is a singular value. 


    \(xp(x) = -(2 + x)\) and \(x^2q(x) = 2 + x^2\).  Thus \(x_0 = 0\) is a regular singular value.  


    Suppose \(y = \So a_nx^{n + r}\) is a solution.  WLOG assume \(a_0 \not= 0\) (otherwise one can reindex the summation).


    Then \(y' = \So (n+ r)a_nx^{n + r-1}\) and \(y'' = \So (n+r)(n+r - 1) a_nx^{n + r-2}\)


    \(x^2 y'' - x(2 + x) y' + (2 + x^2)y\)

    \(= x^2 \So (n+r)(n+r - 1) a_nx^{n + r-2} - (2x + x^2) \So (n+ r)a_nx^{n + r-1} + (2 + x^2)\So a_nx^{n + r}\)

    \(=  \So (n+r)(n+r - 1) a_nx^{n + r} -  \So 2(n+ r)a_nx^{n + r} -  \So (n+ r)a_nx^{n + r + 1}\)
     

    $=  \So [(n+r)(n+r - 1) -  2(n+ r) + 2]a_nx^{n + r} -  \S (n+ r -1)a_{n-1}x^{n + r}
     + \St a_{n-2}x^{n + r}$


    \(= [r(r - 1) -  2r + 2]a_0x^{ r} + [(1+r)r -  2(1+ r) + 2]a_1x^{r + 1} -  ra_{0}x^{r+1}\)
     

     + \St [(n+r)(n+r - 1) -  2(n+ r) + 2]a_nx^{n + r} 
     -  \St (n+ r -1)a_{n-1}x^{n + r}
     + \St a_{n-2}x^{n + r}$}


     \(= [r(r - 1) -  2r + 2]a_0 x^{ r} + \big([(1+r)r -  2(1+ r) + 2]a_1 - ra_0 \big) x^{r + 1}\)
     
    + \St \big( [(n+r)(n+r - 1) -  2(n+ r) + 2]a_n - (n+ r -1)a_{n-1} +  a_{n-2} \big) x^{n + r} $}


       $= [r^2 - r -  2r + 2]a_0 x^{ r} + 
       \big([r+r^2 -  2 -2r  + 2]a_1 - ra_0 \big) x^{r + 1}$
     
    + \St \big( [(n+r)(n+r - 3)  + 2]a_n - (n+ r -1)a_{n-1} +  a_{n-2} \big) x^{n + r} $}

       $= [r^2 - 3r + 2]a_0 x^{ r} + 
       \big([r^2  - r  ]a_1 - ra_0 \big) x^{r + 1}$
     
    + \St \big( [n^2+2rn+r^2 - 3n - 3r  + 2]a_n - (n+ r -1)a_{n-1} +  a_{n-2} \big) x^{n + r} = 0$}

    Set all coefficients = 0:

     Since \(a_0 \not= 0\), \(r^2 -  3r + 2  = (r -2)(r-1) = 0\) implies \(r = 1, 2\).

    \(r^2 - 3r + 2 = 0\) is the {\it indicial equation}
      
      \([r^2  - r  ]a_1 = ra_0\) implies \((r -1)a_1 = a_0\).  Thus if \(r = 1\), \(a_0 =0\), a contradiction. 
     If \(r = 2\), \(a_1 = a_0\)
      
    \( [n^2+2rn+r^2 - 3n - 3r  + 2]a_n - (n+ r -1)a_{n-1} +  a_{n-2}  \)
    \( = [n^2+2rn - 3n]a_n - (n+ r -1)a_{n-1} +  a_{n-2} = 0 \)

    $a_n = {  (n+ r -1)a_{n-1} -  a_{n-2} \over n^2+2rn - 3n }
    = {  (n+ 1)a_{n-1} -  a_{n-2} \over n^2+4n - 3n }
    = {  (n+ 1)a_{n-1} -  a_{n-2} \over n^2+n } = {  (n+ 1)a_{n-1} -  a_{n-2} \over n(n+1) }
    $
     
       $a_2 =  {3a_{1} -  a_{0} \over 6 } 
    =  {3a_{0} -  a_{0} \over 6 } =  {2a_{0} \over 6 } =  {a_{0} \over 3 }  
    $


    $a_3 = {  4a_{2} -  a_{1} \over (3)(4) } 
    = {  4({a_{0} \over 3 }) -  a_{0} \over (3)(4) }
    = {  4{a_{0}  } -  3a_{0} \over (3)^2(4) }
    = {a_{0} \over (3)^2(4)}
    $

    $a_4 = {  5a_{3} -  a_{2} \over (4)(5) }
      = {  (5{a_{0} \over (3)^2(4)}) -  ({a_{0} \over 3 }) \over (4)(5) }
       = {  5a_{0} -  3(4)a_{0} \over 3^2(4)^2(5) }
          = { 7a_{0} \over 3^2(4)^2(5) }$


    \(a_5 = {  6a_{4} -  a_{3} \over (5)(6) }\)
    \( = {  6({ 7a_{0} \over 3^2(4)^2(5) }) -  ({a_{0} \over (3)^2(4)}) \over (5)(6) }\)
    \( = {  6({ 7a_{0}}) -  (20{a_{0} }) \over (3)^2(4)^2(5)^2(6) }\)
    \( = { 22a_{0} \over (3)^2(4)^2(5)^2(6) }\)


    \(a_6 = {  7a_{5} -  a_{4} \over (6)(7) }\)
    \(  = {  7({ 22a_{0} \over (3)^2(4)^2(5)^2(6) }) -   { 7a_{0} \over 3^2(4)^2(5) } \over (6)(7) }\)
    \(  = {  7( 22a_{0} ) -   30( 7a_{0} ) \over (3)^2(4)^2(5)^2(6)^2(7) }\)
    \(  = {  -56a_{0}  \over (3)^2(4)^2(5)^2(6)^2(7) }\)

    $a_7  = {  8a_{6} -  a_{5} \over (7)(8) }
    = {  8({  -56a_{0}  \over (3)^2(4)^2(5)^2(6)^2(7) }) -  { 22a_{0} \over (3)^2(4)^2(5)^2(6) } \over (7)(8) }
    = {  8({  -56a_{0} }) -  {42* 22a_{0} } \over (3)^2(4)^2(5)^2(6)^2(7)^2(8) } 
    = {-1372a_0\over (3)^2(4)^2(5)^2(6)^2(7)^2(8) }$


          
    \line{\(y = x^2( a_0 + a_0x + {a_{0} \over 3 } x^2 +  {a_{0} \over (3)^2(4)}x^3 + { 7a_0 \over 3^2(4)^2(5) }x^4 + { 22a_0 \over (3)^2(4)^2(5)^2(6) }x^5 +  {  -56a_0  \over (3)^2(4)^2(5)^2(6)^2(7) }x^6 + {-1372a_0\over (3)^2(4)^2(5)^2(6)^2(7)^2(8) } x^7 +...)\)}


    \end


    {\bf 5.5: } Solve \(xy'' + (x-6)y' - 3y = 0\)

    \(p(x) = {x - 6 \over x} \).  Thus \(x_0 = 0\) is a singular value. 

    \(q(x) = {-3\over x}\) also implies  \(x_0 = 0\) is a singular value. 


    \(xp(x) =x-6\) and \(x^2q(x) = 3x\).  Thus \(x_0 = 0\) is a regular singular value.  


    Suppose \(y = \So a_nx^{n + r}\) is a solution.  WLOG assume \(a_0 \not= 0\) (otherwise one can reindex the summation).


    Then \(y' = \So (n+ r)a_nx^{n + r-1}\) and \(y'' = \So (n+r)(n+r - 1) a_nx^{n + r-2}\)

    \(xy'' + (x-6)y' - 3y = 0\)


    \(x\So (n+r)(n+r - 1) a_nx^{n + r-2} + (x-6)\So (n+ r)a_nx^{n + r-1} - 3\So a_nx^{n + r} = 0\)

    $\So (n+r)(n+r - 1) a_nx^{n + r-1} + \So (n+ r)a_nx^{n + r} 
    -\So 6(n+ r)a_nx^{n + r-1} - 3\So a_nx^{n + r} = 0$

    \(\So [(n+r)(n+r - 1) - 6(n+ r)] a_nx^{n + r-1} + \So (n+ r - 3)a_nx^{n + r} = 0\)

    \(\So (n+r)(n+r - 7) a_nx^{n + r-1} + \So (n+ r - 3)a_nx^{n + r} = 0\)

    \(\So (n+r)(n+r - 7) a_nx^{n + r-1} + \S (n - 1+ r - 3)a_{n-1}x^{n + r - 1} = 0\)

    \(r(r - 7) a_0x^{r-1}  + \S (n+r)(n+r - 7) a_nx^{n + r-1} + \S (n + r - 4)a_{n-1}x^{n + r - 1} = 0\)

    \(r(r - 7) a_0x^{r-1}  + \S[ (n+r)(n+r - 7) a_n + (n + r - 4)a_{n-1}]x^{n + r - 1} = 0\)

    ---

    \(\So (n+r)(n+r - 7) a_nx^{n + r-1} + \So (n+ r - 3)a_nx^{n + r} = 0\)

    ---

    Set all coefficients = 0:
    Since \(a_0 \not= 0\), \( r(r-7) = 0\) implies \(r = 0, 7\).
    \( r(r-7) = 0\) is the {\it indicial equation}

    $ (n+r)(n+r - 7) a_n (n + r - 4)a_{n-1}
    =[n^2 +nr - 7n  + rn + r(r - 7) ]a_n  + (n + r - 4)a_{n-1}
    =[n^2 +2nr - 7n  ]a_n  + (n + r - 4)a_{n-1}$
    \( = 0\)

    implies\( a_n = { (n + r - 4)a_{n-1} \over n^2 +2nr - 7n} \)

    \(r = 7\): \( a_n = { (n + 3)a_{n-1} \over n^2 + 7n} \)

    \(r = 0\):  \(a_n = { (n  - 4)a_{n-1} \over n^2  - 7n} = { (n  - 4)a_{n-1} \over n(n  - 7)}  \)

    \(a_1 ={ -3a_0 \over -6} = {a_0 \over 2}\)

    \(a_2 = { -2a_1 \over 2(-5)} =  { -a_0 \over 2(-5)}  =  { a_0 \over 10}\)

    $a_3 = { -1a_2 \over 3(-4)} =  {a_0 \over  (3)(4)(10)} 
    =  { a_0 \over 120}$

    \(a_4 = { 0} \), \(a_5 = 0\), ...

    Thus \(y =a_0 + { a_0\over 2}x +  {a_0 \over 10} x^2 +  { a_0 \over  120}x^3\)

    \(y '=  { a_0\over 2} +  {a_0 \over 5} x +  { a_0 \over  40}x^2\) and
     \(y'' = {a_0 \over 5}  +  { a_0 \over  20}x\) 

    \(xy'' + (x-6)y' - 3y = 0\)

    \(x[ {a_0 \over 5}  +  { a_0 \over  20}x] + (x-6)[  { a_0\over 2} +  {a_0 \over 5} x +  { a_0 \over  40}x^2] - 3[a_0 + { a_0\over 2}x +  {a_0 \over 10} x^2 +  { a_0 \over  120}x^3] \)

    $= {a_0 \over 5}x  +  { a_0 \over  20}x^2 + 
     { a_0\over 2} x+  {a_0 \over 5} x^2 +  { a_0 \over  40}x^3
    -3 { a_0} -  {6a_0 \over 5} x  -   {3a_0 \over  20}x^2 
    - 3a_0 - { 3a_0\over 2}x -  {3a_0 \over 10} x^2 -  { a_0 \over  40}x^3 $


    $ =  { a_0 \over  20}x^2 +  {a_0 \over 5} x^2  -   {3 a_0 \over  20}x^2  -  {3a_0 \over 10} x^2 +  {a_0 \over 5}x  +
     { a_0\over 2} x -  {6a_0 \over 5} x - { 3a_0\over 2}x
    -3 { a_0}
    - 3a_0   $

    $ =    {a_0 \over 5} x^2  -   {2 a_0 \over  20}x^2  -  {3a_0 \over 10} x^2 
      -  {5a_0 \over 5} x - { 2a_0\over 2}x
    -3 { a_0}
    - 3a_0   $


    $ =    {2a_0 \over 10} x^2  -   {1 a_0 \over  10}x^2  -  {3a_0 \over 10} x^2 
      -  {a_0} x - { a_0}x
    -3 { a_0}
    - 3a_0   $


    \(xy'' + (x-6)y' - 3y = 0\)


    \(x\St (n)(n - 1) a_nx^{n -2} + (x-6)\S (n)a_nx^{n -1} - 3\So a_nx^{n } = 0\)

    \(\St (n)(n- 1) a_nx^{n -1} + \S (n)a_nx^{n } -\S 6na_nx^{n -1} - 3\So a_nx^{n } = 0\)

    \(\S (n+1)(n) a_{n+1}x^{n} + \S (n)a_nx^{n } -\So 6(n+1)a_{n+1}x^{n} - 3\So a_nx^{n } = 0\)

    \( - 6a_1  -3 a_0 + \S (n+1)(n) a_{n+1}x^{n} + \S (n)a_nx^{n } -\S 6(n+1)a_{n+1}x^{n} - 3\S a_nx^{n } = 0\)


    \( - 6a_1  -3 a_0 + \S [(n+1)(n) a_{n+1} +(n)a_n - 6(n+1)a_{n+1}- 3 a_n]x^{n } = 0\)

    \(- - 6a_1  -3 a_0 + \S [(n+1)(n-6) a_{n+1} +(n-3)a_n ]x^{n } = 0\)

    \( -6a_1 -3 a_0 = 0\) implies \(a_1 = -{a_0 \over 2}\)


    \(a_{n+1} = {(n-3)a_n \over (n+1)(n-6) a_{n+1} }\)


    ---


    \(\So [(n+r)(n+r - 1) - 6(n+ r)] a_nx^{n + r-1} + \So (n+ r - 3)a_nx^{n + r} = 0\)

    \(\So (n+r)(n+r - 7) a_nx^{n + r-1} + \So (n+ r - 3)a_nx^{n + r} = 0\)

    \(\So (n+r)(n+r - 7) a_nx^{n + r-1} + \S (n - 1+ r - 3)a_{n-1}x^{n + r - 1} = 0\)

    \(r(r - 7) a_0x^{r-1}  + \S (n+r)(n+r - 7) a_nx^{n + r-1} + \S (n + r - 4)a_{n-1}x^{n + r - 1} = 0\)

    \(r(r - 7) a_0x^{r-1}  + \S[ (n+r)(n+r - 7) a_n + (n + r - 4)a_{n-1}]x^{n + r - 1} = 0\)

    ---

    \(\So (n+r)(n+r - 7) a_nx^{n + r-1} + \So (n+ r - 3)a_nx^{n + r} = 0\)

    ---

    \end


    ---

    $a_n = {  (n+ r -1)a_{n-1} -  a_{n-2} \over n^2+2rn - 3n }
    = {  (n+ 1)a_{n-1} -  a_{n-2} \over n^2+4n - 3n }
    = {  (n+ 1)a_{n-1} -  a_{n-2} \over n^2+n }
    $
     
    \(n = 2\):   $a_2 =  {3a_{1} -  a_{0} \over 6 } 
    =  {3a_{0} -  a_{0} \over 6 } =  {2a_{0} \over 6 } =  {a_{0} \over 3 }  
    $


    $a_3 = {  4a_{2} -  a_{1} \over (3)(4) } 
    = {  4({a_{0} \over 3 }) -  a_{0} \over (3)(4) }
    = {  4{a_{0}  } -  3a_{0} \over (3)^2(4) }
    = {a_{0} \over (3)^2(4)}
    $

    $a_4 = {  5a_{3} -  a_{2} \over (4)(5) }
      = {  (5{a_{0} \over (3)^2(4)}) -  ({a_{0} \over 3 }) \over (4)(5) }
       = {  5a_{0} -  3(4)a_{0} \over 3^2(4)^2(5) }
          = { 7a_{0} \over 3^2(4)^2(5) }$


    \(a_5 = {  6a_{4} -  a_{3} \over (5)(6) }\)
    \( = {  6({ 7a_{0} \over 3^2(4)^2(5) }) -  ({a_{0} \over (3)^2(4)}) \over (5)(6) }\)
    \( = {  6({ 7a_{0}}) -  (20{a_{0} }) \over (3)^2(4)^2(5)^2(6) }\)
    \( = { 22a_{0} \over (3)^2(4)^2(5)^2(6) }\)


    \(a_6 = {  7a_{5} -  a_{4} \over (6)(7) }\)
    \(  = {  7({ 22a_{0} \over (3)^2(4)^2(5)^2(6) }) -   { 7a_{0} \over 3^2(4)^2(5) } \over (6)(7) }\)
    \(  = {  7( 22a_{0} ) -   30( 7a_{0} ) \over (3)^2(4)^2(5)^2(6)^2(7) }\)
    \(  = {  -56a_{0}  \over (3)^2(4)^2(5)^2(6)^2(7) }\)

    $a_7  = {  8a_{6} -  a_{5} \over (7)(8) }
    = {  8({  -56a_{0}  \over (3)^2(4)^2(5)^2(6)^2(7) }) -  { 22a_{0} \over (3)^2(4)^2(5)^2(6) } \over (7)(8) }
    = {  8({  -56a_{0} }) -  {42* 22a_{0} } \over (3)^2(4)^2(5)^2(6)^2(7)^2(8) } 
    = {-1372a_0\over (3)^2(4)^2(5)^2(6)^2(7)^2(8) }$

    $a_8 = {  9a_{7} -  a_{6} \over (8)(9) }
    = {  9({-1372a_0\over (3)^2(4)^2(5)^2(6)^2(7)^2(8) }) -  {  -56a_{0}  \over (3)^2(4)^2(5)^2(6)^2(7) } \over (8)(9) }
    = {  9(-1372)a_0 +  {  56^2a_{0} } \over  (3)^2(4)^2(5)^2(6)^2(7)^2(8)^2(9) }
    = {   {  -9212a_{0} } \over  (3)^2(4)^2(5)^2(6)^2(7)^2(8)^2(9) }
    $


    $a_9  {  10a_{8} - a_7 \over (9)(10) }
    = {  10({   {  -9212a_{0} } \over  (3)^2(4)^2(5)^2(6)^2(7)^2(8)^2(9) })-  {-1372a_0\over (3)^2(4)^2(5)^2(6)^2(7)^2(8) } \over (9)(10) }
    = {  10({   {  -9212a_{0} }  }) + {72(1372)a_0} \over (3)^2(4)^2(5)^2(6)^2(7)^2(8)^2 (9)^2(10) }
    = {  6664a_0 \over (3)^2(4)^2(5)^2(6)^2(7)^2(8)^2 (9)^2(10) }
    $

    $a_{10} = {  11a_{9} - a_8 \over (10)(11) }
    = {  11a_{9} -  {   {  -9212a_{0} } \over  (3)^2(4)^2(5)^2(6)^2(7)^2(8)^2(9) } \over (10)(11) }
    $


    ---


     
     Suppose \(r_2 < r_1\), \(r_2 = r_1 - k\)
     
     Suppose \(r_1\) is the smallest such number such that \(\So a_nx^{r + n}\)
     
     
    \(\So a_nx^{n + r_2} =\) 
    \(\So a_nx^{n + r_1 - k} =\) 
    \( um_{n = -k}^{\infty} a_{n+k}x^{n + r_1} =\) 

    \(\So a_nx^{n + r_1} =\) 
    \(\So a_nx^{n + r_2 + k} =\) 
    \(x^k\So a_nx^{n + r_2} =\) 
    \( um_{n = k}^{\infty} a_{n-k}x^{n + r_2} =\) 

    \(y = x^k S(x)\) 

    \(y' =  kx^{k-1}S(x) +x^kS'(x) \) 

    \(y'' =  k(k-1)x^{k-2}S(x) +   kx^{k-1}S'(x) +kx^{k-1}S'(x)  + x^kS''(x) =  k(k-1)x^{k-2}S(x) +   2kx^{k-1}S'(x)  + x^kS''(x) \) 

    \(y'' + p(x)y' + q(x)y \)

    \(= k(k-1)x^{k-2}S(x) +   2kx^{k-1}S'(x)  + x^kS''(x)  + p(x)[kx^{k-1}S(x) +x^kS'(x) ] + q(x)  x^k S(x)\) 

    \(= k(k-1)x^{k-2}S(x) +   2kx^{k-1}S'(x)  +  p(x)kx^{k-1}S(x)   + x^kS''(x)  + p(x) x^kS'(x)+q(x)  x^k S(x)\)

    \(= [k(k-1)x^{k-2} +  p(x)kx^{k-1}]S(x) +   2kx^{k-1}S'(x)  \)


    \(= [(k-1) +  p(x)x]S(x) +   2xS'(x)  = 0\)

    \({S'(x) \over S(x)} = {k-1 + xp(x) \over 2x} = {k-1 -2-x \over 2x} = {k-1 -2-x \over 2x} \)

    \end

    START 100/quiz3.tex part 2

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.5in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    22M:100 (MATH:3600:0001) Quiz 3 \hfil \break
    April 16, 2013


    [20]~ 1.)  Find all singular points of the given equation and determine whether each one is regular or irregular.

    1a.)  \(x^2y'' + 2y' + 3xy = 0\)

    1b.)  \((x + 1)y'' + 3xy' + (x+2)y = 0\)


    [30]~ 2.)  Find the largest possible domain for ${\mathlarger{f(x) =  um_{n=0}^\infty 
    \frac{nx^n}{4^n}}}$

    [50]~ 3.)  Solve \({\bf x}' = \left(\matrix{2 & 0 \cr 0 & 0}\right){\bf x}\)

    \end{document}

    START 100/SPRING13/final3600ANS.tex part 4

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \usepackage{amsmath}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}


    \begin{document}

    22M:100 (MATH:3600:0001) Final Exam \hfil \break
    May 15, 2013 \hfill SHOW ALL STEPS \hfill

    [14]~ 3.)  Use the infinite series solution method (ch 5) about the point \(x_0 = 0\) to solve the differential equation, \((x+1) y' - 2y = 0\).

    Suppose \(y = \So a_nx^n\).  Then \(y' = \S na_n x^{n-1}\)


     \((x+1)  \S na_n x^{n-1} - 2\So a_nx^n = 0\).


     \(  \S (x+1)na_n x^{n-1} - 2\So a_nx^n = 0\).

     \(\S na_n x^{n} + \S na_n x^{n-1} - 2\So a_nx^n = 0\).

    \(\S na_n x^{n} + \So (n+1)a_{n+1} x^{n} - 2\So a_nx^n = 0\).

    \(\S na_n x^{n} + \S (n+1)a_{n+1} x^{n} - 2\S a_nx^n  + a_1 - 2a_0= 0\).

    \(\S [na_n + (n+1)a_{n+1}  - 2a_n]x^n  + a_1 - 2a_0= 0\).

    hence \(a_1 - 2a_0= 0\) and \(na_n + (n+1)a_{n+1}  - 2a_n = 0\) for all \(n \geq 1\)

    hence \(a_1 = 2a_0\) and \(a_{n+1} = \frac{(2-n)a_n}{n+1}\) for all \(n \geq 1\)
    Thus \(a_2 = \frac{(2-1)a_1{2} =  \frac{a_1}{2} =  \frac{2a_0}{2} = a_0 \).  And \(a_3 = \frac{(2-2)a_2}{2+1} = 0\).  Thus \(a_4 = \frac{(2-3)a_3}{3+1} = 0\).  Thus \(a_n = 0~ \forall n \geq 3\).}

    Thus \(y = a_0x^2 + 2a_0x + a_0\)

    Check:   \(y' = 2a_0x + 2a_0\)

     \((x+1) ( 2a_0x + 2a_0) - 2(a_0x^2 + 2a_0x + a_0)\).
     %\((x+1) ( a_0x + a_0) - (a_0x^2 + 2a_0x + a_0)\).
      \(= 2(a_0x^2 + a_0x + a_0x + a_0  - a_0x^2 - 2a_0x - a_0) = 0\).
      

    Answer: \underline{~~\(y = a_0x^2 + 2a_0x + a_0\)~~}

    \end

    START 100/FALL17/3600exam2ANS.tex part 4

    [20]~ 4.)  Using power series, find a degree 5  polynomial approximation for the solution to
    \(y'' - y = 4x\) for \(x\) near \(0\)


    \(y = \So a_n x ^n\), \(y' = \S a_n nx^{n-1}\),  \(y'' = \St a_n n(n-1)x^{n-2}\).

    \( \St a_n n(n-1)x^{n-2} -  \So a_n x ^n = 4x\)

    \( \St a_n n(n-1)x^{n-2} - \So a_n x ^{n} = 4x\)

    \( \So a_{n+2} (n+2)(n+1)x^{n} - \So a_n x ^{n} = 4x\)

    \( \So [a_{n+2} (n+2)(n+1) - a_n] x ^{n} = 4x\)


    For \(n = 1\):  \([a_3(3)(2) - a_1]x = 4x\).  Thus \(a_3 = \frac{a_1 + 4}{6}\)

     For \(n \not= 1\), \(a_{n+2} (n+2)(n+1) - a_n = 0\). Thus \(a_{n+2} = \frac{a_n}{(n+2)(n+1)}\)

     For \(n = 0\):   \(a_{2} = \frac{a_0}{(2)(1)}\)

    For \(n = 2\):   \(a_{4} = \frac{a_2}{(4)(3)} =\frac{a_0}{(4)(3)(2)(1)} \)

    For \(n = 3\):   \(a_{5} = \frac{a_3}{(5)(4)} = \frac{a_1 + 4}{6(5)(4)} \)

     

    Approximation:  $y = a_0 + a_1x + {a_0 \over 2x^2 +  \frac{a_1 + 4}{6}x^3 +\frac{a_0}{4!}x^4 
    +\frac{a_1 + 4}{120} x^5$}

    \end

    START 100/FALL18/quiz5ans.tex part 1

    [7]~ 5.)  Using power series to find a degree 3  polynomial approximation for the general solution to
    \(y' - y= 6x^2\) for \(x\) near \(0\)


    \(y = \So a_n x ^n\), \(y' = \S a_n nx^{n-1}\),

    \( \S a_{n} (n)x^{n-1} - \So a_n x ^n = 6x^2\)

    \( \So a_{n+1} (n+1)x^{n} - \So a_n x ^n = 6x^2\)

    \( \So [a_{n+1} (n+1) - a_n] x ^n = 6x^2\)

    \(a_{n+1} (n+1) - a_n = 0\) for \(n = 0, 1\) and \(n > 2\)

    \(a_{n+1} = { a_n\over n+1}\) for \(n = 0, 1\) and \(n > 2\)

    For \(n = 0\): ~  \(a_1 = { a_0 \over 1}\) 

    For \(n = 1\): ~  \(a_2 = { a_1\over 2} = { a_0\over 2}\)

    For \(n = 2\): ~  \(a_{3} (3) - a_2] x ^2 = 6x^2\) implies  \(3a_{3}  - a_2 = 6\) and thus 
     \(a_{3}  = {a_2 +6 \over 3} = {a_2 \over 3} + 2 ={a_0 \over 6} + 2  \)

      
    Answer: \(\underline{~~y = a_0 + a_0x +{ a_0\over 2x^2 + ({a_0 \over 6} + 2)x^3 ~~}\)}

    Note for this particular example, the approximation for the IVP solutions are the same for both 4 and 5.  This is NOT usually the case.  Different methods to approximate solutions will generaly give different approximations, but in the limit they should be the same.


    \end

    START 100/FALL18/OLD/quiz6ans.tex part 1

    \nopagenumbers

    Quiz 6 ~~~SHOW ALL WORK\hfil \break
    Nov 30, 2018

    [7]~ 5.)  Using power series to find a degree 3  polynomial approximation for the general solution to
    \(y' - y= 6x^2\) for \(x\) near \(0\)


     fill


    \(y = \So a_n x ^n\), \(y' = \S a_n nx^{n-1}\),

    \( \S a_{n} (n)x^{n-1} - \So a_n x ^n = 6x^2\)

    \( \So a_{n+1} (n+1)x^{n} - \So a_n x ^n = 6x^2\)

    \( \So [a_{n+1} (n+1) - a_n] x ^n = 6x^2\)

    \(a_{n+1} (n+1) - a_n = 0\) for \(n = 0, 1\) and \(n > 2\)

    \(a_{n+1} = { a_n\over n+1}\) for \(n = 0, 1\) and \(n > 2\)

    For \(n = 0\): ~  \(a_1 = { a_0 \over 1}\) 

    For \(n = 1\): ~  \(a_2 = { a_1\over 2} = { a_0\over 2}\)

    For \(n = 2\): ~  \(a_{3} (3) - a_2] x ^2 = 6x^2\) implies  \(3a_{3}  - a_2 = 6\) and thus 
     \(a_{3}  = {a_2 +6 \over 3} = {a_2 \over 3} + 2 ={a_0 \over 6} + 2  \)

         fill
    Answer: \(\underline{\hskip 4in\)}


    \end

    Section 5.6: Series Solutions Near a Regular Singular Point, Part II

    START 100/FALL18/final3600_F2016ans.tex part 5

    7.) Given the differential equation: \(xy'' + 4y = 0\)

    [3]~~ 7a.)  Show that \(x = 0\) is a regular singular point of the above differential equation.

    [4]~~ 7b.)  The indicial equation is \underbar{\hskip 2in}

    [1]~~ 7c.)  The roots are the indicial equation are \underbar{\hskip 2in}

    [5]~~ 7d.)  After plugging in the larger root, the recurrence relation is \underbar{\hskip 2in}


    [3]~~ 7e.)  For the larger root, if \(a_0 = 1\), then \(a_1 = \) \underbar{\h}, ~~
    \(a_2 = \) \underbar{\h}, ~~\(a_3 = \) \underbar{\h}.

    [4]~~ 7f.)  Use your answer to 5e to give an approximation of one solution to the above differential equation. 

    Answer for 7f:  \underbar{\hskip 5in}

    Let \(y = \So a_n x^{n+r}\)

    \(xy'' + 4y = x\So a_n (n+r)(n+r-1)x^{n+r-2} + 4\So a_n x^{n+r}\)

    ~~~~~~~~~~~~\( = \So a_n (n+r)(n+r-1)x^{n+r-1} + \So 4 a_n x^{n+r}\)

    ~~~~~~~~~~~~\( = \So a_n (n+r)(n+r-1)x^{n+r-1} + \S 4a_{n-1} x^{n+r-1}\)

    ~~~~~~~~~~~~\( = a_0 r(r-1)x^{r-1} + \S a_n (n+r)(n+r-1)x^{n+r-1} + \S 4a_{n-1} x^{n+r-1}\)

    ~~~~~~~~~~~~\( = a_0 r(r-1)x^{r-1} + \S [a_n (n+r)(n+r-1) +  4a_{n-1}] x^{n+r-1}\)

    \(r(r-1) = 0\) implies \(r = 0, 1\)

    \(a_n (n+r)(n+r-1) +  4a_{n-1} = 0\)  implies 
    \(a_n = { -4a_{n-1} \over  (n+r)(n+r-1) }\)

    Sidenote:  When \(r = 0\), \(n = 1\): 
    \(a_1 (0) +  4a_{0} = 0\) implies \(a_0 = 0\), a contradiction.


    When \(r = 1\),  \(a_n = { 4a_{n-1} \over  (n+1)n }\)

    \(n = 1\):~~ \(a_1 = { -4a_{0} \over  2 } = -2a_0\)


    \(n = 2\):~~ \(a_2 = { -4a_{1} \over  (3)2 } =   { 4^2a_{0} \over  3!2 } = {4a_0 \over 3} \)

    \(n = 3\):~~ $a_3 = { -4a_{2} \over  (4)3 } = {- 4^3a_{0}  \over  (4)3(2)3! } = { - 4^3a_{0}  \over  4!3! }  = {-  4^2a_{0}  \over  3!3! }  
    = { - 4a_{0}  \over  9 } $


    \(n = 4\):~~ \(a_4 = { -4a_{3} \over  (5)4 } = { 4^4a_{0}  \over  (5)4 (4!3! ) } = { 4^4a_{0}  \over  5!4!}  \)


    \end{document}

    Chapter 6: The Laplace Transform

    Section 6.1: Definition of the Laplace Transform

    START 34/FALL10/quiz3ANS.tex part 1


    \nopagenumbers

    Math 34 Differential Equations Quiz 3
     \hfill  SHOW ALL
    WORK
    ~~~
     
    1.)  Define:  The LaPlace transform of \(f = {\cal L}(f) = \underline{~~\int_0^\infty e^{-st}f(t)dt~~}\)
     

    2a.)  \({\cal L}(0) = \underline{~~0~~}\)
     
    2b.) \({\cal L}^{-1}({3 \over (s+1)^2 + 2}) = \underline{~~{3e^{-t} \over  qrt{2}}sin( qrt{2}t)~~}\)

    \({\cal L}^{-1}({3 \over (s+1)^2 + 2}) =\)
    \(3{\cal L}^{-1}({1 \over (s+1)^2 + 2}) =\)
    \({3 \over  qrt{2}}{\cal L}^{-1}({ qrt{2} \over (s+1)^2 + 2}) =\)
    \({3e^{-t} \over  qrt{2}}{\cal L}^{-1}({ qrt{2} \over (s)^2 + 2}) =\)
    \({3e^{-t} \over  qrt{2}}sin( qrt{2}t)\)

     fill

    \end

    START 34/FALL10/quiz3ANS1.tex part 1


    \nopagenumbers

    Math 34 Differential Equations Quiz 3
     \hfill  SHOW ALL
    WORK
    ~~~
     
    1.)  Define:  The LaPlace transform of \(f = {\cal L}(f) = \underline{~~\int_0^\infty e^{-st}f(t)dt~~}\)
     

    2a.)  \({\cal L}(0) = \underline{~~0~~}\)
     
    2b.) \({\cal L}^{-1}({3 \over (s+1)^2 + 2}) = \underline{~~{3e^{-t} \over  qrt{2}}sin( qrt{2}t)~~}\)

    \({\cal L}^{-1}({3 \over (s+1)^2 + 2}) =\)
    \(3{\cal L}^{-1}({1 \over (s+1)^2 + 2}) =\)
    \({3 \over  qrt{2}}{\cal L}^{-1}({ qrt{2} \over (s+1)^2 + 2}) =\)
    \({3e^{-t} \over  qrt{2}}{\cal L}^{-1}({ qrt{2} \over (s)^2 + 2}) =\)
    \({3e^{-t} \over  qrt{2}}sin( qrt{2}t)\)

     fill

    \end

    START 34/FALL10/e2_34_F10ANS.txt part 3

    \nopagenumbers


    Math 34 Differential Equations Exam \#2
                                   October 29, 2010 \hfill  SHOW ALL
    WORK
    ~~~

    \u\u


    [4]~~ 1a.)  \({\cal L}(0) = \underline{~~0~~}\)
    \u


    [10]~~ 1b.) \({\cal L}^{-1}({2 \over (s-4)^2 + 5}) = \underline{~~{2 \over  qrt{5}} e^{4t}sin(t qrt{5})~~}\)


     \({\cal L}^{-1}({2 \over (s-4)^2 + 5}) =\)
    \({2 \over  qrt{5}} {\cal L}^{-1}({ qrt{5} \over (s-4)^2 + 5}) =\)
    \({2 \over  qrt{5}} e^{4t}sin(t qrt{5})\)

     fill

    \end

    START 34/FALL03/finalexamANS.txt part 7

    [10]~ 4.)  Use the definition and not the table to find the LaPlace transform of $f(t) = 
    3t^2$.  CLEARLY indicate when you are taking a limit.

    $\int_0^\infty e^{-st}(3t^2)dt =
    3t^2 {e^{-st} \over -s}|_0^\infty - \int_0^\infty 6t {e^{-st} \over -s}$

    $= [lim_{t \rightarrow \infty} 3t^2 {e^{-st} \over -s}- 3(0)^2 {e^{0} \over -s}]
     - [6t {e^{-st} \over s^2}|_0^\infty - \int_0^\infty 6 {e^{-st} \over s^2}]$

    $= [0 - 0] - [(lim_{t \rightarrow \infty} 6t {e^{-st} \over s^2} - 6(0) {e^{0} \over s^2})
    - 6{e^{-st} \over -s^3}|_0^\infty]$

    \(=- [(0 - 0) - (lim_{t \rightarrow \infty}6{e^{-st} \over -s^3} - 6{e^{0} \over -s^3})]\)

    \(=  - 6{1 \over -s^3}\)
    \(=  {6 \over s^3}\)


    Let \(u = 3t^2, ~ dv = e^{-st}\)


    ~~~~\(du = 6t, ~v = {e^{-st} \over -s}\)


    ~~~~\(d^2u = 6, ~ \int v = {e^{-st} \over s^2}\)


    \u

    Answer 4.) \(\underline{{6 \over s^3}\)}
    \w

    \end

    START 34/FALL03/finalreviewANS2.txt part 4

    6.)  Use the definition and not the table to find the LaPlace transform of the following:

    6a.)  \({\cal L}(t^2) =  \underline

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[6]/div[1]/div[5]/p[2]/span, line 1, column 4
    
    \)

    \(\int_0^\infty e^{-st}t^2 dt \)
    \(= t^2 {e^{-st} \over -s} |_0^\infty - \int_0^\infty 2t{e^{-st} \over -s}\)
    $= lim_{t \rightarrow \infty}  t^2 {e^{-st} \over -s} -  0^2 {e^{0} \over -s} 
    - [2t{e^{-st} \over s^2}|_0^\infty - \int_0^\infty 2{e^{-st} \over s^2}]$

     
    $= 0 -  0 
    - [lim_{t \rightarrow \infty}2t{e^{-st} \over s^2} - 2(0){e^{0} \over s^2} - 
    2{e^{-st} \over -s^3}|_0^\infty ]$
    $= - [0 - 0 - 
    (lim_{t \rightarrow \infty}2{e^{-st} \over -s^3} - 2{e^{0} \over -s^3}) ]$
    $= 
    (0 - {2 \over -s^3}) ]$
    $= 
    { 2 \over s^3} $

    Let \(u = t^2, ~  dv = e^{-st}\)
     

    ~~~~\(du = 2t, ~v = {e^{-st} \over -s}\)
     

    ~~~~\(d^2u = 2, ~ \int v = {e^{-st} \over s^2}\)


    6b.)  \({\cal L}(cos(t)) =  \underline{{s \over 1 + s^2} } \)

    $\int_0^\infty e^{-st}cos(t) dt 
    = e^{-st}sin(t)|_0^\infty - \int_0^\infty -se^{-st}sin(t)dt$

    $= lim_{t \rightarrow \infty}  e^{-st}sin(t) - e^0sin(0) - [se^{-st}cos(t)|_0^\infty - 
    \int_0^\infty -s^2e^{-st}cos(t)dt] $

    $= 0 - 0 - [lim_{t \rightarrow \infty} se^{-st}cos(t) - se^0cos(0) + s^2 \int_0^\infty
    e^{-st}cos(t)dt] $

    $= -[0 - s + s^2 \int_0^\infty
    e^{-st}cos(t)dt] $

    \(=  s - s^2 \int_0^\infty e^{-st}cos(t)dt \)

    Hence $\int_0^\infty e^{-st}cos(t) dt 
    =  s - s^2 \int_0^\infty e^{-st}cos(t)dt $

    Thus $\int_0^\infty e^{-st}cos(t) dt +  s^2 \int_0^\infty e^{-st}cos(t)dt 
    =  s $

    Thus $(1 + s^2)\int_0^\infty e^{-st}cos(t) dt 
    =  s $

    Thus $\int_0^\infty e^{-st}cos(t) dt 
    =  {s \over 1 + s^2} $

    Let \(u = e^{-st}, ~dv = cos (t)\)

    ~~~~\(du = -se^{-st}, ~ v = sin(t)\)
      
    ~~~\(d^2u = s^2e^{-st}, \int v = -cos(t)\)

    \end

    Section 6.2: Solution of Initial Value Problems

    START 100/6_1and2.tex


    \]{\cal L}(f'(t)) = \int_0^\infty e^{-st}f'(t) dt = \lim\limits_{A \rightarrow \infty}\int_0^A e^{st}f'(t)dt\[
     
    Integration by parts: ~~ Let \(u= e^{-st}\)~~~~~~ \(dv = f'(t)dt\)
     
    \hskip 1.3in Then \(du = -se^{st}dt\)  ~~~\(v = f(t)\)


      $ %lim_{A \rightarrow \infty}
      \int_0^A e^{-st}f'(t)dt = 
       %lim_{A \rightarrow \infty}
        e^{-st} f(t)|_0^A - \int_0^A [-se^{-st} f(t)] dt$
        
    \hskip 0.88in \(= e^{-sA} f(A) - f(0) + s\int_0^A e^{-st} f(t) dt\)    

    Thus \({\cal L}(f'(t)) = \lim\limits_{A \rightarrow \infty}\int_0^A e^{st}f'(t)dt\)

        
    \hskip 0.88in \(= \lim\limits_{A \rightarrow \infty} e^{-sA} f(A) - f(0) + s\int_0^A e^{-st} f(t) dt\)

    \hskip 0.88in \(= 0- f(0) + s\int_0^\infty e^{-st} f(t) dt\)

    \hskip 0.88in \(= 0- f(0) + s {\cal L}(f(t))\)

    \hskip 0.88in \(=  s {\cal L}(f(t)) - f(0)\)


    Thus  \({\cal L}(f'(t)) =  s {\cal L}(f(t)) - f(0)\)

    and   ${\cal L}(f''(t)) =  s {\cal L}(f'(t)) - f'(0)
    = s[s {\cal L}(f(t)) - f(0)] - f'(0) $

    \hskip 0.84in\(= s^2 {\cal L}(f(t)) - sf(0) - f'(0) \)

    and   \({\cal L}(f'''(t))=  s {\cal L}(f''(t)) - f''(0) \)

    \hskip 0.84in $
    = s[s^2 {\cal L}(f(t)) - sf(0) - f'(0) ] - f''(0) $

    \hskip 0.84in\(= s^3 {\cal L}(f(t)) - s^2f(0) - sf'(0) - f''(0) \)
     
    etc.  And thus 
    \u skip -1pt
    \({\cal L}(f^{(n)}(t))= s^n {\cal L}(f(t)) - s^{n-1}f(0) - s^{n-2}f'(0) - ... - f^{(n-1)}(0) \)


    \end

    START 34/FALL10/quiz3ANS.tex part 2

    3.)  Circle T for True or F for False:
    \u

    3a.) Suppose \(y = f(t)\) is a solution to $y'' 
    + y' + y = cos(2t)\(, \)y(0) = 0\(, \)y'(0) = 0$, \break and suppose 
    \(y = g(t)\) is a solution to $y'' 
    + y' + y = cos(2t)\(, \)y(0) = 100\(, \)y'(0) = -200$. \break
    For large values of \(t\), \(f(t) - g(t)\) is very small.
      \hfill
    {T ~~~~~~~~~}

    3b.)   The initial conditions have a transient effect on the solution to  \(y''  + y = cos(2t)\).

    4.)  Match the following differential equation initial value problem to its graph:

    B = I.) \(y'' + y = cos(t)\), \(y(0) = 0\), \(y'(0) = 0\)

    A = II.) \(y'' + y = cos(1.2t)\), \(y(0) = 0\), \(y'(0) = 0\)

    \hfil
    II = A.) \includegraphics[width=20ex]{spring2aaaplot2d2}
     \hfil \hfil
    I = B.)  \includegraphics[width=20ex]{spring2aaaplot2d1}
     \hfil 


    \end

    START 34/FALL10/quiz3ANS1.tex part 2

    3.)  Circle T for True or F for False:
    \u

    3a.) Suppose \(y = f(t)\) is a solution to $y'' 
    + y' + y = cos(2t)\(, \)y(0) = 0\(, \)y'(0) = 0$, \break and suppose 
    \(y = g(t)\) is a solution to $y'' 
    + y' + y = cos(2t)\(, \)y(0) = 100\(, \)y'(0) = -200$. \break
    For large values of \(t\), \(f(t) - g(t)\) is very small.
      \hfill
    {T ~~~~~~~~~}

    3b.)   The initial conditions have a transient effect on the solution to  \(y''  + y = cos(2t)\).


    3c.)   The initial conditions have a transient effect on the solution to  \(y'' - y'  + y = cos(2t)\).

    4.)  Match the following differential equation initial value problem to its graph:

    B = I.) \(y'' + y = cos(t)\), \(y(0) = 0\), \(y'(0) = 0\)

    A = II.) \(y'' + y = cos(1.2t)\), \(y(0) = 0\), \(y'(0) = 0\)

    \hfil
    II = A.) \includegraphics[width=20ex]{spring2aaaplot2d2}
     \hfil \hfil
    I = B.)  \includegraphics[width=20ex]{spring2aaaplot2d1}
     \hfil 


    \end

    START 34/FALL10/e2_34_F10ANS.txt part 4

    [25]~~ 6.)   Use the LaPlace transform to solve the given initial value problem.

     \(y'' + 4y  = sin(t), ~~~~ y(0) = 0,~~ y'(0) = 0\)

     \(\L(y'' + 4y)  = \L(sin(t))\)

     \(\L(y'') + 4\L(y)  = {1 \over s^2 + 1}\)

     \(s^2\L(y) - sy(0) - y'(0) + 4\L(y)  = {1 \over s^2 + 1}\)

     \(s^2\L(y) + 4\L(y)  = {1 \over s^2 + 1}\)

     \(\L(y)[s^2 + 4]  = {1 \over s^2 + 1}\)

     \(\L(y)  = {1 \over (s^2 + 1)(s^2 + 4)}\). Hence  \(y  = \L^{-1}({1 \over (s^2 + 1)(s^2 + 4)})\)


    Partial Fractions:

    \({1 \over (s^2 + 1)(s^2 + 4)} = {As + B \over s^2 + 1} + {Cs + D \over s^2 + 4}\)

    \(1 = (As + B)( s^2 + 4) + (Cs + D)(s^2 + 1)\)

    \(1 = As^3 + Bs^2 + 4As + 4B + Cs^3 + Ds^2 + Cs + D\)

    \(1 = (A + C)s^3 + (B + D)s^2 + (4A + C)s + 4B + D\)


    \(A + C = 0\) and \(4A + C = 0\).  
    Hence \(C = -A\) and \(4A - A = 0\).  Hence \(3A = 0\) and \(A = 0\), \(C = 0\).
    ~~~Alternatively note  \(A = 0\), \(C = 0\) is ``obviously a solution" and you only need one (plus it is ``obvious" that 
    there is only one solution).  Note how ``obvious" this is depends on your linear algebra background.

    \(B + D = 0\)  
    and
    \(4B + D = 1\)
    Hence \(D = -B\) and \(4B - B = 1\).  Hence \(3B = 1\) and \(B = {1 \over 3}\), \(D = -{1 \over 3}\) 


    \({1 \over (s^2 + 1)(s^2 + 4)} = {1 \over 3(s^2 + 1)} + {-1 \over 3(s^2 + 4)}\)

    \(y  = \L^{-1}({1 \over (s^2 + 1)(s^2 + 4)})\) 
    \(= \L^{-1}( {1 \over 3(s^2 + 1)} + {-1 \over 3(s^2 + 4)})\)
    \(= {1 \over 3}\L^{-1}( {1 \over s^2 + 1}) - {1 \over 3}\L^{-1}( {1 \over s^2 + 4})\)

    \(= {1 \over 3}sin(t) - {1 \over 6}\L^{-1}( {2 \over s^2 + 4})\)
    \(= {1 \over 3}sin(t) - {1 \over 6}sin(2t)\)


     fill

    Answer \(\underline{~~{1 \over 3sin(t) - {1 \over 6}sin(2t)~~}\)}

    \end

    START 34/FALL03/finalexamANS.txt part 8

    \nopagenumbers


    Math 34 Differential Equations Final Exam
                                   December 15, 2003 \hfill  SHOW ALL
    WORK
    ~

    [10]~ 2.)  Use the LaPlace transform to solve the following initial value problem:

    \(y'' +  2y' + y = e^{-t, ~y(0) = 0, ~y'(0) = 4\)}


    \({\cal L}(y'') + 2{\cal L}(y') + {\cal L}(y) = {\cal L}(e^{-t}) \)

    \(s^2{\cal L}(y) - sy(0) - y'(0) + 2[s{\cal L}(y) - y(0)] + {\cal L}(y) = {1 \over s + 1}\) 

    \((s^2 + 2s + 1){\cal L}(y)  - 4  = {1 \over s + 1}\) 

    \((s^2 + 2s + 1){\cal L}(y)   = 4 + {1 \over s + 1}\) 

    \((s + 1)^2 {\cal L}(y)   = 4 + {1 \over s + 1}\) 

    \({\cal L}(y)   = {4 \over (s + 1)^2} + {1 \over (s + 1)^3}\) 

    \(y   = 4{\cal L}^{-1}({ 1\over (s + 1)^2}) + {1 \over 2}{\cal L}^{-1}({2 \over (s + 1)^3})\) 

    \(y = 4te^{-t} + {1 \over 2} t^2e^{-t}\)
    \u

    Answer 2.) \(\underline{y(t) = 4te^{-t + {1 \over 2} t^2e^{-t}}\)}

    \u
    [1-EC]~~ 2a.)  How can you use the LaPlace transform to find the general solution to a 
    differential equation.

    Use variables for \(y(0)\) and \(y'(0)\).  For example, let \(y(0) = y_0\) and \(y'(0) = y_0'\). 
    Since these can be treated as constants, you can then solve the differential equation as you 
    normally would using the LaPlace transform.


    \end

    START 34/FALL03/finalreviewANS2.txt part 5

    10.)  Solve the following initial problems:

    10a.)  \(y' + 3y + 1 = 0, ~y(0) = 0\)

    Method 1:  separate variable

    \({dy \over dx} = -3y-1\)

    \({dy \over -3y-1} = dx\)

    \(\int {dy \over -3y-1} = \int dx\)

    Let \(u = -3y - 1\), \(du = -3dy\)

    \(-{1 \over 3} \int {du \over u} = \int dx\)

    \(-{1 \over 3} ln(u) = x + C\)

    \(ln(-3y - 1) = -3x + C_1\)

    \(-3y - 1 = e^{-3x + C_1}\)

    \(-3y = e^{-3x}e^{C_1} + 1\)

    \(y = {1 \over 3}e^{C_1}e^{-3x} - {1 \over 3}\)

    \(y = Ke^{-3x} - {1 \over 3}\)

    \(y(0) = 0:  0 = K - {1 \over 3}\).  Hence \(K = {1 \over 3}\)

    Thus \(y = {1 \over 3}e^{-3x} - {1 \over 3}\)


    Method 2:  integrating factor:

    \(y' + 3y = -1\)


    Let \(u = e^{\int 3 dx} = e^{3x}\)

    \(e^{3x}y' + 3e^{3x}y = -e^{3x}\)

    \((e^{3x}y)' = -e^{3x}\)

    \(\int(e^{3x}y)' = -\int e^{3x}\)

    \(e^{3x}y = -{1 \over 3}e^{3x} + C\)

    \(y = -{1 \over 3} + Ce^{-3x}\)

    \(y(0) = 0:  0 = -{1 \over 3} + C\).  Hence \(C = {1 \over 3}\)

    Thus \(y = {1 \over 3}e^{-3x} - {1 \over 3}\)


    Method 3:  LaPlace transform:

    \({\cal L}(y') + 3{\cal L}(y) = -{\cal L}(1)\)

    \(s{\cal L}(y) + y(0) + 3{\cal L}(y) = -{1 \over s}\)

    \((s + 3){\cal L}(y) = -{1 \over s}\)

    \({\cal L}(y) = -{1 \over s(s + 3) } = -{1 \over 3}[{1 \over s} - {1 \over s + 3}]\)

    \(y = -{1 \over 3}[1 - e^{-3x}]\)


    10b.)  \(   , ~y(0) = 0\)

    *10c.)  \(cos(t)y'- sin(t)y = {1 \over t^2}, ~y(0) = 1\)

    Note \(cos(t)y'- sin(t)y = (cos(t)y)'\)

    \(\int (cos(t)y)' = \int {1 \over t^2} dt\)

    \(cos(t)y = -t^{-1} + C = {-1 + Ct \over t}\)


    \(y(0) = 0\):  \(0 = -1 + C\).  Hence \(C = 1\).

    \(y = {-1 + Ct \over tcos(t)}\)


    10d.)  \(y' = {3x^2 - 2 \over xy - xy^2}, ~y(e) = 0\)

    \({dy \over dx} = {3x^2 - 2 \over x(y - y^2)}\)

    \({(y - y^2)dy} = {3x^2 - 2 \over x}dx\)

    \(int{(y - y^2)dy} = \int[3x - {2 \over x}]dx\)

    \({1 \over 2}y^2 - {1 \over 3}y^3 = {3 \over 2}x^2 - 2ln(x) + C\)


    \(y(0) = 0\): \(0 = {3 \over 2}e^2 - 2ln(e) + C\)


    \(C = 2 ln(e) -  {3 \over 2}e^2 = 2 -  {3 \over 2}e^2\)

    Answer:  \({1 \over 2}y^2 - {1 \over 3}y^3 = {3 \over 2}x^2 - 2ln(x) + 2 -  {3 \over 2}e^2\)

    \end

    Section 6.3: Step Functions

    START 100/6_3help.tex


    Section 6.3

    Example:  $ f(t)  =\cases{
    f_1,&if \(t < 4\);\cr
    f_2,&if \(4 \leq t < 5\);\cr
    f_3,&if \(5 \leq t < 10\);\cr
    f_4,&if \(t \geq 10\);\cr
     }$


    Hence \(f(t) = f_1(t) + u_4(t)[f_2(t) - f_1(t)] + u_5(t)[f_3(t) - f_2(t)] +     u_{10}(t)[f_4(t) - f_3(t)]\)
     

    {Formula 13: \({\cal L}(u_c(t)f(t-c))= e^{-cs} {\cal L}(f(t)).\)}
     
    or equivalently
     
     \({\cal L(u_c(t)f(t-c + c))=  e^{-cs} {\cal L}(f(t+c)).\)}
     
    or equivalently
     
     \({\cal L(u_c(t)f(t))=  e^{-cs} {\cal L}(f(t+c)).\)}

    In other words, replacing \(t - c\) with \(t\) is equivalent to replacing \(t\) with \(t + c\)

     

    {Formula 13: \({\cal L}(u_c(t)f(t-c))= e^{-cs} {\cal L}(f(t)).\)}


    Let \(F(s) =  {\cal L}(f(t)).\)~~  Then ${\cal L}^{-1}(F(s)) = {\cal L}^{-1}
    ({\cal L}(f(t))) = f(t).$

    Thus \({\cal L}^{-1}(e^{-cs}F(s)) = {\cal L}^{-1}(e^{-cs} {\cal L}(f(t))) = u_c(t)f(t-c)\) where \(f(t) = {\cal L}^{-1}(F(s)) \)


    \end

    START 100/6_3newANS.tex

    {Formula 13: \({\cal L}(u_c(t)f(t-c))= e^{-cs} {\cal L}(f(t)).\)}

    or equivalently

     \({\cal L(u_c(t)f(t))=  e^{-cs} {\cal L}(f(t+c)).\)}
      
    a.)  \({\cal L}(u_3(t)(t^2 - 2t + 1)) =  \underline{e^{-3s}({2 \over s^3} + {4 \over s^2} + {4 \over s})} \)


     \({\cal L}(u_3(t)(t^2 - 2t + 1)) = e^{-3s} {\cal L}((t+3)^2 - 2(t+3) + 1))\)
     
      \hskip 0.99in \( =   e^{-3s} {\cal L}(t^2 + 6t + 9 - 2t - 6 + 1)) \)
     
     \hskip 0.99in $=
      e^{-3s}  {\cal L}(t^2 + 4t + 4) = e^{-3s}({2 \over s^3} + {4 \over s^2} + {4 \over s})$
    b.)  ${\cal L}(u_4(t)(e^{-8t})) =  \underline{
    e^{-4s-32}\left({1 \over s + 8}\right)} $


    ${\cal L}(u_4(t)(e^{-8t})) =  e^{-4s}{\cal L}(e^{-8(t +4)} )
    = e^{-4s}{\cal L}(e^{-8t}e^{-32}) )$
     
    \(= e^{-4s-32}\left({1 \over s + 8}\right)\)}

      

      Find the LaPlace transform of 

    d.) {\(g(t) = \cases{0 & \)t < 3\( \cr e^{t-3} & \)t \geq 3\(}\)}

    Note \(g(t) = u_3(t)e^{t-3}\)

    \({\cal L}(u_3(t)e^{t-3}) = e^{-3s}{\cal L}(e^t) = { e^{-3s} \over s-1}\)


    c.)  \( {\cal L}(u_2(t)(t^2e^{3t})) =  \underline{e^{-2s+ 6}({2 \over (s - 3)^3} + {4 \over (s - 3)^2} + {4 \over (s - 3)})} \)

    $ {\cal L}(u_2(t^2e^{3t}))
    =  e^{-2s}{\cal L}([(t+2)^2]e^{3(t + 2)}))$

    \hskip 0.75in \(=  e^{-2s}{\cal L}([t^2 + 4t + 4]e^{3t + 6}))\)

    \hskip 0.75in\(=  e^{-2s}e^6{\cal L}([t^2 + 4t + 4]e^{3t}))\)

    \hskip 0.75in\(=  e^{-2s+6}{\cal L}(t^2e^{3t} + 4te^{3t} + 4e^{3t}))\)

    \hskip 0.75in\(=  e^{-2s+6}({\cal L}(t^2e^{3t}) + 4{\cal L}(te^{3t}) + 4{\cal L}(e^{3t}))\)

    \hskip 0.75in \(=  e^{-2s+ 6}({2 \over (s - 3)^3} + {4 \over (s - 3)^2} + {4 \over (s - 3)} )\) since


    ~~~~~~~~~Formula 14:  \({\cal L} (e^{cs}f(t)) = F(s-c)\)

    ~~~~~~~~~Thus \({\cal L}(t^2e^{3t})  =  F(s-3) = {2 \over (s - 3)^3}\)

     \hskip 0.75in since \(F(s) = {\cal L}(f(t)) =  {\cal L}(t^2) = {2 \over s^3}\)

    \hskip 0.75in and \(F(s-3) = {2 \over (s - 3)^3}\) 

    ~~~~~~~~~Similarly, \({\cal L}(te^{3t})  =  {1 \over (s - 3)^2}\) 
     
     

    e.)  
    {\(f(t) = \cases{0 & \)t < 3\( \cr 5 & \)3 \leq t < 4$ \cr t 
    - 5
    & \(t \geq 4\)}$}
     
     
    \( f(t) = 0 + u_3(t)[5-0] + u_4(t)[t-5 - 5]\)

    \({\cal L}(f(t)) = {\cal L}(  5u_3(t) + u_4(t)[t-10]) \)

    ~~~~~~~~~~\(= 5{\cal L}( u_3(t)) +  {\cal L}( u_4(t)[t-10])\)

    ~~~~~~~~~~\(= 5e^{-3s} +  e^{-4s}{\cal L}(t + 4-10)\)

    ~~~~~~~~~~\(= 5e^{-3s} +  e^{-4s}{\cal L}(t -6)\)

    ~~~~~~~~~~\(= 5e^{-3s} +  e^{-4s}[{\cal L}(t) - 6{\cal L}(1)]\)

    ~~~~~~~~~~\(= 5e^{-3s} +  e^{-4s}[{1 \over s^2} - {6 \over s}]\)
    \(= 5e^{-3s} +  {e^{-4s}(1 - 6s) \over s^2} \)


     
    {Formula 13: \({\cal L}(u_c(t)f(t-c))= e^{-cs} {\cal L}(f(t)).\)}


    Let \(F(s) =  {\cal L}(f(t)).\)~~  

    Then ${\cal L}^{-1}(F(s)) = {\cal L}^{-1}
    ({\cal L}(f(t))) = f(t).$

    Thus \({\cal L}^{-1}(e^{-cs}F(s))\) 

     
    \(= {\cal L^{-1}(e^{-cs} {\cal L}(f(t))) = u_c(t)f(t-c)\) }

    where \(f(t) = {\cal L}^{-1}(F(s)) \)


     

    a.)  \( {\cal L}^{-1}(e^{-8s}{1 \over s - 3}) =  \underline{u_8(t)e^{3(t-8)}} \)

    \({\cal L}^{-1}(e^{-8s}{1 \over s - 3}) = u_8(t)f(t-8)\) where

    ~~~~~~\({\cal L}(f(t)) = {1 \over s - 3}\).  Hence \(f(t) = {\cal L}^{-1}({1 \over s - 3}) = e^{3t}\)


    b.)  ${\cal L}^{-1}(e^{-4s}{1 \over s^2 - 3}) =  \underline{
    u_{4}(t){1 \over  qrt{3}} \ sinh( qrt{3}(t - 4))} $

    \({\cal L}^{-1}(e^{-4s}{1 \over s^2 - 3}) = u_{4}(t)f(t-4)\) where

    \({\cal L}(f(t)) = {1 \over s^2 - 3}\).  Hence $f(t) 
    = {1 \over  qrt{3}}{\cal L}^{-1}({ qrt{3} \over s^2 - 3}) 
    = {1 \over  qrt{3}}sinh( qrt{3}t)$

     

    c.)  ${\cal L}^{-1}(e^{-s}{5 \over (s - 3)^4}) =  \underline{u_{1}(t)({5 \over 
    6})(t-1)^3e^{3(t-1)}} $

    ${\cal L}^{-1}(e^{-s}{5 \over (s - 3)^4}) 
    = u_{1}(t)f(t-1)$ where

    \({\cal L}(f(t)) = {5 \over (s - 3)^4}\).  Hence 
    \(f(t) = {5 \over 6}{\cal L}^{-1}({3! \over (s - 3)^4}) = {5 \over 6}t^3e^{3t}\)

     


    d.) \({\cal L}^{-1}({e^{-s} \over 4s}) =  \underline{{1 \over 4} u_{1}(t)} \)

    In this case you can use the easier formula 12, or alternatively, you can use formula 13 (but formula 12 is easier to use and applies to this case):

    \({\cal L}^{-1}({e^{-s} \over 4s}) \)
    \(= {1 \over 4}{\cal L}^{-1}({e^{-s} \over s})\)
    \(= {1 \over 4} u_{1}(t)f(t+1)\) where

    \({\cal L}(f(t)) = {1 \over s}\).  Hence 
    \(f(t) = 1\).  Thus \(f(t-1) = 1\)

     

    e.)  \({\cal L}^{-1}(e^{-s}) =  \underline{\delta(t - 1)} \)


    f.)  ${\cal L}^{-1}(e^{-s}{1 \over (s - 3)^2 + 4}) =  
    \underline{{1 \over 2}u_{1}(t)e^{3(t-1)}sin(2(t- 
    1))} $

    \({\cal L}^{-1}(e^{-s}{1 \over (s - 3)^2 + 4}) = u_{1}(t)f(t-1)\) where

    \({\cal L}(f(t)) = {1 \over (s - 3)^2 + 4})\). 

      Hence 
    \(f(t) = {1 \over 2}{\cal L}^{-1}({2 \over (s - 3)^2 + 4}) = {1 \over 2}e^{3t}sin(2t)\)

     


    g.)  \({\cal L}^{-1}(e^{-s}{2s - 5 \over s^2 + 6s + 13})\)


    \({2s - 5 \over s^2 + 6s + 13} = {2s - 5 \over s^2 + 6s + 9 - 9+ 13}\)
    \(= {2s - 5 \over (s + 3)^2 + 4}\)
    \(= {2(s + 3) - 6  - 5 \over (s + 3)^2 + 4}\)

     \({\cal L}^{-1}({2s - 5 \over s^2 + 6s + 13})\)
     \(= {\cal L}^{-1}({2(s + 3) - 11 \over (s + 3)^2 + 4})\)

     \hskip 0.92in $= 2{\cal L}^{-1}({s + 3  \over (s + 3)^2 + 4})
    - 11{\cal L}^{-1}({ 1 \over (s + 3)^2 + 4})$

    \hskip 0.92in $= 2{\cal L}^{-1}({s + 3  \over (s + 3)^2 + 4})
    - {11 \over 2}{\cal L}^{-1}({ 2 \over (s + 3)^2 + 4})$

    \hskip 0.92in \(= 2e^{-3t}cos(2t) - {11 \over 2} e^{-3t}sin(2t) \)

     \({\cal L}^{-1}(e^{-s}{2s - 5 \over s^2 + 6s + 13}) \)
    $= 
    u_{1}(t)f(t - 1) $

    ~~~~~\(= u_{1}(t) [ 2e^{-3(t-1)}cos(2(t-1)) - {11 \over 2} e^{-3(t-1)}sin(2(t-1))] \)


    ~~~~\(= u_{1}(t) e^{-3t+1}[ 2cos(2t-2) - {11 \over 2} sin(2t-2)] \)

    \end

    6.)  Use the definition and not the table to find the LaPlace transform of the following:

    6a.)  \({\cal L}(t^3) =  \underline{\hskip 2in} \)

    6a.)  \({\cal L}(cos(t)) =  \underline{\hskip 2in} \)


    \end

    START 34/FALL10/e2_34_F10ANS.txt part 5

    [15]~~ 7.) Prove that if \(F(s) = {\cal L}(f(t))\) exists for $s > a \geq 
    0\(, and if \)c\( is a positive constant, then \){\cal L}(u_c(t)f(t-c)) = e^{-cs}{\cal L}(f(t))\( with domain \)s > a$.
    \u\u

    Hint:  \( \int_0^\infty  h(t)dt =  \int_0^c h(t)dt +  \int_c^\infty h(t)dt\) and use \(u\)-substitution (let \(u = t-c\)).

    Proof:  If the integral \(\int_0^\infty e^{-st} u_c(t)f(t-c)dt\) exists, then 

     \({\cal L}(u_c(t)f(t-c)) = \int_0^\infty e^{-st} u_c(t)f(t-c)dt\)

    \( = \int_0^c  e^{-st} u_c(t)f(t-c)dt +   \int_c^\infty  e^{-st} u_c(t)f(t-c)dt\)

    \( = \int_0^c   e^{-st} \cdot 0 \cdot f(t-c)dt +   \int_c^\infty   e^{-st} \cdot 1 \cdotf(t-c)dt\)

    \( =   0 +   \int_c^\infty  e^{-st} f(t-c)dt\)

    Let  \(u = t-c\), then \(du = dt\) and \(t = u + c\). When \(t = c\), \(u = c - c = 0\)

    \( \int_c^\infty  e^{-st} f(t-c)dt\)

    \( =  \int_0^\infty  e^{-s(u + c)} f(u)du\)


    \( =  \int_0^\infty  e^{-su}e^{-sc} f(u)du\)

    \( =  e^{-sc}\int_0^\infty  e^{-su} f(u)du\) ~~since  \(e^{-sc}\) is a constant with respect to \(u\).

    \( =  e^{-sc}{\cal L}(f(u))\) 

    \( =  e^{-sc}{\cal L}(f(t))\) 
     
     
    Note \(F(s) = {\cal L}(f(t))\) = \(\int_0^\infty  e^{-su} f(u)du\) exists for \(s > a\).  

    Hence \({\cal L}(u_c(t)f(t-c)) = \int_0^\infty e^{-st} u_c(t)f(t-c)dt\) 
     exists for \(s > a\) and 
    \hfil \break 
     \({\cal L}(u_c(t)f(t-c)) =e^{-sc}{\cal L}(f(t))\).

    \end

    START 34/FALL03/finalexamANS.txt part 9

    [10]~ 3.)  Find the inverse LaPlace transform of \(e^{-3s}{s \over s^2 + 8s + 18}\)

    ${\cal L}^{-1}(e^{-3s}{s \over s^2 + 8s + 18}) = {\cal L}^{-1}(e^{-3s}{\cal L}(f(t)))
    = u_3(t)f(t-3)$ where

    ${\cal L}(f(t)) = {s \over s^2 + 8s + 18} = 
    {s \over (s+ 4)^2 + 2}
    =
    {s + 4 - 4\over (s+ 4)^2 + 2}
    ={s + 4 \over (s+ 4)^2 + 2}
     - {4 \over  qrt{2}}{ qrt{2}\over (s+ 4)^2 + 2}
    $

    Hence $f(t) = e^{-4t}cos( qrt{2}t) - {4 \over  qrt{2}} e^{-4t}sin( qrt{2}t)
        
    \u
    Answer 3.) $\underline{u_3[ e^{-4(t-3)cos( qrt{2}(t-3)) - {4 \over  qrt{2}} 
    e^{-4(t-3)}sin( qrt{2}(t-3))]}$}
    \w
     

    \end

    START 34/FALL03/finalreviewANS2.txt part 6

    Note the following review problems DO NOT cover all problem types which may appear on the 
    final.  

    6.3 preliminaries:

    1a.)  Suppose \(f(t) = t^2\), then \(f(t-2) = \underline{(t-2)^2}\)

    1b.)  Suppose \(f(t) = t^2 + 3t + 4\), then \(f(t-2) = \underline{(t-2)^2 + 3(t-2) + 4}\)

    1c.)  Suppose \(f(t) = sin(t) + e^{8t}\), then \(f(t-2) =  \underline{sin(t-2) + e^{8(t-2)}}\)

    2a.)  Suppose \(f(t-2) = (t-2)^2\), then \(f(t) = \underline{ t^2}\)

    2b.)  Suppose \(f(t-2) = (t-2)^2 + 3(t-2) + 4\), then \(f(t) = \underline{t^2 + 3t + 4}\)

    2c.)  Suppose \(f(t-2) = sin(t-2) + e^{8(t-2)}\), then \(f(t) =  \underline{sin(t) + e^{8t}}\)

    3a.)  Suppose \(f(t-2) = t^2 + 2t + 5\), then \(f(t) = \underline{t^2 + 6t + 13}\)

    \(t^2 + 2t + 5 = (t-2)^2 + 4t - 4 + 2t + 5 = (t-2)^2 + 6t + 1 = (t-2)^2 + 6(t-2) + 12 + 1 \)

    \u
    \(=(t-2)^2 + 6(t-2) + 13\)

    Check:  \(f(t-2) = (t-2)^2 + 6(t-2) + 13 = t^2 - 4t + 4 + 6t - 12 + 13 = t^2 + 2t + 5\)

    3b.)  Suppose \(f(t-2) = 3t^2 + 8t + 1\), then \(f(t) = \underline{3t^2 + 20t + 29}\)

    \( 3t^2 + 8t + 1 = 3(t-2)^2 - 3(-4t + 4) + 8t + 1 = 3(t-2)^2 + 12t -12 + 8t + 1\)
    \u
    $ = 
    3(t-2)^2 + 20t - 11 = 
    $
    \u
    $3(t-2)^2 + 20(t-2) + 40 - 11 = 
    3(t-2)^2 + 20(t-2) + 29$ 


    Check:  $f(t-2) = 3(t-2)^2 + 20(t-2) + 29 = 3(t^2 - 4t + 4 ) + 20t - 40 + 29 = 3t^2 - 12t + 12 + 20t - 11
    = 3t^2 + 8t + 1$


    3c.)  Suppose \(f(t-2) = cos(t) + e^{8t}\), then \(f(t) =  \underline{cos(t+2) + e^{8t + 16}} \)

    \(cos(t) + 4^{8t} = cos(t-2 + 2) + e^{8(t-2) + 16}\)

    Check:  \(f(t-2) = cos(t-2+2) + e^{8(t-2) + 16} = cos(t) + e^{8t-16 + 16} = cos(t) + e^{8t}\) 

    4.) Find the LaPlace transform of the following:  (used ${\cal L}(u_c(t)f(t-c)) = 
    e^{-cs}{\cal L}(f(t))$) 

    4a.)  ${\cal L}(u_3(t^2 - 2t + 1)) =  \underline{
    e^{-3s}({2 \over s^3} + 4{1 \over s^2} + {4 \over s})} $

    ${\cal L}(u_3(t^2 - 2t + 1)) 
    = {\cal L}(u_3((t-3)^2 + 6t - 9 - 2t + 1)) 
    = {\cal L}(u_3((t-3)^2 + 4t - 8)) 
    = {\cal L}(u_3 ( (t-3)^2 + 4(t-3) + 12 - 8 ) )
    = {\cal L}(u_3 ( (t-3)^2 + 4(t-3) + 4 ) )
    = e^{-3s}{\cal L}( t^2 + 4t + 4 ) ) 
    = e^{-3s}({2 \over s^3} + 4{1 \over s^2} + {4 \over s})$ 

    4b.)  \({\cal L}(u_4(e^{-8t})) =  \underline{e^{-4s-32}{1 \over s + 8}} \)

    ${\cal L}(u_4e^{-8t} ) 
    = {\cal L}(u_4e^{-8(t-4) - 32})
    = e^{-4s}{\cal L}(e^{-8t - 32} )
    = e^{-4s}e^{-32}{\cal L}(e^{-8t} )
    = e^{-4s-32}{1 \over s + 8}$


    4c.)  $ {\cal L}(u_2(t^2e^{3t})) =  \underline{e^{-2s+ 6}({2 \over (s - 3)^3} + {4 \over (s - 
    3)^2} + {4 \over (s - 3)} )
    } $

    $ {\cal L}(u_2(t^2e^{3t}))
    =   {\cal L}(u_2([(t-2)^2 + 4t - 4]e^{3(t-2) + 6}))
    =  {\cal L}(u_2([(t-2)^2 + 4(t-2) + 8 - 4]e^{3(t-2) + 6}))
    =  {\cal L}(u_2([(t-2)^2 + 4(t-2) + 4]e^{3(t-2) + 6}))
    =  e^{-2s}{\cal L}([t^2 + 4t + 4]e^{3t + 6}))
    =  e^{-2s}e^6{\cal L}([t^2 + 4t + 4]e^{3t}))
    =  e^{-2s}e^6{\cal L}(t^2e^{3t} + 4te^{3t} + 4e^{3t}))
    =  e^{-2s+ 6}({2 \over (s - 3)^3} + 4{1 \over (s - 3)^2} + {4 \over (s - 3)} )$


    5.)  Find the inverse LaPlace transform of the following: (usually used 
    $u_c(t)f(t-c) = {\cal L}^{-1}(e^{-cs}{\cal L}(f(t))) 

    5a.)  \( {\cal L}^{-1}(e^{-8s}{1 \over s - 3}) =  \underline{u_8(t)e^{3(t-8)}} \)

    \({\cal L}^{-1}(e^{-8s}{1 \over s - 3}) = u_8f(t-8)\) where

    \({\cal L}(f(t)) = {1 \over s - 3})\).  Hence \(f(t) = {\cal L}^{-1}({1 \over s - 3}) = e^{3t}\)

    5b.)  ${\cal L}^{-1}(e^{4s}{1 \over s^2 - 3}) =  \underline{
    u_{-4}(t){1 \over  qrt{3}} \ sinh( qrt{3}(t + 4))} $

    \({\cal L}^{-1}(e^{4s}{1 \over s^2 - 3}) = u_{-4}(t)f(t+4)\) where

    \({\cal L}(f(t)) = {1 \over s^2 - 3})\).  Hence $f(t) 
    = {1 \over  qrt{3}}{\cal L}^{-1}({ qrt(3) \over s^2 - 3}) 
    = {1 \over  qrt{3}}sinh( qrt{3}t)$


    5c.)  ${\cal L}^{-1}(e^{s}{1 \over (s - 3)^2 + 4}) =  
    \underline{{1 \over 2}u_{-1}(t)e^{3(t+1)}sin(2(t+ 
    1))} $

    \({\cal L}^{-1}(e^{s}{1 \over (s - 3)^2 + 4}) = u_{-1}(t)f(t+1)\) where

    \({\cal L}(f(t)) = {1 \over (s - 3)^2 + 4})\).  Hence 
    \(f(t) = {1 \over 2}{\cal L}^{-1}({2 \over (s - 3)^2 + 4}) = {1 \over 2}e^{3t}sin(2t)\)

    5d.)  ${\cal L}^{-1}(e^{-s}{5 \over (s - 3)^4}) =  \underline{u_{1}(t){5 \over 
    6}(t-1)^3e^{3(t-1)}} $

    ${\cal L}^{-1}(e^{-s}{5 \over (s - 3)^4}) 
    = u_{1}(t)f(t-1)$ where

    \({\cal L}(f(t)) = {5 \over (s - 3)^4})\).  Hence 
    \(f(t) = {5 \over 6}{\cal L}^{-1}({6 \over (s - 3)^4}) = {5 \over 6}t^3e^{3t}\)


    5e.) \({\cal L}^{-1}(e^{s} \over 4s) =  \underline{{1 \over 4} u_{-1}(t)} \)

    \({\cal L}^{-1}(e^{s} \over 4s) \)
    \(= {1 \over 4}{\cal L}^{-1}(e^{s} \over s)\)
    \(= {1 \over 4} u_{-1}(t)f(t+1)\) where

    \({\cal L}(f(t)) = {1 \over s}\).  Hence 
    \(f(t) = 1\).  Thus \(f(t+1) = 1\)

    5f.)  \({\cal L}^{-1}(e^{s}) =  \underline{\delta(t + 1)} \)

    \end

    START 100/FALL17/quiz6Fall2017ans.tex part 1


    \nopagenumbers


    Quiz 6 Form A \hfil \break
    Nov 10, 2017

    [10]~~ 1.  \({\cal L}(u_2(t)(t + 5)) =  \underline{~~e^{-2s}({1 \over s^2} + {7 \over s})~~}\)

    ${\cal L}(u_2(t)(t + 5)) = e^{-2s}{\cal L}(t+2 + 5)) =
    e^{-2s}{\cal L}(t+7(1))) =e^{-2s}({\cal L}(t)+7{\cal L}(1))) =
    e^{-2s}({1 \over s^2} + {7 \over s})$

     

    \end

    Section 6.4: Differential Equations with Discontinuous Forcing Functions

    Section 6.5: Impulse Functions

    Section 6.6: The Convolution Integral

    START 34/FALL03/finalexamANS.txt part 10

    [5]~ 5a.)  Find the inverse LaPlace transform ${1 \over (s-3)(s^2 - 6s + 
    10)}$ by using the 
    convolution 
    integral.  
    Leave your answer in terms of a 
    convolution integral:

    \({\cal L}^{-1}({1 \over (s-3)(s^2 - 6s + 10)})\)
    = \({\cal L}^{-1}({1 \over (s-3)} \cdot {1 \over (s - 3)^2 + 1})\)
    \(= e^{3t}*e^{3t}sin(t)\)
    \(=\int_0^t e^{3(t - s)}e^{3s}sin(s)ds\)

    OR

    \({\cal L}^{-1}({1 \over (s-3)(-5s + 10)})\)
    = \(-{1 \over 5}{\cal L}^{-1}({1 \over (s-3)} \cdot {1 \over (s - 2)})\)
    = \(-{1 \over 5} e^{3t}* e^{2t}\)
    = \(-{1 \over 5} \int_0^t e^{3(t- s)} e^{2s}ds\)

    \u
    Answer 5a.) $\underline{
    \int_0^t e^{3(t - s)e^{3s}sin(s)ds {\hbox{ OR }} 
    -{1 \over 5} \int_0^t e^{3(t- s)} e^{2s}ds
    }$}


    \w


     

    [5]~ 5b.)  Evaluate the convolution integral obtained in 3a.

    $\int_0^t e^{3(t - s)}e^{3s}sin(s)ds
    = \int_0^t e^{3t}e^{ -3s}e^{3s}sin(s)ds
    = e^{3t}\int_0^t sin(s)ds
    = e^{3t}(-cos(s))|_0^t$

    $= e^{3t}(-cos(t) - (-cos(0)))
    = e^{3t}(-cos(t) + 1)$

    OR

    \(-{1 \over 5} \int_0^t e^{3(t- s)} e^{2s}ds\)
    \(= -{1 \over 5} \int_0^t e^{3t}e^{-3s} e^{2s}ds\)
    \(= -{1 \over 5} e^{3t} \int_0^t e^{-s} ds\)
    \(= -{1 \over 5} e^{3t} (- e^{-s}) |_0^t\)

    \(= -{1 \over 5} e^{3t} (- e^{-t} - (-e^0))\)
    \(= -{1 \over 5} e^{3t} (- e^{-t} + 1)\)


     
    Answer 5b.) $\underline{e^{3t(-cos(t) + 1)
    {\hbox{ OR }} -{1 \over 5} e^{3t} (- e^{-t} + 1)
    }$}
    \w

    \end

    START 34/FALL03/finalreviewANS2.txt part 7


    7.)  Find the inverse LaPlace transform of the following.  Leave your answer in terms of a 
    convolution integral:

    7a.)  ${\cal L}^{-1}({1 \over (s-2)(s^2 + 4)}) =  
    \underline{{1\over 2}\int_0^t e^{2(t- s)} sin(2s)ds} $

     ${\cal L}^{-1}({1 \over (s-2)(s^2 + 4)}) = 
     {\cal L}^{-1}({1 \over (s-2)}) * {\cal L}^{-1}({1 \over (s^2 + 4)}) 
    = e^{2t} * {1 \over 2}sin(2t) = {1\over 2}\int_0^t e^{2(t- s)} sin(2s)ds$


    7b.)  ${\cal L}^{-1}({1 \over (s-2)(s^2 - 4s + 5)}) =  \underline{\int_0^t e^{2(t-s} e^{2s}sin(s)ds
    } $

    \({\cal L}^{-1}({1 \over (s-2)})*{\cal L}^{-1}({1 \over (s^2 - 4s + 5)}) \)
    = \({\cal L}^{-1}({1 \over (s-2)})*{\cal L}^{-1}({1 \over (s-2)^2 + 1)})\) 
    = \(e^{2t} * e^{2t}sin(t) = \int_0^t e^{2(t-s)} e^{2s}sin(s)ds\)

    Note we can easily calculate this integral:

    $= \int_0^t e^{2t}e^{-2s} e^{2s}sin(s)ds
    = \int_0^t e^{2t}sin(s)ds
    = e^{2t}\int_0^t  sin(s)ds
    = -e^{2t}cos(s)|_0^t 
    = -e^{2t}cos(t) + e^{2t}$
     

    7c.)  ${\cal L}^{-1}({ 2s \over (s-2)(s^2 - 4s + 5)}) =  \underline{= 2\int_0^t e^{2(t-s)}
     (e^{2s}cos(s) + 2e^{2s}sin(s)) ds} $

    \({\cal L}^{-1}({ 2s \over (s-2)(s^2 - 4s + 5)}) \)
    \(= 2{\cal L}^{-1}({ 1 \over (s-2)} \cdot {s -2 + 2\over ((s-2)^2 + 1)}) \)
    $= 2{\cal L}^{-1}({ 1 \over (s-2)} \cdot [{s -2 \over ((s-2)^2 + 1)} + {2 \over ((s-2)^2 + 
    1)}]) $
    \(= 2e^{2t} * (e^{2t}cos(t) + 2e^{2t}sin(t))\)
    \(= 2\int_0^t e^{2(t-s)} (e^{2s}cos(s) + 2e^{2s}sin(s)) ds\)

    Note we can easily calculate this integral:

    \(= 2e^{2t}\int_0^t e^{-2s} (e^{2s}cos(s) + 2e^{2s}sin(s)) ds\)
    \(= 2e^{2t}\int_0^t cos(s) + 2sin(s)) ds\)
    \(= 2e^{2t}[sin(s) - 2cos(s)]|_0^t\)
    \(= 2e^{2t}[sin(t) - 2cos(t) - ( 0 - 2)] \)
    \(= 2e^{2t}[sin(t) - 2cos(t) + 2] \)

    8.) Find \(f*g\)

    8a.)  \(4t*5t^4 =  \underline{{ 2 \over 3}t^6 } \)

    $\int_0^t 4(t-s) 5s^4 ds = \int_0^t 20(ts^4- s^5) ds = 4ts^5 - {20 \over 6}s^6 |_0^t
    = 4t^6 - {10 \over 3}t^6 = {2 \over 3}t^6 

    8b.)   \(5t^4*4t =  \underline{{2 \over 3}t^6 } \)

    \(5t^4*4t =  4t*5t^4 = {2 \over 3}t^6 \) 


    8c.)  $sin(t)*e^t =  \underline{{1 \over 2}(-sin(t)  - cos(t) + 
    e^t)} $

    \( \int_0^t e^{t-s}sin(s)ds =  \int_0^t e^{t}e^{-s}sin(s)ds = \)
    $e^t\int_0^t e^{-s}sin(s)ds = e^t[-e^{-s}sin(s)|_0^t - \int_0^t -e^{-s}cos(s)ds] 

    $=
     e^t[-e^{-t}sin(t) - -e^0 sin(0)  - \{e^{-s}cos(s)|_0^t - \int_0^t -e^{-s}sin(s)ds\}]$

    \(= e^t[-e^{-t}sin(t)  - \{(e^{-t}cos(t) - e^0 cos(0)) - \int_0^t -e^{-s}sin(s)ds\}]\)

    \(= e^t[-e^{-t}sin(t)  - e^{-t}cos(t) + 1 - \int_0^t e^{-s}sin(s)ds]\)

    \(= -sin(t)  - cos(t) + e^t - e^t\int_0^t e^{-s}sin(s)ds\)


    Hence \(e^t\int_0^t e^{-s}sin(s)ds =-sin(t)  - cos(t) + e^t - e^t\int_0^t e^{-s}sin(s)ds\) 

    Hence \(2e^t\int_0^t e^{-s}sin(s)ds =-sin(t)  - cos(t) + e^t\) 

    Hence \(e^t\int_0^t e^{-s}sin(s)ds ={1 \over 2}(-sin(t)  - cos(t) + e^t)\) 

     

    Let \(u = sin(s), ~  dv = e^{-s}\)

    ~~~~\(du = cos(s), ~v = -e^{-s}\)

    ~~~\(d^2u = -sin(s), ~ \int v = e^{-s}\)

    Make sure you can also solve a quick differential equation using the LaPlace transform and use any 
    of the formulas on p. 304.

    \end

    Chapter 7: Systems of First-Order Linear Equations

    Section 7.1: Introduction

    Section 7.2: Matrices

    START 100/SPRING13/exam2ANS.tex part 2

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{9.8in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    22M:100 (MATH:3600:0001) Exam 2 [April 27, 2013] Answers

    1.)  Circle T for True and F for false.


    [4]~ 1a.)  If \(y = f(t)\) and \(y = g(t)\) are solutions to \(y'' + p(t)y' + q(t)y = 0\), then \(y = c_1f(t) + c_2g(t)\) is also a solution to this differential equation for any constants \(c_1\) and \(c_2\).


     

    [4]~ 1b.)  If \({\bf x} = {\bf f}(t)\) and \({\bf x} = {\bf g}(t)\) are solutions to \({\bf x}' = A{\bf x}\), then \({\bf x} = c_1{\bf f}(t) + c_2{\bf g}(t)\) is also a solution to this system of differential equation for any constants \(c_1\) and \(c_2\).


      

    ---

    [20]~ 4.) Suppose that \(\mathlarger{a_{2k} = \frac{-a_{2k-2}}{4k^2}}\).  Use induction to prove that
    \(\mathlarger{a_{2k} = \frac{(-1)^ka_0}{4^k(k!)^2}}\) for all \(k \geq 0\).

    For \(k = 0\), \(\frac{(-1)^0a_0}{4^0(0!)^2}  = a_0 = a_{2(0)}\)


    Induction hypothesis:  Suppose that for \(k = n\), \(a_{2n} = \frac{(-1)^n a_0}{4^n(n!)^2}\)


    Claim:  for \(k = n+1\):  \(a_{2(n+1)} = \frac{(-1)^{n+1} a_0}{4^{n+1}((n+1)!)^2}\)

    \(a_{2(n+1)} = a_{2n+ 2} = \frac{-a_{2n}}{4(n+1)^2}\) by hypothesis.
     
     
    \hskip 1in \( =  \frac{-(-1)^n a_0}{[4^n(n!)^2][4(n+1)^2]}\) by the induction hypothesis.

    \hskip 1in \( =  \frac{(-1)^{n+1} a_0}{4^{n+1}((n+1)!)^2}\)


    [20]~ 6.)  Suppose the matrix \(A\) has eigenvalue -1 with eigenvector \(\left(\matrix{0  \cr 3}\right)\) and \hfil \break
    eigenvalue 4 with eigenvector \(\left(\matrix{2  \cr 1}\right)\).  Draw the phase portrait for this system of differential equations.  
    Identify the equilibrium solution.  Also state the general solution.
      

    Equilibrium solution is $\underline{ \left(\matrix{x
    \cr y }\right) =  \left(\matrix{0
    \cr 0 }\right)}$
      
    General solution is $\underline{ \left(\matrix{x        
    \cr y }\right) = c_1e^{-t}\left(\matrix{0  \cr 3}\right) + c_2e^{4t}\left(\matrix{2  \cr 
    1}\right)}$


     

     
    \end{document}

    Section 7.3: Systems of Linear Algebraic Equations; Linear Independence, Eigenvalues, Eigenvectors

    START 100/SPRING13/quiz2ANS.tex


    22M:100:001 (MATH:3600:0001) Quiz 2 \hb
    April 3, 2013

    1.) Determine which of the following sets of vectors are linearly dependent versus linearly
    independent.  Circle the correct answer


    [10]~ 1i.)  \(\{\left(\matrix{1 \cr 2}\right), \left(\matrix{-1 \cr 3}\right), \left(\matrix{4 \cr 5}\right) \}\)

    \hfil a.) linearly dependent \hfil \hfil \hfil

    The span of these three vectors is 2-dimensional.  Any collection of more than two vectors 
    spanning a 2-dimensional space must be linearly dependent

     

    [10]~ 1ii.)  \(\{\left(\matrix{1 \cr 2 \cr 3}\right), \left(\matrix{-1 \cr -2 \cr -3}\right) \}\)

    \hfil a.) linearly dependent \hfil \hfil  \hfil
     

    The second vector is a multiple of the first vector.


    [10]~ 1iii.)  \(\{\left(\matrix{1 \cr 2 \cr 4}\right), \left(\matrix{-1 \cr 3 \cr 4}\right) \}\)

    \hfil \hfil \hfil b.)  linearly independent \hfil

    There are only two vectors and the second vector is NOT a multiple of the first vector.


     

    [10]~ 1iv.)  $\{\left(\matrix{1 \cr 2 \cr 4}\right), \left(\matrix{1 \cr 3 \cr 2 }\right), 
    \left(\matrix{2 \cr 5 \cr 6 }\right)\}$

    \hfil a.) linearly dependent \hfil \hfil \hfil


    $\left(\matrix{1 \cr 2 \cr 4}\right)+ \left(\matrix{1 \cr 3 \cr 2 }\right),
    = \left(\matrix{2 \cr 5 \cr 6 }\right)$
    or $\left(\matrix{1 & 1 & 2 \cr 2 & 3 & 5\cr 4 & 2 & 6}\right)  im
     \left(\matrix{1 & 1 & 2 \cr 0 & 1 & 1\cr 0 & -2 & 2}\right)$

     

    [10]~ 1v.)  \(\{\left(\matrix{1 \cr 2 \cr 0}\right), \left(\matrix{1 \cr 3 \cr 0 }\right), \left(\matrix{2 \cr 3 \cr 6 }\right)\}\)

    \hfil  \hfil \hfil b.)  linearly independent \hfil

    Note the first two vectors span a 2-dimensional space that does not contain the third vector.  
    Hence these 3 vectors are linearly independent.

    Alternatively 
    \(\left(\matrix{1& 1 & 2 \cr 2 & 3 & 3 \cr 0 & 0 & 6}\right)  im\)
    \(\left(\matrix{1& 1 & 2 \cr 0 & 1 & -1 \cr 0 & 0 & 6}\right) \)


     fill
     2.)  If
    \(A\left(\matrix{1 \cr 2}\right) = \left(\matrix{5 \cr 5}\right)\),
    \(A\left(\matrix{2 \cr 1}\right) = \left(\matrix{4 \cr 4}\right)\),
    \(A\left(\matrix{2 \cr 2}\right) = \left(\matrix{6 \cr 6}\right)\),
    \(A\left(\matrix{2 \cr 3}\right) = \left(\matrix{8 \cr 8}\right)\),
    \(A\left(\matrix{3 \cr 2}\right) = \left(\matrix{7 \cr 7}\right)\).

    \w

    [10]~ 2a.)  An eigenvalue of \(A\) is \(\underline{~~ 3~~}\) 

    [15]~ 2b.) 4 eigenvectors corresponding to this eigenvalue are $\underline{\left(\matrix{2 \cr 
    2}\right), \left(\matrix{1 \cr 1}\right), \left(\matrix{-1 \cr -1}\right), \left(\matrix{\pi 
    \cr 
    \pi}\right)}$ 

    Any non-zero scalar multiple of \(\left(\matrix{2 \cr 2}\right)\) is an eigenvector of \(A\) with 
    eigenvalue 3.


    FYI:  
    \(A\left(\matrix{1 \cr 0}\right) =\) $A\left[\left(\matrix{2 \cr 2}\right) - \left(\matrix{1 
    \cr 
    2}\right)\right] =\(  \)A\left\left(\matrix{2 \cr 2}\right) - A\left(\matrix{1  
    \cr
    2}\right) =  \left(\matrix{6 \cr 6}\right)- \left(\matrix{5 \cr 5}\right) = 
    \left(\matrix{1 \cr 1}\right)$


    \(A\left(\matrix{0 \cr 1}\right) =\) $A\left[\left(\matrix{2 \cr 2}\right) - \left(\matrix{2 
    \cr 
    1}\right)\right] =\(  \)A\left\left(\matrix{2 \cr 2}\right) - A\left(\matrix{2  
    \cr 1}\right) =  \left(\matrix{6 \cr 6}\right)- \left(\matrix{4 \cr 4}\right) = 
    \left(\matrix{2 
    \cr 2}\right)$

    Thus \(A = \left(\matrix{1 & 2 \cr 1 & 2 }\right)\).  Since the columns (and similarly the rows) 
    are not linearly independent, 0 is also an eigenvalue of \(A\).  

    Note  $A = \left(\matrix{1 & 2 \cr 1 & 2 }\right) \left(\matrix{2 \cr -1}\right) = 
    \left(\matrix{0 \cr 0}\right) = 0 \left(\matrix{2 \cr -1}\right)$

    Thus an alternate answer is


    [10]~ 2a.)  An eigenvalue of \(A\) is \(\underline{~~ 0~~}\)

    [15]~ 2b.) 4 eigenvectors corresponding to this eigenvalue are $\underline{\left(\matrix{2 \cr
    -1}\right), \left(\matrix{-2 \cr 1}\right), \left(\matrix{-4 \cr 2}\right), \left(\matrix{2\pi
    \cr
    -\pi}\right)}$

    Any non-zero scalar multiple of \(\left(\matrix{2 \cr -1}\right)\) is an eigenvector of \(A\) with 
    eigenvalue 0.


    [15]~ 3a.)  Find the eigenvalues  of
     \(A = \left(\matrix{1 & ~1\cr 2 & -1}\right)\) \hb
    [10]~ 3b.)  Find one eigenvector corresponding to each eigenvalue.

     \(|A - rI| = \left|\matrix{1 - r & ~1\cr 2 & -1 - r}\right|\) 
    \(= (1-r)(-1-r) - 2 = r^2 - 3 = 0\).  Thus \(r = \pm  qrt{3}\)

     \(A - rI\)
    \( = \left(\matrix{1 - ( \pm  qrt{3}) & ~1\cr 2 & -1 -  (\pm  qrt{3})}\right)\) 
    \( = \left(\matrix{1  \mp  qrt{3} & ~1\cr 2 & -1 \mp  qrt{3}}\right)\) 

    Note $ \left(\matrix{1  \mp  qrt{3} & ~1\cr 2 & -1 \mp  qrt{3}}\right)\]\left(\matrix{ 1\cr 
    -1 \pm  qrt{3}}\right)\( = \)\left(\matrix{ 0\cr 0}\right)$

    Thus a nonzero solution to \((A - rI){\bf x} = {\bf 0}\) is  
    \(\left(\matrix{ 1\cr -1 \pm  qrt{3}}\right)\) 


    An e. value of \(A\) is \(\underline{~~ qrt{3}~~}\) \& 
    an e. vector corresponding to this e. value is $\underline{~~\left(\matrix{ 1\cr -1 + 
     qrt{3}}\right)~~}$ 

    An e. value of \(A\) is \(\underline{~~- qrt{3}~~}\) \&
    an e. vector corresponding to this e. value is $\underline{~~\left(\matrix{ 1\cr -1 - 
     qrt{3}}\right)~~}$ 

    \end

    START 100/SPRING15/quiz2_3600ans.tex part 2


    \nopagenumbers

    Quiz 2 \hfill  Show your work \break
    Feb 19, 2016 \hfill  Circle your answer.

    [10]~ 1.)  Given that \(y(x) = x^{3 \over 2}\) and \(y(x) = {1 \over x}\)  are solutions to \(2x^2y'' + xy' - 3y = 0\), state the general solution to this 2nd order homogeneous linear differential equation:


    Given two linearly independent solutions to a 2nd order homogeneous linear differential equation, one can create the general solution by taking their linear combination.  Thus the answer is
    \(y(x) = c_1 x^{3 \over 2 +  {c_2  \over x}\)}

    In other words, \(\{ x^{3 \over 2} , {1 \over x} \}\) forms a basis for the solution set (since every solution can be written uniquely as a linear combination of these two functions).

     

    \end

    START 100/SPRING15/quiz2answers.tex


    \nopagenumbers

    Quiz 2 \hfill  Show your work \break
    Feb 19, 2016 \hfill  Circle your answer.

    [10]~ 1.)  Given that \(y(t) = {1 \over t}\) and \(y(t) = t^{3 \over 2}\) are solutions to \(2t^2y'' + ty' - 3y = 0\), state the general solution to this 2nd order homogeneous linear differential equation:

    Given two linearly independent solutions to a 2nd order homogeneous linear differential equation, one can create the general solution by taking their linear combination.  Thus the answer is
    \(y(t) = {c_1  \over t + c_2 t^{3 \over 2} \)}

    In other words, \(\{ {1 \over t},  t^{3 \over 2} \}\) forms a basis for the solution set (since every solution can be written uniquely as a linear combination of these two functions).

     

    \end

    START 100/FALL18/quiz3_2018ans.tex part 2


    \nopagenumbers


     2.)  Circle T for true and F for false.  

    [2]~ 2a.)
     \(L(f) = af'' + b f' + cf\) is a linear function on the space of 
    all twice differentiable functions.
    \u
     fill

    [2]~  2b.) \(L(f) = af'' + bf' + cf^2\) is a linear function on the space of 
    all twice differentiable functions.
    \u
     fill

    [2]~ 2c.)  Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to \(ay'' + by' + cy = 0\), \hfil \break \(y = \psi_1(t)\) is a solution to \(ay'' + by' + cy = g_1(t)\), and \hfil \break
     \(y = \psi_2(t)\) is a solution to \(ay'' + by' + cy = g_2(t)\), then the {\bf general} solution to \hfil \break
    \(ay'' + by' + cy = g_1(t) + g_2(t)\) ~is~  \(y = c_1\phi_1(t) + c_2\phi_2(t) + \psi_1(t) + \psi_2(t)\).

     fill
    [2]~ 2c.)  Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to \(ay'' + by' + cy = 0\), \hfil \break \(y = \psi_1(t)\) is a solution to \(ay'' + by' + cy = g_1(t)\), and \hfil \break
     \(y = \psi_2(t)\) is a solution to \(ay'' + by' + cy = g_2(t)\), then \(y = c_1\phi_1(t) + c_2\phi_2(t) + \psi_1(t) + \psi_2(t)\) is also a solution to \hfil \break
    \(ay'' + by' + cy = g_1(t) + g_2(t)\).

     fill
    [2]~ 2c.)  Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are linearly {\bf independent solutions} to \(ay'' + by' + cy = 0\), \hfil \break \(y = \psi_1(t)\) is a solution to \(ay'' + by' + cy = g_1(t)\), and \hfil \break
     \(y = \psi_2(t)\) is a solution to \(ay'' + by' + cy = g_2(t)\), then the general solution to \hfil \break
    \(ay'' + by' + cy = g_1(t) + g_2(t)\) ~is~  \(y = c_1\phi_1(t) + c_2\phi_2(t) + \psi_1(t) + \psi_2(t)\).

     fill

    Note for 2c, I forgot to include linearly independent, so if lost 2 points because I graded your problem incorrectly, please let me know.  
     fill

    [2]~ 2d.) \(\Sigma_{n = 2}^\infty n(n-1)a_nx^{n-2} = \Sigma_{j = 0}^\infty (j+2)(j+1)a_{j+2}x^{j} =\Sigma_{n = 0}^\infty (n+2)(n+1)a_{n+2}x^{n}\) 

    [2]~ 2e.) Suppose \(f(x) = \Sigma a_n (x - 3)^n\) has a radius of convergence = \(r\) about the point \(x_0 = 3\). Then we can define the domain of \(f\) to be \((3- r, 3 + r)\).
    \u


                

    [2]~  2f.) Suppose \(f(x) = \Sigma a_n (x + 1)^n\) has a radius of convergence = \(4\) about the point \(x_0 = -1\). Then we can define the domain of \(f\) to be \((-5, 3)\).
    \u
               


    \end 

    START 100/FALL17/quiz6Fall2017ans.tex part 2

    [10]~~ 2.  Find the eigenvalues and corresponding eigenvectors for \( A = \left(\matrix{1 & 2 \cr 2 & 4}\right)\) 

    An eigenvalue of \(A\) is    \(\underline{~~0~~}\). The eigenvectors corresponding to this eigenvalue


    An 2nd eigenvalue of \(A\) is    \(\underline{~~5~~}\). The eigenvectors corresponding to this  

    Note it is ``obvious'' that 0 is an eigenvalue of \(A\) since the rows/columns of A are linearly dependent (e.g., row 2 is twice row 1) or equivalently notice \(det(A) = 0\).

    Since \(\left(\matrix{1 & 2 \cr 2 & 4}\right)\left(\matrix{ ~2 \cr -1 }\right) = \left(\matrix{0 \cr 0}\right)\), all eigenvectors corresponding to the eigenvalue 0 are 

    \(\left(\matrix{~2 \cr -1}\right)\)}

    To find eigenvalues in general, solve \(det(A - rI) = 0\)

    $\left|\matrix{1-r & 2 \cr 2 & 4-r}\right| = (1-r)(4-r) - 4
    = r^2 - 5r + 4 - 4 = r(r-5)= 0$

    Thus the eigenvalues of \(A\) are \(r = 0,~ 5\)

    For \(r = 5\): 
    $\left(\matrix{1-5 & 2 \cr 2 & 4-5}\right) =
    \left(\matrix{-4 & 2 \cr 2 & -1}\right)$
    ~~and~~
    \(\left(\matrix{-4 & 2 \cr 2 & -1}\right)\left(\matrix{1 \cr 2 }\right) = \left(\matrix{0 \cr 0}\right)\)

    \end

    START 100/FALL18/3600exam2ANS.tex part 5

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \begin{document}


    Math 3600 Differential Equations Exam \#2 \hfil \break
    Oct 26, 2018  \hfill SHOW ALL STEPS \hfill


    [7]~ 2.)  The  eigenvalues of \( \left(\matrix{ 3 & -2 \cr 1 & 5}\right)\) are  \(\underline{~~4 \pm i~~}\)


    \( \left|\matrix{ 3 - \l & -2 \cr 1 & 5 - \l}\right| = (3 - \l)(5 - \l) + 2 = 15 - 8\l + \l^2 + 2 = \l^2 - 8\l + 17\) 

    $\l = \frac{8 \pm  qrt{8^2 - 4(17)}}{2} = \frac{8 \pm 2 qrt{2(8) - 17}}{2}
     = 4 \pm  qrt{- 1} = 4 \pm i$

    [7] 3.)  Suppose
    \(A   \left[\matrix{4 \cr 12}\right] = \left[\matrix{-3 \cr 11}\right]\),
    \(A   \left[\matrix{1 \cr 7}\right] = \left[\matrix{3 \cr 21}\right]\),
    \(A   \left[\matrix{-2 \cr 2}\right] = \left[\matrix{9 \cr 31}\right]\),
    \(A   \left[\matrix{3 \cr 5}\right] = \left[\matrix{-6 \cr -10}\right]\)
     
    \(A   \left[\matrix{1 \cr 7}\right] = \left[\matrix{3 \cr 21}\right] = 3\left[\matrix{1 \cr 7}\right]\),

    \(A   \left[\matrix{3 \cr 5}\right] = \left[\matrix{-6 \cr -10}\right] = -2 \left[\matrix{3 \cr 5}\right] \)

    State the 2 eigenvalues of \(A\):

    3, -2

    State 5 eigenvectors of \(A\):

    \( \left[\matrix{1 \cr 7}\right], \left[\matrix{2 \cr 14}\right] ,  \left[\matrix{-1 \cr -7}\right], \left[\matrix{-3 \cr -21}\right],  \left[\matrix{3 \cr 5}\right]\), etc. 

    \end

    START 100/SPRING13/exam2ANS.tex part 3

    [20]~ 5.) Solve \({\bf x}' = \left(\matrix{0 & 3 \cr -3 & 0}\right){\bf x}\)


    Eigenvalues:  \(det(A - rI) = \left|\matrix{-r & 3 \cr -3 & -r}\right| = r^2 + 9 = 0\).  Thus \(r^2 = -9\) and \(r = \pm 3i\)

    Eigenvectors:  $A - rI =  \left(\matrix{\mp 3i & 3 \cr -3 & \mp 3i}\right)  
    \left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{0 \cr 0}\right)$

    Thus \(\mp 3i x_1 + 3x_2 = 0\).  Let \(x_1 = \pm 1, x_2 = i\).  Note these values also satisfy the 
    second 
    equation, \(-3x_1 \mp 3i x_2\).

    Thus an e. vector corresponding to e. value \(\pm 3i\) is any nonzero multiple of 
    $\left(\matrix{\pm 1 \cr i}\right) = \left(\matrix{\pm 1\cr 0}\right) + i\left(\matrix{0 \cr 
    1}\right)$  


    If you forgot the formula, you can  use Euler's formula to derive it:

    General solution:  \(\left(\matrix{x_1 \cr x_2}\right) \)
    \(= c_1 e^{3it} \left(\matrix{1 \cr i}\right) +  c_2 e^{-3it} \left(\matrix{-1 \cr i}\right) \)

    $= c_1 (cos (3t) + isin(3t) \left(\matrix{1 \cr i}\right) +  c_2 (cos(-3t) + isin(-3t)) 
    \left(\matrix{-1 \cr 
    i}\right) $

    $= c_1 (cos (3t) + isin(3t)) \left(\matrix{1 \cr i}\right) +  c_2 (cos(3t) - isin(3t)) 
    \left(\matrix{-1 \cr 
    i}\right) $

    $= c_1  \left(\matrix{cos (3t) + isin(3t) \cr icos (3t) - sin(3t)}\right) +  
    c_2 \left(\matrix{-cos (3t) + isin(3t) \cr icos (3t) + sin(3t)}\right) $
    $=   \left(\matrix{(c_1 - c_2)cos (3t) + i(c_1 + c_2)sin(3t) 
    \cr i(c_1+ c_2)cos (3t) - (c_1 - c_2) sin(3t)}\right) $

    $=   \left(\matrix{k_1cos (3t) + k_2sin(3t) 
    \cr k_2cos (3t) - k_1 sin(3t)}\right) $
    $=   k_1 \left(\matrix{cos (3t)  
    \cr -sin(3t)}\right) 
    +   k_2 \left(\matrix{sin(3t) 
    \cr cos (3t) }\right) $

    Answer: $\underline{~~\left(\matrix{x_1 \cr x_2\right) =
     c_1 \left(\matrix{cos (3t)                
    \cr -sin(3t)}\right)                   
    +   c_2 \left(\matrix{sin(3t)                 
    \cr cos (3t) }\right) ~~}$}

    \end

    START 100/FALL18/e1_Fall2018ansOLD.tex part 5

    \nopagenumbers

    Math 3600 Differential Equations Exam \#1
                                   Sept 26, 2018 \hfill  SHOW ALL
    WORK
    ~~~

    [5]~  2.)  Give an example of an initial value problem that does not have a unique solution.


    ~~~~~The classic example is \(y^{1 \over 3}, y(0) = 0\), which as an infinite number of solutions.

    3.)   Circle T for true and F for false.  

    [5]~ 2c.)  Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are solutions to 
     \(ay'' + by' + cy = 0\).
    Then \(y = c_1\phi_1(t) + c_2\phi_2(t)\) is also a solution to this linear homogeneous differential equation.

    \hfill{T~~~~~~~~~~~}

    [5]~ 2d.)   Suppose \(y = \phi_1(t)\) and \(y = \phi_2(t)\) are linearly independent solutions to 
    \break  \(ay'' + by' + cy = 0\).
    If \(y = h(t)\) is   also a solution to  \(ay'' + by' + cy = 0\), then there exists constants \(c_1\) and \(c_2\) such that \(h(t) = c_1\phi_1(t) + c_2\phi_2(t)\).

    \hfill{T~~~~~~~~~~~}

    \end

    START 100/FALL16/e2_3600_F2016ANS.tex part 2

    \nopagenumbers


    Math 3600 Differential Equations Exam \#1
                                   March 2, 2016 \hfill  SHOW ALL
    WORK
    ~~~

    [12]~ 1.)  Find the largest eigenvalue and its corresponding eigenvectors for  \(\left[\matrix{5 & 2 \cr 3 & 0}\right]  \)

     \(\left|\matrix{5 - r & 2 \cr 3 & 0 - r}\right| = (5-r)(-r) - 6 = r^2 - 5r - 6 = (r + 1)(r - 6)\).  Thus \(r = -1, 6\)
     
     
     For \(r = 6\):  \(\left[\matrix{5 - r & 2 \cr 3 & 0 - r}\right] = \left[\matrix{5 - 6 & 2 \cr 3 & 0 - 6}\right] = \left[\matrix{-1 & ~~2 \cr ~~3 &  -6}\right] \)

    $\left[\matrix{-1 & ~~2 \cr ~~3 &  -6}\right] \left[\matrix{2 \cr 1}\right] = 
    \left[\matrix{0 \cr 0}\right] $

     
    Answer: The largest eigenvalue of the above matrix is \(\underline{~~6~~\)\hskip 1.5in}
     and its eigenvectors are all non-zero multiples of the vector  \(\underline{~~\left[\matrix{2 \cr 1\right]~~}\)}

    \end

    START 100/FALL17/3600exam2ANS.tex part 4

    [7]~ 2.)  The  eigenvalues of \( \left(\matrix{ 3 & -2 \cr 1 & 5}\right)\) are  \(\underline{~~4 \pm i~~}\)


    \( \left|\matrix{ 3 - \l & -2 \cr 1 & 5 - \l}\right| = (3 - \l)(5 - \l) + 2 = 15 - 8\l + \l^2 + 2 = \l^2 - 8\l + 17\) 

    $\l = \frac{8 \pm  qrt{8^2 - 4(17)}}{2} = \frac{8 \pm 2 qrt{2(8) - 17}}{2}
     = 4 \pm  qrt{- 1} = 4 \pm i$

    \end

    Section 7.4: Basic Theory of Systems of First-Order Linear Equations

    START 100/ch7and9.tex part 2

    {\bf IVP:  \(x_1(t_0) = x_1^0\),  \(x_2(t_0) = x_2^0\)}

    Solve for \(c_1, c_2\):  ~~~\(\left(\matrix{x_1^0 \cr x_2^0}\right) = c_1\left(\matrix{-1\cr ~~5}\right)e^{-t_0} + c_2\left(\matrix{1\cr 1}\right)e^{5t_0}\)


    Or in non-matrix form:

     \(x_1^0 = -c_1e^{-t_0 + c_2e^{5t_0}\)}

     \(x_2^0 = 5c_1e^{-t_0 + c_2e^{5t_0}\)}

    Or in matrix form:

    $\left(\matrix{x_1^0 \cr x_2^0\right) = \left(\matrix{-e^{-t_0} & e^{5t_0}\cr
     5e^{-t_0} & e^{5t_0}}   \right)
      \left(\matrix{c_1\cr c_2}\right)$}


    Thus unique solution iff 
    \(W[{\bf f_1, {\bf f_2}](t_0) =\) \(\left|\matrix{-e^{-t_0} & e^{5t_0} \cr 5e^{-t_0} & e^{5t_0}}\right| =\)
    \(\left|\matrix{-1 & 1 \cr ~~5 & 1}\right| e^{4t_0} = (-1 - 5)e^{4t_0}\)
    \(\not= 0\)}

    where \({\bf f_1}(t) = \left(\matrix{-1\cr ~~5}\right)e^{-t}\), ~~~
    \({\bf f_2}(t) = \left(\matrix{1\cr 1}\right)e^{5t}\) and

    \(W[{\bf f_1}, {\bf f_2}](t_0)\) is the Wronskian of these two vector functions evaluated at \(t_0\).

    {\bf Note:  there is a unique solution to IVP iff the solutions \({\bf f_1}, {\bf f_1}\) are linearly independent iff the vectors \(\left(\matrix{-1\cr ~~5}\right)\), \(\left(\matrix{1\cr 1}\right)\) are linearly independent.  But since these vectors have different eigenvalues, we know from linear algebra, that they are linearly independent.}

    Since we have 3 variables, we can graph a solution to an IVP in \(\R^3\).  However, sometimes we are interested in how 
    \u
    \(x_1\) varies with \(t\): 
    { \(x_1 = -c_1e^{-t} + c_2e^{5t}\)}
    \u
    \(x_2\) varies with \(t\):  { \(x_2 = 5c_1e^{-t} + c_2e^{5t}\)}

    \(x_2\) varies with \(x_1\):  Often it is the last pair we are interested in (for example, location of object in above example or predator vs prey or see other examples in 7.1). 

     \(x_1 = -c_1e^{-t + c_2e^{5t}\)}

     \(x_2 = 5c_1e^{-t + c_2e^{5t}\)}


    implies \(x_2 - x_1 = 6c_1e^{-t}\), \hfill \(5x_1 + x_2 = 6c_2e^{5t}= 6c_2(e^{-t})^{-5}\)

    Thus \(5x_1 + x_2 = 6c_2\left({x_2 - x_1 \over 6c_1} \right)^{-5}\) is an implicit solution for \(x_1, x_2\).

    {\bf To see how \(x_2\) varies with \(x_1\), it is easiest to draw the direction field for the \(x_1, x_2\) plane (the phase plane):}
    ~~~~~~~\({dx_1\over dt = 4x_1 + x_2\),}
     \({dx_2 \over dt= 5x_1\)}

    \u
    Thus \(

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[7]/div[4]/div[1]/p[19]/span, line 1, column 6
    
    = {dx_2 \over dx_1} = {5x_1 \over 4x_1 + x_2}\)

    The graph of a solution to an IVP in the \(x_1, x_2\) plane is called a trajectory.

    Some obvious trajectories:

    The general solutions is 
    \(\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{-1\cr 5}\right)e^{-t} + c_2\left(\matrix{1\cr 1}\right)e^{5t}\)

    IVP:  If \(\left(\matrix{x_1(0) \cr x_2(0)}\right) = \left(\matrix{-1 \cr 5}\right)\), then \(c_1 = 1\) and \(c_2 = 0\).  

    ~~~~~~~Thus \(x_1 = -e^{-t}\) and \(x_2 = 5e^{-t}\).  Thus \(x_2 = -5x_1\).

    ~~~~~~~Suppose \(x_2 = -5x_1\):  ${dx_2 \over dx_1} = {5x_1 \over 4x_1 + x_2}
    = {5x_1 \over 4x_1 + -5x_1} = -5$.

    ~~~~~~~Recall \(\left(\matrix{-1\cr 5}\right)\) is an eigenvector.

    IVP:  If \(\left(\matrix{x_1(0) \cr x_2(0)}\right) = \left(\matrix{1 \cr 1}\right)\), then \(c_1 = 0\) and \(c_2 = 1\).  

    ~~~~~~~Thus \(x_1 = e^{5t}\) and \(x_2 = e^{5t}\).  Thus \(x_2 = x_1\).


    ~~~~~~~Suppose \(x_2 = 1x_1\):  ${dx_2 \over dx_1} = {5x_1 \over 4x_1 + x_2}
    = {5x_1 \over 4x_1 + x_1} = 1$.


    ~~~~~~~Recall \(\left(\matrix{1\cr 1}\right)\) is an eigenvector.

     fill

    ---

    Suppose $\left(\matrix{x_1 \cr x_2}\right)' = \left(\matrix{a & b \cr c & d}\right) 
    \left(\matrix{x_1 \cr x_2}\right)$

    Suppose \(\left(\matrix{a & b \cr c & d}\right)\left(\matrix{v_1 \cr v_2}\right) = r_1\left(\matrix{v_1 \cr v_2}\right)\) and
    \(\left(\matrix{a & b \cr c & d}\right)\left(\matrix{w_1 \cr w_2}\right) = r_2\left(\matrix{w_1 \cr w_2}\right)\)

    Then general solution is \(\left(\matrix{x_1 \cr x_2}\right) = k_1\left(\matrix{v_1\cr v_2}\right)e^{r_1t} + k_2\left(\matrix{w_1\cr w_2}\right)e^{r_2t}\)

    Observe $\left(\matrix{a & b \cr c & d}\right)\left(\matrix{v_1 \cr v_2}\right) = 
    \left(\matrix{av_1 + bv_2 \cr cv_1 + dv_2}\right)
    = \left(\matrix{r_1v_1 \cr r_1v_2}\right)$


    IVP:  If \(\left(\matrix{x_1(0) \cr x_2(0)}\right) = \left(\matrix{v_1 \cr v_2}\right)\), 
    then \(k_1 = 1\) and \(k_2 = 0\).

    ~~~~~~~Thus \(x_1 = v_1e^{r_1t}\) and \(x_2 = v_2e^{r_1t}\).  Thus \(x_2 = {v_2 \over v_1}x_1\).


    Similarly, if \(k_1 = 0\),  \(x_2 = {w_2 \over w_1}x_1\).    %~~ \({dx_2 \over dx_1} ={w_2 \over w_1}\).

    \end

    START 100/FALL17/quiz7Fall2017ans.pdf


    \nopagenumbers


    Quiz 6 Form A, 
    Dec 1, 2017
    [10]~  1a.) Find the general solution to the following differential equation system.
    ${\bf X' = \left[\matrix{
    1 & -1 \cr 6 &-4
     }\right]{\bf X}$}

    $\left[\matrix{
    1-r & -1 \cr 6 &-4-r
     }\right]{\bf X} = (1-r)(-4-r) + 6 = r^2 + 3r -4 + 6 =r^2 + 3r + 2 = (r+1)(r+2) = 0 $


    \(r = -1\):~~  $\left[\matrix{
    2 & -1 \cr 6 &-3
     }\right]\[\left[\matrix{
    1 \cr 2
     }\right] =  \left[\matrix{0 \cr 0 }\right]$


    \(r = -2\):~~  $\left[\matrix{
    3 & -1 \cr 6 &-2
     }\right]\left[\matrix{
    1 \cr 3
     }\right] =  \left[\matrix{0 \cr 0 }\right]$ 

    Check: \(Av = rv\)

    $ \left[\matrix{
    1 & -1 \cr 6 &-4
     }\right] \left[\matrix{
    1 \cr 2
     }\right]  =\left[\matrix{
    -1 \cr -2
     }\right] = -1\left[\matrix{
    1 \cr 2
     }\right]  $


    $ \left[\matrix{
    1 & -1 \cr 6 &-4
     }\right] \left[\matrix{
    1 \cr 3
     }\right]  =\left[\matrix{
    -2 \cr -6
     }\right] = -2\left[\matrix{
    1 \cr 3
     }\right]  $

     fill

    Answer: $\underline{{\bf x = c_1\left[\matrix{
    1 \cr 2 }\right]e^{-t}+ c_2 \left[\matrix{ 1 \cr 3 }\right]e^{-2t}}$}

    [3]~ 1b.)  Describe the behavior of the solution as \(t \rightarrow \infty\): \(\underline{~~\left[\matrix{x_1 \cr x_2 }\right] \rightarrow \left[\matrix{0 \cr 0 }\right] ~~}\)

    [7]~ 1c.)  Sketch the phase portrait of this system (i.e. plot a few trajectories of the system).

    See class notes (12/8)

    \end

    START 34/FALL03/finalreviewANS2.txt part 8

    Note the following review problems DO NOT cover all problem types which may appear on the 
    final.  

    Chapter 7:

    12.)  Transform the given equation into a system of first order equations:

    12a.)  \(x''' - 2x'' + 3x' - 4x = t^2\)

    ~~~~~~~\(x_1 = x\)

    \(x_1' = x_2 = x'\)

    \(x_2' = x_3 = x''\)

    \(x_3' = x'''\)


    Answer:  \(x_1' = x_2\), \(x_2' = x_3\), \(x_3' - 2x_3 + 3x_2 - 4x_1 = t^2\)


    12b.)  \(x'''' - 2x'' + 3x' - 4x = t^2\)

    ~~~~~~~\(x_1 = x\)

    \(x_1' = x_2 = x'\)

    \(x_2' = x_3 = x''\)

    \(x_3' = x_4 = x'''\)

    \(x_4' = x''''\)

    Answer:  \(x_1' = x_2\), \(x_2' = x_3\), \(x_3' = x_4\), \(x_4' - 2x_3 + 3x_2 - 4x_1 = t^2\)


    Make sure you also study exam 1 and 2 as well as everything else.  Remember the above list is 
    INCOMPLETE.


    * means optional type problem.  If a problem like 9c appeared on the final, it would be in the 
    "choose" section.


    \end

    START 100/quiz4_2018ans.tex part 3

    2.)  Give that the solution to ${\bf x}' =
      \left[\matrix{1 & 2 \cr 3 & 0} \right]{\bf x}\( ~is~~ \){\bf x} = c_1  \left[\matrix{1 \cr 1} \right]e^{3t}
    + c_2  \left[\matrix{-2 \cr ~3} \right]e^{-2t}$
     fill
    [7]~ 2a.) Graph  the solution to the IVP \(\left[\matrix{x_1(0) \cr x_2(0)}\right] = \left[\matrix{-2 \cr ~3} \right]\) in the 

    ~~~\(t, x_1\)-plane \hfill \(t, x_2\)-plane \hfill \(x_1, x_2\)-plane ~~~


    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}} \hfill 
    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}} \hfill 
    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}}

    [3]~ 2b.) Graph  the solution to the IVP 
    \(\left[\matrix{x_1(0) \cr x_2(0)}\right] = \left[\matrix{0 \cr 0} \right]\)
    in the 

    ~~~\(t, x_1\)-plane \hfill \(t, x_2\)-plane \hfill \(x_1, x_2\)-plane ~~~


    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}} \hfill 
    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}} \hfill 
    {\includegraphics[width=20ex]{grapht-eps-converted-to.pdf}}

    [2]~ 2c.) The equilibrium solution for 
    this system of equations is \(\left[\matrix{x_1 \cr x_2}\right] = \left[\matrix{~~~ \cr ~~~} \right]\).
    [3]~ 2d.) \({dx_2 \over dx_1} = \underline{\hskip 1in}\)

    [2]~ 2e.) Plot several direction vectors where 
    the slope is 0 and where slope is vertical.   \hfill [10]~ 2f.) Graph several trajectories.

    {\includegraphics[width=45ex]{grapht-eps-converted-to.pdf}} \hfill 
    {\includegraphics[width=45ex]{grapht-eps-converted-to.pdf}} \hfill 

    \end

    Section 7.5: Homogeneous Linear Systems with Constant Coefficients

    START 100/7_5.tex

    7.4 - 7.6, 9.1

    Solve the homogeneous linear DE:   \({\bf x}' - A{\bf x} = {\bf 0}\)

    ~~~~  \({\bf x}' = A{\bf x}\)
    \hfill Guess \(x = {\bf v}e^{rt}\).  
    \hfill
    Plug in to find \({\bf v}\) and \(r\):  ~~~~~~~~

    ~~~~\([{\bf v}e^{rt}]' = A {\bf v}e^{rt}\)
    ~~implies~~ \(r{\bf v}e^{rt} = A {\bf v}e^{rt}\)
    ~~implies~~ \(r{\bf v} = A {\bf v}\).

    Thus \({\bf v}\) is an eigenvector with eigenvalue \(r\).

    ---

    Note since the equation is homogeneous and linear, 
    linear combinations of solutions are also solutions:

    Suppose \({\bf x} = {\bf f_1}(t)\) and \({\bf x} = {\bf f_2}(t)\) are solutions to \({\bf x}' = A{\bf x}\).

    Then \({\bf f_1}' = A{\bf f_1}\) and \({\bf f_2}' = A{\bf f_2}\)


    Thus $[c_1{\bf f_1} + c_2{\bf f_2}]' = c_1{\bf f_1}' + c_2{\bf f_2}'
    = c_1A{\bf f_1} + c_2A{\bf f_2}
    = A(c_1{\bf f_1} + c_2{\bf f_2})$.
     
    ---

    Suppose an object moves in the 2D plane (the \(x_1, x_2\) plane) so that it is at the point \((x_1(t), x_2(t))\) at time \(t\).  Suppose the object's velocity is given by 


    \(x_1'(t) = 4x_1 + x_2\),

     \(x_2'(t) = 5x_1\)

    Or in matrix form
    $\left(\matrix{x_1 \cr x_2}\right)' = \left(\matrix{4 & 1 \cr 5 & 0}\right) 
    \left(\matrix{x_1 \cr x_2}\right)$

    To solve, find eigenvalues and corresponding eigenvectors:

    $\left|\matrix{4 - r & 1 \cr 5 & -r}\right|
    = (4-r)(-r) - 5 = r^2 - 4r - 5 = (r-5)(r+1)$. 

     Thus \(r = -1, 5\) are eigenvalues.

    Eigenvectors associated to eigenvalue \(r = -1\):
    \(\left(\matrix{5 & 1 \cr 5 & 1}\right)  im \left(\matrix{1 & {1 \over 5} \cr 0 & 0}\right)\)

    ~~~~~~~Thus \(x_2\) is free and \(x_1 + {1 \over 5}x_2 = 0\)

    ~~~~~~~Hence the eigenspace corresponding to \(r = -1\) is 

    ~~~~~~~$\left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{-{1 \over 5}x_2 \cr x_2}\right) =
     x_2\left(\matrix{-{1 \over 5} \cr 1}\right)$


    ~~~~~~~Thus  \(\left(\matrix{-1\cr 5}\right)\) is an eigenvector with eigenvalue \(r = -1\)

    ~~~~~~~Hence
    \(\left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{-1\cr 5}\right)e^{-t}\)
    is a solution.

    E. vectors associated to e. value \(r = 5\):
    \(\left(\matrix{-1 & 1 \cr 5 & -5}\right) \left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{0 \cr 0}\right)\)

    ~~~~~~~Thus  \(\left(\matrix{1\cr 1}\right)\) is an eigenvector with eigenvalue \(r = 5\) 
    \u\u
    ~~~~~~~since it is a nonzero solution to the above equation.

    ~~~~~~~Hence
    \(\left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{1\cr 1}\right)e^{5t}\)
    is also a solution.

    Hence the general solutions is 
    \(\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{-1\cr 5}\right)e^{-t} + c_2\left(\matrix{1\cr 1}\right)e^{5t}\)

    Or in non-matrix form:
     \(x_1(t) = -c_1e^{-t + c_2e^{5t}\)}

     \(x_2(t) = 5c_1e^{-t + c_2e^{5t}\)}


    {\bf IVP:  \(x_1(t_0) = x_1^0\),  \(x_2(t_0) = x_2^0\)}

    Solve for \(c_1, c_2\):  ~~~\(\left(\matrix{x_1^0 \cr x_2^0}\right) = c_1\left(\matrix{-1\cr ~~5}\right)e^{-t_0} + c_2\left(\matrix{1\cr 1}\right)e^{5t_0}\)


    Or in non-matrix form:

     \(x_1^0 = -c_1e^{-t_0 + c_2e^{5t_0}\)}

     \(x_2^0 = 5c_1e^{-t_0 + c_2e^{5t_0}\)}

    Or in matrix form:

    $\left(\matrix{x_1^0 \cr x_2^0\right) = \left(\matrix{-e^{-t_0} & e^{5t_0}\cr
     5e^{-t_0} & e^{5t_0}}   \right)
      \left(\matrix{c_1\cr c_2}\right)$}


    Thus unique solution iff 
    \(W[{\bf f_1, {\bf f_2}](t_0) =\) \(\left|\matrix{-e^{-t_0} & e^{5t_0} \cr 5e^{-t_0} & e^{5t_0}}\right| =\)
    \(\left|\matrix{-1 & 1 \cr ~~5 & 1}\right| e^{4t_0} = (-1 - 5)e^{4t_0}\)
    \(\not= 0\)}

    where \({\bf f_1}(t) = \left(\matrix{-1\cr ~~5}\right)e^{-t}\), ~~~
    \({\bf f_2}(t) = \left(\matrix{1\cr 1}\right)e^{5t}\) and

    \(W[{\bf f_1}, {\bf f_2}](t_0)\) is the Wronskian of these two vector functions evaluated at \(t_0\).

    {\bf Note:  there is a unique solution to IVP iff the solutions \({\bf f_1}, {\bf f_1}\) are linearly independent iff the vectors \(\left(\matrix{-1\cr ~~5}\right)\), \(\left(\matrix{1\cr 1}\right)\) are linearly independent.  But since these vectors have different eigenvalues, we know from linear algebra, that they are linearly independent.}

    Since we have 3 variables, we can graph a solution to an IVP in \(\R^3\).  However, sometimes we are interested in how 
    \u
    \(x_1\) varies with \(t\): 
    { \(x_1 = -c_1e^{-t} + c_2e^{5t}\)}
    \u
    \(x_2\) varies with \(t\):  { \(x_2 = 5c_1e^{-t} + c_2e^{5t}\)}

    \(x_2\) varies with \(x_1\):  Often it is the last pair we are interested in (for example, location of object in above example or predator vs prey or see other examples in 7.1). 

     \(x_1 = -c_1e^{-t + c_2e^{5t}\)}

     \(x_2 = 5c_1e^{-t + c_2e^{5t}\)}


    implies \(x_2 - x_1 = 6c_1e^{-t}\), \hfill \(5x_1 + x_2 = 6c_2e^{5t}= 6c_2(e^{-t})^{-5}\)

    Thus \(5x_1 + x_2 = 6c_2\left({x_2 - x_1 \over 6c_1} \right)^{-5}\) is an implicit solution for \(x_1, x_2\).

    {\bf To see how \(x_2\) varies with \(x_1\), it is easiest to draw the direction field for the \(x_1, x_2\) plane (the phase plane):}
    ~~~~~~~\({dx_1\over dt = 4x_1 + x_2\),}
     \({dx_2 \over dt= 5x_1\)}

    \u
    Thus \(

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[7]/div[5]/div[1]/p[48]/span, line 1, column 6
    
    = {dx_2 \over dx_1} = {5x_1 \over 4x_1 + x_2}\)

    The graph of a solution to an IVP in the \(x_1, x_2\) plane is called a trajectory.

    Some obvious trajectories:

    The general solutions is 
    \(\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{-1\cr 5}\right)e^{-t} + c_2\left(\matrix{1\cr 1}\right)e^{5t}\)

    IVP:  If \(\left(\matrix{x_1(0) \cr x_2(0)}\right) = \left(\matrix{-1 \cr 5}\right)\), then \(c_1 = 1\) and \(c_2 = 0\).  

    ~~~~~~~Thus \(x_1 = -e^{-t}\) and \(x_2 = 5e^{-t}\).  Thus \(x_2 = -5x_1\).

    ~~~~~~~Suppose \(x_2 = -5x_1\):  ${dx_2 \over dx_1} = {5x_1 \over 4x_1 + x_2}
    = {5x_1 \over 4x_1 + -5x_1} = -5$.

    ~~~~~~~Recall \(\left(\matrix{-1\cr 5}\right)\) is an eigenvector.

    IVP:  If \(\left(\matrix{x_1(0) \cr x_2(0)}\right) = \left(\matrix{1 \cr 1}\right)\), then \(c_1 = 0\) and \(c_2 = 1\).  

    ~~~~~~~Thus \(x_1 = e^{5t}\) and \(x_2 = e^{5t}\).  Thus \(x_2 = x_1\).


    ~~~~~~~Suppose \(x_2 = 1x_1\):  ${dx_2 \over dx_1} = {5x_1 \over 4x_1 + x_2}
    = {5x_1 \over 4x_1 + x_1} = 1$.


    ~~~~~~~Recall \(\left(\matrix{1\cr 1}\right)\) is an eigenvector.

     fill

    ---

    Suppose $\left(\matrix{x_1 \cr x_2}\right)' = \left(\matrix{a & b \cr c & d}\right) 
    \left(\matrix{x_1 \cr x_2}\right)$

    Suppose \(\left(\matrix{a & b \cr c & d}\right)\left(\matrix{v_1 \cr v_2}\right) = r_1\left(\matrix{v_1 \cr v_2}\right)\) and
    \(\left(\matrix{a & b \cr c & d}\right)\left(\matrix{w_1 \cr w_2}\right) = r_2\left(\matrix{w_1 \cr w_2}\right)\)

    Then general solution is \(\left(\matrix{x_1 \cr x_2}\right) = k_1\left(\matrix{v_1\cr v_2}\right)e^{r_1t} + k_2\left(\matrix{w_1\cr w_2}\right)e^{r_2t}\)

    Observe $\left(\matrix{a & b \cr c & d}\right)\left(\matrix{v_1 \cr v_2}\right) = 
    \left(\matrix{av_1 + bv_2 \cr cv_1 + dv_2}\right)
    = \left(\matrix{r_1v_1 \cr r_1v_2}\right)$


    IVP:  If \(\left(\matrix{x_1(0) \cr x_2(0)}\right) = \left(\matrix{v_1 \cr v_2}\right)\), 
    then \(k_1 = 1\) and \(k_2 = 0\).

    ~~~~~~~Thus \(x_1 = v_1e^{r_1t}\) and \(x_2 = v_2e^{r_1t}\).  Thus \(x_2 = {v_2 \over v_1}x_1\).


    Similarly, if \(k_1 = 0\),  \(x_2 = {w_2 \over w_1}x_1\).    %~~ \({dx_2 \over dx_1} ={w_2 \over w_1}\).


    {\bf Section 3.3:}  If \(b^2 - 4ac < 0\), :

    Changed format of \(y = c_1e^{r_1t} + c_2e^{r_2t}\) to linear combination of real-valued
    functions
    instead of
    complex valued functions by using Euler's formula:

    \(e^{it = cos(t) + i sin(t)\)}

    Hence \(e^{(d + in)t} =e^{dt}e^{int} = e^{dt}[cos (nt) + i sin (nt)]\)

    Let \(r_1 = d + in\), \(r_2 = d - in\)

    \(y = c_1e^{r_1t} + c_2e^{r_2t} = c_1e^{( d + in)t} + c_2e^{( d - in)t} = c_1e^{dt}e^{int} + c_2e^{dt}e^{- int} \)
    $=
    c_1e^{dt}[cos (nt) + i sin (nt)] +c_2e^{dt}[cos (-nt) + i sin (-nt)] $
    \(=c_1e^{dt}cos (nt) + ic_1 e^{dt} sin (nt) + c_2e^{dt}cos (nt) - ic_2 e^{dt} sin (nt) \)

    =\((c_1 + c_2)e^{dt}cos (nt) + i(c_1 - c_2) e^{dt}sin (nt)\)
    \hskip 28pt$=k_1 e^{dt} cos (nt) + k_2e^{dt} sin (nt)
    = e^{dt} [k_1cos (nt) + k_2sin (nt)]$

    {\bf Section 7.6:}  \((a + d)^2 - 4(ad - bc) < 0\).  I.e., $r = \lambda \pm i 
    \mu$

    Suppose the eigenvector corresponding to this eigenvalue is
     
    $\left[\matrix{v_1 \pm iw_1\cr v_2 \pm iw_2}\right] = \left[\matrix{v_1\cr 
    v_2}\right] \pm i\left[\matrix{w_1\cr w_2}\right]$

    Hence the general solutions in unsimplified form:

    $\left[\matrix{x_1 \cr x_2}\right] = c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{(\lambda + i 
    \mu)t} + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{(\lambda - i \mu)t}$


    \(~~~~~~~~~ = c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{\lambda t}e^{ i \mu t} + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{\lambda t}e^{ - i \mu t}\)

    \(= c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{\lambda t}[cos (-\mu t)\)


    \(= c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{\lambda t}[cos (\mu t)\)

    $= c_1\left[\matrix{v_1 \cr v_2 }\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] +
    c_1\left[\matrix{iw_1\cr  iw_2}\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] $
       c_2\left[\matrix{  iw_1\cr   iw_2}\right]e^{\lambda t}[cos (\mu t) - i sin (\mu t)]$~~~}

    $= c_1\left[\matrix{v_1 \cr v_2 }\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] +
    c_1\left[\matrix{w_1\cr  w_2}\right]e^{\lambda t}[icos (\mu t) + i^2 sin (\mu t)] $
       c_2\left[\matrix{  w_1\cr   w_2}\right]e^{\lambda t}[icos (\mu t) - i^2 sin (\mu t)]$~~~}
       
     
    \(= (c_1 + c_2)\left[\matrix{v_1 \cr v_2 }\right] e^{\lambda t}cos (\mu t) + i  (c_1-c_2)\left[\matrix{v_1 \cr v_2 }\right]e^{\lambda t} sin (\mu t) \)
    i(c_1-c_2)\left[\matrix{w_1\cr  w_2}\right] e^{\lambda t}cos (\mu t) - (c_1+c_2)\left[\matrix{w_1\cr  w_2}\right] e^{\lambda t} sin (\mu t) $}

     
    \(=  (c_1 + c_2)\left(\left[\matrix{v_1 \cr v_2 }\right]cos (\mu t) - \left[\matrix{w_1\cr  w_2}\right] sin (\mu t)\right)e^{\lambda t}\)
    $+ i  (c_1-c_2) \left(\left[\matrix{v_1 \cr v_2 }\right]sin (\mu t) 
     +
    \left[\matrix{w_1\cr  w_2}\right] cos (\mu t)\right) e^{\lambda t}$}

    Then general solution is 


    $\left[\matrix{x_1 \cr x_2}\right] = c_1\left[\matrix{v_1cos(\mu t) - 
    w_1sin(\mu t) \cr v_2cos(\mu t) - w_2sin(\mu t) }\right]e^{\lambda t} + 
    c_2
    \left[\matrix{v_1sin(\mu t) + w_1cos(\mu t) \cr v_2sin(\mu t) + w_2cos(\mu 
    t) }\right]e^{\lambda t}$


    $\left[\matrix{x_1 \cr x_2}\right] = e^{\lambda t}\left(c_1\left[\matrix{v_1cos(\mu t) - 
    w_1sin(\mu t) \cr v_2cos(\mu t) - w_2sin(\mu t) }\right] + 
    c_2
    \left[\matrix{v_1sin(\mu t) + w_1cos(\mu t) \cr v_2sin(\mu t) + w_2cos(\mu 
    t) }\right]\right)$


    ---

    \u
    {\bf 7.6 Special case:}  \(\left[\matrix{x_1\cr x_2}\right]' =\)
    \(\left[\matrix{a & b \cr - b & a}\right]\)
    \(\left[\matrix{x_1 \cr x_2}\right]\)


    $A - \lambda I = \left|\matrix{a - \l & b \cr - b & a - \l}\right| =
    (a - \l)^2 + b^2$
    {\( = \l^2 - 2a\l + a^2 + b^2\)}

    Thus $\l = {2a \pm  qrt{4a^2 - 4(a^2 + b^2)} \over 2} =
     {2a \pm  qrt{-4b^2} \over 2} = a \pm bi $

    \(\left[\matrix{x_1\cr x_2}\right]'\)
    \(\left[\matrix{a & b \cr - b & a}\right]\)
    \(\left[\matrix{x_1 \cr x_2}\right]\) implies
    \(\matrix{x_1' = ax_1 +  bx_2 \cr x_2' = -bx_1 + ax_2}\)

    Change to polar coordinates:
    ~{\(r^2 = x_1^2 + x_2^2\) and \(tan \theta = {x_2 \over x_1}\)}

    Take derivative with respect to \(t\) of both equations:

    \(2rr' = 2x_1x_1' + 2x_2x_2'\) implies 

    \(rr' = x_1(ax_1 +  bx_2 ) + x_2(-bx_1 + ax_2) \)

    \(~~~~~= ax_1^2 +  bx_1x_2 - bx_1x_2 + ax_2^2 \)
    \( = a(x_1^2 + x_2^2) = ar^2\)

    Thus \(rr' = ar^2 \) implies \({dr \over dt} = ar\) and thus \(r = Ce^{at}\).

    \((sec^2 \theta)\theta' ={ x_1x_2' - x_1'x_2 \over x_1^2}\)
    \(={ x_1( -bx_1 + ax_2) - (ax_1 +  bx_2)x_2 \over x_1^2}\)

    \(={ -bx_1^2 + ax_1x_2 - ax_1x_2 -  bx_2^2 \over x_1^2}\)
    \(={ -b(x_1^2 +  x_2^2) \over x_1^2}\)
    \(={ -b(r^2) \over x_1^2}\) \( = -bsec^2 \theta\)

    \((sec^2 \theta)\theta' = -bsec^2 \theta\) implies \(\theta' = -b\) 
    and thus \(\theta = -bt + \theta_0\)

    ---
    Change of basis:  Let \({\bf x} = P{\bf y}\).  If \({\bf x}' = A{\bf x}\), then 
     \rightline{\([P{\bf y}]' = AP{\bf y}\) implies  \(P{\bf y}' = AP{\bf y}\).  Thus  \({\bf y}' =P^{-1} AP{\bf y}\).~~}


    Ch 7 and 9

    Suppose an object moves in the 2D plane (the \(x_1, x_2\) plane) so that it 
    is at the point \((x_1(t), x_2(t))\) at time \(t\).  Suppose the object's 
    velocity is given by 


    \(x_1'(t) = ax_1 + bx_2\),

     \(x_2'(t) = cx_1 + dx_2\)

    Or in matrix form
    $\left(\matrix{x_1 \cr x_2}\right)' = \left(\matrix{a & b \cr c & 
    d}\right) 
    \left(\matrix{x_1 \cr x_2}\right)$

    To solve, find eigenvalues and corresponding eigenvectors:

    $\left|\matrix{a - r & b \cr c & d-r}\right|
    = (a-r)(d-r) - bc = r^2 - (a + d)r + ad - bc = 0$. 

    Thus $r ={ (a + d) \pm  qrt{(a + d)^2 - 4(ad - bc) \over 
    2}$}


    {\bf Case 1:}  \((a + d)^2 - 4(ad - bc) > 0\)

    Hence the general solutions is 
    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1\cr 
    v_2}\right)e^{r_1t} + c_2\left(\matrix{w_1\cr w_2}\right)e^{r_2t}$

    Case 1a:  \(r_1 > r_2 > 0\)
     
    Case 1b:  \(r_1 < r_2 < 0\)
     
    Case 1c:  \(r_2 < 0 < r_1\)
     

    {\bf Case 2:}  \((a + d)^2 - 4(ad - bc) = 0\)

    Case 2i:  Two independent eigenvectors:

    The general solution is 
    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1\cr 
    v_2}\right)e^{rt} + c_2\left(\matrix{w_1\cr w_2}\right)e^{rt}$

    Case 2ii:  One independent eigenvectors:

    The general solution is 
    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1\cr 
    v_2}\right)e^{rt} + c_2\left[\left(\matrix{v_1\cr v_2}\right)t  + 
    \left(\matrix{w_1\cr w_2}\right)\right]e^{rt}$

    Case 2a: \(r > 0\)
     

    Case 2b:  \(r < 0\)
     


    {\bf Case 3:}  \((a + d)^2 - 4(ad - bc) < 0\).  I.e., $r = \lambda \pm i 
    \mu$

    Suppose  eigenvector corresponding to eigenvalue is
     
    $\left(\matrix{v_1 \pm iw_1\cr v_2 \pm iw_2}\right) = \left(\matrix{v_1\cr 
    v_2}\right) \pm  i\left(\matrix{w_1\cr w_2}\right)$

    Then general solution is 

    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1cos(\mu t) - 
    w_1sin(\mu t) \cr v_2cos(\mu t) - w_2sin(\mu t) }\right)e^{\lambda t} + 
    c_2
    \left(\matrix{v_1sin(\mu t) + w_1cos(\mu t) \cr v_2sin(\mu t) + w_2cos(\mu 
    t) }\right)e^{\lambda t}$


    Case 3a:  \(\lambda > 0\)
     
    Case 3a:  \(\lambda < 0\)
     
    Case 3a:  \(\lambda = 0\)
     

    \end


    \end
    \end

    \end

    START 100/linearEqn.tex

    \font\frm=cmr9


    Note that \(A({\bf x} + {\bf y}) = A{\bf x} +A{\bf y}\)  and $A(c{\bf x}) =  
    cA{\bf x}$ 

    A system of equations is \(A{\bf x} = {\bf b}\) is {\bf homogeneous} if 
    \({\bf b} = {\bf 0} \).

    Suppose \(A{\bf u} = {\bf 0}\), ~\(A{\bf v} = {\bf 0}\), and $A{\bf p} = {\bf 
    b}$, then  
     
    \(A(c_1{\bf u + c_2{\bf v} + {\bf p})  =  c_1A{\bf u} + c_2A{\bf v} + A{\bf p} \)}
     

    I.e., \({\bf x} =c_1{\bf u} + c_2{\bf v} + {\bf p}\) is a soln to \(A{\bf x} = {\bf b}\) for any \(c_1, c_2\).

     fill
    ---

    Solve the following systems of equations:

    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr \right]$
    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    =
    \(\left[\matrix{ 0\cr  0  \cr 0  \cr }\right]\)}

     

    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr }\right]$
    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    =
    \(\left[\matrix{ 0\cr  3  \cr 0  \cr }\right]\)
    \hfill
    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr }\right]$
    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    =
    \(\left[\matrix{ 2\cr  5  \cr 8  \cr }\right]\)

     


    $\left[\matrix{ 1 & 2 & 3 & 0 & 0 & 2\cr
     4 & 5 & 6 & 0 & 3& 5\cr
    7 & 8 & 9 & 0 & 0 & 8\cr }\right]$


    ~$\downarrow{R_2 - 4R_1 \rightarrow R_2, ~~~R_3 - 7R_1 \rightarrow
    R_3}$


    $\left[\matrix{ 1 & ~~2 & ~~~~3 & ~~0 & 0 & ~~2\cr
    0 & -3 & ~~-6 & ~~0 & 3 & -3\cr
    0 & -6 & -12 & -7 & 0 & -6\cr }\right]$


    ~\(\downarrow{R_3 - 2R_1 \rightarrow R_3}\)

    $\left[\matrix{ 1 & ~~2 & ~~3 & 0 & ~~0 & ~~2\cr
    0 & -3 & -6 & 0 &~~3 & -3\cr
    0 & ~~0 & ~~0 &0& -6  & ~~0\cr }\right]$


    ~\(\downarrow{\hbox{already know sol'n to system b.}}\)

    $\left[\matrix{ 1 & ~~2 & ~~3  & 0 & ~~2\cr
    0 & -3 & -6  & 0 & -3\cr
    0 & ~~0 & ~~0  & 0 & ~~0\cr }\right]$

    ~\(\downarrow{-{1 \over 3} R_2 \rightarrow R_2}\)

    $\left[\matrix{ 1 & 2 & 3  & 0 & 2\cr
    0 & 1 & 2  & 0 & 1\cr
    0 & 0 & 0  & 0 & 0\cr }\right]$
    \hfill
    \(\matrix{\longrightarrow \cr {R_1 - 2R_2 \rightarrow R_1}}\)
    \hfill
    $\left[\matrix{ 1 & 0 & -1  & 0 & 0\cr
    0 & 1 & ~~2  & 0 & 1\cr
    0 & 0 & ~~0  & 0 & 0\cr }\right]$


    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr \right]$
    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    =
    \(\left[\matrix{ 0\cr  0  \cr 0  \cr }\right]\)}

    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    = \(\left[\matrix{ x_3\cr  -2x_3  \cr x_3  \cr }\right]\) 
    = \(x_3 \left[\matrix{ ~~1\cr  -2 \cr ~~1  \cr }\right]\)
     
    ---

    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr }\right]$
    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    =
    \(\left[\matrix{ 0\cr  3  \cr 0  \cr }\right]\)   ~~~~~~no solution

     
    ---
     
    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr \right]$
    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    =
    \(\left[\matrix{ 2\cr  5  \cr 8  \cr }\right]\)}

    \(\left[\matrix{ x_1\cr  x_2  \cr x_3  \cr }\right]\)
    = \(x_3 \left[\matrix{ ~~1\cr  -2 \cr ~~1  \cr }\right] + \left[\matrix{ 0\cr  1 \cr 0  \cr }\right]\)
     
     fill fill fill fill fill fill fill
    Check:  

    $\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr \right] \left[\matrix{ ~~1\cr  -2 \cr ~~1  \cr }\right] =  \left[\matrix{ 0\cr  0 \cr 0  \cr }\right]\( \& \)\left[\matrix{ 1 & 2 & 3 \cr
     4 & 5 & 6 \cr
    7 & 8 & 9  \cr }\right] \left[\matrix{0\cr  1 \cr 0  \cr }\right] =  \left[\matrix{ 2\cr  5 \cr 8  \cr }\right]$}


    Compare to solving linear homogeneous differential eqn:
    \u
    Ex:  \(ay'' + by' + cy = g(t)\)
     
    1.)  Easily solve homogeneous DE:   \(ay'' + by' + cy = 0\)
    \u
    \(y = e^{rt} \Rightarrow ar^2 + br + c =0 \Rightarrow y = c_1\phi_1 + c_2\phi_2\) for homogeneous solution
    (see sections 3.1, 3.3, 3.4).
     

    2.)  More work:  Find one solution to  \(ay'' + by' + cy = g(t)\)
    \u  
    (see sections 3.5, 3.6)
    \u
    If \(y = \psi(t)\) is a soln, then general soln to \(ay'' + by' + cy = g(t)\)
    is 
    \u
    \(y =  c_1\phi_1 + c_2\phi_2 + \psi\)

     
    Check:  \(a\phi_1'' + b\phi_1' + c\phi_1 = 0\)
    \hskip 0.47in \(a\phi_2'' + b\phi_2' + c\phi_2 = 0\)
    \hskip 0.47in \(a\psi'' + b\psi' + c\psi = g(t)\)

    ---
    \u\u
    To solve \(ay'' + by' + cy = g_1(t) + g_2(t)\)
    \u
    1.)  Solve  \(ay'' + by' + cy = 0 ~~\Rightarrow~~  y = c_1\phi_1 + c_2\phi_2\) for homogeneous solution.
    \u
    2a.)   Solve  \(ay'' + by' + cy = g_1(t) ~~\Rightarrow~~  y = \psi_1\) 
    \u
    2b.)   Solve  \(ay'' + by' + cy = g_2(t) ~~\Rightarrow~~  y = \psi_2\) 
     
    General solution to  \(ay'' + by' + cy = g_1(t) + g_2(t)\) is
    \( y = c_1\phi_1 + c_2\phi_2 + \psi_1 + \psi_2\) 

    \end

    START 100/ch7and9.tex part 3

    7.4 - 7.6, 9.1

    Solve the homogeneous linear DE:   \({\bf x}' - A{\bf x} = {\bf 0}\)

    ~~~~  \({\bf x}' = A{\bf x}\)
    \hfill Guess \(x = {\bf v}e^{rt}\).  
    \hfill
    Plug in to find \({\bf v}\) and \(r\):  ~~~~~~~~

    ~~~~\([{\bf v}e^{rt}]' = A {\bf v}e^{rt}\)
    ~~implies~~ \(r{\bf v}e^{rt} = A {\bf v}e^{rt}\)
    ~~implies~~ \(r{\bf v} = A {\bf v}\).

    Thus \({\bf v}\) is an eigenvector with eigenvalue \(r\).

    ---

    Note since the equation is homogeneous and linear, 
    linear combinations of solutions are also solutions:

    Suppose \({\bf x} = {\bf f_1}(t)\) and \({\bf x} = {\bf f_2}(t)\) are solutions to \({\bf x}' = A{\bf x}\).

    Then \({\bf f_1}' = A{\bf f_1}\) and \({\bf f_2}' = A{\bf f_2}\)


    Thus $[c_1{\bf f_1} + c_2{\bf f_2}]' = c_1{\bf f_1}' + c_2{\bf f_2}'
    = c_1A{\bf f_1} + c_2A{\bf f_2}
    = A(c_1{\bf f_1} + c_2{\bf f_2})$.
     
    ---

    \end

    Section 7.6: Complex-Valued Eigenvalues

    START 100/7_6ex.tex

    7.6:  Complex eigenvalue example:  Solve \({\bf x}' = \left[\matrix{3 & -13 \cr 5 & 1}\right]{\bf x}\)

    Step 1  Find eigenvalues:  \(det(A - rI)= 0\)

    $det(A - rI) = \left|\matrix{3 -r & -13 \cr 5 & 1-r}\right|
    = (3-r)(1-r) + 65 = r^2 - 4r + 68 = 0$

    Thus $r = {4 \pm  qrt{4^2 - 4(68)} \over 2}
    = {4 \pm  qrt{4(4 - 68)} \over 2}
    = {4 \pm 2 qrt{- 64} \over 2} = 2 \pm 8i$

    Step 2  Find eigenvectors:  Solve \((A - rI){\bf x} = {\bf 0}\)

    \(A - (2 \pm 8i)I = \left[\matrix{3 - (2 \pm 8i) & -13 \cr 5 & 1 - (2 \pm 8i)}\right] = \left[\matrix{1 \mp 8i & -13 \cr 5 & -1 \mp 8i}\right]\)

    Solve
    $\left[\matrix{1 \mp 8i & -13 \cr 5 & -1 \mp 8i}\right]
    \left[\matrix{x_1\cr x_2}\right] =
    \left[\matrix{0 \cr 0}\right]$

    $\left[\matrix{1 \mp 8i & -13 \cr 5 & -1 \mp 8i}\right]
    \left[\matrix{13\cr 1 \mp 8i}\right] =
    \left[\matrix{(1 \mp 8i)13 - 13(1 \mp 8i)\cr 5(13) + (-1\mp8i) (1 \mp 8i)}\right] =
    \left[\matrix{ 0 \cr 65 + (-1 + 64i^2)}\right]=
    \left[\matrix{0 \cr 0}\right]$

    Thus any non-zero multiple of \(\left[\matrix{13\cr 1 \mp 8i}\right]\) is an eigenvector of \(A\) with eigen value \(2 \pm 8i\).

    Note:   \(\left[\matrix{1 \pm 8i \cr 5} \right]\)
    is a multiple of \(\left[\matrix{13\cr 1 \mp 8i}\right]\)
    since $\left[\matrix{1 \mp 8i & -13 \cr 5 & -1 \mp 8i}\right]
    \left[\matrix{1 \pm 8i \cr 5} \right] = \left[\matrix{0 \cr 0}\right]$.

    Thus we can use either  \(\left[\matrix{1 \pm 8i \cr 5} \right]=  \left[\matrix{1 \cr 5} \right] \pm i\left[\matrix{  8 \cr 0} \right]\)
    ~~or~~ \(\left[\matrix{13\cr 1 \mp 8i}\right]\) ~~or~~ any nonzero multiple.

    General solution:

    $\left[\matrix{x_1 \cr x_2}\right] = c_1e^{2t} \left(\left[\matrix{1 
     \cr 5 }\right]cos(8 t) -
    \left[\matrix{8 
     \cr 0 }\right]sin(8 t)
    \right)+ 
    c_2
    e^{2 t} \left(\left[\matrix{1 
     \cr 5 }\right]sin(8 t) +
    \left[\matrix{8 
     \cr 0 }\right]cos(8 t)
    \right)$

    ---

    Slope field for \(x_2\) vs \(x_1\):~~
    ${dx_2 \over dx_1} =

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[7]/div[6]/div[1]/p[15]/span, line 1, column 6
    

    = {x_2' \over x_1'} =   { 5x_1 + x_2  \over 3x_1 - 13x_2 }$

    Note slope 0's occur when \(5x_1  + x_2 = 0\), ie, $x_2 = 
    -5x_1$.

    Note slope \(\infty\)'s occur when \(3x_1 - 13x_2 = 0\), ie, $x_2 = 
    {3 \over 13}x_1$.

    Determine where slopes are positive vs negative for regions between these lines:

    For example, along the positive \(x_1\) axis slope is positive: \(x_2 = 0\) and 
    \({dx_2 \over dx_1} = {5x_1  \over 3x_1 }  = {+  \over +}\), ~ \(x_1 > 0\)

    For example, along the positive \(x_2\) axis slope is negative: \(x_1 = 0\) and 
    \({dx_2 \over dx_1 = {x_2 \over  - 13 x_2} = {+ \over -}\),  \(x_2 > 0\)}

    \end

    $\left[\matrix{x_1 \cr x_2}\right] = c_1e^{\lambda t} \left(\left[\matrix{1 
     \cr 5 }\right]cos(\mu t) -
    \left[\matrix{8 
     \cr 0 }\right]sin(\mu t)
    \right)+ 
    c_2
    e^{\lambda t} \left(\left[\matrix{1 
     \cr 5 }\right]sin(\mu t) +
    \left[\matrix{8 
     \cr 0 }\right]cos(\mu t)
    \right)$

    START 100/ch7and9.tex part 4

    Suppose an object moves in the 2D plane (the \(x_1, x_2\) plane) so that it is at the point \((x_1(t), x_2(t))\) at time \(t\).  Suppose the object's velocity is given by 


    \(x_1'(t) = 4x_1 + x_2\),

     \(x_2'(t) = 5x_1\)

    Or in matrix form
    $\left(\matrix{x_1 \cr x_2}\right)' = \left(\matrix{4 & 1 \cr 5 & 0}\right) 
    \left(\matrix{x_1 \cr x_2}\right)$

    To solve, find eigenvalues and corresponding eigenvectors:

    $\left|\matrix{4 - r & 1 \cr 5 & -r}\right|
    = (4-r)(-r) - 5 = r^2 - 4r - 5 = (r-5)(r+1)$. 

     Thus \(r = -1, 5\) are eigenvalues.

    Eigenvectors associated to eigenvalue \(r = -1\):
    \(\left(\matrix{5 & 1 \cr 5 & 1}\right)  im \left(\matrix{1 & {1 \over 5} \cr 0 & 0}\right)\)

    ~~~~~~~Thus \(x_2\) is free and \(x_1 + {1 \over 5}x_2 = 0\)

    ~~~~~~~Hence the eigenspace corresponding to \(r = -1\) is 

    ~~~~~~~$\left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{-{1 \over 5}x_2 \cr x_2}\right) =
     x_2\left(\matrix{-{1 \over 5} \cr 1}\right)$


    ~~~~~~~Thus  \(\left(\matrix{-1\cr 5}\right)\) is an eigenvector with eigenvalue \(r = -1\)

    ~~~~~~~Hence
    \(\left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{-1\cr 5}\right)e^{-t}\)
    is a solution.

    E. vectors associated to e. value \(r = 5\):
    \(\left(\matrix{-1 & 1 \cr 5 & -5}\right) \left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{0 \cr 0}\right)\)

    ~~~~~~~Thus  \(\left(\matrix{1\cr 1}\right)\) is an eigenvector with eigenvalue \(r = 5\) 
    \u\u
    ~~~~~~~since it is a nonzero solution to the above equation.

    ~~~~~~~Hence
    \(\left(\matrix{x_1 \cr x_2}\right) = \left(\matrix{1\cr 1}\right)e^{5t}\)
    is also a solution.

    Hence the general solutions is 
    \(\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{-1\cr 5}\right)e^{-t} + c_2\left(\matrix{1\cr 1}\right)e^{5t}\)

    Or in non-matrix form:
     \(x_1(t) = -c_1e^{-t + c_2e^{5t}\)}

     \(x_2(t) = 5c_1e^{-t + c_2e^{5t}\)}


    {\bf Section 7.6:}  \((a + d)^2 - 4(ad - bc) < 0\).  I.e., $r = \lambda \pm i 
    \mu$

    Suppose the eigenvector corresponding to this eigenvalue is
     
    $\left[\matrix{v_1 \pm iw_1\cr v_2 \pm iw_2}\right] = \left[\matrix{v_1\cr 
    v_2}\right] \pm i\left[\matrix{w_1\cr w_2}\right]$

    Hence the general solutions in unsimplified form:

    $\left[\matrix{x_1 \cr x_2}\right] = c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{(\lambda + i 
    \mu)t} + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{(\lambda - i \mu)t}$


    \(~~~~~~~~~ = c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{\lambda t}e^{ i \mu t} + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{\lambda t}e^{ - i \mu t}\)

    \(= c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{\lambda t}[cos (-\mu t)\)


    \(= c_1\left[\matrix{v_1 + iw_1\cr v_2 + iw_2}\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] + c_2\left[\matrix{v_1 - iw_1\cr v_2 - iw_2}\right]e^{\lambda t}[cos (\mu t)\)

    $= c_1\left[\matrix{v_1 \cr v_2 }\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] +
    c_1\left[\matrix{iw_1\cr  iw_2}\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] $
       c_2\left[\matrix{  iw_1\cr   iw_2}\right]e^{\lambda t}[cos (\mu t) - i sin (\mu t)]$~~~}

    $= c_1\left[\matrix{v_1 \cr v_2 }\right]e^{\lambda t}[cos (\mu t) + i sin (\mu t)] +
    c_1\left[\matrix{w_1\cr  w_2}\right]e^{\lambda t}[icos (\mu t) + i^2 sin (\mu t)] $
       c_2\left[\matrix{  w_1\cr   w_2}\right]e^{\lambda t}[icos (\mu t) - i^2 sin (\mu t)]$~~~}
       
     
    \(= (c_1 + c_2)\left[\matrix{v_1 \cr v_2 }\right] e^{\lambda t}cos (\mu t) + i  (c_1-c_2)\left[\matrix{v_1 \cr v_2 }\right]e^{\lambda t} sin (\mu t) \)
    i(c_1-c_2)\left[\matrix{w_1\cr  w_2}\right] e^{\lambda t}cos (\mu t) - (c_1+c_2)\left[\matrix{w_1\cr  w_2}\right] e^{\lambda t} sin (\mu t) $}

     
    \(=  (c_1 + c_2)\left(\left[\matrix{v_1 \cr v_2 }\right]cos (\mu t) - \left[\matrix{w_1\cr  w_2}\right] sin (\mu t)\right)e^{\lambda t}\)
    $+ i  (c_1-c_2) \left(\left[\matrix{v_1 \cr v_2 }\right]sin (\mu t) 
     +
    \left[\matrix{w_1\cr  w_2}\right] cos (\mu t)\right) e^{\lambda t}$}

    Then general solution is 

    \(\left[\matrix{x_1 \cr x_2}\right] =  c_1 \left(\left[\matrix{v_1 \cr v_2 }\right]cos (\mu t) - \left[\matrix{w_1\cr  w_2}\right] sin (\mu t)\right)e^{\lambda t}\)
    $+ c_2 \left(\left[\matrix{v_1 \cr v_2 }\right]sin (\mu t) 
     +
    \left[\matrix{w_1\cr  w_2}\right] cos (\mu t)\right) e^{\lambda t}$}

    \u
    {\bf 7.6 Special case:}  \(\left[\matrix{x_1\cr x_2}\right]' =\)
    \(\left[\matrix{a & b \cr - b & a}\right]\)
    \(\left[\matrix{x_1 \cr x_2}\right]\)


    $A - \lambda I = \left|\matrix{a - \l & b \cr - b & a - \l}\right| =
    (a - \l)^2 + b^2$
    {\( = \l^2 - 2a\l + a^2 + b^2\)}

    Thus $\l = {2a \pm  qrt{4a^2 - 4(a^2 + b^2)} \over 2} =
     {2a \pm  qrt{-4b^2} \over 2} = a \pm bi $

    \(\left[\matrix{x_1\cr x_2}\right]'\)
    \(\left[\matrix{a & b \cr - b & a}\right]\)
    \(\left[\matrix{x_1 \cr x_2}\right]\) implies
    \(\matrix{x_1' = ax_1 +  bx_2 \cr x_2' = -bx_1 + ax_2}\)

    Change to polar coordinates:
    ~{\(r^2 = x_1^2 + x_2^2\) and \(tan \theta = {x_2 \over x_1}\)}

    Take derivative with respect to \(t\) of both equations:

    \(2rr' = 2x_1x_1' + 2x_2x_2'\) implies 

    \(rr' = x_1(ax_1 +  bx_2 ) + x_2(-bx_1 + ax_2) \)

    \(~~~~~= ax_1^2 +  bx_1x_2 - bx_1x_2 + ax_2^2 \)
    \( = a(x_1^2 + x_2^2) = ar^2\)

    Thus \(rr' = ar^2 \) implies \({dr \over dt} = ar\) and thus \(r = Ce^{at}\).

    \((sec^2 \theta)\theta' ={ x_1x_2' - x_1'x_2 \over x_1^2}\)
    \(={ x_1( -bx_1 + ax_2) - (ax_1 +  bx_2)x_2 \over x_1^2}\)

    \(={ -bx_1^2 + ax_1x_2 - ax_1x_2 -  bx_2^2 \over x_1^2}\)
    \(={ -b(x_1^2 +  x_2^2) \over x_1^2}\)
    \(={ -b(r^2) \over x_1^2}\) \( = -bsec^2 \theta\)

    \((sec^2 \theta)\theta' = -bsec^2 \theta\) implies \(\theta' = -b\) 
    and thus \(\theta = -bt + \theta_0\)

    ---
    Change of basis:  Let \({\bf x} = P{\bf y}\).  If \({\bf x}' = A{\bf x}\), then 
     \rightline{\([P{\bf y}]' = AP{\bf y}\) implies  \(P{\bf y}' = AP{\bf y}\).  Thus  \({\bf y}' =P^{-1} AP{\bf y}\).~~}


    \end

    START 34/FALL03/finalexamANS.txt part 11

    \nopagenumbers


    Math 34 Differential Equations Final Exam
                                   December 15, 2003 \hfill  SHOW ALL
    WORK
    ~

    [5]~ 8a.)   Transform \(x'' - 2x' - 3x = e^t\) into a system of first order
    differential equations.


    ~~~~~~~~\(x_1 = x\)

    \(x_1' = x_2 = x'\)

    \(x_2' = x''\)


    Answer 8a.) \(\underline{x_1' = x_2, x_2' - 2x_2 - 3x_1 = e^t\)}
    \w

    [5]~ 8b.)  Use Euler's formula to write \(e^{4 - 2i}\) in the form of \(a + ib\).


    \(e^{4 - 2i} = e^4e^{-2i} =\)
    \( e^4(cos(-2) + isin(-2)) = \)
    \( e^4cos(-2) + ie^4sin(-2) = \)
    \( e^4cos(2) - ie^4sin(2) \)

     
    Answer 8b.) $\underline{e^4cos(-2) + ie^4sin(-2) \hbox{ or 
    e^4cos(2) - ie^4sin(2)
    }$}

    \end

    Section 7.7: Fundamental Matrices

    START 100/7_7new.tex


    Solve \({\bf x}'(t) = \left[\matrix{1 & 3 \cr 4 & 5}\right]{\bf x(t)} \)


    {\bf Step 1.  Find eigenvalues:}

    $A - \lambda I = \left|\matrix{1 - \l & 3 \cr 4 & 5 - \l}\right| =
    (1 - \l)(5 - \l) - 12 $

    \(= \l^2 - 6\l + 5 - 12 =  \l^2 - 6\l - 7 = (\l - 7)(\l + 1) = 0\)}

    Thus \(\l = 7, -1\)

    {\bf Step 2.  Find eigenvectors:}

     \(\l = 7\):  ~~$A - 7 I = \left[\matrix{1 - 7 & 3 \cr 4 & 5 - 7}\right] =
     \left[\matrix{-6 & 3 \cr 4 & -2}\right] $
     

     Note \(\left[\matrix{-6 & 3 \cr 4 & -2}\right] \left[\matrix{1 \cr 2}\right] = \left[\matrix{0 \cr 0}\right]\)
     
     
    Note the dimension of the nullspace of \(\left[\matrix{-6 & 3 \cr 4 & -2}\right] \) is 1.

    Or in other words, solution space for 
    \centerline
    {\(\left[\matrix{-6 & 3 \cr 4 & -2}\right] \left[\matrix{x_1 \cr x_2}\right]= \left[\matrix{0 \cr 0}\right]\) is 1-dimensional}
     
     Thus a basis for the eigenspace for \(\l = 7\) is 
      \(  \left\{~\left[ \matrix{1 \cr 2} \right] ~\right\}\)
     
     %\(  \left{  \left[ \matrix{1 \cr 2} \right] \right}\)

      \(\l = -1\)
    ~~$A - (-1) I = \left[\matrix{1 +1 & 3 \cr 4 & 5 +1}\right] =
     \left[\matrix{2 & 3 \cr 4 & 6}\right] $
     

     Note \(\left[\matrix{2 & 3 \cr 4 & 6}\right] \left[\matrix{~3 \cr -2}\right] = \left[\matrix{0 \cr 0}\right]\)
     

     
     Thus a basis for the eigenspace for \(\l = -1\) is 
      \(  \left\{~ \left[ \matrix{~3 \cr -2} \right] ~\right\}\)

     
    -------------------------------------------------

    Thus a basis for the solution space to \({\bf x}' = \left[\matrix{1 & 3 \cr 4 & 5}\right]{\bf x} \) is


    \( \left\{~ \left[ \matrix{1 \cr 2 \right]e^{7t},~~ \left[ \matrix{~3 \cr -2} \right]e^{-t} ~\right\}\)}

    Hence the general solution is 

    \({\bf x(t) =  c_1\left[\matrix{1 \cr 2}\right]e^{7t} + c_2\left[\matrix{~3 \cr -2}\right]e^{-t}\)}


    Note we can take any basis for the solution space to create the general solution


    Alternate basis: \( \left\{~ \left[ \matrix{2 \cr 4} \right]e^{7t},~~ \left[ \matrix{-9 \cr ~6} \right]e^{-t} ~\right\}\)

    Alternate format of general solution: 

    \({\bf x(t) =  c_1\left[\matrix{2 \cr 4}\right]e^{7t} + c_2\left[\matrix{-9 \cr ~6    }\right]e^{-t}\)}

    IVP: \({\bf x}' = \left[\matrix{1 & 3 \cr 4 & 5}\right]{\bf x} \), ~~
    \({\bf x}(0)  = \left[\matrix{e \cr f    }\right]~\)

    {$\left[\matrix{e \cr f    }\right] =  
    c_1\left[\matrix{1 \cr 2}\right] + 
    c_2\left[\matrix{~3 \cr -2}\right]$}
    $=
      \left[ \matrix{   c_1 + 3c_2\cr
       2c_1  -2c_2}
    \right] $

    Solve using any method you like.  We will use matrix form:

    $\left[\matrix{e \cr f    \right] =  \left[ \matrix{1     & 3\cr
       2 &  -2}
    \right]   \left[\matrix{c_1 \cr c_2    }\right]$}


    Solution exists if Wronskian evaluated at \(0\) is not zero.


    $W\left(\left[\matrix{1 \cr 2}\right]e^{7t}, ~\left[\matrix{~3 \cr -2}\right]e^{-t}\right)~ 
    = ~ \left| \matrix{   e^{7t}  & 3e^{-t}\cr
       2e^{7t} &  -2e^{-t}}\right|   $
       
       \rightline{\( = -2e^{6t} - 6e^{6t} = -8 e^{6t} \not= 0\)~~}
       
    {\bf Fundamental matrix:}  ~~$\Psi(t) = 
     \left[ \matrix{   e^{7t}  & 3e^{-t}\cr
       2e^{7t} &  -2e^{-t}}
    \right] $

    Back to IVP:  $\left[\matrix{e \cr f    }\right] =  \left[ \matrix{ 1    & 3\cr
       2 &  -2}
    \right]   \left[\matrix{c_1 \cr c_2    }\right]$
    $\left[ \matrix{  1   & 3\cr  
    2 &  -2\right]^{-1}  \left[\matrix{e \cr f    }\right] $
    $=  
    \left[ \matrix{  1   & 3\cr  
    2&  -2}\right]^{-1}  \left[ \matrix{     & 3\cr  
    2 &  -2}\right]  
        \left[\matrix{c_1 \cr c_2    }\right]$}


    Thus  $\left[\matrix{c_1 \cr c_2    }\right] ~=~ \left[ \matrix{ 1    & 3\cr  
    2 &  -2}\right]^{-1}  \left[\matrix{e \cr f    }\right] $

    But I would prefer a fundamental matrix whose inverse is easier to calculate, at least when \(t_0 = 0\).

    Thus we will find another basis for the solution set to \break 
    \({\bf x}' = A{\bf x}\) so that the corresponding fundamental matrix \(\Phi\) has the property that \(\Phi(0)  = \left[\matrix{1 & 0 \cr 0 & 1    }\right] \), the 2x2 identity matrix via long method:
    \u\u
    {\bf Step 1:  Solve IVP:~~ \({\bf x}' = A{\bf x}\), ~${\bf x}(0) =  
    \left[\matrix{1  \cr 0     }\right] $}

    $\left[\matrix{1 \cr 0}\right] = c_1\left[\matrix{1 \cr 2}\right]e^{0} + 
    c_2\left[\matrix{~3 \cr -2}\right]e^{0} 
     =  \left[ \matrix{   1  & 3\cr
       2 &  -2}
    \right]   \left[\matrix{c_1 \cr c_2    }\right]$

    $\left[\matrix{1 \cr 0}\right] 
     =  \left[ \matrix{   1  & 3\cr   2 &  -2}\right] 
      \left[\matrix{c_1 \cr c_2    }\right]\( implies \)
    \left[\matrix{c_1 \cr c_2    }\right] =  \left[ \matrix{   1  & 3\cr   2 &  -2}\right] ^{-1}
    \left[\matrix{1 \cr 0}\right] $

     
      \((-{1 \over 8) \left[ \matrix{   -2  & -3\cr   -2 &  1}\right]  \left[ \matrix{   1  & 3\cr  2 &  -2}\right]  =  \left[ \matrix{   1  & 0\cr   0 &  1}\right] \)}
      
     $ \left[ \matrix{   1  & 3\cr   2 &  -2\right]^{-1} = 
     \left[ \matrix{  { 1 \over 4}  & {3 \over 8}\cr  & \cr  {1 \over 4} &  -{1 \over 8} }\right]$ \&
     $\left[\matrix{c_1 \cr c_2    }\right] =  \left[ \matrix{  { 1 \over 4}  & {3 \over 8}\cr  & \cr {1 \over 4} &  -{1 \over 8} }\right]
    \left[\matrix{1 \cr 0}\right]
     =  \left[ \matrix

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[7]/div[7]/div/p[34]/span, line 1, column 3
    
    \right]
     $}

     Thus IVP solution where ~${\bf x}(0) =  
    \left[\matrix{1  \cr 0     }\right] $ is
     
    \({\bf x(t) =  { 1 \over 4} \left[\matrix{1 \cr 2}\right]e^{7t} + { 1 \over 4} \left[\matrix{~3 \cr -2}\right]e^{-t} =  \left[\matrix{ { 1 \over 4}e^{7t} +  { 3 \over 4}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t}}\right] \)}


    {\bf Step 2:  Solve IVP:~~ \({\bf x}' = A{\bf x}\), ~${\bf x}(0) =  
    \left[\matrix{0 \cr  1    }\right] $}

    $\left[\matrix{0 \cr 1}\right] = c_1\left[\matrix{1 \cr 2}\right]e^{0} + 
    c_2\left[\matrix{~3 \cr -2}\right]e^{0} 
     =  \left[ \matrix{   1  & 3\cr
       2 &  -2}
    \right]   \left[\matrix{c_1 \cr c_2    }\right]$

     Thus $\left[\matrix{c_1 \cr c_2    }\right] =  \left[ \matrix{  { 1 \over 4}  & {3 \over 8}\cr  & \cr {1 \over 4} &  -{1 \over 8} }\right]
    \left[\matrix{0 \cr 1}\right]
     =  \left[ \matrix

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[7]/div[7]/div/p[38]/span, line 1, column 3
    
    \right]
     $

     Thus IVP solution where ~${\bf x}(0) =  
    \left[\matrix{0 \cr 1     }\right] $ is
     
    \({\bf x(t) =  { 3 \over 8} \left[\matrix{1 \cr 2}\right]e^{7t} - { 1 \over 8} \left[\matrix{~3 \cr -2}\right]e^{-t} =  \left[\matrix{ { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right] \)}

    Thus another basis for the solution space to \({\bf x}' = \left[\matrix{1 & 3 \cr 4 & 5}\right]{\bf x} \) 

     is $\left\{ 
     \left[\matrix{ { 1 \over 4e^{7t} +  { 3 \over 4}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t}}\right], ~
    \left[\matrix{ { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right] \right\}$}

    Its corresponding fundamental matrix is 

     
    $\Phi(t) = \left[\matrix{ { 1 \over 4e^{7t} +  { 3 \over 4}e^{-t} & ~&
    { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t} &~ &  { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right]$}

    Thus to solve IVP where \({\bf x}(t_0)  = \left[\matrix{e \cr f    }\right]~\), we solve

     $ \left[\matrix{e \cr f    \right] ~=~ \left[\matrix{ { 1 \over 4}e^{7t_0} +  { 3 \over 4}e^{-t_0} & ~&
    { 3 \over 8}e^{7t_0} -  { 3 \over 8}e^{-t_0}\cr \cr   { 1 \over 2}e^{7t_0}-  { 1 \over 2}e^{-t_0} &~ &  { 3 \over 4}e^{7t_0} + { 1 \over 4}e^{-t_0}}\right]  \left[\matrix{c_1 \cr c_2    }\right]$}

    When \(t_0 = 0\).  I.e., we have an IVP where \({\bf x}(0)  = \left[\matrix{e \cr f    }\right]~\)

     $ \left[\matrix{e \cr f    \right] ~=~ \left[\matrix{ { 1 \over 4}e^{0} +  { 3 \over 4}e^{0} & ~&
    { 3 \over 8}e^{0} -  { 3 \over 8}e^{0}\cr \cr   { 1 \over 2}e^{0}-  { 1 \over 2}e^{0} &~ &  { 3 \over 4}e^{0} + { 1 \over 4}e^{0}}\right]  \left[\matrix{c_1 \cr c_2    }\right]$}

    which simplifies to 


     \( \left[\matrix{e \cr f    \right] ~=~ \left[\matrix{  1 & 0 \cr 0 & 1}\right]  \left[\matrix{c_1 \cr c_2    }\right] =  \left[\matrix{c_1 \cr c_2    }\right]\)}

    In other words, \(c_1  = e\) and \(c_2 = f\).

    \u\u


    \end

    Section 7.8: Repeated Eigenvalues

    START 100/7_8.tex

    {\bf 7.7:  The matrix exponential:}

    Defn:  \(\So b_kx ^k = \displaystyle\lim_{n \rightarrow \infty}  o b_kx^k\)
    \(= b_0 + b_1x + b_2x^2 + b_3x^3 + ....\)~~~%}

    {Taylor's Theorem}:  If \(f\) is analytic  at 0, then for small \(x\) (i.e., \(x\) near 0), 
    \(f(x)=\displaystyle um_{k=0^\infty{f^{(k)}(0) \over k!}x^k\) %\hskip 1.13in%}
    \( = f(0) + f'(0)x + {f''(0) \over 2}x^2 + {f'''(0) \over 6}x^3 + ... \)}
     
    Example:
     
    \(e^t = \So {t^k \over k!}\)  and thus \(e^{at} = \So {a^kt^k \over k!} = 1 + \S {a^kt^k \over k!}\) for \(t\) near 0.
    ---

    Definition:  Let \(A\) be an \(n \times n\) matrix.  Then the {\bf matrix exponential} of \(A\) is
     \]exp(At) = e^{At} = I +\S {A^kt^k \over k!}\[ 
    where \(I\) is the \(n \times n\) identity matrix.
    ---
    Note \(e^{A(0)} =  I +\S {A^k0^k \over k!} = I\)

    Note $[e^{At}]' = \S {kA^kt^{k-1} \over k!}  = \S {A^kt^{k-1} \over (k-1)!}
    = \So {A^{k+1}t^{k} \over k!}$

    ~~~~~~~~~~~~~~~$ =A + \S {A^{k+1}t^{k} \over k!}
    =A(I + \S {A^{k}t^{k} \over k!}) = Ae^{At}$ 

    Thus  \([e^{At}]'   = Ae^{At}\)  and          \(e^{A(0)} =  I \)


    Thus  \(e^{At}\) is the solution to the IVP 

    \(M' = AM\), \(M(0) = I\)

     where \(M\) is an  \(n \times n\) matrix.
     fill

    Let \(\Psi\) be a fundamental matrix for \({\bf x}' = A{\bf x}\)

    Example:  Suppose \(\Psi\) is the \(2 \times 2\) matrix \([\bf{f_1~~  f_2}]\).

    Thus \({\bf f_1}\) and \({\bf f_2}\) are solutions to \({\bf x}' = A{\bf x}\).

    Hence \({\bf f_1}' = A{\bf f_1}\) and \({\bf f_2}' = A{\bf f_2}\)

    Thus \(A[{\bf  f_1 ~~ f_2}] = \)

    Since  \( [{\bf  f_1 ~~ f_2}]' = A[{\bf  f_1 ~~ f_2}]\),  

    \(\Psi(t)= [\bf{f_1(t)~~  f_2(t)]\) is the general solution to \(M' = AM\)}


    Let \(\Phi(t) = \Psi(t)[\Psi(0)]^{-1}\).  Then  \(\Phi(0) = \Psi(0)[\Psi(0)]^{-1} = I\).


    Note  \(\Phi(t) = \Psi(t)[\Psi(0)]^{-1}\) is also a solution to \(M' = AM\):
    \( (\Psi(t)[\Psi(0)]^{-1)' = \Psi'(t)[\Psi(0)]^{-1} =   A\Psi(t)[\Psi(0)]^{-1}\)}

    Thus \(\Phi\) is  the solution to the IVP 

    \(M' = AM\), \(M(0) = I\)

    Since solution to IVP is unique (assuming entries of \(A\) are continuous functions), \(\Phi = e^{At}\)


    Theorem:  \(e^{At} = \Phi(t) = \Psi(t)[\Psi(0)]^{-1}\)  where  \(\Psi\) is a fundamental matrix for \({\bf x}' = A{\bf x}\)


    Example:  Calculate \(exp(\left[\matrix{1 & 3 \cr 4 & 5}\right]t) ~= ~e^{\left[\matrix{1 & 3 \cr 4 & 5}\right]t}\)

    Solve \({\bf x}'(t) = \left[\matrix{1 & 3 \cr 4 & 5}\right]{\bf x(t)} \)

    From previous work, the general solution is 
    \({\bf x(t) =  c_1\left[\matrix{1 \cr 2}\right]e^{7t} + c_2\left[\matrix{~3 \cr -2}\right]e^{-t}\)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
    Thus a fundamental matrix is $\Psi(t) = 
     \left[ \matrix{   e^{7t}  & 3e^{-t}\cr
       2e^{7t} &  -2e^{-t}}
    \right] $

    A ``better'' fundamental matrix is \(\Phi(t) = \Psi(t)[\Psi(0)]^{-1}\)


    $\Psi(0) = \left[ \matrix{  1   & 3\cr  
    2 &  -2}\right]\(.  Thus \)[\Psi(0)]^{-1} = \left[ \matrix{  1   & 3\cr  
    2 &  -2}\right]^{-1} = (-{1 \over 8}) \left[ \matrix{   -2  & -3\cr   -2 &  1}\right]  
     $

     $\Phi(t) = \Psi(t)[\Psi(0)]^{-1} =
     (-{1 \over 8})\left[ \matrix{   e^{7t}  & 3e^{-t}\cr
       2e^{7t} &  -2e^{-t}}
    \right] \left[ \matrix{   -2  & -3\cr   -2 &  1}\right] $
    $~~~~~~~=  \left[\matrix{ { 1 \over 4e^{7t} +  { 3 \over 4}e^{-t} & ~&
    { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t} &~ &  { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right] $}
    Thus  $exp(\left[\matrix{1 & 3 \cr 4 & 5}\right]t) ~= ~e^{\left[\matrix{1 & 3 \cr 4 & 5}\right]t}
    =  \left[\matrix{ { 1 \over 4}e^{7t} +  { 3 \over 4}e^{-t} & ~&
    { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t} &~ &  { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right]$

    Solve IVP:~~  \({\bf x}' = A{\bf x}\), \({\bf x}(0) = {\bf e}\)
    ---
    Observe if \(\Phi(t) = [{\bf f_1} ~~ {\bf f_2}]\),
    then general solution is
     ${\bf x(t) = c_1{\bf f_1}(t) + c_2{\bf f_2}(t) = [{\bf f_1}(t) ~~ {\bf f_2}(t)]
    \left[\matrix{c_1\cr c_2}\right] =\Phi(t) \left[\matrix{c_1\cr c_2}\right]$ }

    ${\bf x(0)} = c_1{\bf f_1}(0) + c_2{\bf f_2}(0) = [{\bf f_1}(0) ~~ {\bf f_2}(0)]
    \left[\matrix{c_1\cr c_2}\right]$
    = \left[\matrix{1 & 0\cr 0 & 1}\right] \left[\matrix{c_1\cr c_2}\right]
    =\left[\matrix{c_1\cr c_2}\right]$ \hskip 1cm}


    ---


    Theorem:  If  \(e^{At} = \Phi(t) = \Psi(t)[\Psi(0)]^{-1}\)  where  \(\Psi\) is a fundamental matrix for \({\bf x}' = A{\bf x}\)

    or equivalently, if \( \Phi\) is the solution to IVP \(M' = AM\), \(M(0) = I\),

    Then solution to IVP  \({\bf x}' = A{\bf x}\), \({\bf x}(0) =  {\bf e} \) is \({\bf x} =   \Phi{\bf e}\) 

    ---
    Example:  Solve IVP:  \({\bf x}'(t) = \left[\matrix{1 & 3 \cr 4 & 5}\right]{\bf x(t)}\),  ~~${\bf x}(0) =  
     \left[\matrix{17 \cr 92}\right] $


    Answer:    ${\bf x} =  \left[\matrix{ { 1 \over 4}e^{7t} +  { 3 \over 4}e^{-t} & ~&
    { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t} &~ &  { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right] \left[\matrix{17 \cr 92}\right] $

    That is, ${\bf x} = 17\left[\matrix{ { 1 \over 4}e^{7t} +  { 3 \over 4}e^{-t}\cr \cr   { 1 \over 2}e^{7t}-  { 1 \over 2}e^{-t}}\right] + 92
    \left[\matrix{ { 3 \over 8}e^{7t} -  { 3 \over 8}e^{-t}\cr \cr   { 3 \over 4}e^{7t} + { 1 \over 4}e^{-t}}\right]$
    {\bf Note:}  This only works if you use the fundamental matrix  \(\Phi(t)\) where \( \Phi(0) = I\).  


    {\bf 7.5/7.8:}  Suppose the solution to   \({\bf x}' = A{\bf x}\) is 
    \w
    \(\left[\matrix{x_1 \cr x_2\right] = c_1\left[\matrix{v_1\cr v_2}\right]e^{r_1t} + c_2\left[\matrix{w_1\cr w_2}\right]e^{r_2t}\)}

    where \({\bf v}, {\bf w}\) are linearly independent. 


    Then  skip -30pt
     \]{x_2(t) \over x_1(t)} = {c_1v_2e^{r_1t} +  c_2w_2e^{r_2t} \over c_1v_1e^{r_1t} +  c_2w_1e^{r_2t} }  = {c_1v_2 +  c_2w_2e^{(r_2-r_1)t} \over c_1v_1+  c_2w_1e^{(r_2 - r_1)t} }\[

    If \(c_2 = 0\), then \({x_2(t) \over x_1(t)} =  {v_2 \over v_1}\)

    If \(c_1 = 0\), then \({x_2(t) \over x_1(t)} =  {w_2 \over w_1}\)

    ---

    Suppose \(r_1 > r_2\) and \(c_1c_2 \not= 0\), 

    Then \(\displaystyle\lim_{t \rightarrow\infty}{x_2(t) \over x_1(t)} =  \displaystyle\lim_{t \rightarrow\infty}{c_1v_2 +  c_2w_2e^{(r_2-r_1)t} \over c_1v_1+  c_2w_1e^{(r_2 - r_1)t} } = {v_2 \over v_1}\)

    Similarly $\displaystyle\lim_{t \rightarrow -\infty}{x_2(t) \over x_1(t)} 
    =  \displaystyle\lim_{t \rightarrow -\infty}{c_1v_2e^{(r_1-r_2)t} +  c_2w_2 \over c_1v_1e^{(r_1-r_2)t}+  c_2w_1 } 
    = {w_2 \over w_1}$
    ---
    \hfill\(r_1 >  0 > r_2 \) \hfill \(r_1 >  r_2 > 0 \) \hfill \( 0 >  r_1  > r_2 \) \hfill~
     
     fill fill fill fill fill fill
     fill

    Repeated root  case with 2 linearly independent eigenvectors:\hfill \break  If \(r_1 = r_2\), then 

    \(\left[\matrix{x_1 \cr x_2}\right] =e^{r_1t} \left(c_1\left[\matrix{v_1\cr v_2}\right] + c_2\left[\matrix{w_1\cr w_2}\right]\right) \) \(= e^{r_1t} \left[\matrix{c_1v_1 + c_2w_1\cr c_1v_2 +c_2w_2}\right]\)


    Then $ \displaystyle{x_2(t) \over x_1(t)} =  
    {e^{r_1t}(c_1v_2 +  c_2w_2) \over e^{r_1t}(c_1v_1+  c_2w_1)}  = {c_1v_2 +  c_2w_2 \over c_1v_1+  c_2w_1} $


    ---
    Repeated root  case,  \(r_1 = r_2\), with only 1 linearly independent eigenvector, \({\bf v}\)

    One solution:   \({\bf x} = {\bf v}e^{r_1t}\)

    Need 2nd solution,  Guess \({\bf x} = t{\bf v}e^{r_1t} + {\bf w}e^{r_1t}\)

    Then \({\bf x}' = r_1t{\bf v}e^{r_1t} + {\bf v}e^{r_1t} + r_1{\bf w}e^{r_1t}\)

    Plug into  \({\bf x}' = A {\bf x}\): \hfill   \( r_1t{\bf v}e^{r_1t} + {\bf v}e^{r_1t} + r_1{\bf w}e^{r_1t} = A( t{\bf v}e^{r_1t} + {\bf w}e^{r_1t})\)~~

    ~\hfill \( r_1t{\bf v}e^{r_1t} + {\bf v}e^{r_1t} + r_1{\bf w}e^{r_1t} =  te^{r_1t}A{\bf v} + e^{r_1t}A{\bf w}\)~~

    ~\hfill \( r_1t{\bf v}e^{r_1t} + {\bf v}e^{r_1t} + r_1{\bf w}e^{r_1t} =  te^{r_1t}r_1{\bf v} + e^{r_1t}A{\bf w}\)~~

    ~\hfill \( r_1t{\bf v}+ {\bf v} + r_1{\bf w} =  tr_1{\bf v} + A{\bf w}\) \hskip 1cm ~~

    ~\hfill \( {\bf v} + r_1{\bf w} =   A{\bf w}\) \hskip 2cm ~~
    Thus  \( {\bf v}=   A{\bf w}  - r_1{\bf w} \) = 

    Hence \( {\bf v=  ~~~~~~~~~~~~~\)\hskip 2cm}


    Definition:  If \(r_1\) is an eigenvalue with eigenvector \({\bf v}\), then \({\bf w}\) is a {\bf generalized eigenvector} corresponding to eigenvalue \(r_1\), if  \({\bf w} \not= 0\) and  
     \(   (A  - r_1I){\bf w  ={\bf v}  \)}

    General solution:
    \(\left[\matrix{x_1 \cr x_2\right] = c_1\left[\matrix{v_1\cr v_2}\right]e^{r_1t} + c_2\left(t\left[\matrix{v_1\cr v_2}\right]+ \left[\matrix{w_1\cr w_2}\right]\right)e^{r_1t}\)}

    or equivalently, 

    \(\left[\matrix{x_1 \cr x_2\right] = e^{r_1t}\left(c_1\left[\matrix{v_1\cr v_2}\right] + c_2\left(t\left[\matrix{v_1\cr v_2}\right]+ \left[\matrix{w_1\cr w_2}\right]\right) \right) \)}

    Then \]{x_2(t) \over x_1(t)} = {e^{r_1t}(c_1v_2 +  c_2(tv_2+w_2)) \over e^{r_1t}(c_1v_1 +  c_2(tv_1 + w_1))} = {c_1v_2 +c_2w_2+  c_2tv_2 \over c_1v_1 + c_2w_1+  c_2tv_1 } \[

    If \(c_2 = 0\), then \({x_2(t) \over x_1(t)} =  {v_2 \over v_1}\). 

    No other constant slopes, but 
    \(\displaystyle\lim_{t \rightarrow \pm\infty}{x_2(t) \over x_1(t)} = {v_2 \over v_1}\)
     fill fill fill fill fill fill fill fill fill fill fill fill fill fill fill fill
    Example:  Solve  \({\bf x}' = \left[\matrix{ 3& 1  \cr 0  & 3}\right] {\bf x}\)

    Repeated root eigenvalue \(r = 3\)

    To find eigenvector corresponding to eigenvalue 3, solve \((A - 3I) {\bf x} = {\bf 0}\):

    \(A - 3I =  \left[\matrix{ 0& 1  \cr 0  & 0\right]\)}


    Thus \(x_1\) is free and \(x_2 = 0\).  Thue \({\bf v} =  \left[\matrix{  1  \cr 0 }\right]\) is an eigenvector corresponding to eigenvalue 3.

    {\bf To find generalized eigenvector {\bf w} corresponding to \hb eigenvalue 3 and eigenvector {\bf v}, }

    \bf solve \((A - 3I) {\bf w = {\bf v} =  \left[\matrix{  1  \cr 0 }\right]\) }

    Solve  \(\left[\matrix{ 0& 1  \cr 0  & 0}\right] \left[\matrix{  w_1  \cr w_2 }\right] =  \left[\matrix{  1  \cr 0 }\right]\)
     

    Thus can choose \( \left[\matrix{  w_1  \cr w_2 }\right] =  \left[\matrix{  0  \cr 1 }\right]\)

    Hence general solution is ${\bf x} = c_1 \left[\matrix{  1  \cr 0 }\right]e^{3t}
    +  c_2\left( t\left[\matrix{  1  \cr 0 }\right] +\left[\matrix{  0  \cr 1 }\right] \right) e^{3t}$

    \end

    Section 7.9: Nonhomogeneous Linear Systems

    Chapter 8: Numerical Methods

    Section 8.1: The Euler or Tangent Line Method

    Section 8.2: Improvements on the Euler Method

    START 100/FALL18/quiz5ans.tex part 2

    \nopagenumbers

    Quiz 5 ~~~SHOW ALL WORK\hfil \break
    Nov 30, 2018

    [5]~ 4.)  Use  Picard's iteration method to find a degree 3  polynomial approximation for the solution to
     the initial value problem,  \(y'= y + 6t^2\), \(y(0) = 0\).  Start with \(\phi_0(t) = 0\).


    \(\phi_1(t) =\) $ \int_0^t f(s, \phi_0(s))ds = \int_0^t(\phi_0(s) + 6s^2)ds = 
    \int_0^t( 6s^2)ds = \int_0^t 2s^3|_0^2 = 2t^3$
     

    Approximation: \(\underline{~~y = 2t^3~~\)}

    \end

    Section 8.3: The Runge-Kutta Method

    Section 8.4: Multistep Methods

    Section 8.5: Systems of First-Order Equations

    Section 8.6: More on Errors; Stability


    Chapter 9: Nonlinear Differential Equations and Stability

    Section 9.1: The Phase Plane: Linear Systems

    START 100/FALL16/quiz6F16ans.tex part 2


     
     [4]~~ 2a.)  Solve:  \({\bf x}' = \left[\matrix{ 1 & 5 \cr 2 & 3}\right] {\bf x}\)


    Find eigenvalues:  

      $\left|\matrix{ 1-r & 5 \cr 2 & 3-r}\right| = 
    (1-r)(3-r) - 10 = r^2 - 4r + 3 - 10 = r^2 - 4r - 7 = 0$
      
      $r = {4 \pm  qrt{16 - 4(-7)} \over 2} = {4 \pm  qrt{4(4 +7)} \over 2}
    = {4 \pm 2 qrt{11} \over 2} = 2 \pm  qrt{11}$.

    \(2 +  qrt{11} > 0\) and \(2 -  qrt{11} < 0\).  
    Thus the critical point \({\bf x} = {\bf 0}\)  is an unstable saddle point.

    Find eigenvectors:

     \(\left[\matrix{ 1-(2 \pm  qrt{11}) & 5 \cr 2 & 3-(2 \pm  qrt{11})}\right]\) =  \(\left[\matrix{ -1 \mp  qrt{11} & 5 \cr 2 & 1 \mp  qrt{11}}\right]\)
     
     \(\left[\matrix{ -1 \mp  qrt{11} & 5 \cr 2 & 1 \mp  qrt{11}}\right]\)
     \(\left[\matrix{ 5 \cr  1 \pm  qrt{11}}\right]\) = 
     $\left[\matrix{ 5(-1 \mp  qrt{11}) +5(  1 \pm  qrt{11}) \cr
     10+(1 \mp  qrt{11})(  1 \pm  qrt{11}) }\right]\(= \)\left[\matrix{ 0 \cr 0}\right]$

    Thus  \(\left[\matrix{ 5 \cr  1 \pm  qrt{11}}\right]\) is an eigenvector 
    with eigenvalue  \(2 \pm  qrt{11}\).
     fill fill fill fill

    Answer:  ~~
    ${\bf x 
    = c_1 \left[\matrix{ 5 \cr  1 +  qrt{11}}\right] 
    e^{(2 +  qrt{11})t} +  c_2 \left[\matrix{ 5 \cr  1 -  qrt{11}}\right] 
    e^{(2 -  qrt{11})t}$ ~~}

    [2]~~ 2b.)  Determine if the critical point is stable, asymptotically stable, or unstable.

    unstable

    [1]~~ 2c.)  Draw the direction field and sketch a few trajectories.  

    Graph \(x_2 = {1 +  qrt{11} \over 5}x_1\) and 
    \(x_2 = {1 -  qrt{11} \over 5}x_1\)  for \(x_1 > 0\) and \(x_1 < 0\) along with some other trajectories.


    \includegraphics[width=100ex]{quiz6em4fig.pdf}

    \end

    START 100/FALL18/OLD/quiz6ans.tex part 2

    [7]~~ 2.)   The slope field for a first order differential equation is shown below.
    In addition to determining and classifying all equilibrium solutions (if any), also draw the trajectories satisfying the initial values \(y(0) = 3\) and \(y(1) = 0\).   

    ~~~~~~~~{\includegraphics[width=21ex]{quiz6b.PNG}}
    \hskip 2in No equilibrium solution.
    2a.)  % {1, (x-1)(x+2)}/(100*sqrt(1 + [(x-1)(x+2)]^2))

    ~~~~~~~~~{\includegraphics[width=20ex]{quiz6a.PNG}}
    \hskip 2in Unstable quilibrium solution:  \(y = 2\).
    2b.)   % {1, (x-1)(x+2)}/(100*sqrt(1 + [(x-1)(x+2)]^2))

    \end

    START 100/SPRING13/exam2ANS.tex part 3

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{9.8in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
    \begin{document}

    22M:100 (MATH:3600:0001) Exam 2 [April 27, 2013] Answers

    [12]~ 2.)  The phase portrait for  \(\frac{dx}{dt} =x(y-2) \) and \(\frac{dy}{dt} = x + 3\)
    is drawn below. Find all equilibrium solutions and determine whether the critical point is asymptotically stable, stable, or unstable.  Also classify it as to type (nodal source, nodal sink, saddle point, spiral source, spiral sink, center).

     equilibrium solutions: \(\frac{dx}{dt} =x(y-2)= 0 \) and \(\frac{dy}{dt} = x + 3 = 0\)

    Hence [\(x = 0\) or \(y = 2\)] and [\(x = -3\)].  Thus \((x, y) = (-3, 2)\) is the only solution 
    satisfying both 
    equations,

    Equilibrium solution: \(\underline{~~ (x, y) = (-3, 2) ~~\)}
     

    ~~~Stability : \(\underline{~~stable~~\) \hfill Type: \(\underline{~~center~~}\)~~~}

    \end

    START 100/FALL18/final3600_F2016ans.tex part 6

    \documentclass[12pt]{article}

     etlength{\topmargin}{-1in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10.1in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}

    \begin{document}

    MATH:3600:0002 Final Exam \hfil \break
    Dec. 12, 2016 \hfill SHOW ALL STEPS \hfill

    [10]~ 5a.)  Solve  \({\bf x}' = \left(\matrix{ 4 & 5 \cr 4 & 3}\right){\bf x}\)


    Find eigenvalues:

    $\left|\matrix{ 4 - r & 5 \cr 4 & 3 -r}\right| = (4-r)(3-r) - 20
    = r^2 - 7r + 12 - 20 = r^2 -7r - 8 = (r-8)(r+1) = 0$

    \(r = 8, -1\).

    Find eigenvectors:

    \(r = 8\):  \(\left(\matrix{ 4 - 8 & 5 \cr 4 & 3 -8}\right)\)

    $\left(\matrix{ -4 & 5 \cr 4 & -5}\right)
    \left(\matrix{  5 \cr 4 }\right) = \left(\matrix{ 0 \cr 0}\right)$

    \(r = -1\):  \(\left(\matrix{ 4 +1 & 5 \cr 4 & 3 +1}\right)\)

    $\left(\matrix{ 5 & 5 \cr 4 & 5}\right)
    \left(\matrix{  ~~1 \cr -1 }\right) = \left(\matrix{ 0 \cr 0}\right)$

     fill
    Answer:  \(\underline{~~y = c_1e^{8t\left(\matrix{  5 \cr 4 }\right)  + c_2e^{-t}\left(\matrix{  ~~1 \cr -1 }\right) ~~}\)}

     
    [4]~  5b.)  Find all equilibrium solutions and determine whether the critical point is asymptotically stable, stable, or unstable.  Also classify it as to type (nodal source, nodal sink, saddle point, spiral source, spiral sink, center).

    Equilibrium solution: \(\underline{\left(\matrix{  x_1 \cr x_2 \right) = \left(\matrix{  0 \cr 0 }\right) }\)}
      

    ~~~Stability : \(\underline{~~unstable~~\) \hfill Type: \(\underline{~~saddle~~}\)~~~}

     
    [4]~  5c.)   Plot a phase portrait for this system
     

    \includegraphics[width = 2.7in]{grapht.eps}

    \end

    START quiz5Fall2017ans.tex part 2

    [10]~~2.)  Write \(y =  qrt{3}cos(5t) - sin(5t)\) in the form \(y = Rcos(\omega t - \delta)\).  Determine the period, phase, and amplitude.

    \(y \]=  \underline{2cos(5t +  {\pi \over 6})}\) 

    period\(=  \underline{~~

    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/University_of_Iowa/Differential_Equations_for_Engineers/04:_Problems_from_Math_2560_3600), /content/body/div[9]/div[1]/div[5]/p[3]/span, line 1, column 2
    
    ~~}\), phase$=  \underline{~~ -{\pi 
    \over 6}~~}\(, and amplitude\)=  \underline{~~ 2~~}$.


    amplitude = \(R =  qrt{c_1^2 + c_2^2} =  qrt{3 + 1} =  qrt{4} = 2\)

    phase = \(\delta\) where \(tan(\delta) = {c_2 \over c_1} = {-1 \over  qrt{3}}\).

    Note if you plot \((Rcos(\delta), Rsin(\delta) = ( qrt{3}, -1)\), you can see the angle the vector \( ( qrt{3}, -1)\) forms with the positive \(x\) axis is \(-{\pi \over 6}\).  Thus \(\delta = -{\pi \over 6}\)

    ---

    Derivation:
    \(Rcos(\omega t - \delta) = Rcos(\delta) R(\omega t) + Rsin(\delta)Rsin(\omega t) =   qrt{3}cos(5t) - sin(5t)\)

    Thus \(\omega = 5\), period = \({2\pi \over 5}\), and $ Rcos(\delta) =  
     qrt{3}\(, \)Rsin(\delta) =  - 1$

    Thus \(tan(\delta) = {R sin(\delta) \over Rcos(\delta) } = {-1 \over  qrt{3}}\).

    Since  \(cos(\delta) > 0\) and \(sin(\delta) < 0\), \(\delta\) is in quadrant 4 ( i.e, \(-{\pi \over 2} < \delta < 0)\).  Thus \(\delta = -{\pi \over 6}\)  

     fill
    \end

    START 100/FALL18/quiz5ans.tex part 3

    [7]~~ 2.)   The slope field for a first order differential equation is shown below.
    In addition to determining and classifying all equilibrium solutions (if any), also draw the trajectories satisfying the initial values \(y(0) = 3\) and \(y(1) = 0\).   

    ~~~~~~~~{\includegraphics[width=21ex]{quiz6b.PNG}}
    \hskip 2in No equilibrium solution.
    2a.)  % {1, (x-1)(x+2)}/(100*sqrt(1 + [(x-1)(x+2)]^2))

    ~~~~~~~~~{\includegraphics[width=20ex]{quiz6a.PNG}}
    \hskip 2in Unstable quilibrium solution:  \(y = 2\).
    2b.)   % {1, (x-1)(x+2)}/(100*sqrt(1 + [(x-1)(x+2)]^2))
    \end

    Section 9.2: Autonomous Systems

    START 100/9_3.tex


    9.3 Locally linear systems.
    \u


    Just like in Calc 1, we are interested in critical points.  In this class, 
    these are equilibrium solutions, \((x(t), y(t)) = (x_0, y_0)\), i.e constant 
    solutions in  \((x, y, t)\) space which thus project to a point in the $(x, 
    y)$ phase plane.

    Just like in Calc 1, we will use linear approximations to determine what 
    solutions look like near the critical point in the \((x, y)\) phase plane.

    For Calc 1, linear approximation of \(f\) at \(x_0\) = tangent line.  Thus by Taylor's theorem:

      \(f(x) = f(x_0) + f'(x_0)(x - x_0) + \eta(x)\) where \(\eta\) is error term.

    For a function of 2 variables, if we fix \(y = y_0\), then

    \(F(x, y_0) = F(x_0, y_0) + F_x(x_0, y_0)(x - x_0)  + \eta(x, y_0)\)

    The visualization when \(x\) and \(y\) are functions of \(t\) when given an 
    autonomous system of differential equations \({dx \over dt} = F(x, y)\),  
    \({dy \over dt} = G(x, y)\) is much more interesting than the calc 1 case.  
    It is also different than the case when \(z\) is a function of \(t\) and \(s\). 

    {\bf Goal:  Find linear approximation for 
    autonomous system of \(1^{st} \) order D. E.:
    \(x' = F(x, y)\), \(y' = G(x, y)\)
    And use this linear approximation to determine what a trajectory $(x(t), 
    y(t))\(, \)t \in (a, b)$ looks like near a critical point.}

    We will approximate the two functions, \(z_1 = F(x, y)\) and \(z_2 = G(x, y)\).  By Taylor's theorem, if \(F\) and \(G\) have continuous partial derivatives up 
    to order two, then 

    $F(x, y) = F(x_0, y_0) + F_x(x_0, y_0)(x - x_0) + F_y(x_0, y_0)(y - y_0) + 
    \eta_1(x, y)$

    \w
     
    $G(x, y) = G(x_0, y_0) + G_x(x_0, y_0)(x - x_0) + G_y(x_0, y_0)(y - y_0) + 
    \eta_2(x, y)$

    \w
    x_0)^2 + (y - y_0)^2}} = 0$}
    \w

    Since \((x_0, y_0)\) is a critical point, \(F(x_0, y_0) = 0\) and $G(x_0, y_0) 
    = 0$.  Thus

    \({d \over dt}\left[\matrix{ x- x_0 \cr y - y_0}\right] \) =
    \({d \over dt}\left[\matrix{ x \cr y }\right] \) =
    \(\left[\matrix{F(x, y) \cr G(x, y)}\right]\)
    $= \left[\matrix{F_x(x_0, y_0) & F_y(x_0, y_0) \cr G_x(x_0, y_0) & 
    G_y(x_0, y_0)}\right]$
    \(\left[\matrix{ x- x_0 \cr y - y_0}\right] +\)
    \(\left[\matrix{\eta_1(x, y) \cr \eta_2(x, y)}\right]\)

    Note $\left[\matrix{F_x(x_0, y_0) & F_y(x_0, y_0) \cr G_x(x_0, y_0) & 
    G_y(x_0, y_0)}\right]$
    is a matrix with constant entries.


    Let $\left[\matrix{ u_1 \cr u_2}\right]  = \left[\matrix{ x- x_0 \cr y - 
    y_0}\right] $


    Then a {\bf translated} linear approximation of the above matrix D. E. 
    equation is
    \w
    \({d \over dt\left[\matrix{ u_1 \cr u_2 }\right] \) 
    $= \left[\matrix{F_x(x_0, y_0) & F_y(x_0, y_0) \cr G_x(x_0, y_0) & 
    G_y(x_0, y_0)}\right]$
    \(\left[\matrix{ u_1 \cr u_2}\right] \)}

    Note by substituting \(u_1 = x - x_0\), \(u_2 = y - y_0\), we have {\bf 
    translated} our critical point \((x_0, y_0)\) in the \(x, y\)-phase plane to 
    the  origin (0, 0) in the \(u_1, u_2\)-phase plane.


    Defn: \(J(x, y) = \left[\matrix{F_x& F_y \cr G_x & G_y}\right]\) is the {\it 
    Jacobian matrix} of \(F\) and \(G\). 

    Defn:  \(det(J(x, y))\) is the {\it Jacobian}.

    We will restrict to the case \(det(J(x_0, y_0)) \not= 0\) for the following 
    reasons:

    Just like in Calc 1, we will restrict to only looking at isolated critical 
    points.  That is we can find an \(\epsilon-\)ball around \((x_0, y_0)\) such 
    that this \(\epsilon-\)ball does not contain any other critical points.  
    That is,\hb
     \((x_0, y_0)\) is the unique critical point in the region defined by $ 
     qrt{(x - x_0)^2 + (y - y_0)^2} < \epsilon$

    In other words, if \({\bf x}' = A{\bf x}\) is a linear approximation to the 
    autonomous system of first order D. E.:
    {\(x' = F(x, y)\), \(y' = G(x, y)\)}
     near \((x_0, y_0)\), then we will restrict to the case when $det(A) \not= 
    0$. 

    {\bf The stability of the critical point \((x, y) = (x_0, y_0)\) of the 
    system \hb
    \(x' = F(x, y)\), \(y' = G(x, y)\) will depend on both }

    (1.) The stability of the critical point \((x, y) = (0, 0)\) of its 
    translated linear approximation  \({\bf x}' = A{\bf x}\).

    (2.) How stable is the stability of the critical point \((x, y) = (0, 0)\) 
    of its translated linear approximation  \({\bf x}' = A{\bf x}\).


    Example: ~~~~~~ \(x' = x - xy\), ~\(y' = -y + xy\) \hfill Eqn (*)

    critcal points:   \(x' = x - xy = x(1 - y)= 0\) implies \(x = 0\) or \(y = 1\), 
    ~~~~~~~~~~~\(y' = -y + xy = y(-1 + x) = 0\) implies \(y = 0\) or \(x = 1\).
    Break into cases using 1rst equation (or any equation of your choice)
    \u
    Case 1:  If \(x = 0\), then \(y = 0\) by second case. Thus (0, 0) is a 
    critical point. \hb
    Case 2:  If \(y = 1\), then \(x = 1\) by second case. Thus (1, 1) is a 
    critical point.


    Jacobian matrix:   \(\left[\matrix{F_x& F_y \cr G_x & G_y}\right] = \left[\matrix{1 - y & -x \cr y & -1 + x}\right]\)

    Case 1:  \((x_0, y_0) = (0, 0)\).

    The linear approximation to non-linear differential equation (*) is 

    \({\bf x}' =  \left[\matrix{1  & 0 \cr 0 & -1 }\right]{\bf x}\)

    Determine stability of critical point (0, 0) of linear approximation:

    Short method:  \(eigenvalues = 1, -1\), thus (0, 0) is an unstable saddle 
    point of the linear approximation.  
    If we slightly perturb \((p, q) = (a + d, ad - bc) = (0, -1)\), we still have an unstable saddle point.  

    Thus  \((x_0, y_0) = (0, 0)\) is an unstable saddle point of the nonlinear 
    system of  D.E., \hb 
     \(x' = x - xy\), ~\(y' = -y + xy\)

    Longer method:  $det(A - rI) = \left|\matrix{1 - r  & 0 \cr 0 & -1 - r 
    }\right| = (1-r)(-1 - r) = r^2 - 1 = 0$

    Thus $r = {0 \pm  qrt{0^2 - 4(-1)} \over 2} =  {p\pm  qrt{p^2 - 4(q)} 
    \over 2}  \( where \)r^2 - pr + q = 0\(.  I.e., \)p = 0\(, \)q = -1$.  See 
    figure 9.1.9 in your text.

    Thus (0, 0) is an unstable saddle point of the linear approximation.  
    If we slightly perturb the linear approximation differential equation, 
    then we will still have one positive and one negative eigenvalue (since 
    values close to the eigenvalue 1 will still be positive and values close 
    to the eigenvalue -1 will still be negative.  Thus we still have an 
    unstable saddle point.  Similarly, in figure 9.1.9 when \(p = 0\), \(q = -1\),  
    we get an unstable saddle point  for small perturbations of \(p\) and \(q\).

    Thus  \((x_0, y_0) = (0, 0)\) is an unstable saddle point of nonlinear 
    system of D.E., 

    \(x' = x - xy\), ~\(y' = -y + xy\)


    Case 2:  \((x_0, y_0) = (1, 1)\).

    The linear translated approximation to non-linear differential equation 
    (*) is 

    \({\bf x}' =  \left[\matrix{0 & -1 \cr 1 & 0}\right]{\bf x}\)

     \(det(A - rI) = \left|\matrix{-r  & -1 \cr 1 & -r }\right| = r^2 + 1 = 0\).  
    Thus  \(r = {0 \pm  qrt{0^2 - 4(1)} \over 2}  = \pm i\).  

    Thus (0, 0) is a stable center point of the  linear translated 
    approximation.

    If we take complex numbers, \(a \pm bi\)  close to the eigenvalues $r = \pm 
    i\(, then \)b\( will be close to 1 and thus positive, but \)a$ will be close 
    to 0 and thus could be positive or negative or 0.   


    Alternatively, see figure 9.1.9 in your text where \(p =a + d =  0\) and \(q= ad - bc = 1\). 

    Hence for the nonlinear equation (*),  the critical point (1, 1) is one of 
    the following \hb
    1.) stable center point \hb
    2.) unstable spiral point \hb
    3.)  asymptotically stable spiral point. 

    \end

    START 100/ch7and9.tex part 5

    Ch 7 and 9


    START 100/ch7and9.tex AND 100/ch9a.tex


    Suppose an object moves in the 2D plane (the \(x_1, x_2\) plane) so that it 
    is at the point \((x_1(t), x_2(t))\) at time \(t\).  Suppose the object's 
    velocity is given by 


    \(x_1'(t) = ax_1 + bx_2\),

     \(x_2'(t) = cx_1 + dx_2\)

    Or in matrix form
    $\left(\matrix{x_1 \cr x_2}\right)' = \left(\matrix{a & b \cr c & 
    d}\right) 
    \left(\matrix{x_1 \cr x_2}\right)$

    To solve, find eigenvalues and corresponding eigenvectors:

    $\left|\matrix{a - r & b \cr c & d-r}\right|
    = (a-r)(d-r) - bc = r^2 - (a + d)r + ad - bc = 0$. 

    Thus $r ={ (a + d) \pm  qrt{(a + d)^2 - 4(ad - bc) \over 
    2}$}


    {\bf Case 1:}  \((a + d)^2 - 4(ad - bc) > 0\)

    Hence the general solutions is 
    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1\cr 
    v_2}\right)e^{r_1t} + c_2\left(\matrix{w_1\cr w_2}\right)e^{r_2t}$

    Case 1a:  \(r_1 > r_2 > 0\)
     
    Case 1b:  \(r_1 < r_2 < 0\)
     
    Case 1c:  \(r_2 < 0 < r_1\)
     

    {\bf Case 2:}  \((a + d)^2 - 4(ad - bc) = 0\)

    Case 2i:  Two independent eigenvectors:

    The general solution is 
    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1\cr 
    v_2}\right)e^{rt} + c_2\left(\matrix{w_1\cr w_2}\right)e^{rt}$

    Case 2ii:  One independent eigenvectors:

    The general solution is 
    $\left(\matrix{x_1 \cr x_2}\right) = c_1\left(\matrix{v_1\cr 
    v_2}\right)e^{rt} + c_2\left[\left(\matrix{v_1\cr v_2}\right)t  + 
    \left(\matrix{w_1\cr w_2}\right)\right]e^{rt}$

    Case 2a: \(r > 0\)
    ~~~~~~~~~~~~~
    Case 2b:  \(r < 0\)
     


    {\bf Case 3:}  \((a + d)^2 - 4(ad - bc) < 0\).  I.e., $r = \lambda \pm i 
    \mu$

    Suppose  eigenvector corresponding to eigenvalue is
     
    $\left(\matrix{v_1 \pm iw_1\cr v_2 \pm iw_2}\right) = \left(\matrix{v_1\cr 
    v_2}\right) \pm  i\left(\matrix{w_1\cr w_2}\right)$

    Then general solution is 


    $\left[\matrix{x_1 \cr x_2}\right] = c_1e^{\lambda t} \left(\left[\matrix{v_1 
     \cr v_2 }\right]cos(\mu t) -
    \left[\matrix{w_1 
     \cr w_2 }\right]sin(\mu t)
    \right)$


    c_2
    e^{\lambda t} \left(\left[\matrix{v_1 
     \cr v_2 }\right]sin(\mu t) +
    \left[\matrix{w_1 
     \cr w_2 }\right]cos(\mu t)
    \right)$}

    Case 3a:  \(\lambda > 0\)
     
    Case 3a:  \(\lambda < 0\)
     
    Case 3a:  \(\lambda = 0\)
     

    \end


    \end
    \end

    \end

    START 100/ch9a.tex

    Let \(p = trace(A) = a + d\) and let \(q = det A = ad - bc\)

    Then \(r = { p  \pm  qrt{p^2 - 4q} \over 2}\)

     Thus the type of solution depends on \((p, q)\) 
    \u
    \u
    {\includegraphics[width=35ex]{Phase-portraits-for-a-system-of-linear-first-order-differential-equations.png}}
    \hfill
    {\includegraphics[width=35ex]{300px-Phase_plane_nodes.svg.png}}

    \font\fivess = cmss10 scaled 500 

    {\fivess http://digital-library.theiet.org/co...-gtd\_20080456
    \hfill
    https://en.wikipedia.org/wiki/Phase\_plane}
    ~
     fill

    {\includegraphics[width=70ex]{Phase_plane_nodes1.PNG}}  %.png}}
    \end
    https://en.wikipedia.org/wiki/Phase\_plane


    ~
     fill


    ht
    ~
     fill

    {\includegraphics[width=70ex]{300px-Phase_plane_nodes.png}}%.png}}

    https://en.wikipedia.org/wiki/Phase\_plane

    tps://en.wikipedia.org/wiki/Phase\_plane

    \end

    {\includegraphics[width=70ex]{Phase_plane_nodes.png}}

    http://digital-library.theiet.org/co...-gtd\_20080456
    \end

    START 100/FALL18/OLD/quiz6ans.tex part 3

    \nopagenumbers

    Quiz 6 ~~~SHOW ALL WORK\hfil \break
    Nov 30, 2018

    [13]~~ 1.)  Find all equilibrium solutions and classify them (stable, 
    asymptotically stable, semi-stable, unstable and if system of DEs, 
    node, saddle, spiral, center).  For the non-linear system of DEs, state all possibilities for type of equilibrium solution.  

    1a.)  \(y' = (y - 3)(y - 5)^8\)
    ~~~~~
    \(y = 3\) is unstable, \(y = 5\) is semi-stable.
     

    1b.)  \(x' = y - 1\), ~\(y' = (x-3)y\)
     
    If \(y -1= 0\), then \(y =  1\)

    If \(y = 1\), then \((x-1)y =  x-3 = 0\).  Thus \(x = 3\).

    Jacobian matrix: \(\left[\matrix{0  & y \cr  y & x-3 }\right] \)

    For \((x, y) =  (1, 3)\), Jacobian matrix is \(\left[\matrix{0  & 1 \cr  1 & 0 }\right] \)

    ~~~Thus \((x(t), y(t)) = (1, 3)\) is a stable center or unstable spiral or asymptotically stable spiral.
     fill 


    [8]~ 3.)  The stream plot in the \(x_1\)-\(x_2\) plane for a system of two first order differential equations is shown below.
    In addition to determining and classifying the {\bf 4} equilibrium solutions, also draw the trajectory satisfying the initial value \((x_1(0), x_2(0) )=(0, -2)\).   Also describe the basins of attraction for each asymptotically stable equilibrium solutions.

    ~~~~~~~~~~{\includegraphics[width=25ex]{quiz6c.PNG}}

    \hskip 2.6in \( (x_1(t), x_2(t) )= (0, 0)\) is an unstable saddle. 

    \hskip 2.6in \( (x_1(t), x_2(t) )= (1, 2)\) is an asymptotically stable node. 

    \hskip 3in basin of attraction:  \(x_1 > 0\).

    \hskip 2.6in \( (x_1(t), x_2(t) )= (-1, 2)\) is an asymptotically stable node.

    \hskip 3in basin of attraction:  \(x_1 < 0\).

    [5]~ 4.)  Use  Picard's iteration method to find a degree 3  polynomial approximation for the solution to
     the initial value problem,  \(y'= y + 6t^2\), \(y(0) = 0\).  Start with \(\phi_0(t) = 0\).


    \(\phi_1(t) =\) $ \int_0^t f(s, \phi_0(s))ds = \int_0^t(\phi_0(s) + 6s^2)ds = 
    \int_0^t( 6s^2)ds = \int_0^t 2s^3|_0^2 = 2t^3$
     

    Answer: \(\underline{\hskip 4in\)}


    \end

    START 100/dfieldpracticeANSa.tex

    \nopagenumbers

    Recall that a constant solution is an equilibrium solution.  Thus its derivative is 0.

    To find an equilibrium solution (i.e., constant solution), plug it in (for example, plug in \(y(t) = k\) or \(x_1(t) = k_1, x_2(t) = k_2\) depending on variables used and if you have one DE or a system of two DEs).  Since the derivative of a constant is zero, this is equivalent to setting the derivative = 0.

    Find all equilibrium solutions and classify them (stable, 
    asymptotically stable, semi-stable, unstable and if system of DEs, 
    node, saddle, spiral, center).  In the case of non-linear system of DEs, state all possibilities for type of equilibrium solution.

    If the (system of) differential equation(s) does not have an equilibrium solution, state so (note 4 of the following 16 problems below do not have an equilibrium solution).

    Hint: The eigenvalues of upper and lower triangular matrices are the diagonal entries. \hfil \break
    Note: You do not need to draw any direction fields.

    1.)  \(y' = (y - 3)^4(y - 5)^9\)
    ~~~~~
    \(y = 3\) is semi-stable, \(y = 5\) is unstable.
     

    2.)  \(y' = y^2 + 2\)
    ~~~~~
    no equilibrium solution.
     

    3.)  \(y' = sin(y)\)
    ~~~~~
    \(y = 2n\pi\) is unstable, \(y = (2n+1) \pi\) is asymptotically stable. 

     
    4.)  \(y' = sin(t)\)
    ~~~~~
    no equilibrium solution.

     
    5.)   \(y' = sin^2(y)\)
    ~~~~~
    \(y = n\pi\) is semi-stable.
     

    6.)  \(y' = sin^2(t)\) ~~~~~
    no equilibrium solution.
     
    7.)  \(y' = ty\)
    ~~~~~
    \(y = 0\) is unstable.

     
    8.)  \(x' =4 - y^2\), ~\(y' = (x+1)(y-x)\)

    If \(4 - y^2 = 0\), then \(y = \pm 2\)

    If \(y = 2\), then \((x+1)(y-x) = (x+1)(2-x) = 0\).  Thus \(x = -1, 2\).

    If \(y = -2\), then \((x+1)(y-x) = (x+1)(-2-x) = 0\).  Thus \(x = -1, -2\).

    Jacobian matrix: \(\left[\matrix{0  & -2y \cr  y - 2x - 1 & x+1 }\right] \)


    For \((x, y) =  (-1, 2)\), Jacobian matrix is \(\left[\matrix{0  & -4 \cr  3 & 0 }\right] \)


    ~~~Thus \((x(t), y(t)) = (-1, 2)\) is a stable center or unstable spiral or asymptotically stable spiral.

    For \((x, y) = (2, 2)\), Jacobian matrix is \(\left[\matrix{0  & -4 \cr  -3 & 3 }\right] \)

    ~~~Thus \((x(t), y(t)) = (2, 2)\) is an unstable saddle.

    For \((x, y) = (-1, -2)\), Jacobian matrix is \(\left[\matrix{0  & 4 \cr  -1 & 0 }\right] \)

    ~~~Thus \((x(t), y(t)) = (-1, -2)\) is a stable center or unstable spiral or asymptotically stable spiral.

    For \((x, y) = (-2, -2)\), Jacobian matrix is \(\left[\matrix{0  & 4 \cr  1 & -1 }\right] \)

    ~~~Thus \((x(t), y(t)) = (-2, -2)\) is an unstable saddle.

     
    9.) \(x' = x - 2\), ~\(y' = x-1\)
    ~~~~~
    no equilibrium solution.
     
    10.) \({\bf x}' =  \left[\matrix{1  & 0 \cr 0 & -2 }\right]{\bf x}\)

    One positive (1) and one negative eigenvalue (-2).  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an unstable saddle. 


     
    11.) \({\bf x}' =  \left[\matrix{1  & 0 \cr 5 & -2 }\right]{\bf x}\)

    One positive (1) and one negative eigenvalue (-2).  Thus \((x_1(t), x_2(t) )= (0, 0)\) is an unstable saddle. 

     
    12.) \({\bf x}' =  \left[\matrix{0  & 1 \cr -1 & 0 }\right]{\bf x}\)

    Purely imaginary  eigenvalues  \(i, -i\).  Thus \((x_1(t), x_2(t)) = (0, 0)\) is a stable center. 

     
    13.) \({\bf x}' =  \left[\matrix{1  & 0 \cr 5 & 2 }\right]{\bf x}\)

    Two positive eigenvalues 1, 2.  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an unstable node. 

     
    14.) \({\bf x}' =  \left[\matrix{0  & 1 \cr -5 & -2 }\right]{\bf x}\)

    Two complex eigenvalues, \(-1 \pm 2i\), with negative real part.  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an asymptotically stable spiral. 

     
    15.) \({\bf x}' =  \left[\matrix{0  & 1 \cr -5 & 2 }\right]{\bf x}\)

    Two complex eigenvalues, \(1 \pm 2i\),  with positive real part.  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an unstable spiral. 

     
    16.) \({\bf x}' =  \left[\matrix{-1  & 0 \cr 5 & -2 }\right]{\bf x}\)

    Two negative eigenvalues -1, -2.  Thus \( (x_1(t), x_2(t) )= (0, 0)\) is an asymptotically stable node. 

    Problems 17 - 20 show the slope field for a first order differential equations.
    In addition to determining and classifying all equilibrium solutions (if any), also draw the trajectories satisfying the initial values \(y(0) = 1\), \(y(1) = 0\), \(y(1) = 2\), \(y(0) = -3\).   

    ~~~~~~~~~~{\includegraphics[width=25ex]{17.PNG}}
    \hskip 2in No equilibrium solution.
    17.) % {1, (x-1)(x+2)}/(100*sqrt(1 + [(x-1)(x+2)]^2))
    ~~~~~~~~~~{\includegraphics[width=25ex]{18.PNG}}
    \hskip 2in \(y = 1\) is unstable. \(y = -2\) is asymptotically stable.
    18.)
    ~~~~~~~~~~{\includegraphics[width=25ex]{19.PNG}}
    \hskip 2in \(y = 1\) is unstable. \(y = -2\) is semi-stable.
    19.)
    ~~~~~~~~~~{\includegraphics[width=25ex]{20.PNG}}
    \hskip 2in \(y = -2\) is unstable.
    20.)

    Problems 21-23 show the stream plot in the \(x_1-x_2\)-plane for a system of two first order differential equations
    In addition to determining and classifying all equilibrium solutions, also draw the trajectories satisfying the initial values \((x_1(0), x_2(0) )=(0, 1)\), \((x_1(0), x_2(0) )=(1, 0)\), \((x_1(0), x_2(0) )=(1, 2)\), \((x_1(0), x_2(0) )=(-1,0)\).   Also describe the basins of attraction.

    ~~~~~~~~~~{\includegraphics[width=34ex]{21q}}
    \hskip 2.6in \( (x_1(t), x_2(t) )= (0, 0)\) is an unstable saddle. 

    \hskip 2.6in \( (x_1(t), x_2(t) )= (1, 2)\) is an asymptotically stable node. 

    \hskip 3in basin of attraction:  \(x_1 > 0\).

    \hskip 2.6in \( (x_1(t), x_2(t) )= (-1, 2)\) is an asymptotically stable node.

    \hskip 3in basin of attraction:  \(x_1 < 0\).

    21.) %streamplot[{x(2-y), (2x^2 - y)}, {x,-3, 3},{y, -1.5, 4} %streamplot[{x(2-y), (x^2 - y)}, {x,-3, 3},{y, -2, 4}]
    ~~~~~~~~~~{\includegraphics[width=34ex]{22q}}
    \hskip 2.6in \( (x_1(t), x_2(t) )= (2, 2)\) is an unstable saddle. 

    \hskip 2.6in \( (x_1(t), x_2(t) )= (-2, -2)\) is an asympt. stable spiral. 

    \hskip 2.8in basin of attraction:  

    \hskip 4in 
    {\includegraphics[width=30ex]{22ba}}

    22.) %streamplot[{ -4 + y^2,  x^3 - 4y)}, {x,-8, 6},{y, -10, 6}   streamplot[{ -4 + y^2,  x^3 - 4y)}, {x,-7, 7},{y, -7, 7}
     fill
    ~~~~~~~~~~{\includegraphics[width=34ex]{23q}}
    \hskip 2.6in \( (x_1(t), x_2(t) )= (0, 0)\) is an unstable node. 

    \hskip 2.6in  No basin of attraction:  \(x_1 < 0\).

    23.) %streamplot[{ x, x + 2y)}, {x,-3, 3},{y, -3, 3}]


    \end

    START 100/dfieldpracticeANSold.tex

    \nopagenumbers

    Recall that a constant solution is an equilibrium solution.  Thus its derivative is 0.

    To find an equilibrium solution (i.e., constant solution), plug it in (for example, plug in \(y(t) = k\) or \(x_1(t) = k_1, x_2(t) = k_2\) depending on variables used and if you have one DE or a system of two DEs).  Since the derivative of a constant is zero, this is equivalent to setting the derivative = 0.

    Find all equilibrium solutions and classify them (stable, 
    asymptotically stable, semi-stable, unstable and if system of DEs, 
    node, saddle, spiral, center).  In the case of non-linear system of DEs, state all possibilities for type of equilibrium solution.

    If the (system of) differential equation(s) does not have an equilibrium solution, state so (note 4 of the following 16 problems below do not have an equilibrium solution).

    Hint: The eigenvalues of upper and lower triangular matrices are the diagonal entries. \hfil \break
    Note: You do not need to draw any direction fields.

    1.)  \(y' = (y - 3)^4(y - 5)^9\)
    ~~~~~
    \(y = 3\) is semi-stable, \(y = 5\) is unstable.
     

    2.)  \(y' = y^2 + 2\)
    ~~~~~
    no equilibrium solution.
     

    3.)  \(y' = sin(y)\)
    ~~~~~
    \(y = 2n\pi\) is unstable, \(y = (2n+1) \pi\) is asymptotically stable. 

     
    4.)  \(y' = sin(t)\)
    ~~~~~
    no equilibrium solution.

     
    5.)   \(y' = sin^2(y)\)
    ~~~~~
    \(y = n\pi\) is semi-stable.
     

    6.)  \(y' = sin^2(t)\) ~~~~~
    no equilibrium solution.
     
    7.)  \(y' = ty\)
    ~~~~~
    \(y = 0\) is unstable.

     
    8.)  \(x' =4 - y^2\), ~\(y' = (x+1)(y-x)\)

    If \(4 - y^2 = 0\), then \(y = \pm 2\)

    If \(y = 2\), then \((x+1)(y-x) = (x+1)(2-x) = 0\).  Thus \(x = -1, 2\).

    If \(y = -2\), then \((x+1)(y-x) = (x+1)(-2-x) = 0\).  Thus \(x = -1, -2\).

    Jacobian matrix: \(\left[\matrix{0  & -2y \cr  y - 2x - 1 & x+1 }\right] \)


    For \((x, y) =  (-1, 2)\), Jacobian matrix is \(\left[\matrix{0  & -4 \cr  3 & 0 }\right] \)


    ~~~Thus \((x(t), y(t)) = (-1, 2)\) is a stable center or unstable spiral or asymptotically stable spiral.

    For \((x, y) = (2, 2)\), Jacobian matrix is \(\left[\matrix{0  & -4 \cr  -3 & 3 }\right] \)

    ~~~Thus \((x(t), y(t)) = (2, 2)\) is an unstable saddle.

    For \((x, y) = (-1, -2)\), Jacobian matrix is \(\left[\matrix{0  & 4 \cr  -1 & 0 }\right] \)

    ~~~Thus \((x(t), y(t)) = (-1, -2)\) is a stable center or unstable spiral or asymptotically stable spiral.

    For \((x, y) = (-2, -2)\), Jacobian matrix is \(\left[\matrix{0  & 4 \cr  1 & -1 }\right] \)

    ~~~Thus \((x(t), y(t)) = (-2, -2)\) is an unstable saddle.

     
    9.) \(x' = x - 2\), ~\(y' = x-1\)
    ~~~~~
    no equilibrium solution.
     
    10.) \({\bf x}' =  \left[\matrix{1  & 0 \cr 0 & -2 }\right]{\bf x}\)

    One positive (1) and one negative eigenvalue (-2).  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an unstable saddle. 


     
    11.) \({\bf x}' =  \left[\matrix{1  & 0 \cr 5 & -2 }\right]{\bf x}\)

    One positive (1) and one negative eigenvalue (-2).  Thus \((x_1(t), x_2(t) )= (0, 0)\) is an unstable saddle. 

     
    12.) \({\bf x}' =  \left[\matrix{0  & 1 \cr -1 & 0 }\right]{\bf x}\)

    Purely imaginary  eigenvalues  \(i, -i\).  Thus \((x_1(t), x_2(t)) = (0, 0)\) is a stable center. 

     
    13.) \({\bf x}' =  \left[\matrix{1  & 0 \cr 5 & 2 }\right]{\bf x}\)

    Two positive eigenvalues 1, 2.  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an unstable node. 

     
    14.) \({\bf x}' =  \left[\matrix{0  & 1 \cr -5 & -2 }\right]{\bf x}\)

    Two complex eigenvalues, \(-1 \pm 2i\), with negative real part.  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an asymptotically stable spiral. 

     
    15.) \({\bf x}' =  \left[\matrix{0  & 1 \cr -5 & 2 }\right]{\bf x}\)

    Two complex eigenvalues, \(1 \pm 2i\),  with positive real part.  Thus \((x_1(t), x_2(t)) = (0, 0)\) is an unstable spiral. 

     
    16.) \({\bf x}' =  \left[\matrix{-1  & 0 \cr 5 & -2 }\right]{\bf x}\)

    Two negative eigenvalues -1, -2.  Thus \( (x_1(t), x_2(t) )= (0, 0)\) is an asymptotically stable node. 

    Problems 17 - 20 show the slope field for a first order differential equations.
    In addition to determining and classifying all equilibrium solutions (if any), also draw the trajectories satisfying the initial values \(y(0) = 1\), \(y(1) = 0\), \(y(1) = 2\), \(y(0) = -3\).   

    ~~~~~~~~~~{\includegraphics[width=25ex]{17.PNG}}
    \hskip 2in No equilibrium solution.
    17.) % {1, (x-1)(x+2)}/(100*sqrt(1 + [(x-1)(x+2)]^2))
    ~~~~~~~~~~{\includegraphics[width=25ex]{18.PNG}}
    \hskip 2in \(y = 1\) is unstable. \(y = -2\) is asymptotically stable.
    18.)
    ~~~~~~~~~~{\includegraphics[width=25ex]{19.PNG}}
    \hskip 2in \(y = 1\) is unstable. \(y = -2\) is semi-stable.
    19.)
    ~~~~~~~~~~{\includegraphics[width=25ex]{20.PNG}}
    \hskip 2in \(y = -2\) is unstable.
    20.)

    Problems 21-23 show the stream plot in the \(x_1-x_2\)-plane for a system of two first order differential equations
    In addition to determining and classifying all equilibrium solutions, also draw the trajectories satisfying the initial values \((x_1(0), x_2(0) )=(0, 1)\), \((x_1(0), x_2(0) )=(1, 0)\), \((x_1(0), x_2(0) )=(1, 2)\), \((x_1(0), x_2(0) )=(-1,0)\).   Also describe the basins of attraction.

    ~~~~~~~~~~{\includegraphics[width=34ex]{21a.PNG}}
    \hskip 2.6in \( (x_1(t), x_2(t) )= (0, 0)\) is an unstable saddle. 

    \hskip 2.6in \( (x_1(t), x_2(t) )= (1, 2)\) is an asymptotically stable node. 

    \hskip 3in basin of attraction:  \(x_1 > 0\).

    \hskip 2.6in \( (x_1(t), x_2(t) )= (-1, 2)\) is an asymptotically stable node.

    \hskip 3in basin of attraction:  \(x_1 < 0\).

    21.) %streamplot[{x(2-y), (2x^2 - y)}, {x,-3, 3},{y, -1.5, 4} %streamplot[{x(2-y), (x^2 - y)}, {x,-3, 3},{y, -2, 4}]
    ~~~~~~~~~~{\includegraphics[width=34ex]{22c.PNG}}
    \hskip 2.6in \( (x_1(t), x_2(t) )= (2, 2)\) is an unstable saddle. 

    \hskip 2.6in \( (x_1(t), x_2(t) )= (-2, -2)\) is an asympt. stable spiral. 

    \hskip 2.8in basin of attraction:  

    \hskip 4in 
    {\includegraphics[width=30ex]{22c.PNG}}

    22.) %streamplot[{ -4 + y^2,  x^3 - 4y)}, {x,-8, 6},{y, -10, 6}   streamplot[{ -4 + y^2,  x^3 - 4y)}, {x,-7, 7},{y, -7, 7}
     fill
    ~~~~~~~~~~{\includegraphics[width=34ex]{23.PNG}}
    \hskip 2.6in \( (x_1(t), x_2(t) )= (0, 0)\) is an unstable node. 

    \hskip 2.6in  No basin of attraction:  \(x_1 < 0\).

    23.) %streamplot[{ x, x + 2y)}, {x,-3, 3},{y, -3, 3}]


    \end

    START 100/SPRING13/final3600ANS.tex part 5

    \documentclass[12pt]{article}

     etlength{\topmargin}{-0.9in}
     etlength{\oddsidemargin}{-.250in}
     etlength{\textwidth}{7.0in}
     etlength{\textheight}{10in}
    \pagestyle{empty}  %% To avoid page numbering
    \usepackage{graphicx}
    \usepackage{epstopdf}
    \usepackage{relsize}


    \usepackage{amsmath}

    \AppendGraphicsExtensions{.gif}
    \DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}


    \begin{document}

    22M:100 (MATH:3600:0001) Final Exam \hfil \break
    May 15, 2013 \hfill SHOW ALL STEPS \hfill

    [20]~ 5.)  Suppose \(\frac{dx}{dt} = (x-3)(y+2)\) and \(\frac{dy}{dt} = 2x - y \). 

    (a.)  State all critical points of this system of differential equations  \underline{~~(3, 6), (-1, -2)~~} 

    \( (x-3)(y+2) = 0\) implies \(x = 3\) or \(y = -2\).

    \(2x - y = 0\) implies if \(x = 3\), then \(y = 6\)  and if \(y = -2\), then \(x = -1\).

    (b.)  State two solutions to this system of differential equations.

    $\begin{pmatrix}
    x \\ y
    \end{pmatrix} = $
    $\begin{pmatrix}
    3 \\ 6
    \end{pmatrix}  \( and \)\begin{pmatrix}
    x \\ y
    \end{pmatrix} = $
    $\begin{pmatrix}
    -1 \\ -2
    \end{pmatrix}  $
      
    (c.)  For the critical point with negative \(x\) coordinate, find the corresponding linear system.\hb

    $\begin{pmatrix}
    y+ 2 & x - 3 \\
    2 & -1
    \end{pmatrix}  \(.  For \)(x, y) = (-1, -2)\(, the Jacobian matrix is \)\begin{pmatrix}
    0 & -4 \\
    2 & -1
    \end{pmatrix}.$ 

    Thus ${\bf x}' = \begin{pmatrix}
    0 & -4 \\
    2 & -1
    \end{pmatrix} {\bf x}$ is the corresponding linear system where the critical point (-1, -2) has been translated to the origin.


    (d.)  Based on the linear translated approximation found in part b, what conclusions regarding stability can you draw about the nonlinear system near the critical point with negative \(x\) coordinate?  

    $( - \lambda)(-1 - \lambda) + 8 = ( \lambda + \lambda^2) + 8 = 
    \lambda^2 + \lambda +8 
    = 0$.  Thus the Jacobian matrix at 
    \((x, y) = (-1, -2)\) has two complex eigenvalues $\lambda = 
    \frac{-1 \pm  qrt{1 - 32}}{2}$ that are neither real nor imaginary where the real part is negative.

    Hence the (-1, -2) is an asymtotically stable spiral source.

    \end{document}

    START 100/FALL18/quiz5ans.tex part 4

    \nopagenumbers

    Quiz 5 ~~~SHOW ALL WORK\hfil \break
    Nov 30, 2018

    [13]~~ 1.)  Find all equilibrium solutions and classify them (stable, 
    asymptotically stable, semi-stable, unstable and if system of DEs, 
    node, saddle, spiral, center).  For the non-linear system of DEs, state all possibilities for type of equilibrium solution.  

    1a.)  \(y' = (y - 3)(y - 5)^8\)
    ~~~~~
    \(y = 3\) is unstable, \(y = 5\) is semi-stable.
     

    1b.)  \(x' = y - 1\), ~\(y' = (x-3)y\)
     
    If \(y -1= 0\), then \(y =  1\)

    If \(y = 1\), then \((x-1)y =  x-3 = 0\).  Thus \(x = 3\).

    Jacobian matrix: \(\left[\matrix{0  & 1 \cr  y & x-3 }\right] \)

    For \((x, y) =  (1, 3)\), Jacobian matrix is \(\left[\matrix{0  & 1 \cr  1 & 0 }\right] \)

    \(\left|\matrix{-r & 1 \cr  1 & -r }\right| = r^2 - 1 = (r -1)(r+1) = 0\).

    Thus \(r = -1. 1\), i.e, one positive and one negative eigenvalue.


    ~~~Thus \((x(t), y(t)) = (1, 3)\) is an unstable saddle.
     fill

    [8]~ 3.)  The stream plot in the \(x_1\)-\(x_2\) plane for a system of two first order differential equations is shown below.
    In addition to determining and classifying the {\bf 4} equilibrium solutions, also draw the trajectory satisfying the initial value \((x_1(0), x_2(0) )=(0, -2)\).   Also describe the basins of attraction for each asymptotically stable equilibrium solutions.

    ~~~~~~~~~~{\includegraphics[width=25ex]{quiz6c.PNG}}

    \hskip 2.2in \( (x_1(t), x_2(t) )= (0, 0)\) is an unstable saddle. 

    \hskip 2.2in \( (x_1(t), x_2(t) )= (2, 0)\) is an unstable saddle. 

    \hskip 2.2in \( (x_1(t), x_2(t) )= (1, 1)\) is an asymptotically stable spiral. 

    \hskip 3in basin of attraction:  \(x_1 < 2\) and \(x_2 > 0\).

    \hskip 2.2in \( (x_1(t), x_2(t) )= (-2, -2)\) is an asymptotically stable spiral.

    \hskip 3in basin of attraction:  \(x_1 < 2\) and \(x_2  < 0\).

    \end


    This page titled 4: Problems from Math 2560/3600 is shared under a not declared license and was authored, remixed, and/or curated by Isabel K. Darcy.

    • Was this article helpful?