MATH383: A first course in differential equationsMarch 3, 2020

Test 2 Solution

Solve the following problems (3 course points each). Present a brief motivation of your method of solution. Explicitly state any conditions that must be met for solution procedure to be valid. Sketch out a solution for yourself on scratch paper, and then neatly transcribe so the solution you present is readily legible.

No credit is awarded for statement of the final answer to a problem without presentation of the solution procedure.

  1. At t=0 an object is placed in a room with temperature of 20 C. The temperature of the object drops by 5 C in 4 minutes and by 7 C in 8 minutes. What was the temperature of the object at t=0?

    Solution. The initial temperature is T(0)=T0, and the rate of change of the object temperature T' is proportional to the difference with respect to ambient temperature Tm=20 C,

    T'=-k(T-Tm),T(0)=T0.

    The solution to the above initial value problem (IVP) is T(t)=Tm+(T0-Tm)e-kt, which evaluated at t=4 and t=8 gives

    T(4)=20+(T0-20)e-4k,T(8)=20+(T0-20)e-8k.

    From problem information T0-T(4)=5,T0-T(8)=7, or T(4)=T0-5, T(8)=T0-7, which leads to

    { T0-5=20+(T0-20)e-4k T0-7=20+(T0-20)e-8k .{ e-4k=T0-25T0-20 e-8k=T0-27T0-20 ..

    Recall that (e-4k)2=e-4ke-4k=e-8k to obtain

    (T0-25T0-20)2=T0-27T0-20(25-T0)2=(27-T0)(20-T0)625-50T0+T02=540-47T0+T023T0=85,

    and the initial temperature is T0=85/328.3 C.

  2. Determine whether 𝑩 is a basis set for real-valued 2 by 2 matrices

    𝑩={ 𝑩1, 𝑩2, 𝑩3 }={ ( 1 3 2 1 ), ( -1 2 1 0 ), ( 0 1 0 -4 ) }.

    Solution. Note that a 2 by 2 matrix can also be represented as a 4 component vector (HW06 2.Ex2 solution)

    𝑨=( a11 a12 a21 a22 )𝒂=( a11 a12 a21 a22 ),𝒂4.

    Recall that the dimension of a vector space is the number of vectors in a basis, and the fact that the dimension of 4 is 4, while 𝑩 only contains 3 elements implies that 𝑩 is not a basis set (this observation is sufficient to solve the problem). To obtain a counterexample (optional), try to obtain some general 𝑨 by a linear combination of elements of 𝑩

    c1𝑩1+c2𝑩2+c3𝑩3=( c1-c2 3c1+2c2+c3 2c1+c2 c1-4c3 )=( a11 a12 a21 a22 ),

    leading to a system of 4 equations with 3 unknowns

    { c1 -c2 = a11 3c1 +2c2 +c3 = a12 2c1 +c2 = a21 c1 -4c3 = a22 ..

    Try to find a simple counterexample: set a11=0,a21=3 to obtain c1=c2=1, leading to the equations

    { c3 = a12-5 -4c3 = a22-1 .,

    that cannot be both true, for example for a22=1, and a12=6 the contradictory conditions c3=1 (first equation), c3=0 (second equation) are obtained, and 𝑩 is not a basis since it does not span the set of 2 by 2 matrices, in particular the matrix

    𝑨=( 0 6 3 1 ),

    cannot be represented by a linear combination of elements of 𝑩.

  3. Let

    𝒮={( 2s-t s t -s ),s,t}.
    1. Prove that (𝒮,+,,) a subspace of (4,+,,).

      Solution. Note that for s=t=0, the vector 𝟎=(0,0,0,0) is verified to be an element of 𝒮. Verify closure, c1,c2, 𝒖1,𝒖2𝒮

      𝒖1=( 2s1-t1 s1 t1 -s1 ),𝒖2=( 2s2-t2 s2 t2 -s2 ),c1𝒖1+c2𝒖2=( 2(c1s1+c2s2)-(c1t1+c2t2) c1s1+c2s2 c1t1+c2t2 -c1s1-c2s2 )=( 2s-t s t -s )𝒮

      with s=c1s1+c2s2, t=c1t1+c2t2, so (𝒮,+,,) is indeed a subspace of (4,+,,).

    2. Find two vectors that span 𝒮.

      Solution. Write

      ( 2s-t s t -s )=s( 2 1 0 -1 )+t( -1 0 1 0 )

      and obtain that the vectors

      {( 2 1 0 -1 ),( -1 0 1 0 )}

      span 𝒮.

  4. Find and subsequently sketch the solution to the initial value problem

    y''-14y'+49y=0,y(1)=2,y'(1)=11.

    Solution. Try y=ert in the above homogeneous second-order differential equation to obtain

    r2-14r+49=(r-7)2=0

    with double root r=7. Two independent solutions are y1=e7t, y2=te7t, with derivatives y1'=7e7t, y2'=(1+7t)e7t. Impose initial conditions on linear combination y=c1y1+c2y2

    { c1y1(1)+c2y2(1)=y(1) c1y1'(1)+c2y2'(1)=y'(1) .{ c1e7+c2e7=2 7c1e7+8c2e7=11 .{ c1+c2=2e-7 7c1+8c2=11e-7 .{ c1=5e-7 c2=-3e-7 .,

    and the solution is

    y(x)=(5-3t)e7(t-1).