Math 340 ยท University of San Francisco

Assignment 4

Due Wednesday, September 30

1Subspaces and affine sets of functions

Work in the vector space ๐ถ1(โ„). For each subset below, decide whether it is a vector subspace, an affine set that is not a vector subspace, or neither. Justify your answers using the definitions; when closure fails, give explicit functions showing the failure. For an affine set that is not a subspace, write it as ๐‘“๐‘ +๐‘‰ and identify both the particular function ๐‘“๐‘ and the vector subspace ๐‘‰.

(a)

{๐‘“ โˆˆ๐ถ1(โ„) :๐‘“(0) =0}.

Solution

This is a vector subspace. The zero function has value 0 at ๐‘ก =0, so it belongs to the set. If ๐‘“(0) =0 and ๐‘”(0) =0, then for any real numbers ๐‘Ž,๐‘,

(๐‘Ž๐‘“+๐‘๐‘”)(0)=๐‘Ž๐‘“(0)+๐‘๐‘”(0)=๐‘Žโ‹…0+๐‘โ‹…0=0,

so every linear combination stays in the set.

(b)

{๐‘“ โˆˆ๐ถ1(โ„) :๐‘“(0) =1}.

Solution

This is affine but not a vector subspace. The zero function has value 0 at zero, not 1, so it is not in the set. Addition fails too: the constant function 1 belongs to the set, but 1 +1 =2 has value 2 at zero.

Let ๐‘‰ ={๐‘“ โˆˆ๐ถ1(โ„) :๐‘“(0) =0}, the subspace from the previous part, and let ๐‘“๐‘ be the constant function 1. If ๐‘“(0) =1, then ๐‘“ โˆ’1 has value 0 at zero, so ๐‘“ =1 +(๐‘“ โˆ’1) lies in 1 +๐‘‰. Conversely, if โ„Ž โˆˆ๐‘‰, then (1 +โ„Ž)(0) =1 +0 =1. Thus the set is exactly 1 +๐‘‰.

(c)

{๐‘“ โˆˆ๐ถ1(โ„) :๐‘“(0)๐‘“(1) =0}.

Solution

This is neither. The set does contain the zero function, and it is closed under scaling, since (๐‘๐‘“)(0)(๐‘๐‘“)(1) =๐‘2๐‘“(0)๐‘“(1) =0. Addition is what fails. The function ๐‘“(๐‘ก) =๐‘ก belongs to the set because ๐‘“(0) =0, and ๐‘”(๐‘ก) =1 โˆ’๐‘ก belongs because ๐‘”(1) =0. But their sum is the constant function 1, and 1 โ‹…1 =1 โ‰ 0.

So the set is not a subspace. It cannot be affine either: an affine set that contains zero is automatically a vector subspace, and we just showed this one is not. (Geometrically, the set is the union of two subspaces: functions vanishing at 0 and functions vanishing at 1. A union of two planes is not a plane.)

2Linear maps on polynomials

Let ๐‘ƒ2 be the space of real polynomials of degree at most two, with ordered basis (1,๐‘ก,๐‘ก2). Consider the map

๐‘‡:๐‘ƒ2โŸถโ„2,๐‘‡(๐‘)=(๐‘(0),๐‘โ€ฒ(0)).
(a)

Show that ๐‘‡ is linear. Find its matrix using the given basis of ๐‘ƒ2 and the standard basis of โ„2.

Solution

Evaluation and differentiation both respect linear combinations:

๐‘‡(๐‘Ž๐‘+๐‘๐‘ž)=(๐‘Ž๐‘(0)+๐‘๐‘ž(0),ย ๐‘Ž๐‘โ€ฒ(0)+๐‘๐‘žโ€ฒ(0))=๐‘Ž๐‘‡(๐‘)+๐‘๐‘‡(๐‘ž).

For the matrix, apply ๐‘‡ to each basis polynomial:

๐‘‡(1)=(1,0),๐‘‡(๐‘ก)=(0,1),๐‘‡(๐‘ก2)=(0,0).

These are the columns:

(100010).

As a check, ๐‘ =๐‘Ž +๐‘๐‘ก +๐‘๐‘ก2 has coordinates (๐‘Ž,๐‘,๐‘), and the matrix sends these to (๐‘Ž,๐‘). Indeed ๐‘(0) =๐‘Ž and ๐‘โ€ฒ(0) =๐‘.

