40
Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems. Jon Davidson Southern State Community College Hillsboro, Ohio [email protected]

Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

  • Upload
    osias

  • View
    21

  • Download
    0

Embed Size (px)

DESCRIPTION

Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems. Jon Davidson Southern State Community College Hillsboro, Ohio [email protected]. For example:. What can we learn from an ordinary linear system of two variables?. - PowerPoint PPT Presentation

Citation preview

Page 1: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Hidden treasures in 2 × 2 linear systems—applications of non-orthonormal coordinate

systems.

Jon DavidsonSouthern State Community CollegeHillsboro, [email protected]

Page 2: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

What can we learn from an ordinary linear system of two variables?

For example:

3x  −  2y  =  5−x  +  5y  =  7

The solution is x = 3, y = 2.

Page 3: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

The coefficient matrix, A, describes a vector space in : °

2

The matrix form, , for this system is:

3 − 2− 1 5

⎣⎢

⎦⎥ 

xy

⎣⎢⎢

⎦⎥⎥  =   5

7⎡

⎣⎢

⎦⎥

Ax =b

Page 4: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

The right side of this equation, , is a

coordinate, , in this vector space.

57

⎣⎢

⎦⎥

32

⎣⎢

⎦⎥

The matrix form, , for this system is:

3 − 2− 1 5

⎣⎢

⎦⎥ 

xy

⎣⎢⎢

⎦⎥⎥  =   5

7⎡

⎣⎢

⎦⎥

Ax =b

Page 5: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Thus we have this equation:

3  3− 1

⎣⎢

⎦⎥  +  2  − 2

5⎡

⎣⎢

⎦⎥  =   5

7⎡

⎣⎢

⎦⎥

The matrix form, , for this system is:

3 − 2− 1 5

⎣⎢

⎦⎥ 

xy

⎣⎢⎢

⎦⎥⎥  =   5

7⎡

⎣⎢

⎦⎥

Ax =b

Page 6: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

In order to generalize the situation, I find it easier to change the variables to a more convenient system,Au = x,where u represents coordinates (u, v), and x repre-sents coordinates (x, y).

For our example matrix, , the

coordinate systems represented by Au = x are as follows:

A  =   3 − 2− 1 5

⎣⎢

⎦⎥

Page 7: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

u

v

Page 8: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

v

x

y

u

The basis vectors for(u, v) areu = 3i – jv = – 2i + 5j.

Page 9: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

u

v

x

yThe solution to 3u – 2v = 5 – u + 5v = 7,which is (3, 2) in the (u, v) coordinate system, is found at (5, 7) in the (x, y) coordinate system.

Page 10: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Some observations . . .

Each node on the graph representsinteger solutions to Au = x.

Page 11: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

For example, coordinate (14, – 9) in (x, y) shows that (4, – 1) is the solution to this system: 3u – 2v  =  14 – u + 5v = – 9

u

v

x

y

Page 12: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

A “unit square” in the (u, v) coordinate system is a parallel-ogram with area = 13 in the(x, y) coordinate system.

The determinant of A is

3 − 2− 1 5

  =  13. 

Page 13: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

It is a good exercise for students to show that in general, if two adjacent sides of a parallelogram are represented by the vectors and a11i  +  a21 j a12i  +  a22 j , then

area  =  absa11 a12

a21 a22

⎝⎜⎜

⎠⎟⎟ . 

This gives an insight into the Jacobian determinant, used in evaluating multiple integrations.

Page 14: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

By adapting our original example this way,

3u – 2v = x – u + 5v = y ,

it could be used as a coordinate transformation in evaluating a double integral. The Jacobian is:

J   =  

δxδu

δxδv

δyδu

δyδv

  =   3 − 2− 1 5

  =  13

Page 15: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

In the differential of area,dA = dx dy, can be illustrated by scaling it to a unit square.

° 2

The unit square can berepresented by

transforms the unit square to the parallelogram we saw before:

S   =   0 10 0

1 01 1

⎣⎢

⎦⎥ , so

A  =   3 − 2− 1 5

⎣⎢

⎦⎥

A⋅S  =   0 30 − 1

1 − 24 5

⎣⎢

⎦⎥

Page 16: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Thus the scaling factor of the Jacobian determinant can be visualized in this example. The differential of area in (u, v) is

dA = dudv = J  dxdy = 13 dxdy. 

Page 17: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

This makes finding the area of this ellipse,

easier, provided you know the right substitution:

x  =   3u – 2vy = – u + 5v

u2   +  v2   =  1

This substitution turns the original equation into the unit circle:

2x2   +  2xy  +  y2   =  13 , 

Since the Jacobian, the scaling factor, is 13, the area of the ellipse is 13π.

Page 18: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

The matrix form for the conic section is

which gives interesting avenues for exploration in its own right.

