Math 340 ยท University of San Francisco

Assignment 5

Due Thursday, October 8

1Solving from a basis we find

Consider the equation

๐‘ฆโ€ณโˆ’3๐‘ฆโ€ฒ+2๐‘ฆ=0.
(a)

Before looking for any solutions, explain why the solution space S of this equation is two-dimensional. Then look for solutions by guessing and checking: try an exponential ๐‘ฆ =๐‘’๐‘Ÿ๐‘ก. Find two linearly independent solutions.

(b)

Use your two solutions from the previous part as an ordered basis B of the solution space. Write down the evaluation map

๐ธ0:SโŸถโ„2

onto the space of initial conditions. Using the basis B for S and the standard basis (1,0),(0,1) for โ„2, express ๐ธ0 as a matrix.

(c)

The inverse of the evaluation map is the solution map ๐ธโˆ’10 :โ„2 โ†’S. It takes an initial condition (๐‘ฆ0,๐‘ฃ0) to the solution starting from it. In these same bases, write down the matrix of the solution map, and use it to write the solution from (๐‘ฆ0,๐‘ฃ0).

(d)

Use your work to solve ๐‘ฆโ€ณ โˆ’3๐‘ฆโ€ฒ +2๐‘ฆ =0 with each of the following initial conditions:

2Discovering the Hyperbolic Functions

Consider the equation

๐‘ฆโ€ณ=๐‘ฆ.

In class, we found the basis B =(๐‘’๐‘ก,๐‘’โˆ’๐‘ก) for its solution space S, and the evaluation map taking each solution to its initial data:

๐ธ0:ย ๐‘Ž๐‘’๐‘ก+๐‘๐‘’โˆ’๐‘กโŸผ(๐‘Ž+๐‘,ย ๐‘Žโˆ’๐‘).

Form its matrix ๐‘€, using the basis B for S and the standard basis for โ„2. To solve an initial-value problem in this basis, we have to invert ๐‘€. In this problem we look for a better basis.

(a)

Find a basis (๐‘…1,๐‘…2) of S in which the matrix of ๐ธ0 is the identity. What must ๐ธ0(๐‘…1) and ๐ธ0(๐‘…2) be? Write ๐‘…1 and ๐‘…2 as combinations of ๐‘’๐‘ก and ๐‘’โˆ’๐‘ก.

(b)

Check that in the basis (๐‘…1,๐‘…2), the matrix of evaluation is the identity. Explain why the matrix of the solution map is then the identity too, and write down the solution with initial condition (๐‘ฆ0,๐‘ฃ0). Use it to solve ๐‘ฆโ€ณ =๐‘ฆ with ๐‘ฆ(0) =2, ๐‘ฆโ€ฒ(0) = โˆ’1.

(c)

The functions ๐‘…1 and ๐‘…2 are called the hyperbolic cosine and sine, written coshโก๐‘ก and sinhโก๐‘ก. They get this name because they parametrize a hyperbola. Just as the point (cosโก๐‘ก,sinโก๐‘ก) moves along the circle ๐‘ฅ2 +๐‘ฆ2 =1, the point (coshโก๐‘ก,sinhโก๐‘ก) moves along the hyperbola ๐‘ฅ2 โˆ’๐‘ฆ2 =1.

To see this, we need to show that the hyperbolic functions satisfy the identity

cosh2โก๐‘กโˆ’sinh2โก๐‘ก=1.

To show that a function is constant, we can show that its derivative is zero. Then we can find which constant it is by evaluating it at a single point. Carry out this strategy for cosh2โก๐‘ก โˆ’sinh2โก๐‘ก:

3A missing solution

Consider the third-order equation

๐‘ฅโ€ดโˆ’๐‘ฅโ€ณ=0.
(a)

Before looking for any solutions, explain why the solution space S is three-dimensional. Then try ๐‘ฅ =๐‘’๐‘Ÿ๐‘ก and find every value of ๐‘Ÿ that works. How many linearly independent solutions does this give? Why does the dimension of S tell you that these cannot be all of the solutions?

(b)

Look for a third solution by trying powers ๐‘ฅ =๐‘ก๐‘›. Which powers work?

Then check that your three solutions are linearly independent. You do not need to work with the functions directly. The evaluation map ๐ธ0(๐‘ฅ) =(๐‘ฅ(0),๐‘ฅโ€ฒ(0),๐‘ฅโ€ณ(0)) is a linear isomorphism, and a linear isomorphism preserves linear independence in both directions. So solutions are linearly independent exactly when their initial data are linearly independent vectors in โ„3. Compute the initial data of your three solutions, and show that these vectors are independent.