(b)

Find the kernel and image of ๐‘‡, giving a basis and dimension for each. Is ๐‘‡ an isomorphism? Explain what information about a polynomial is lost when we record only its value and first derivative at zero.

Solution

For ๐‘ =๐‘Ž +๐‘๐‘ก +๐‘๐‘ก2 we have ๐‘‡(๐‘) =(๐‘Ž,๐‘). This is zero exactly when ๐‘Ž =๐‘ =0, so the kernel consists of the polynomials ๐‘๐‘ก2. It has basis ๐‘ก2 and dimension 1.

Every (๐‘Ÿ,๐‘ ) โˆˆโ„2 is hit, for example by ๐‘‡(๐‘Ÿ +๐‘ ๐‘ก) =(๐‘Ÿ,๐‘ ). So the image is all of โ„2, with basis (1,0),(0,1) and dimension 2. The dimensions check out: 3 =1 +2.

๐‘‡ is not an isomorphism, because it is not injective: ๐‘‡(๐‘ก2) =(0,0) =๐‘‡(0). The lost information is the coefficient of ๐‘ก2. The value and slope at zero tell us the tangent line to the graph there, but not how the graph bends away from it. The polynomials 0 and ๐‘ก2 have the same value and slope at zero, yet they are different.

(c)

Now record one more derivative:

๐ฝ:๐‘ƒ2โŸถโ„3,๐ฝ(๐‘)=(๐‘(0),๐‘โ€ฒ(0),๐‘โ€ณ(0)).

Find the matrix of ๐ฝ in the same polynomial basis and the standard basis of โ„3. Is this map an isomorphism? Justify your answer, and explain how to recover the polynomial from these three numbers.

Solution

๐ฝ is linear for the same reason ๐‘‡ is. On the basis,

๐ฝ(1)=(1,0,0),๐ฝ(๐‘ก)=(0,1,0),๐ฝ(๐‘ก2)=(0,0,2),

so its matrix is

โŽ›โŽœ โŽœ โŽœโŽ100010002โŽžโŽŸ โŽŸ โŽŸโŽ .

This square matrix has determinant 2 โ‰ 0, so it is invertible and ๐ฝ is an isomorphism. To recover ๐‘ =๐‘Ž +๐‘๐‘ก +๐‘๐‘ก2, notice that ๐‘(0) =๐‘Ž, ๐‘โ€ฒ(0) =๐‘, and ๐‘โ€ณ(0) =2๐‘. Therefore

๐‘(๐‘ก)=๐‘(0)+๐‘โ€ฒ(0)๐‘ก+๐‘โ€ณ(0)2๐‘ก2.

This is the Taylor polynomial of ๐‘ at zero. The second derivative supplied exactly the missing bending information from the previous part.

3Linear, homogeneous, or neither?

For each equation below, decide whether it is linear. If it is linear, say whether it is homogeneous or forced, and identify its coefficient functions. Write each linear equation as ๐ฟ[๐‘ข] =๐‘”, giving the domain and codomain of the differential operator ๐ฟ. Use a suitable space ๐ถ๐‘˜(๐ผ), where ๐ผ is an open interval. If it is nonlinear, point to a term which makes it so.

(a)

๐‘ฆโ€ณ +๐‘ก2๐‘ฆโ€ฒ โˆ’(sinโก๐‘ก) ๐‘ฆ =0.

Solution

Linear and homogeneous. The coefficients are ๐‘Ž2(๐‘ก) =1, ๐‘Ž1(๐‘ก) =๐‘ก2, and ๐‘Ž0(๐‘ก) = โˆ’sinโก๐‘ก, and the forcing is ๐‘” =0. The coefficients vary with time, but the unknown ๐‘ฆ and its derivatives appear only to the first power, multiplied by known functions. All the coefficients are continuous on โ„, so we can take ๐ผ =โ„:

๐ฟ:๐ถ2(โ„)โŸถ๐ถ(โ„),๐ฟ[๐‘ฆ]=๐‘ฆโ€ณ+๐‘ก2๐‘ฆโ€ฒโˆ’(sinโก๐‘ก)๐‘ฆ,

and the equation is ๐ฟ[๐‘ฆ] =0.

(b)