Ax2   +  Bxy  +  Cy2   =  D

x y⎡⎣

⎤⎦ 

A    B2

B2

   C

⎢⎢⎢⎢

⎥⎥⎥⎥

 xy

⎣⎢⎢

⎦⎥⎥  =  D, 

Unfortunately, I haven’t figured out a simple way to find a convenient substitution, for the general ellipse,

that would turn the equation into

in order to easily determine the area of the ellipse.

Ax2   +  Bxy  +  Cy2   =  D, 

x  =  Tu, 

u2   +  v2   =  D

Page 19: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

det T( )  =  A     

B2

B2

    C

But if you could find the suitable x = Tu, it can be shown that

Since this is the Jacobian of the coordinate transformation, x = Tu, then it can be determined that the area of the ellipse,

area  =  Dπ

det T( )

The proof is tedious.

Page 20: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Another observation . . .

Page 21: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

u

v

x

y

What is the density of the integer nodes coinciding with both(u, v) and(x, y) coordinate systems?

For this example, the density is1

13 .

Page 22: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

This coordinate system is generated by the vector space with this ordered basis:

1− 1

⎣⎢

⎦⎥, 

24

⎣⎢

⎦⎥

⎧⎨⎩⎪

⎫⎬⎭⎪

Page 23: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Thus it comes from this linear system: u + 2v = x– u + 4v = y

Note that

1   2− 1   4

  =  6. 

1

6 . 

And so the density of the integer nodes is

Page 24: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

More intuitive is observing that the area of the “unit” parallelograms is , so this rescales the number of integer nodes by that factor.det A( )

For the general system, Au = x, provided A is nonsingular and all (u, v) and (x, y) coordinates are integers, the density of integer solutions in at integer nodes is: °

2

An algebraic proof seems tricky for first time linear algebra students.

1

det A( )

Page 25: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

This explains why integer solutions to most systems with a determi-nant of 1 or – 1 are “large” in comparison to the coefficients.

For example, consider this system:3x + 2y = 44x + 3y = – 5

The solution is x = 22, y = – 31.

The more general system,3u + 2v = x

4u + 3v = y ,is based on this vector space:

34

⎣⎢

⎦⎥, 

23

⎣⎢

⎦⎥

⎧⎨⎩⎪

⎫⎬⎭⎪

Page 26: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

The angle between 3i + 4j and 2i + 3j is about 3.2˚.

Because the determinant of the coefficient matrix for3u + 2v = x4u + 3v = y

is 1, any integer values for the right side, (x, y), will produce integer solutions in (u, v).

So the density of the integer nodes is 1.

I didn’t attempt to draw this coordinate system, but here are the u and v axes:

Page 27: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems
Page 28: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Another observation . . .

Page 29: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

It can be interesting to see how the geometry induced by the transformation A in Au = x affects familiar graphs.

For example, how does affect the unit circle?3 − 2

− 1 5⎡

⎣⎢

⎦⎥

If we let be the unit circle in (u, v), then is used to provide a substitution to turn it into (x, y) coordinates:

u2   +  v2   =  1 u  =  A− 1 x

u   =  113

  5x  +  2y( )

v  =  113

  x  +  3y( )

This gives the ellipse 2x2   +  2xy  +  y2   =  13 . 

Page 30: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Animating this transformation from circle to ellipse provides a little razzle-dazzle.

QuickTime™ and aGIF decompressor

are needed to see this picture.

Page 31: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Recall this system:3u + 4v = x2u + 3v = y

Page 32: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Here is its transformation of the unit circle:

QuickTime™ and aGIF decompressor

are needed to see this picture.

Page 33: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

If you have the software to produce animations (I used Maple 15), it might be worth it to work out the procedure with your students as an application of a time parameter.

I used this for the transformation matrices:

for 0 ≤ t ≤ 1.

I   +  t A  −  I( )

It is interesting to show that the eigenvectors of are the same as the eigenvectors of A when t ≠ 0.

I   +  t A  −  I( )

Page 34: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Here are two more transformations of familiar functions. I find that students are fascinated by such transformations.

Page 35: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

transforms this to:3 − 2

− 1 5⎡

⎣⎢

⎦⎥

1

13  x  +  3y( )  =  

1133  125x3  +  150x2y  +  60xy2   +  8y3( )

Here is the basic cubic, v  =  u3.

Page 36: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems
Page 37: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems
Page 38: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

Here’s a transformation on v = sin u.

− 1

14  − 5x  +  y( )  =  sin − 

1

14x  −  3y( )

⎛⎝⎜

⎞⎠⎟

 .  The graph is

Page 39: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems
Page 40: Hidden treasures in 2 × 2 linear systems— applications of non-orthonormal coordinate systems

If you’d like a copy of this PowerPoint, pleasewrite to me (Jon Davidson) at this address:

[email protected]