-
Notifications
You must be signed in to change notification settings - Fork 118
/
pset3sol.lyx
1741 lines (1347 loc) · 30.1 KB
/
pset3sol.lyx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\renewcommand{\vec}[1]{\mathbf{#1}}
\renewcommand{\labelenumi}{(\alph{enumi})}
\renewcommand{\labelenumii}{(\roman{enumii})}
\renewcommand{\Re}{\operatorname{Re}}
\renewcommand{\Im}{\operatorname{Im}}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "times" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry true
\use_package amsmath 2
\use_package amssymb 2
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\topmargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Section*
18.335 Problem Set 3 Solutions
\end_layout
\begin_layout Subsection*
Problem 2: QR and orthogonal bases (10+(5+5+5) points)
\end_layout
\begin_layout Enumerate
Trefethen, problem 10.4:
\begin_inset Separator latexpar
\end_inset
\end_layout
\begin_deeper
\begin_layout Enumerate
e.g.
consider
\begin_inset Formula $\theta=\pi/2$
\end_inset
(
\begin_inset Formula $c=0$
\end_inset
,
\begin_inset Formula $s=1$
\end_inset
):
\begin_inset Formula $Je_{1}=-e_{2}$
\end_inset
and
\begin_inset Formula $Je_{2}=e_{1}$
\end_inset
, while
\begin_inset Formula $Fe_{1}=e_{2}$
\end_inset
and
\begin_inset Formula $Fe_{2}=e_{1}$
\end_inset
.
\begin_inset Formula $J$
\end_inset
rotates clockwise in the plane by
\begin_inset Formula $\theta$
\end_inset
.
\begin_inset Formula $F$
\end_inset
is easier to interpret if we write it as
\begin_inset Formula $J$
\end_inset
multiplied on the right by
\begin_inset Formula $[-1,0;0,1]$
\end_inset
: i.e.,
\begin_inset Formula $F$
\end_inset
corresponds to a mirror reflection through the
\begin_inset Formula $y$
\end_inset
(
\begin_inset Formula $e_{2}$
\end_inset
) axis followed by clockwise rotation by
\begin_inset Formula $\theta$
\end_inset
.
More subtly,
\begin_inset Formula $F$
\end_inset
corresponds to reflection through a mirror plane corresponding to the
\begin_inset Formula $y$
\end_inset
axis rotated clockwise by
\begin_inset Formula $\theta/2$
\end_inset
.
That is, let
\begin_inset Formula $c_{2}=\cos(\theta/2)$
\end_inset
and
\begin_inset Formula $s_{2}=\cos(\theta/2)$
\end_inset
, in which case (recalling the identities
\begin_inset Formula $c_{2}^{2}-s_{2}^{2}=c$
\end_inset
,
\begin_inset Formula $2s_{2}c_{2}=s$
\end_inset
):
\begin_inset Formula
\[
\left(\begin{array}{cc}
c_{2} & s_{2}\\
-s_{2} & c_{2}
\end{array}\right)\left(\begin{array}{cc}
-1 & 0\\
0 & 1
\end{array}\right)\left(\begin{array}{cc}
c_{2} & -s_{2}\\
s_{2} & c_{2}
\end{array}\right)=\left(\begin{array}{cc}
-c_{2} & s_{2}\\
s_{2} & c_{2}
\end{array}\right)\left(\begin{array}{cc}
c_{2} & -s_{2}\\
s_{2} & c_{2}
\end{array}\right)=\left(\begin{array}{cc}
-c & s\\
s & c
\end{array}\right)=F,
\]
\end_inset
which shows that
\begin_inset Formula $F$
\end_inset
is reflection through the
\begin_inset Formula $y$
\end_inset
axis rotated by
\begin_inset Formula $\theta/2$
\end_inset
.
\end_layout
\begin_layout Enumerate
The key thing is to focus on how we perform elimination under a single column
of
\begin_inset Formula $A$
\end_inset
, which we then repeat for each column.
For Householder, this is done by a single Householder rotation.
Here, since we are using
\begin_inset Formula $2\times2$
\end_inset
rotations, we have to eliminate under a column one number at a time: given
2-component vector
\begin_inset Formula $x=\left(\begin{array}{c}
a\\
b
\end{array}\right)$
\end_inset
into
\begin_inset Formula $Jx=\left(\begin{array}{c}
\Vert x\Vert_{2}\\
0
\end{array}\right)$
\end_inset
, where
\begin_inset Formula $J$
\end_inset
is clockwise rotation by
\begin_inset Formula $\theta=\tan^{-1}(b/a)$
\end_inset
[or, on a computer,
\begin_inset Formula $\mbox{atan2}(b,a)$
\end_inset
].
Then we just do this working
\begin_inset Quotes eld
\end_inset
bottom-up
\begin_inset Quotes erd
\end_inset
from the column: rotate the bottom two rows to introduce one zero, then
the next two rows to introduce a second zero, etc.
\end_layout
\begin_layout Enumerate
The flops to compute the
\begin_inset Formula $J$
\end_inset
matrix itself are asymptotically irrelevant, because once
\begin_inset Formula $J$
\end_inset
is computed it is applied to many columns (all columns from the current
one to the right).
To multiply
\begin_inset Formula $J$
\end_inset
by a single
\begin_inset Formula $2$
\end_inset
-component vector requires 4 multiplications and 2 additions, or 6 flops.
That is, 6 flops per row per column of the matrix.
In contrast, Householder requires each column
\begin_inset Formula $x$
\end_inset
to be rotated via
\begin_inset Formula $x=x-2v(v^{*}x)$
\end_inset
.
If
\begin_inset Formula $x$
\end_inset
has
\begin_inset Formula $m$
\end_inset
components,
\begin_inset Formula $v^{*}x$
\end_inset
requires
\begin_inset Formula $m$
\end_inset
multiplications and
\begin_inset Formula $m-1$
\end_inset
additions, multiplication by
\begin_inset Formula $2v$
\end_inset
requires
\begin_inset Formula $m$
\end_inset
more multiplications, and then subtraction from
\begin_inset Formula $x$
\end_inset
requires
\begin_inset Formula $m$
\end_inset
more additions, for
\begin_inset Formula $4m-1$
\end_inset
flops overall.
That is, asymptotically 4 flops per row per column.
The 6 flops of Givens is 50% more than the 4 of Householder.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
The reason that Givens is still considered interesting and useful is that
(as we shall see in the next problem set), it can be used to exploit
\emph on
sparsity
\emph default
: because it rotates only two elements at a time in each column, from the
bottom up, if a column ends in zeros then the zero portion of the column
can be skipped.
\end_layout
\end_deeper
\begin_layout Enumerate
If
\begin_inset Formula $A=QR$
\end_inset
, then
\begin_inset Formula $B=RQ=Q^{*}AQ=Q^{-1}AQ$
\end_inset
is a similarity transformation, and hence has the same eigenvalues as shown
in the book.
Numerically (and as explained in class and in lecture 28), doing this repeatedl
y for a Hermitian
\begin_inset Formula $A$
\end_inset
(the unshifted QR algorithm) converges to a diagonal matrix
\begin_inset Formula $\Lambda$
\end_inset
of the eigenvalues in descending order.
To get the eigenvectors, we observe that if the
\begin_inset Formula $Q$
\end_inset
matrices from each step are
\begin_inset Formula $Q_{1}$
\end_inset
,
\begin_inset Formula $Q_{2}$
\end_inset
, and so on, then we are computing
\begin_inset Formula $\cdots Q_{2}^{*}Q_{1}^{*}AQ_{1}Q_{2}\cdots=\Lambda$
\end_inset
, or
\begin_inset Formula $A=Q\Lambda Q^{*}$
\end_inset
where
\begin_inset Formula $Q=Q_{1}Q_{2}\cdots$
\end_inset
.
By comparison to the formula for diagonalizing
\begin_inset Formula $A$
\end_inset
, the columns of
\begin_inset Formula $Q$
\end_inset
are the eigenvectors.
\end_layout
\begin_layout Enumerate
Trefethen, problem 28.2:
\begin_inset Separator latexpar
\end_inset
\end_layout
\begin_deeper
\begin_layout Enumerate
In general,
\begin_inset Formula $r_{ij}$
\end_inset
is nonzero (for
\begin_inset Formula $i<j$
\end_inset
) if column
\begin_inset Formula $i$
\end_inset
is non-orthogonal to column
\begin_inset Formula $j$
\end_inset
.
For a tridiagonal matrix
\begin_inset Formula $A$
\end_inset
, only columns within two columns of one another are non-orthogonal (overlapping
in the nonzero entries), so
\begin_inset Formula $R$
\end_inset
should only be nonzero (in general) for the diagonals and for two entries
above each diagonal; i.e.
\begin_inset Formula $r_{ij}$
\end_inset
is nonzero only for
\begin_inset Formula $i=j$
\end_inset
,
\begin_inset Formula $i=j-1$
\end_inset
, and
\begin_inset Formula $i=j-2$
\end_inset
.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
Each column of the
\begin_inset Formula $Q$
\end_inset
matrix involves a linear combination of all the previous columns, by induction
(i.e.
\begin_inset Formula $q_{2}$
\end_inset
uses
\begin_inset Formula $q_{1}$
\end_inset
,
\begin_inset Formula $q_{3}$
\end_inset
uses
\begin_inset Formula $q_{2}$
\end_inset
and
\begin_inset Formula $q_{1}$
\end_inset
,
\begin_inset Formula $q_{4}$
\end_inset
uses
\begin_inset Formula $q_{3}$
\end_inset
and
\begin_inset Formula $q_{2}$
\end_inset
,
\begin_inset Formula $q_{5}$
\end_inset
uses
\begin_inset Formula $q_{4}$
\end_inset
and
\begin_inset Formula $q_{3}$
\end_inset
, and so on).
This means that an entry
\begin_inset Formula $(i,j)$
\end_inset
of
\begin_inset Formula $Q$
\end_inset
is zero (in general) only if
\begin_inset Formula $a_{i,1:j}=0$
\end_inset
(i.e., that entire row of
\begin_inset Formula $A$
\end_inset
is zero up to the
\begin_inset Formula $j$
\end_inset
-th column).
For the case of tridiagonal
\begin_inset Formula $A$
\end_inset
, this means that
\begin_inset Formula $Q$
\end_inset
will have upper-Hessenberg form.
\end_layout
\begin_layout Enumerate
\series bold
Note:
\series default
In the problem, you are told that
\begin_inset Formula $A$
\end_inset
is symmetric and tridiagonal.
You must also assume that
\begin_inset Formula $A$
\end_inset
is real, or alternatively that
\begin_inset Formula $A$
\end_inset
is Hermitian and tridiagonal.
(The problem clearly intended this, since tridiagonal matrices only arise
in the QR method if the starting point is Hermitian.) In contrast, if
\begin_inset Formula $A$
\end_inset
is complex tridiagonal with
\begin_inset Formula $A^{T}=A$
\end_inset
, the stated result is not true (
\begin_inset Formula $RQ$
\end_inset
is not in general tridiagonal, as can easily be verified using a random
tridiagonal complex
\begin_inset Formula $A$
\end_inset
in Julia).
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
It is sufficient to show that
\begin_inset Formula $RQ$
\end_inset
is upper Hessenberg: since
\begin_inset Formula $RQ=Q^{*}AQ$
\end_inset
and
\begin_inset Formula $A$
\end_inset
is Hermitian, then
\begin_inset Formula $RQ$
\end_inset
is Hermitian and upper-Hessenberg implies tridiagonal.
To show that
\begin_inset Formula $RQ$
\end_inset
is upper-Hessenberg, all we need is the fact that
\begin_inset Formula $R$
\end_inset
is upper-triangular and
\begin_inset Formula $Q$
\end_inset
is upper-Hessenberg.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
Consider the
\begin_inset Formula $(i,j)$
\end_inset
entry of
\begin_inset Formula $RQ$
\end_inset
, which is given by
\begin_inset Formula $\sum_{k}r_{i,k}q_{k,j}$
\end_inset
.
\begin_inset Formula $r_{i,k}=0$
\end_inset
if
\begin_inset Formula $i>k$
\end_inset
since
\begin_inset Formula $R$
\end_inset
is upper triangular, and
\begin_inset Formula $q_{k,j}=0$
\end_inset
if
\begin_inset Formula $k>j+1$
\end_inset
since
\begin_inset Formula $Q$
\end_inset
is upper-Hessenberg, and hence
\begin_inset Formula $r_{i,k}q_{k,j}\neq0$
\end_inset
only when
\begin_inset Formula $i\leq k\leq j+1$
\end_inset
, which is only true if
\begin_inset Formula $i\leq j+1$
\end_inset
.
Thus the
\begin_inset Formula $(i,j)$
\end_inset
entry of
\begin_inset Formula $RQ$
\end_inset
is zero if
\begin_inset Formula $i>j+1$
\end_inset
and thus
\begin_inset Formula $RQ$
\end_inset
is upper-Hessenberg.
\end_layout
\begin_layout Enumerate
Obviously, if
\begin_inset Formula $A$
\end_inset
is tridiagonal (or even just upper-Hessenberg), most of each column is
already zero—we only need to introduce one zero into each column below
the diagonal.
Hence, for each column
\begin_inset Formula $k$
\end_inset
we only need to do one
\begin_inset Formula $2\times2$
\end_inset
Givens rotation or
\begin_inset Formula $2\times2$
\end_inset
Householder reflection of the
\begin_inset Formula $k$
\end_inset
-th and
\begin_inset Formula $(k+1)$
\end_inset
-st rows, rotating
\begin_inset Formula $\left(\begin{array}{c}
\cdot\\
\cdot
\end{array}\right)\to\left(\begin{array}{c}
\bullet\\
0
\end{array}\right)$
\end_inset
.
Each
\begin_inset Formula $2\times2$
\end_inset
rotation/reflection requires 6 flops (multiping a 2-component vector by
a
\begin_inset Formula $2\times2$
\end_inset
matrix), and we need to do it for all columns starting from the
\begin_inset Formula $k$
\end_inset
-th.
However, actually we only need to do it for 3 columns for each
\begin_inset Formula $k$
\end_inset
, since from above the conversion from
\begin_inset Formula $A$
\end_inset
to
\begin_inset Formula $R$
\end_inset
only introduces one additional zero above each diagonal, so most of the
rotations in a given row are zero.
That is, the process looks like
\begin_inset Formula
\[
\left(\begin{array}{cccccc}
\cdot & \cdot\\
\cdot & \cdot & \cdot\\
& \cdot & \cdot & \cdot\\
& & \cdot & \cdot & \cdot\\
& & & \cdot & \cdot & \cdot\\
& & & & \cdot & \cdot
\end{array}\right)\rightarrow\left(\begin{array}{cccccc}
\bullet & \bullet & \bullet\\
0 & \bullet & \bullet\\
& \cdot & \cdot & \cdot\\
& & \cdot & \cdot & \cdot\\
& & & \cdot & \cdot & \cdot\\
& & & & \cdot & \cdot
\end{array}\right)\rightarrow\left(\begin{array}{cccccc}
\cdot & \cdot & \cdot\\
0 & \bullet & \bullet & \bullet\\
& 0 & \bullet & \bullet\\
& & \cdot & \cdot & \cdot\\
& & & \cdot & \cdot & \cdot\\
& & & & \cdot & \cdot
\end{array}\right)\rightarrow\left(\begin{array}{cccccc}
\cdot & \cdot & \cdot\\
0 & \cdot & \cdot & \cdot\\
& 0 & \bullet & \bullet & \bullet\\
& & 0 & \bullet & \bullet\\
& & & \cdot & \cdot & \cdot\\
& & & & \cdot & \cdot
\end{array}\right),
\]
\end_inset
where
\begin_inset Formula $\bullet$
\end_inset
indicates the entries that change on each step.
Notice that it gradually converts
\begin_inset Formula $A$
\end_inset
to
\begin_inset Formula $R$
\end_inset
, with the two nonzero entries above each diagonal as explained above, and
that each Givens rotation need only operate on three columns.
Hence, only
\begin_inset Formula $O(m)$
\end_inset
flops are required, compared to
\begin_inset Formula $O(m^{3})$
\end_inset
for ordinary QR! [Getting the exact number requires more care that I won't
bother with, since we can no longer sweep under the rug the
\begin_inset Formula $O(m)$
\end_inset
operations required to construct the
\begin_inset Formula $2\times2$
\end_inset
Givens or Householder matrix, etc.]
\end_layout
\end_deeper
\begin_layout Subsection*
Problem 2: Schur fine (10+15 points)
\end_layout
\begin_layout Enumerate
First, let us show that
\begin_inset Formula $T$
\end_inset
is normal: substituting
\begin_inset Formula $A=QTQ^{*}$
\end_inset
into
\begin_inset Formula $AA^{*}=A^{*}A$
\end_inset
yields
\begin_inset Formula $QTQ^{*}QT^{*}Q^{*}=QT^{*}Q^{*}QTQ^{*}$
\end_inset
and hence (cancelling the
\begin_inset Formula $Q$
\end_inset
s)
\begin_inset Formula $TT^{*}=T^{*}T$
\end_inset
.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
The (1,1) entry of
\begin_inset Formula $T^{*}T$
\end_inset
is the squared
\begin_inset Formula $L_{2}$
\end_inset
norm (
\begin_inset Formula $\Vert\cdot\Vert_{2}^{2}$
\end_inset
) of the first column of
\begin_inset Formula $T$
\end_inset
, i.e.
\begin_inset Formula $|t_{1,1}|^{2}$
\end_inset
since
\begin_inset Formula $T$
\end_inset
is upper triangular, and the (1,1) entry of
\begin_inset Formula $TT^{*}$
\end_inset
is the squared
\begin_inset Formula $L_{2}$
\end_inset
norm of the first row of
\begin_inset Formula $T$
\end_inset
, i.e.
\begin_inset Formula $\sum_{i}|t_{1,i}|^{2}$
\end_inset
.
For these to be equal, we must obviously have
\begin_inset Formula $t_{1,i}=0$
\end_inset
for
\begin_inset Formula $i>1$
\end_inset
, i.e.
that the first row is diagonal.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
We proceed by induction.
Suppose that the first
\begin_inset Formula $j-1$
\end_inset
rows of
\begin_inset Formula $T$
\end_inset
are diagonal, and we want to prove this of row
\begin_inset Formula $j$
\end_inset
.
The
\begin_inset Formula $(j,j)$
\end_inset
entry of
\begin_inset Formula $T^{*}T$
\end_inset