๐‘ฆโ€ฒ +3๐‘ฆ =๐‘’โˆ’๐‘ก.

Solution

Linear and forced. The coefficients are ๐‘Ž1(๐‘ก) =1 and ๐‘Ž0(๐‘ก) =3, and the forcing is ๐‘”(๐‘ก) =๐‘’โˆ’๐‘ก. With ๐ผ =โ„,

๐ฟ:๐ถ1(โ„)โŸถ๐ถ(โ„),๐ฟ[๐‘ฆ]=๐‘ฆโ€ฒ+3๐‘ฆ,

and the equation is ๐ฟ[๐‘ฆ] =๐‘’โˆ’๐‘ก.

(c)

๐‘ฆโ€ณ +sinโก๐‘ฆ =0.

Solution

Nonlinear, because of the term sinโก๐‘ฆ. The sine is applied to the unknown itself, and sine does not respect addition or scaling. For example, the operator ๐‘[๐‘ฆ] =๐‘ฆโ€ณ +sinโก๐‘ฆ sends the constant function ๐œ‹/2 to sinโก(๐œ‹/2) =1, but sends twice that function, ๐œ‹, to sinโก๐œ‹ =0 rather than 2. (This is the pendulum equation, which we meet again at the end of the assignment.)

4Solution sets inside function spaces

Now consider the whole set of solutions, with no initial condition imposed. In each part, work with functions defined on all of โ„.

(a)

For ๐‘ขโ€ณ +4๐‘ข =0, define

๐ฟ:๐ถ2(โ„)โŸถ๐ถ(โ„),๐ฟ[๐‘ข]=๐‘ขโ€ณ+4๐‘ข.

Verify that ๐ฟ is linear. Explain why the solution set is kerโก๐ฟ, and prove that it is a vector subspace of ๐ถ2(โ„). What is the zero vector in this space? Your argument should not require a formula for the general solution.

Solution

Differentiation and multiplication by 4 both respect linear combinations, so

๐ฟ[๐‘Ž๐‘ข+๐‘๐‘ฃ]=(๐‘Ž๐‘ข+๐‘๐‘ฃ)โ€ณ+4(๐‘Ž๐‘ข+๐‘๐‘ฃ)=๐‘Ž(๐‘ขโ€ณ+4๐‘ข)+๐‘(๐‘ฃโ€ณ+4๐‘ฃ)=๐‘Ž๐ฟ[๐‘ข]+๐‘๐ฟ[๐‘ฃ].

A function ๐‘ข โˆˆ๐ถ2(โ„) solves the equation exactly when ๐ฟ[๐‘ข] =0, and that is the definition of the kernel. So the solution set is kerโก๐ฟ.

The kernel is a subspace. It contains zero, since ๐ฟ[0] =0. And if ๐ฟ[๐‘ข] =๐ฟ[๐‘ฃ] =0, then linearity gives

๐ฟ[๐‘Ž๐‘ข+๐‘๐‘ฃ]=๐‘Ž๐ฟ[๐‘ข]+๐‘๐ฟ[๐‘ฃ]=0,

so ๐‘Ž๐‘ข +๐‘๐‘ฃ is also a solution. The zero vector is the zero function, ๐‘ข(๐‘ก) =0 for every ๐‘ก. For a spring, this is the solution that sits at rest at equilibrium forever.

(b)

For ๐‘ขโ€ฒ +๐‘ข =1, define ๐ฟ[๐‘ข] =๐‘ขโ€ฒ +๐‘ข on ๐ถ1(โ„) and check that ๐ฟ is linear. If ๐‘ข and ๐‘ฃ are solutions, compute ๐ฟ[๐‘ข +๐‘ฃ] and ๐ฟ[๐‘ข โˆ’๐‘ฃ]. Explain why the solution set is not a vector subspace, even though the equation is linear.

Find a particular solution ๐‘ข๐‘ and show that the full solution set is ๐‘ข๐‘ +kerโก๐ฟ: prove both that every solution has this form and that every function of this form is a solution. Describe this affine set by identifying its translation and its space of directions.

Solution

Linearity works just as before: ๐ฟ[๐‘Ž๐‘ข +๐‘๐‘ฃ] =(๐‘Ž๐‘ข +๐‘๐‘ฃ)โ€ฒ +(๐‘Ž๐‘ข +๐‘๐‘ฃ) =๐‘Ž๐ฟ[๐‘ข] +๐‘๐ฟ[๐‘ฃ].

