11.04.2014 Views

Linear Algebra Exercises-n-Answers.pdf

Linear Algebra Exercises-n-Answers.pdf

Linear Algebra Exercises-n-Answers.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

150 <strong>Linear</strong> <strong>Algebra</strong>, by Hefferon<br />

4 Represent it with respect to the standard bases E 1 , E 1 , then the only entry in the resulting 1×1 matrix<br />

is the scalar k.<br />

5 We can show this by induction on the number of components in the vector. In the n = 1 base case<br />

the only permutation is the trivial one, and the map<br />

(<br />

x1<br />

)<br />

↦→<br />

(<br />

x1<br />

)<br />

is indeed expressible as a composition of swaps — as zero swaps. For the inductive step we assume<br />

that the map induced by any permutation of fewer than n numbers can be expressed with swaps only,<br />

and we consider the map induced by a permutation p of n numbers.<br />

⎛ ⎞ ⎛ ⎞<br />

x 1 x p(1)<br />

x 2<br />

⎜<br />

⎝<br />

⎟<br />

. ⎠ ↦→ x p(2)<br />

⎜<br />

⎝<br />

⎟<br />

. ⎠<br />

x n x p(n)<br />

Consider the number i such that p(i) = n. The map<br />

⎛ ⎞ ⎛<br />

x 1<br />

x 2<br />

.<br />

ˆp<br />

x i<br />

↦−→<br />

⎜ ⎟ ⎜<br />

⎝<br />

. ⎠ ⎝<br />

x n<br />

x p(1)<br />

x p(2)<br />

will, when followed by the swap of the i-th and n-th components, give the map p. Now, the inductive<br />

hypothesis gives that ˆp is achievable as a composition of swaps.<br />

6 (a) A line is a subset of R n of the form {⃗v = ⃗u + t · ⃗w ∣ ∣ t ∈ R}. The image of a point on that line<br />

is h(⃗v) = h(⃗u + t · ⃗w) = h(⃗u) + t · h( ⃗w), and the set of such vectors, as t ranges over the reals, is a<br />

line (albeit, degenerate if h( ⃗w) = ⃗0).<br />

(b) This is an obvious extension of the prior argument.<br />

(c) If the point B is between the points A and C then the line from A to C has B in it. That is,<br />

there is a t ∈ (0 .. 1) such that ⃗ b = ⃗a + t · (⃗c − ⃗a) (where B is the endpoint of ⃗ b, etc.). Now, as in the<br />

argument of the first item, linearity shows that h( ⃗ b) = h(⃗a) + t · h(⃗c − ⃗a).<br />

7 The two are inverse. For instance, for a fixed x ∈ R, if f ′ (x) = k (with k ≠ 0) then (f −1 ) ′ (x) = 1/k.<br />

.<br />

x p(n)<br />

.<br />

x n<br />

⎞<br />

⎟<br />

⎠<br />

f(x)<br />

x<br />

f −1 (f(x))<br />

Topic: Markov Chains<br />

1 (a) With this file coin.m<br />

# Octave function for Markov coin game. p is chance of going down.<br />

function w = coin(p,v)<br />

q = 1-p;<br />

A=[1,p,0,0,0,0;<br />

0,0,p,0,0,0;<br />

0,q,0,p,0,0;<br />

0,0,q,0,p,0;<br />

0,0,0,q,0,0;<br />

0,0,0,0,q,1];<br />

w = A * v;<br />

endfunction

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!