Processing math: 100%
Skip to main content

Section 26.4 Examples

Subsection 26.4.1 The algebraic pattern of similarity

Example 26.4.1.

Let's verify the algebraic pattern of similarity identified in Discovery 26.3 and Subsection 26.3.2 in a specific example.

Consider matrices

A=[110271051],B=[112232181511],P=[102023110].

Let's verify that A and B are similar and that P is a transition matrix that realizes that similarity relationship using the aforementioned algebraic pattern of similarity.

Pattern 26.3.1 says that each column of B should tell us how to decompose the result of computing A times the corresponding column of P as a linear combination of all the columns of P. In other words, we should have

Ap1=p1+2p2+p3,Ap2=12p1p25p3,Ap3=23p1+8p2+11p3,

where p1,p2,p3 represent the columns of P, and the coefficients in each of these linear combinations are taken from the corresponding column of B.

We have

p1=[101],p2=[021],p3=[230],

and we can compute

Ap1=[111],Ap2=[21311],Ap3=[11715].

On the other hand, we have

p1+2p2+p3=[101]+2[021]+[230]=[111],12p1p25p3=12[101][021]5[230]=[21311],23p1+8p2+11p3=23[101]+8[021]+11[230]=[11715],

each of which agree with the corresponding Apj calculation above.

Remark 26.4.2.

In the example above, we are really just computing and comparing AP and PB, since those two products are where we got our patten of similarity. Rather than a computational tool, the algebraic pattern of similarity identified in Discovery 26.3 and Subsection 26.3.2 will be a theoretical tool to bring the theory of the vector space Rn (or Cn, as appropriate) to bear on the analysis of various specific similarity patterns that we will explore in the chapters to come.

Subsection 26.4.2 Computing P1AP by row reduction

In Subsubsection 22.3.5.3 we modified the inverse-by-row-reduction computation pattern to show that multiplication by an inverse can be computed by row reduction. (See pattern () in Subsubsection 22.3.5.3.) The same modified pattern can be used to compute the product of P1 and AP:

[PAP]rowreduce[IP1(AP)].
Example 26.4.3.

Let's use the matrices of Example 26.4.1 to demonstrate.

First, compute

AP=[1211131711115].

Now augment P with AP and reduce:

[PAP]=[1021210231131711011115]XXR3R1[102121023113170120914]XR2R3[102121012091402311317]XXR32R2[10212101209140011511]R12R3R2+2R3X[100112230102180011511].

Comparing with the matrix B from Example 26.4.1, we see that P1AP=B as expected.