If ๐ฟ[๐‘ข] =1 and ๐ฟ[๐‘ฃ] =1, then

๐ฟ[๐‘ข+๐‘ฃ]=1+1=2,๐ฟ[๐‘ขโˆ’๐‘ฃ]=1โˆ’1=0.

So the sum of two solutions is not a solution, while their difference solves the homogeneous equation โ„Žโ€ฒ +โ„Ž =0. The solution set also fails to contain zero, since ๐ฟ[0] =0 โ‰ 1. The operator ๐ฟ is linear, but the right-hand side 1 is not zero, and that is what keeps the solution set from being a subspace.

The constant function ๐‘ข๐‘ =1 is a particular solution: 0 +1 =1.

  • Every solution has this form. If ๐ฟ[๐‘ข] =1, then ๐ฟ[๐‘ข โˆ’1] =๐ฟ[๐‘ข] โˆ’๐ฟ[1] =1 โˆ’1 =0, so โ„Ž =๐‘ข โˆ’1 is in kerโก๐ฟ and ๐‘ข =1 +โ„Ž.

  • Every such function is a solution. If โ„Ž โˆˆkerโก๐ฟ, then ๐ฟ[1 +โ„Ž] =๐ฟ[1] +๐ฟ[โ„Ž] =1 +0 =1.

So the solution set is 1 +kerโก๐ฟ. We can also find the kernel exactly. If โ„Žโ€ฒ +โ„Ž =0, multiplying by ๐‘’๐‘ก gives (๐‘’๐‘กโ„Ž)โ€ฒ =๐‘’๐‘ก(โ„Žโ€ฒ +โ„Ž) =0, so ๐‘’๐‘กโ„Ž is a constant ๐ถ and โ„Ž =๐ถ๐‘’โˆ’๐‘ก. Thus every solution is

๐‘ข(๐‘ก)=1+๐ถ๐‘’โˆ’๐‘ก.

This is a line in function space. It is translated to pass through the constant function 1, and its direction is the one-dimensional space spanned by ๐‘’โˆ’๐‘ก.

(c)

For ๐‘ขโ€ฒ =๐‘ข(1โˆ’๐‘ข10), compare (2๐‘ข)โ€ฒ with the right-hand side evaluated at 2๐‘ข. Show that the only solution ๐‘ข for which 2๐‘ข is also a solution is ๐‘ข =0. Use a nonzero equilibrium to conclude that the solution set is not a vector subspace of ๐ถ1(โ„). Since it contains the zero function, explain why it cannot be an affine translate of a vector subspace either.

Solution

Let ๐‘ข be a solution. Then

(2๐‘ข)โ€ฒ=2๐‘ขโ€ฒ=2๐‘ข(1โˆ’๐‘ข10),

while the right-hand side evaluated at 2๐‘ข is

2๐‘ข(1โˆ’2๐‘ข10).

For 2๐‘ข to be a solution, these must agree at every time. Their difference is

2๐‘ข(1โˆ’๐‘ข10)โˆ’2๐‘ข(1โˆ’2๐‘ข10)=๐‘ข25,

which is zero only when ๐‘ข(๐‘ก) =0. So 2๐‘ข is a solution only when ๐‘ข is the zero function, and doubling the zero function does give a solution.

For a concrete failure, take the equilibrium ๐‘ข =10. It is a solution, since both sides are 0. But 2๐‘ข =20 has derivative 0, while the right-hand side is 20(1 โˆ’2) = โˆ’20. The solution set is not closed under scaling, so it is not a vector subspace.

The zero function is a solution: 0โ€ฒ =0 =0 โ‹…(1 โˆ’0). An affine set that contains zero is automatically a vector subspace. Indeed, if 0 =๐‘“๐‘ +๐‘ฃ for some ๐‘ฃ โˆˆ๐‘‰, then ๐‘“๐‘ = โˆ’๐‘ฃ already lies in ๐‘‰, and ๐‘“๐‘ +๐‘‰ =๐‘‰. Since the solution set contains zero but is not a subspace, it cannot be affine either. (Checking a midpoint shows the same thing: halfway between the solutions 0 and 10 is the constant 5, and 5(1 โˆ’12) โ‰ 0.)

