Solved Examples for Linear Algebra | Math 6, Study notes of Linear Algebra

Material Type: Notes; Class: LINEAR ALGEBRA; Subject: Mathematics; University: University of California - Irvine; Term: Spring 2003;

Typology: Study notes

Pre 2010

Uploaded on 09/17/2009

koofers-user-v6o
koofers-user-v6o ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Jim Lambers
Math 6A
Spring Quarter 2003-04
Lecture 21 Examples
These examples correspond to Section 3.2 in the text.
Example The set of integers, Z, is countable. To see this, we note that a bijection between Nand
Zcan be explicitly constructed. The function f:Zโ†’Ndefined by
f(z) = ๎˜š2zif zโ‰ฅ0
โˆ’2zโˆ’1 if z < 0, z โˆˆZ,
has the inverse fโˆ’1:Nโ†’Zgiven by
fโˆ’1(n) = ๎˜šn/2 if nis even
โˆ’(n+ 1)/2 if nis odd .
That these functions are inverses can be seen by computing f(fโˆ’1(n)) and fโˆ’1(f(z)) and verifying
that they are equal to nand z, respectively. 2
Example The set of rational numbers, Q, is countable. This can be seen by writing the positive
rational numbers on an infinite grid, starting at the upper left corner and writing numbers on
diagonals further and further away from the corner, in such a way that the numbers on each
diagonal have the same sum of their numerator and denominator. This grid begins as follows:
1/1 2/1 3/1 4/1 5/1 6/1
1/2 2/2 3/2 4/2 5/2
1/3 2/3 3/3 4/3
1/4 2/4 3/4
1/5 2/5
1/6
By writing the positive rational numbers in this order, we can be sure to list all of them. If we
associate positive integers with these rational numbers as follows:
1/1โ†’1 2/1โ†’3 3/1โ†’6 4/1โ†’10 5/1โ†’15 6/1โ†’21
1/2โ†’2 2/2โ†’5 3/2โ†’9 4/2โ†’14 5/2โ†’20
1/3โ†’4 2/3โ†’8 3/3โ†’13 4/3โ†’19
1/4โ†’7 2/4โ†’12 3/4โ†’18
1/5โ†’11 2/5โ†’17
1/6โ†’16
1
pf2

Partial preview of the text

Download Solved Examples for Linear Algebra | Math 6 and more Study notes Linear Algebra in PDF only on Docsity!

Jim Lambers Math 6A Spring Quarter 2003- Lecture 21 Examples

These examples correspond to Section 3.2 in the text.

Example The set of integers, Z, is countable. To see this, we note that a bijection between N and Z can be explicitly constructed. The function f : Z โ†’ N defined by

f (z) =

2 z if z โ‰ฅ 0 โˆ’ 2 z โˆ’ 1 if z < 0 ,^ z^ โˆˆ^ Z,

has the inverse f โˆ’^1 : N โ†’ Z given by

f โˆ’^1 (n) =

n/ 2 if n is even โˆ’(n + 1)/ 2 if n is odd

That these functions are inverses can be seen by computing f (f โˆ’^1 (n)) and f โˆ’^1 (f (z)) and verifying that they are equal to n and z, respectively. 2

Example The set of rational numbers, Q, is countable. This can be seen by writing the positive rational numbers on an infinite grid, starting at the upper left corner and writing numbers on diagonals further and further away from the corner, in such a way that the numbers on each diagonal have the same sum of their numerator and denominator. This grid begins as follows:

1 / 1 2 / 1 3 / 1 4 / 1 5 / 1 6 / 1 1 / 2 2 / 2 3 / 2 4 / 2 5 / 2 1 / 3 2 / 3 3 / 3 4 / 3 1 / 4 2 / 4 3 / 4 1 / 5 2 / 5 1 / 6

By writing the positive rational numbers in this order, we can be sure to list all of them. If we associate positive integers with these rational numbers as follows:

1 / 1 โ†’ 1 2 / 1 โ†’ 3 3 / 1 โ†’ 6 4 / 1 โ†’ 10 5 / 1 โ†’ 15 6 / 1 โ†’ 21 1 / 2 โ†’ 2 2 / 2 โ†’ 5 3 / 2 โ†’ 9 4 / 2 โ†’ 14 5 / 2 โ†’ 20 1 / 3 โ†’ 4 2 / 3 โ†’ 8 3 / 3 โ†’ 13 4 / 3 โ†’ 19 1 / 4 โ†’ 7 2 / 4 โ†’ 12 3 / 4 โ†’ 18 1 / 5 โ†’ 11 2 / 5 โ†’ 17 1 / 6 โ†’ 16

then we can describe an explicit bijection between Q and Z+, the set of positive integers. We can define f : Q โ†’ Z+^ by

f (p/q) = (p + q โˆ’ 1)(p + q โˆ’ 2) 2

  • p,

while its inverse f โˆ’^1 : Z+^ โ†’ Q is defined by

f โˆ’^1 (n) = p q

, k = p + q =

1 + 8n 2

, p = n โˆ’ (k โˆ’ 1)(k โˆ’ 2) 2

, q = k โˆ’ p.

These functions can be obtained by noting that first diagonal has one number, the second has two, and so on, with the jth diagonal containing j numbers. Therefore the number of rational numbers on the first j diagonals is

โˆ‘j i=1 i^ =^ j(j^ + 1)/2. Also note that the sum of the numerator and denominator is constant along each diagonal, and is equal to j +1, where j is the number of the diagonal. The fact that n, the positive integer associated with each rational number, is related to p + q, the sum of the numerator and the denominator, by a quadratic function in the definition of f implies that the quadratic formula must be used in obtaining f โˆ’^1. Given that the positive rational numbers are countable, it can be shown that the set of all rational numbers, including zero and negative rational numbers, is also countable, in the same way that the integers are countable.