Relations & Functions
|
|
- Wendy Gaines
- 7 years ago
- Views:
Transcription
1 Relations & Functions Discrete Mathematics (MA 2333) Faculty of Science Telkom Institute of Technology Bandung - Indonesia
2 Relations Let A and B be sets. A binary relation from A to B is subset of A B. Notation: R (A B). The notation used for a binary relation is a R b or (a, b) R, which means a is related to b oleh by relation R arbor (a, b) R means a is not related to b by relation R. Set A is called domain of R, and set B is called range of R
3 Relations Example A = {2,3,5}, B = {4,6,9,,5} A B = {(2,4), (2,6), (2,9), (2,), (2,5), (3,4), (3,6), (3,9), (3,), (3,5), (5,4), (5,6), (5,9), (5,), (5,5)} Relation R defined by : (a, b) R if a divides b R = {(2,4), (2,6), (2,), (3,6), (3,9), (3,5), (5,), (5,5)} This example show that R (A B) (2,4) R (3,) R
4 Relations Relations from a set A to itself are of special interest A relation on the set A is a relations A to A. A relation on set A is a subset of A A.
5 Relations Let A = {, 2, 3, 4} Relation R defined by : (a, b) R if a divides b, a,b A R = {(,), (,2), (,3), (,4), (2,2), (2,4), (3,3), (4,4)}
6 Representing Relations Ordered Pair Example A = {2,3,5}, B = {4,6,9,,5} Relation R defined by : (a, b) R if a divides b R = {(2,4), (2,6), (2,), (3,6), (3,9), (3,5), (5,), (5,5)}
7 Representing Relations Arrows Diagram A = {2,3,5}, B = {4,6,9,,5} Relation R defined by : (a, b) R if a divides b
8 Representing Relations Table The first column represents the domain, the second column represents range A = {2,3,5}, B = {4,6,9,,5} Relation R defined by : (a, b) R if a divides b A B
9 Representing Relations Matrix Let R be the relation that relate set A = {a, a2,, am} and B = {b, b2,, bn}. Relation R can be represented using matrix M = [mij] b b 2 b n mn m m n n m m m m m m m m m m a a a L M M M M L L M = R b a R b a m j i j i ij ), (, ), (, M =
10 Representing Relations Matrix (Cont) A = {2,3,5}, B = {4,6,9,,5} Relation R defined by : (a, b) R if a divides b M =
11 Representing Relations 4. Directed Graph Directed graph is defined to represent a relation on a set (not between two sets) Every element of the set is represented by a vertex and every ordered pair is represented by an edge (arc) Let A = {, 2, 3, 4} Relation R defined by : (a, b) R if a divides b, a,b A R = {(,), (,2), (,3), (,4), (2,2), (2,4), (3,3), (4,4)}
12 Relations Representations 4. Directed Graph (Cont) 2 4 3
13 Properties of Binary Relations Reflexive A relation R on a set A is called refexive if (a, a) R for every element a A. A relation on A is reflexive if every element of A is related to itself
14 Properties of Binary Relations Example. Let A = {, 2, 3, 4}, and relation R defined by : (a,b) R if a b and a,b A Hence, R = {(, ), (2, ), (2, 2), (3, ), (3, 2), (3, 3), (4, ), (4, 2), (4,3), (4,4)} It is seen that (,), (2,2), (3,3), (4,4) are element of R. Therefore R is reflexive Example. Let A = {, 2, 3, 4}, and relation R defined by : (a,b) R if a > b and a,b A Relasi R = {(2, ), (3, ), (3, 2), (4, ), (4, 2), (4,3)} is not reflexive because (,), (2,2), (3,3), (4,4) are not element of R Example. Relation divides on set of positive integers is reflexive, because every positive integers divide on itself, so that (a, a) R for every a A.
15 Properties of Binary Relations Reflexive relation has matrix which main diagonal elements is, or m ii =, for i =,2,..,n When a reflexive relation is represented using directed graph, there will always be loop in every vertex O
16 Properties of Binary Relations Transitive A relation R on set A is called transitive if (a, b) R and (b, c) R, then (a, c) R, which a, b, c A. Example. Let A = {, 2, 3, 4}, and relation R defined on A, a. R = {(2, ), (3, ), (3, 2), (4, ), (4, 2), (4, 3)} is transitive
17 Properties of Binary Relations See table below : (a,b) (b,c) (a,c) (3,2) (2,) (3,) (4,2) (2,) (4,) (4,3) (3,) (4,) (4,3) (3,2) (4,2)
18 Properties of Binary Relations R = {(, ), (2, 3), (2, 4), (4, 2) } is not transitive because (2, 4) and (4, 2) R, but (2, 2) R, (4, 2) and (2, 3) R, but (4, 3) R. Relation R = {(, ), (2, 2), (3, 3), (4, 4) } is transitif Relation R = {(, 2), (3, 4)} transitive because there is not (a, b) R and (b, c) R so that (a, c) R. Relation that contain only one element, R = {(4, 5)} alaways transitive
19 Properties of Binary Relations Example. Relation divides on set of positive integers is transitive. Suppose a divides b, and b divides c. Then there are exist positive integers m and n, so that b = ma dan c = nb. Therefore c = nma, then a divides c. So, relation divides is transitive
20 Properties of Binary Relations When transitive relation represented in the form of matrix, transitive relation does not have particular characteristics on its matrix Transitive property on directed graph is described by a condition : if there is an edge from a to b and b to c, there will be directed edge from a to c
21 Properties of Binary Relations Symmetric and anti-symmetric A Relation R on a set A is called symmetric if for every a, b A, if (a, b) R, then (b, a) R Relation R on a set A is not symmetric if (a, b) R while (b, a) R.
22 Properties of Binary Relations A Relation R on a set A is called anti-symmetric if for every a, b A, if (a, b) R, and (b, a) R, then a = b Notice that the term symmetric is not the antonym for the term antisymmetric
23 Properties of Binary Relations Example. Let A = {, 2, 3, 4}, and relation R below defined on set A, then R = {(, ), (, 2), (2, ), (2, 2), (2, 4), (4, 2), (4, 4) } is symmetric because (, 2) and (2, ) R, (2, 4) and (4, 2) R. R is not anti-symmetric R = {(, ), (2, 3), (2, 4), (4, 2) } is not symmetric because (2, 3) R, but (3, 2) R. R is not anti symmetric R = {(, ), (2, 2), (3, 3) } is antisymmetric because = dan (, ) R, 2 = 2 and (2, 2) R, and 3 = 3 and (3, 3) R. R is symmetric.
24 Properties of Binary Relations Example. Relation divides on set of positive integers is not symmetric because if a devides b, b is not divides a, except if a = b. For example, 2 divides 4, but 4 is not devides 2. Therefore (2, 4) R but (4, 2) R. Example. Relation divides anty-symmetric because if a divides b and b divides a, then a = b. For example, 4 divides 4. therefore, (4, 4) R and 4 = 4.
25 Properties of Binary Relations Symmetric relation has matrix which elements under the main diagonal are the reflection of the elements above the main diagonal, or m ij = m ji =, for i =, 2,, n : Symmetric relation when represented in the by directed graph, has characteristics of : if there is an edge from a to b, there will be an edge from b to a
26 Properties of Binary Relations Anti-symmetric relation has matrix which elements characteristic is : if m ij = with i j, then m ji =. In other words, the matrix of the anti-symmetric relation meets the condition of : is one of m ij = or m ji = if i j Characteristic of a directed graph of an anti-symmetric relation is that there will never be two edges with different directions between two different vertices
27 Inverse of Relation Let R is a relation from set A to set B. Inverse of relation R, denoted by R, is a relation from B to A which defined by R = {(b, a) (a, b) R }
28 Inverse of Relation Example. Let P = {2, 3, 4} and Q = {2, 4, 8, 9, 5}. If we define relation R from P to Q by : (p, q) R if p divides q, so we obtain R = {(2, 2), (2, 4), (4, 4), (2, 8), (4, 8), (3, 9), (3, 5) } R is relation from Q to P with (q, p) R if q is p then we obtain R = {(2, 2), (4, 2), (4, 4), (8, 2), (8, 4), (9, 3), (5, 3) }
29 Inverse of Relation If M is a matrix representing a relation R then matrix which representing relation R, is obtained by finding transpose of matrix M M = N = M T =
30 Combining Relations Sinc relations from A to B are subsets of A x B, two relations from A to B can be combined any way two sets can be combined If R and R 2 are relations from A to B, then R R 2, R R 2, R R 2, and R R 2 are also relation from A to B.
31 Combining Relations Example. Let A = {, 2, 3} and B = {, 2, 3, 4}. Relation R = {(, 2), (3, 3), (4, 4)} Relation R 2 = {(, ), (, 2), (, 3), (, 4)} R R 2 = {(, )} R R 2 = {(, ), (2, 2), (3, 3), (, 2), (, 3), (, 4)} R R 2 = {(2, 2), (3, 3)} R 2 R = {(, 2), (, 3), (, 4)} R R 2 = {(2, 2), (3, 3), (, 2), (, 3), (, 4)}
32 Combining Relations Suppose that the relations Rand R2 on set A are represented by the following matrices R = R2 = M R R2 = MR MR2 = MR R2 = MR MR2 =
33 Composition of Relations Let R be the relation from set A to set B, and let S be relation from set B to set C. The composition of R and S, is denoted by S ο R, is relation from A to C which is defined by: S ο R = {(a, c) a A, c C, for a,b B, (a, b) R and (b, c) S}
34 Composition of Relations Example. Let R = {(, 2), (, 6), (2, 4), (3, 4), (3, 6), (3, 8)} is relation from set {, 2, 3} to set {2, 4, 6, 8} and S = {(2, u), (4, s), (4, t), (6, t), (8, u)} is relation from set {2, 4, 6, 8} to set {s, t, u}. Then composition of relation R and S is S ο R = {(, u), (, t), (2, s), (2, t), (3, s), (3, t), (3, u)} s t u
35 Composition of Relations If relation R and R2 are represented by matrices M R dan M R2, then matrix representing the composition of the two relations are M R2 ο R = M R M R2 It is done by changing product with (operator AND) and by changing the addition with (operator OR)
36 Composition of Relations Example. Let relations R and R2 defined on set A are represented by matrices R = R2 = The matrix representing R2 ο R is MR2 ο R = MR. MR2 ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) = ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) = ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
37 Equivalence Relations A relation on a set A is called an equivalence relation if it is reflexive, symmetric and transitive. Two elements that are related by an equivalence relation are called equivalent Example Suppose that R is the relation on the set of strings of English letters such that a R b if and only if l(a) = l(b), where l(x) is the length of the string x. Is R an equivalence relation? Solution : Since l(a) = l(b) it follows that ara whenever a is string, so that R is reflexive
38 Equivalence Relations Suppose that a R b, so that l(a)=l(b). Then b R a, since l(b) = l(a). Hence, R is symmetric Suppose that a R b and b R c. Then l(a)=l(b) and l(b)=l(c). Hence l(a)=l(c), so that arc Consequently R is an equivalence relation
39 Equivalence Relations Example Let R be the relation on the set of real number such thst arb if and only if a b is an integer. Is R an equivalence relation? Solution : Since a a = is an integer for all real numbers a, ara for all real numbers a. Hence, R is reflexive Suppose that a R b. Then a b is an integer, so that b a is also an integer. Hence, b R a. It follows that R is symmetric If a R b and b R c, then a b and b c are integers. Therefore, a-c = (a-b)+(b-c) is also integer. Hence a R c. Thus R transitive. So, R is an equivalence relation
40 Equivalence Relations Let A be the set of all students in IT Telkom. Consider the relation R on A that consists of all pairs (x,y) where x and y graduated from the same high school. Given a student x, we can form the set the set of all students equivalent to x with respect to R. This set contains of all students who graduated from the same high school as x did. This subset of A is called an equivalence class of the relation
41 Equivalence Classes Let R be an equivalence relation on a set A. The set of all elements that are related to an element a of A is called the equivalence class of a. The equivalence class of a with respect to R is denoted by [a] R [a] R = {s (a,s) R} When only one relation is under consideration, we will delete the subscript R and write [a] for this equivalence class If b [a] R, then b is called a representative of theis equivalence class
42 Partial Orderings A relation on a set S is called a partial ordering or partial order if it is reflexive, antisymmetric, and transitive A set S together with partial ordering R is called a partially ordered set (poset) and is denoted by (S,R) Example Show that the greater than or equal relation ( ) is aprtial ordering on the set of integers. Solution: We know that R = ( a, b) For every integers a, { a b} a it means, for every integers a, (a,a) R. thus R reflexive a
43 Partial Orderings For arbitrary integer a, b, if a b and b a, then a = b. It means if (a,b) R and (b,a) R, then a = b. Thus R is antisymmetric For arbitrary integer a, b, c, if a b and b c, then a c. It means If (a,b) R and (b,c) R then (b,c) R. Thus R is transitive. Hence, R is partial ordering, and (Z, ) is poset Exercise : Show that divisibility relation (denoted by ) is partial ordering on the set of positive integers Show that the inclusion relation is a partial ordering on the power set of a set S
44 Partial Orderings The element a and b of a poset (S,R) are called comparable if either a R b or b R a. When a and b are elements of S such that neither a R b nor b R a, a and b are called incomparable Example In the poset (Z +, ), are the integers 3 and 9 comparable? Are 5 and 7 are comparable? The integers 3 and 9 are comparable, since 3 divides 9 (3 9) The integers 5 and 7 are incomparable, because 5 does not divide 7 and 7 does not divide 5
45 Partial Orderings The adjective partial is used to describe partial orderings since pairs of elements may be incomparable. When every two elements in the set are comparable, the relation is called a total ordering If (S,R) is a poset and every two elements of S are comparable, S is called a totally ordered set, and R is called a total order
46 Partial Orderings The poset (Z, ) is totally ordered set, since a b or a b whenever a nd b integers The poset (Z +, ) is not totally ordered set since it contains elements that are incomparable
47 Hasse Diagram Hasse Diagram : Diagram which contains sufficient information to find the partial ordering Procedure to construct the Hasse Diagram. Start with directed graph for this relation. All edges are pointed upward 2. Because a partial ordering is reflexive, remove the loops 3. Remove all edges that that must be present because the transitivity 4. Remove all the arrows on the directed edges
48 Hasse Diagram Example Draw Hasse diagram representing partial ordering on set {, 2, 3, 4} R ( a b) { a b} =,. Start with directed graph for this relation. All edges are pointed upward 4 3 2
49 Hasse Diagram 2. Because a partial ordering is reflexive, remove the loops 4 3 2
50 Hasse Diagram 3. Remove all edges that that must be present because the transitivity 4 3 2
51 Hasse Diagram 4. Remove all the arrows on the directed edges. The result is Hasse diagram 4 3 2
52 Hasse Diagram Example Draw Hasse diagram representing partial ordering a, b a divides b on set {, 2, 3, 4, 6, 8, 2} ( ) { } Directed Graph Hasse Diagram
53 Functions
54 Definition Let A and B be sets Binary relation f from A to B is a function if every element in A related to exactly one element in B If f is a function from A to B, we can denote f : A B It means f assigns set A to B. A is called the domain of f and B is called codomain of f. Another term for function is mapping or transformation.
55 Definition If f(a) = b, then b is called image of a and a is called pre-image of b. The set that contains all values of mapping f is called range of f. A B f a b
56 Example Relation f = {(, u), (2, v), (3, w)} from A = {, 2, 3} to B = {u, v, w} is function from A to B. f() = u, f(2) = v, and f(3) = w. Domain of f is A and codomain is B. Range of f is {u, v, w}
57 Example Relation f = {(, u), (2, u), (3, v)} from A = {, 2, 3} to B = {u, v, w} is a function from A to B. Domain of f is A, codomain B, Range of f is {u, v}.
58 Example Relation f = {(, u), (2, v), (3, w)} from A = {, 2, 3, 4} to B = {u, v, w} is not function, because not all elements of A mapped to B.
59 Example Suppose f : Z Z defined by f(x) = x 2. Domain and codomain of f is set of integer, and range of f is a set of positive integer and zero
60 Function One to One Function f is called one-to-one or injective, if set A do not have two elements with similar image in set B A B a b 2 c 3 d 4 5
61 Function One to One Example. Relation f = {(, w), (2, u), (3, v)} from A = {, 2, 3} to B = {u, v, w, x} is function one to one But relation f = {(, u), (2, u), (3, v)} from A = {, 2, 3} to B = {u, v, w} is not function one to one, because f() = f(2) = u.
62 Function One to One Example. Suppose f : Z Z. Determine whether the functions f(x) = x 2 + and f(x) = x one-to-one? Solution: f(x) = x 2 + is not function one-to-one, f(2) = f(-2) = 5 while 2 2. f(x) = x is not function one-to-one since for a b, a b. Suppose that for x = 2, f(2) = and for x = -2, f(-2) = -3.
63 Function Onto The function f from set A to set B is said to be onto or surjective, if every element of of set B is the image of one or more of the two elements of set A. In other words, all elements of set B are the range of f A B a b 2 c 3 d
64 Function Onto Example. Relation f = {(, u), (2, u), (3, v)} from A = {, 2, 3} to B = {u, v, w} is not function onto since w is not range of f Relation f = {(, w), (2, u), (3, v)} from A = {, 2, 3} to B = {u, v, w} is function onto since all elements of B are range of f.
65 Function Onto Example Suppose f : Z Z. Determine whether f(x) = x 2 + and f(x) = x are function onto? Solution: f(x) = x 2 + is not function onto, since not all of integers are range of f. f(x) = x is funtion onto since for every integer y, there is a real number x, such that x = y +.
66 Function Onto Function one to one but is not onto A a b c B Function onto but is not one to one A a b c d c B 2 3
67 Function Onto It is not function one to one neither onto a b c A B 2 3 d c 4 It is not function A B a b c 2 3 d c 4
68 Function One to One Correspondence Function f is said to be one-toone correspondence or bijection, if it is both one-to-one and onto
69 Function One to One Correspondence Example Function f = {(, u), (2, w), (3, v)} from A = {, 2, 3} to B = {u, v, w} is function one-to-one correspondence since f is one-to-one and onto Function f(x) = x is function one-to-one correspondence since f is one-to-one and onto
70 Invers Function Let function f be one-to-one correspondence from the set A to the set B, we will always be able to find the inverse function of f Inverse function is denoted by f. Suppose that a is an element of set A and b is an element of set B, then f - (b) = a if f(a) = b.
71 Invers Function Example Relation f = {(, u), (2, w), (3, v)} from A = {, 2, 3} to B = {u, v, w} is function one-to-one correspondence. inverse function f is f - = {(u, ), (w, 2), (v, 3)} Thus, f is invertible function
72 Invers Function Example What is the inverse of function f(x) = x. Solution: Function f(x) = x is one-to-one correspondence that we can find its inverse Suppose that f(x) = y, that y = x, then x = y +. Thus, the inverse function is f - (x) = y +.
73 Invers Function Example What is the inverse of function f(x) = x 2 + Solution: Like the previous example, f(x) = x 2 + is not one-to-one correspondence that the inverse does not exist. Thus, f(x) = x 2 + is not invertible.
74 Exercises List the ordered pairs in the relation R from A = {,, 2, 3, 4} to B = {,, 2, 3} where (a,b) R if and only if: a = b a > b a + b = 4 a b
75 Exercises Relations below defined on {, 2, 3, 4}. Determine properties of relations below! {(2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4)} {(, ), (, 2), (2, ), (2, 2), (3, 3), (4, 4) {(2, 4), (4, 2)} {(, 2), (2, 3), (3, 4)} (, ), (2, 2), (3, 3), (4, 4)
76 Exercises Determine whether the relation R on the set of all people is reflexive, symmetric, antisymmetric, and/or transitive, where (a,b) R if and only if a is taller than b a and b were born on the same day a has the same first name as b
77 Exercises Let R be relation on the set of all URLs (or Web addresses) such that x Ryif and only if Web page at x is the same as the Web page at y. Show that R is an equivalence relation Let R be the relation R on the set of ordered pairs of positive integers such that ((a,b),(c,d)) R if and only if ad=bc. Show that R is an equivalence relation
78 Exercises Which of these are poset? (Z, =) (Z, ) (Z, ) (Z, ) Draw the Hasse for divisibility on the set : {, 2, 3, 4, 5, 6} {3, 5, 7,, 3, 6, 7} {2, 3, 5,, 5, 25} {, 3, 9, 27, 8, 243}
79 References Rosen, Kenneth H., Discrete Mathematics and Its Applications 5th Ed, McGraw-Hill, New York, 23 Munir, Rinaldi., Matematika Diskrit, Edisi Kedua, Penerbit Informatika Bandung, Bandung, 23
Lecture 16 : Relations and Functions DRAFT
CS/Math 240: Introduction to Discrete Mathematics 3/29/2011 Lecture 16 : Relations and Functions Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT In Lecture 3, we described a correspondence
More information. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9
Introduction The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive integer We say d is a
More informationJust the Factors, Ma am
1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive
More informationMathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson
Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement
More informationDiscrete Mathematics. Hans Cuypers. October 11, 2007
Hans Cuypers October 11, 2007 1 Contents 1. Relations 4 1.1. Binary relations................................ 4 1.2. Equivalence relations............................. 6 1.3. Relations and Directed Graphs.......................
More informationLecture 17 : Equivalence and Order Relations DRAFT
CS/Math 240: Introduction to Discrete Mathematics 3/31/2011 Lecture 17 : Equivalence and Order Relations Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last lecture we introduced the notion
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
More informationI. GROUPS: BASIC DEFINITIONS AND EXAMPLES
I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called
More informationPage 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.
Page 331, 38.2 Assignment #11 Solutions Factor the following positive integers into primes. a. 25 = 5 2. b. 4200 = 2 3 3 5 2 7. c. 10 10 = 2 10 5 10. d. 19 = 19. e. 1 = 1. Page 331, 38.4 Suppose a is a
More informationGeometric Transformations
Geometric Transformations Definitions Def: f is a mapping (function) of a set A into a set B if for every element a of A there exists a unique element b of B that is paired with a; this pairing is denoted
More informationYou know from calculus that functions play a fundamental role in mathematics.
CHPTER 12 Functions You know from calculus that functions play a fundamental role in mathematics. You likely view a function as a kind of formula that describes a relationship between two (or more) quantities.
More informationCartesian Products and Relations
Cartesian Products and Relations Definition (Cartesian product) If A and B are sets, the Cartesian product of A and B is the set A B = {(a, b) :(a A) and (b B)}. The following points are worth special
More informationSection 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj
Section 5. l j v j = [ u u j u m ] l jj = l jj u j + + l mj u m. l mj Section 5. 5.. Not orthogonal, the column vectors fail to be perpendicular to each other. 5..2 his matrix is orthogonal. Check that
More information1 The Concept of a Mapping
Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 1 The Concept of a Mapping The concept of a mapping (aka function) is important throughout mathematics. We have been dealing
More informationMath 312 Homework 1 Solutions
Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please
More informationMatrix Representations of Linear Transformations and Changes of Coordinates
Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under
More informationChapter 3. Cartesian Products and Relations. 3.1 Cartesian Products
Chapter 3 Cartesian Products and Relations The material in this chapter is the first real encounter with abstraction. Relations are very general thing they are a special type of subset. After introducing
More informationSolutions to In-Class Problems Week 4, Mon.
Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics for Computer Science September 26 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised September 26, 2005, 1050 minutes Solutions
More informationINTRODUCTORY SET THEORY
M.Sc. program in mathematics INTRODUCTORY SET THEORY Katalin Károlyi Department of Applied Analysis, Eötvös Loránd University H-1088 Budapest, Múzeum krt. 6-8. CONTENTS 1. SETS Set, equal sets, subset,
More information4. How many integers between 2004 and 4002 are perfect squares?
5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started
More informationDiscrete Mathematics & Mathematical Reasoning Chapter 10: Graphs
Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 13 Overview Graphs and Graph
More information7 Relations and Functions
7 Relations and Functions In this section, we introduce the concept of relations and functions. Relations A relation R from a set A to a set B is a set of ordered pairs (a, b), where a is a member of A,
More informationa 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
More informationCardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.
Section 2.5 Cardinality (another) Definition: The cardinality of a set A is equal to the cardinality of a set B, denoted A = B, if and only if there is a bijection from A to B. If there is an injection
More information15.062 Data Mining: Algorithms and Applications Matrix Math Review
.6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop
More informationMATH 551 - APPLIED MATRIX THEORY
MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points
More informationLecture 2 Matrix Operations
Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or
More informationA linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form
Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...
More information1 Introduction to Matrices
1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns
More informationElements of Abstract Group Theory
Chapter 2 Elements of Abstract Group Theory Mathematics is a game played according to certain simple rules with meaningless marks on paper. David Hilbert The importance of symmetry in physics, and for
More informationArkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan
Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 3 Binary Operations We are used to addition and multiplication of real numbers. These operations combine two real numbers
More informationDecember 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation
More informationMAT188H1S Lec0101 Burbulla
Winter 206 Linear Transformations A linear transformation T : R m R n is a function that takes vectors in R m to vectors in R n such that and T (u + v) T (u) + T (v) T (k v) k T (v), for all vectors u
More informationDATA ANALYSIS II. Matrix Algorithms
DATA ANALYSIS II Matrix Algorithms Similarity Matrix Given a dataset D = {x i }, i=1,..,n consisting of n points in R d, let A denote the n n symmetric similarity matrix between the points, given as where
More informationDERIVATIVES AS MATRICES; CHAIN RULE
DERIVATIVES AS MATRICES; CHAIN RULE 1. Derivatives of Real-valued Functions Let s first consider functions f : R 2 R. Recall that if the partial derivatives of f exist at the point (x 0, y 0 ), then we
More information4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION
4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION STEVEN HEILMAN Contents 1. Review 1 2. Diagonal Matrices 1 3. Eigenvectors and Eigenvalues 2 4. Characteristic Polynomial 4 5. Diagonalizability 6 6. Appendix:
More informationInner products on R n, and more
Inner products on R n, and more Peyam Ryan Tabrizian Friday, April 12th, 2013 1 Introduction You might be wondering: Are there inner products on R n that are not the usual dot product x y = x 1 y 1 + +
More informationSECTIONS 1.5-1.6 NOTES ON GRAPH THEORY NOTATION AND ITS USE IN THE STUDY OF SPARSE SYMMETRIC MATRICES
SECIONS.5-.6 NOES ON GRPH HEORY NOION ND IS USE IN HE SUDY OF SPRSE SYMMERIC MRICES graph G ( X, E) consists of a finite set of nodes or vertices X and edges E. EXMPLE : road map of part of British Columbia
More informationT ( a i x i ) = a i T (x i ).
Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)
More informationMathematics Course 111: Algebra I Part IV: Vector Spaces
Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are
More informationChapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation
Chapter 6 Linear Transformation 6 Intro to Linear Transformation Homework: Textbook, 6 Ex, 5, 9,, 5,, 7, 9,5, 55, 57, 6(a,b), 6; page 7- In this section, we discuss linear transformations 89 9 CHAPTER
More informationNOTES ON LINEAR TRANSFORMATIONS
NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all
More informationBasic Concepts of Set Theory, Functions and Relations
March 1, 2006 p. 1 Basic Concepts of Set Theory, Functions and Relations 1. Basic Concepts of Set Theory...1 1.1. Sets and elements...1 1.2. Specification of sets...2 1.3. Identity and cardinality...3
More information1 Sets and Set Notation.
LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most
More information13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.
3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms
More informationSo let us begin our quest to find the holy grail of real analysis.
1 Section 5.2 The Complete Ordered Field: Purpose of Section We present an axiomatic description of the real numbers as a complete ordered field. The axioms which describe the arithmetic of the real numbers
More informationSYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison
SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections
More informationA permutation can also be represented by describing its cycles. What do you suppose is meant by this?
Shuffling, Cycles, and Matrices Warm up problem. Eight people stand in a line. From left to right their positions are numbered,,,... 8. The eight people then change places according to THE RULE which directs
More informationDegree Hypergroupoids Associated with Hypergraphs
Filomat 8:1 (014), 119 19 DOI 10.98/FIL1401119F Published by Faculty of Sciences and Mathematics, University of Niš, Serbia Available at: http://www.pmf.ni.ac.rs/filomat Degree Hypergroupoids Associated
More informationLinear Algebra Notes for Marsden and Tromba Vector Calculus
Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of
More informationAbstract Algebra Cheat Sheet
Abstract Algebra Cheat Sheet 16 December 2002 By Brendan Kidwell, based on Dr. Ward Heilman s notes for his Abstract Algebra class. Notes: Where applicable, page numbers are listed in parentheses at the
More informationZachary Monaco Georgia College Olympic Coloring: Go For The Gold
Zachary Monaco Georgia College Olympic Coloring: Go For The Gold Coloring the vertices or edges of a graph leads to a variety of interesting applications in graph theory These applications include various
More informationINCIDENCE-BETWEENNESS GEOMETRY
INCIDENCE-BETWEENNESS GEOMETRY MATH 410, CSUSM. SPRING 2008. PROFESSOR AITKEN This document covers the geometry that can be developed with just the axioms related to incidence and betweenness. The full
More information8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
More informationProperties of Real Numbers
16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should
More informationMath 223 Abstract Algebra Lecture Notes
Math 223 Abstract Algebra Lecture Notes Steven Tschantz Spring 2001 (Apr. 23 version) Preamble These notes are intended to supplement the lectures and make up for the lack of a textbook for the course
More information1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.
File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one
More informationC H A P T E R Regular Expressions regular expression
7 CHAPTER Regular Expressions Most programmers and other power-users of computer systems have used tools that match text patterns. You may have used a Web search engine with a pattern like travel cancun
More informationIntroduction to Theory of Computation
Introduction to Theory of Computation Prof. (Dr.) K.R. Chowdhary Email: kr.chowdhary@iitj.ac.in Formerly at department of Computer Science and Engineering MBM Engineering College, Jodhpur Tuesday 28 th
More informationUniversity of Lille I PC first year list of exercises n 7. Review
University of Lille I PC first year list of exercises n 7 Review Exercise Solve the following systems in 4 different ways (by substitution, by the Gauss method, by inverting the matrix of coefficients
More information4. CLASSES OF RINGS 4.1. Classes of Rings class operator A-closed Example 1: product Example 2:
4. CLASSES OF RINGS 4.1. Classes of Rings Normally we associate, with any property, a set of objects that satisfy that property. But problems can arise when we allow sets to be elements of larger sets
More informationSection 6.1 - Inner Products and Norms
Section 6.1 - Inner Products and Norms Definition. Let V be a vector space over F {R, C}. An inner product on V is a function that assigns, to every ordered pair of vectors x and y in V, a scalar in F,
More informationNotes on Algebraic Structures. Peter J. Cameron
Notes on Algebraic Structures Peter J. Cameron ii Preface These are the notes of the second-year course Algebraic Structures I at Queen Mary, University of London, as I taught it in the second semester
More informationComputational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON
Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON John Burkardt Information Technology Department Virginia Tech http://people.sc.fsu.edu/ jburkardt/presentations/cg lab fem basis tetrahedron.pdf
More informationIntroduction to Matrices for Engineers
Introduction to Matrices for Engineers C.T.J. Dodson, School of Mathematics, Manchester Universit 1 What is a Matrix? A matrix is a rectangular arra of elements, usuall numbers, e.g. 1 0-8 4 0-1 1 0 11
More informationChapter 8 Integers 8.1 Addition and Subtraction
Chapter 8 Integers 8.1 Addition and Subtraction Negative numbers Negative numbers are helpful in: Describing temperature below zero Elevation below sea level Losses in the stock market Overdrawn checking
More informationChapter 13: Basic ring theory
Chapter 3: Basic ring theory Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 42, Spring 24 M. Macauley (Clemson) Chapter 3: Basic ring
More informationMatrix Differentiation
1 Introduction Matrix Differentiation ( and some other stuff ) Randal J. Barnes Department of Civil Engineering, University of Minnesota Minneapolis, Minnesota, USA Throughout this presentation I have
More informationLecture L3 - Vectors, Matrices and Coordinate Transformations
S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between
More informationRegular Languages and Finite State Machines
Regular Languages and Finite State Machines Plan for the Day: Mathematical preliminaries - some review One application formal definition of finite automata Examples 1 Sets A set is an unordered collection
More informationFormal Languages and Automata Theory - Regular Expressions and Finite Automata -
Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March
More informationHere are some examples of combining elements and the operations used:
MATRIX OPERATIONS Summary of article: What is an operation? Addition of two matrices. Multiplication of a Matrix by a scalar. Subtraction of two matrices: two ways to do it. Combinations of Addition, Subtraction,
More informationVector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.
1 Linear Transformations Prepared by: Robin Michelle King A transformation of an object is a change in position or dimension (or both) of the object. The resulting object after the transformation is called
More information9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes
The Scalar Product 9.4 Introduction There are two kinds of multiplication involving vectors. The first is known as the scalar product or dot product. This is so-called because when the scalar product of
More informationIntroduction to Matrix Algebra
Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary
More informationNotes on Determinant
ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without
More information( ) which must be a vector
MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are
More informationChapter 3. if 2 a i then location: = i. Page 40
Chapter 3 1. Describe an algorithm that takes a list of n integers a 1,a 2,,a n and finds the number of integers each greater than five in the list. Ans: procedure greaterthanfive(a 1,,a n : integers)
More informationAcquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A3d,e Time allotted for this Lesson: 4 Hours
Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A3d,e Time allotted for this Lesson: 4 Hours Essential Question: LESSON 4 FINITE ARITHMETIC SERIES AND RELATIONSHIP TO QUADRATIC
More informationCONTENTS 1. Peter Kahn. Spring 2007
CONTENTS 1 MATH 304: CONSTRUCTING THE REAL NUMBERS Peter Kahn Spring 2007 Contents 2 The Integers 1 2.1 The basic construction.......................... 1 2.2 Adding integers..............................
More information1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0
Solutions: Assignment 4.. Find the redundant column vectors of the given matrix A by inspection. Then find a basis of the image of A and a basis of the kernel of A. 5 A The second and third columns are
More informationMathematics Review for MS Finance Students
Mathematics Review for MS Finance Students Anthony M. Marino Department of Finance and Business Economics Marshall School of Business Lecture 1: Introductory Material Sets The Real Number System Functions,
More informationRotation Matrices and Homogeneous Transformations
Rotation Matrices and Homogeneous Transformations A coordinate frame in an n-dimensional space is defined by n mutually orthogonal unit vectors. In particular, for a two-dimensional (2D) space, i.e., n
More informationDiscrete Mathematics Problems
Discrete Mathematics Problems William F. Klostermeyer School of Computing University of North Florida Jacksonville, FL 32224 E-mail: wkloster@unf.edu Contents 0 Preface 3 1 Logic 5 1.1 Basics...............................
More informationFunctions CHAPTER 2. Introduction. 2.1 Some Basic Terminology. Terminology for Sets
CHAPTER 2 Functions Introduction Functions play a fundamental role in nearly all of mathematics Combinatorics is no exception In the next section we review the basic terminology and notation for functions
More informationDiscrete Maths. Philippa Gardner. These lecture notes are based on previous notes by Iain Phillips.
Discrete Maths Philippa Gardner These lecture notes are based on previous notes by Iain Phillips. This short course introduces some basic concepts in discrete mathematics: sets, relations, and functions.
More informationSome Special Artex Spaces Over Bi-monoids
Some Special Artex Spaces Over Bi-monoids K.Muthukumaran (corresponding auther) Assistant Professor PG and Research Department Of Mathematics, Saraswathi Narayanan College, Perungudi Madurai-625022,Tamil
More informationChapter 3 RANDOM VARIATE GENERATION
Chapter 3 RANDOM VARIATE GENERATION In order to do a Monte Carlo simulation either by hand or by computer, techniques must be developed for generating values of random variables having known distributions.
More informationUsing row reduction to calculate the inverse and the determinant of a square matrix
Using row reduction to calculate the inverse and the determinant of a square matrix Notes for MATH 0290 Honors by Prof. Anna Vainchtein 1 Inverse of a square matrix An n n square matrix A is called invertible
More informationVector and Matrix Norms
Chapter 1 Vector and Matrix Norms 11 Vector Spaces Let F be a field (such as the real numbers, R, or complex numbers, C) with elements called scalars A Vector Space, V, over the field F is a non-empty
More informationClass One: Degree Sequences
Class One: Degree Sequences For our purposes a graph is a just a bunch of points, called vertices, together with lines or curves, called edges, joining certain pairs of vertices. Three small examples of
More informationS on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =
Section 6. 1 Section 6. Groups of Permutations: : The Symmetric Group Purpose of Section: To introduce the idea of a permutation and show how the set of all permutations of a set of n elements, equipped
More information(Q, ), (R, ), (C, ), where the star means without 0, (Q +, ), (R +, ), where the plus-sign means just positive numbers, and (U, ),
2 Examples of Groups 21 Some infinite abelian groups It is easy to see that the following are infinite abelian groups: Z, +), Q, +), R, +), C, +), where R is the set of real numbers and C is the set of
More informationNotes on Symmetric Matrices
CPSC 536N: Randomized Algorithms 2011-12 Term 2 Notes on Symmetric Matrices Prof. Nick Harvey University of British Columbia 1 Symmetric Matrices We review some basic results concerning symmetric matrices.
More informationMATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2
MATHEMATICS FO ENGINEES BASIC MATIX THEOY TUTOIAL This is the second of two tutorials on matrix theory. On completion you should be able to do the following. Explain the general method for solving simultaneous
More informationSolving Linear Systems, Continued and The Inverse of a Matrix
, Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing
More informationUnified Lecture # 4 Vectors
Fall 2005 Unified Lecture # 4 Vectors These notes were written by J. Peraire as a review of vectors for Dynamics 16.07. They have been adapted for Unified Engineering by R. Radovitzky. References [1] Feynmann,
More informationWhy? A central concept in Computer Science. Algorithms are ubiquitous.
Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online
More informationABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS
ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS John A. Beachy Northern Illinois University 2014 ii J.A.Beachy This is a supplement to Abstract Algebra, Third Edition by John A. Beachy and William D. Blair
More information