5A basis of spring solutions

Let ๐ด and ๐ต be the solutions of

๐‘ฅโ€ณ+4๐‘ฅ=0

with initial data (๐ด(0),๐ดโ€ฒ(0)) =(1,0) and (๐ต(0),๐ตโ€ฒ(0)) =(0,1).

(a)

Find formulas for ๐ด and ๐ต, and verify that each satisfies the equation and its initial data.

Solution

The equation asks for a function whose second derivative is โˆ’4 times itself. For ๐‘ฅโ€ณ = โˆ’๐‘ฅ we used cosโก๐‘ก and sinโก๐‘ก. Speeding them up to cosโก2๐‘ก and sinโก2๐‘ก makes the chain rule produce the factor 22 =4 we need. Adjusting the sizes to match the initial data gives

๐ด(๐‘ก)=cosโก2๐‘ก,๐ต(๐‘ก)=12sinโก2๐‘ก.

Check: ๐ดโ€ฒ = โˆ’2sinโก2๐‘ก and ๐ดโ€ณ = โˆ’4cosโก2๐‘ก = โˆ’4๐ด. Also ๐ด(0) =1 and ๐ดโ€ฒ(0) =0. Next, ๐ตโ€ฒ =cosโก2๐‘ก and ๐ตโ€ณ = โˆ’2sinโก2๐‘ก = โˆ’4๐ต. Also ๐ต(0) =0 and ๐ตโ€ฒ(0) =1.

(b)

Let S be the solution space of this equation on โ„. Consider the initial-data map

๐ธ0:SโŸถโ„2,๐ธ0(๐‘ฅ)=(๐‘ฅ(0),๐‘ฅโ€ฒ(0)).

Rewrite the equation as a first-order system and check the hypotheses of the global linear existence-and-uniqueness theorem. What does the theorem guarantee for each initial position and velocity?

Solution

Let ๐‘ฃ =๐‘ฅโ€ฒ. The state is ๐‘‹ =(๐‘ฅ,๐‘ฃ), and

๐‘ฅโ€ฒ=๐‘ฃ,๐‘ฃโ€ฒ=โˆ’4๐‘ฅ,that is,๐‘‹โ€ฒ=(01โˆ’40)๐‘‹.

This is a linear system ๐‘‹โ€ฒ =๐ด(๐‘ก)๐‘‹ +๐‘”(๐‘ก) whose matrix entries are constants and whose forcing is ๐‘” =0. Constants are continuous on all of โ„, so the hypotheses of the global theorem hold with ๐ผ =โ„.

The theorem guarantees that for every initial state (๐‘ฅ0,๐‘ฃ0) there is exactly one solution on all of โ„ with ๐‘‹(0) =(๐‘ฅ0,๐‘ฃ0). Through the correspondence between the system and the scalar equation, this means: for each initial position and each initial velocity, there is exactly one motion ๐‘ฅ(๐‘ก) of the spring, and it lasts for all time.

(c)

Show that ๐ธ0 is linear: for solutions ๐‘ข,๐‘ฃ โˆˆS and real numbers ๐‘Ž,๐‘, verify that

๐ธ0(๐‘Ž๐‘ข+๐‘๐‘ฃ)=๐‘Ž๐ธ0(๐‘ข)+๐‘๐ธ0(๐‘ฃ).
Solution

By superposition, ๐‘Ž๐‘ข +๐‘๐‘ฃ is again a solution, so ๐ธ0(๐‘Ž๐‘ข +๐‘๐‘ฃ) makes sense. Then

๐ธ0(๐‘Ž๐‘ข+๐‘๐‘ฃ)=((๐‘Ž๐‘ข+๐‘๐‘ฃ)(0),ย (๐‘Ž๐‘ข+๐‘๐‘ฃ)โ€ฒ(0))=(๐‘Ž๐‘ข(0)+๐‘๐‘ฃ(0),ย ๐‘Ž๐‘ขโ€ฒ(0)+๐‘๐‘ฃโ€ฒ(0))=๐‘Ž(๐‘ข(0),๐‘ขโ€ฒ(0))+๐‘(๐‘ฃ(0),๐‘ฃโ€ฒ(0))=๐‘Ž๐ธ0(๐‘ข)+๐‘๐ธ0(๐‘ฃ).
(d)