(c)

Use your three solutions as the basis B of S, and the standard basis for โ„3. Express the evaluation map ๐ธ0 as a matrix. Then invert it to find the matrix of the solution map, which takes an initial condition (๐‘ฅ0,๐‘ฃ0,๐‘ค0) to its solution.

(d)

Use your work to solve ๐‘ฅโ€ด โˆ’๐‘ฅโ€ณ =0 with each of the following initial conditions:

4The Hyperbolic Functions from a Matrix Exponential

We return to the equation

๐‘ฆโ€ณ=๐‘ฆ,

this time solving it with the matrix exponential. Along the way, we will find the power series of the hyperbolic functions.

(a)

Set ๐‘ฃ =๐‘ฆโ€ฒ and write the equation as a first-order system ๐‘‹โ€ฒ =๐ด๐‘‹ with state ๐‘‹ =(๐‘ฆ,๐‘ฃ). Compute ๐ด2, ๐ด3, and ๐ด4. What pattern do the powers of ๐ด follow?

(b)

Substitute your pattern into the series

๐‘’๐‘ก๐ด=โˆžโˆ‘๐‘˜=0๐‘ก๐‘˜๐ด๐‘˜๐‘˜!.

Collect the even and odd powers to write

๐‘’๐‘ก๐ด=๐‘(๐‘ก)๐ผ+๐‘ (๐‘ก)๐ด,

where ๐‘(๐‘ก) and ๐‘ (๐‘ก) are scalar power series. Find these two series, and write ๐‘’๐‘ก๐ด as a 2 ร—2 matrix with entries ๐‘(๐‘ก) and ๐‘ (๐‘ก).

(c)

The matrix ๐‘’๐‘ก๐ด is the flow matrix of the system, so its first column is the state (๐‘ฆ(๐‘ก),๐‘ฃ(๐‘ก)) of the solution starting from (1,0). Use your work in Discovering the Hyperbolic Functions to identify that solution and its state. What functions are ๐‘(๐‘ก) and ๐‘ (๐‘ก)? What power series have you found?

5The Exponential of a Sum

For numbers, ๐‘’๐‘Ž+๐‘ =๐‘’๐‘Ž๐‘’๐‘. In this problem we test whether the same law holds for matrices, using

๐ต=(0100),๐ถ=(0010).
(a)

Compute ๐ต2 and ๐ถ2. Use your answers to find ๐‘’๐‘ก๐ต and ๐‘’๐‘ก๐ถ from the exponential series.

(b)

Compute ๐ต +๐ถ. Where have you seen this matrix before, and what is ๐‘’๐‘ก(๐ต+๐ถ)? Now compute the products ๐‘’๐‘ก๐ต๐‘’๐‘ก๐ถ and ๐‘’๐‘ก๐ถ๐‘’๐‘ก๐ต. Does ๐‘’๐‘ก(๐ต+๐ถ) =๐‘’๐‘ก๐ต๐‘’๐‘ก๐ถ? Does the order of the product matter?

(c)

Why does the law fail? Let ๐ต and ๐ถ now be any two square matrices of the same size. Write out the terms of ๐‘’๐‘ก(๐ต+๐ถ) and of ๐‘’๐‘ก๐ต๐‘’๐‘ก๐ถ up through ๐‘ก2. Show that the ๐‘ก2 terms agree exactly when ๐ต๐ถ =๐ถ๐ต. Compute ๐ต๐ถ and ๐ถ๐ต for our matrices. Why does this issue never arise for numbers?

6A Series That Stops

Consider the third-order equation

๐‘ฅโ€ด=0.
(a)

Solve this equation with initial data ๐‘ฅ(0) =๐‘ฅ0, ๐‘ฅโ€ฒ(0) =๐‘ฃ0, ๐‘ฅโ€ณ(0) =๐‘ค0 by integrating three times.

(b)

Set ๐‘ฃ =๐‘ฅโ€ฒ and ๐‘ค =๐‘ฅโ€ณ, and write the equation as a first-order system ๐‘‹โ€ฒ =๐‘๐‘‹ with state ๐‘‹ =(๐‘ฅ,๐‘ฃ,๐‘ค). Compute ๐‘2 and ๐‘3.

(c)

Compute ๐‘’๐‘ก๐‘ from the exponential series. Use it to solve the system from the initial state ๐‘‹0 =(๐‘ฅ0,๐‘ฃ0,๐‘ค0), and check that you recover your answer from the first part.