Explain how existence and uniqueness give the other two properties we need:

Conclude that ๐ธ0 is a linear isomorphism.

Solution

Surjectivity comes from existence. Given any (๐‘ฅ0,๐‘ฃ0), the global theorem supplies a solution on all of โ„ with ๐‘ฅ(0) =๐‘ฅ0 and ๐‘ฅโ€ฒ(0) =๐‘ฃ0. That solution is in S, and ๐ธ0 sends it to (๐‘ฅ0,๐‘ฃ0).

Injectivity comes from uniqueness. If ๐ธ0(๐‘ข) =๐ธ0(๐‘ฃ), then ๐‘ข and ๐‘ฃ are two solutions with the same initial position and velocity. The theorem says there is only one such solution, so ๐‘ข =๐‘ฃ.

A linear map that is both injective and surjective is a linear isomorphism. In particular, S is two-dimensional, like โ„2.

(e)

Compute ๐ธ0(๐ด) and ๐ธ0(๐ต). Do these vectors form a basis of โ„2? Use the isomorphism ๐ธ0 to explain why ๐ด,๐ต form a basis of the solution space S.

Solution

By construction, ๐ธ0(๐ด) =(1,0) and ๐ธ0(๐ต) =(0,1). These are the standard basis vectors of โ„2.

An isomorphism carries bases to bases, so ๐ด,๐ต is a basis of S. We can also see both properties directly.

  • Independent: if ๐‘Ž๐ด +๐‘๐ต is the zero function, applying ๐ธ0 gives ๐‘Ž(1,0) +๐‘(0,1) =(0,0), so ๐‘Ž =๐‘ =0.

  • Spanning: if ๐‘ฅ is any solution, then ๐‘ฅ and ๐‘ฅ(0)๐ด +๐‘ฅโ€ฒ(0)๐ต have the same initial state. By injectivity they are the same function.

(f)

Without solving another differential equation, write down the solution ๐‘ฅ(๐‘ก) with ๐‘ฅ(0) = โˆ’3 and ๐‘ฅโ€ฒ(0) =5. Explain how expressing the initial state in a basis of โ„2 determines the whole function in the basis ๐ด,๐ต.

Solution

Write the initial state in the standard basis: ( โˆ’3,5) = โˆ’3(1,0) +5(0,1). Use the same coefficients on ๐ด and ๐ต:

๐‘ฅ(๐‘ก)=โˆ’3๐ด(๐‘ก)+5๐ต(๐‘ก)=โˆ’3cosโก2๐‘ก+52sinโก2๐‘ก.

This works because ๐ธ0 is linear: ๐ธ0( โˆ’3๐ด +5๐ต) = โˆ’3(1,0) +5(0,1) =( โˆ’3,5). So โˆ’3๐ด +5๐ต is a solution with the right initial state, and by uniqueness it is the solution. The coefficients that build the initial state out of (1,0) and (0,1) are the same coefficients that build the whole function out of ๐ด and ๐ต.

(g)

The coefficient of ๐ต in your answer is the initial velocity 5, but the coefficient of sinโก2๐‘ก is not. Explain.

Solution

The function sinโก2๐‘ก is not ๐ต. Its derivative is 2cosโก2๐‘ก, so its initial state is (0,2), not (0,1). In other words, sinโก2๐‘ก =2๐ต. The factor of 2 comes from the chain rule.

To reach initial velocity 5 we need 5 copies of ๐ต, which is 52 copies of sinโก2๐‘ก. The functions cosโก2๐‘ก,sinโก2๐‘ก form a perfectly good basis of S, but it is not the one whose initial states are the standard basis. With that basis, reading coefficients straight off the initial data no longer works. The basis ๐ด,๐ต was chosen exactly so that it does.

6From higher order to first order

Convert each second-order equation or system below into a first-order system: name the state, and write the system as ๐‘‹โ€ฒ =๐น(๐‘ก,๐‘‹). When the system is linear and homogeneous, write it as ๐‘‹โ€ฒ =๐ด๐‘‹ with an explicit matrix.

(a)

Two carts slide without friction on a track. The first is attached to a wall by a spring of stiffness ๐‘˜1, and the second is attached to the first by a spring of stiffness ๐‘˜2. If ๐‘ฅ1 and ๐‘ฅ2 are their displacements from rest, Hooke's law and Newton's second law give

๐‘š1๐‘ฅโ€ณ1=โˆ’๐‘˜1๐‘ฅ1+๐‘˜2(๐‘ฅ2โˆ’๐‘ฅ1),๐‘š2๐‘ฅโ€ณ2=โˆ’๐‘˜2(๐‘ฅ2โˆ’๐‘ฅ1).

Convert this pair to a first-order system and write its matrix. How many standard solutions reconstruct every motion of the carts? Which theorem from the notes guarantees that every motion exists for all time?

Solution

Each cart needs a position and a velocity, so introduce ๐‘ฃ1 =๐‘ฅโ€ฒ1 and ๐‘ฃ2 =๐‘ฅโ€ฒ2. The state is

๐‘‹=(๐‘ฅ1,๐‘ฅ2,๐‘ฃ1,๐‘ฃ2).

Dividing the equations by the masses and collecting terms gives

๐‘ฅโ€ฒ1=๐‘ฃ1,๐‘ฅโ€ฒ2=๐‘ฃ2,๐‘ฃโ€ฒ1=โˆ’๐‘˜1+๐‘˜2๐‘š1๐‘ฅ1+๐‘˜2๐‘š1๐‘ฅ2,๐‘ฃโ€ฒ2=๐‘˜2๐‘š2๐‘ฅ1โˆ’๐‘˜2๐‘š2๐‘ฅ2.

This is linear and homogeneous, ๐‘‹โ€ฒ =๐ด๐‘‹, with

๐ด=โŽ›โŽœ โŽœ โŽœ โŽœ โŽœ โŽœ โŽœ โŽœ โŽœ โŽœ โŽœ โŽœโŽ00100001โˆ’๐‘˜1+๐‘˜2๐‘š1๐‘˜2๐‘š100๐‘˜2๐‘š2โˆ’๐‘˜2๐‘š200โŽžโŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸ โŽŸโŽ .

The state has four coordinates, so the solution space is four-dimensional, and four standard solutions reconstruct every motion. For example, the first starts from ๐‘’1 =(1,0,0,0): cart one pulled out one unit, cart two at rest in place, and both released from rest.

The entries of ๐ด are constants, so they are continuous on all of โ„. The global existence-and-uniqueness theorem for linear systems therefore guarantees that every initial state gives exactly one motion, defined for all time.

(b)

A pendulum of length ๐ฟ swinging through the angle ๐œƒ satisfies

๐œƒโ€ณ=โˆ’๐‘”๐ฟsinโก๐œƒ.

Convert this to a first-order system. Is it linear? Check the hypotheses of the local existence-and-uniqueness theorem in state space, and state what it guarantees about a pendulum released from any angle with any angular velocity. Does the global theorem for linear systems apply?

Solution

Let ๐œ” =๐œƒโ€ฒ be the angular velocity. The state is ๐‘‹ =(๐œƒ,๐œ”), and

๐œƒโ€ฒ=๐œ”,๐œ”โ€ฒ=โˆ’๐‘”๐ฟsinโก๐œƒ.

This is not linear, because of the sinโก๐œƒ term.

The rate functions are ๐น1(๐œƒ,๐œ”) =๐œ” and ๐น2(๐œƒ,๐œ”) = โˆ’(๐‘”/๐ฟ)sinโก๐œƒ. Since ๐น1 does not depend on ๐œƒ and ๐น2 does not depend on ๐œ”, their partial derivatives with respect to those variables are zero. The other two partials are

๐œ•๐น1๐œ•๐œ”=1,๐œ•๐น2๐œ•๐œƒ=โˆ’๐‘”๐ฟcosโก๐œƒ.

All of these are continuous everywhere. So the local theorem applies at every initial state. However we release the pendulum, from any angle and with any angular velocity, there is exactly one motion, at least for some interval of time around the release.

The global theorem for linear systems does not apply, because the system cannot be written as ๐‘‹โ€ฒ =๐ด(๐‘ก)๐‘‹ +๐‘”(๐‘ก). On its own, the local theorem does not tell us how long the motion lasts. We certainly expect a real pendulum to keep swinging forever, and it does, but proving that takes an argument beyond the theorems we have so far.