Graph Theory: Cliques Ryan Nickerson Roy Burdin Henry Armstrong Alex Martin Derek Hanrahan.

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

CSNB143 – Discrete Structure
Introduction to Graph “theory”
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
12.1 Systems of Linear Equations: Substitution and Elimination.
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Matrices. Outline What is a matrix? Size of matrices Addition of matrices Scalar multiplication Matrices multiplication.
Linear Equations in Linear Algebra
Table of Contents Matrices - Multiplication Assume that matrix A is of order m  n and matrix B is of order p  q. To determine whether or not A can be.
Chapter 11 Section 11.0 Review of Matrices. Matrices A matrix (despite the glamour of the movie) is a collection of numbers arranged in a rectangle or.
LIAL HORNSBY SCHNEIDER
Chapter 1 Section 1.2 Echelon Form and Gauss-Jordan Elimination.
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
Applied Discrete Mathematics Week 10: Equivalence Relations
1.3 Matrices and Matrix Operations.
Row rows A matrix is a rectangular array of numbers. We subscript entries to tell their location in the array Matrices are identified by their size.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Matrices & Determinants Chapter: 1 Matrices & Determinants.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
MATH 3581 — College Geometry — Spring 2010 — Solutions to Homework Assignment # 3 B E A C F D.
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
Based on slides by Y. Peng University of Maryland
Mathematics.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Vocabulary and Representations of Graphs. NC Standard Course of Study Competency Goal 1: The learner will use matrices and graphs to model relationships.
4.5 Inverse of a Square Matrix
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
8.2 Operations With Matrices
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
Learning Objectives for Section 4.5 Inverse of a Square Matrix
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
MATRICES Danny Nguyen Marissa Lally Clauberte Louis HOW TO'S: ADD, SUBTRACT, AND MULTIPLY MATRICES.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Chapter 1 Section 1.5 Matrix Operations. Matrices A matrix (despite the glamour of the movie) is a collection of numbers arranged in a rectangle or an.
3.6 Multiplying Matrices Homework 3-17odd and odd.
Chapter 1 Section 1.6 Algebraic Properties of Matrix Operations.
MATRICES. DEFINITION A rectangular array of numeric or algebraic quantities subject to mathematical operations. Something resembling such an array, as.
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
Matrix Arithmetic Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Designed by Victor Help you improve MATRICES Let Maths take you Further… Know how to write a Matrix, Know what is Order of Matrices,
Relations and Their Properties
Matrix Operations McDougal Littell Algebra 2
4-2 Multiplying Matrices Warm Up Lesson Presentation Lesson Quiz
13.4 Product of Two Matrices
Matrix. Matrix Matrix Matrix (plural matrices) . a collection of numbers Matrix (plural matrices)  a collection of numbers arranged in a rectangle.
Matrices - Addition and Subtraction
Matrix Multiplication
Matrix Operations Monday, August 06, 2018.
Matrix Operations Add and Subtract Matrices Multiply Matrices
Matrices.
Warm Up Use scalar multiplication to evaluate the following:
Multiplying Matrices.
Matrix Multiplication
Warm-Up 3) 1) 4) Name the dimensions 2).
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Multiplying Matrices.
5 minutes Warm-Up Multiply Matrix A times Matrix B.
3.6 Multiply Matrices.
Closures of Relations Epp, section 10.1,10.2 CS 202.
Matrices are identified by their size.
Multiplying Matrices.
Multiplying Matrices.
Multiplying Matrices.
Presentation transcript:

Graph Theory: Cliques Ryan Nickerson Roy Burdin Henry Armstrong Alex Martin Derek Hanrahan

Basic Graph Theory Vocab. Vertices are points of a graph. Usually used to represent something, in our example our vertices will represent towns. Edges are lines that connect vertices. Edges show a connection between vertices, and in our example edges will represent roads. A Graph is a collection of vertices and edges, in our example the graph will represent a county. Cliques of a graph are defined as follows: A subset S of vertices satisfying the following properties: –S contains 3 or more vertices –Each pair of vertices in S have an edge connecting them –S is maximal (there is no larger set of vertices that satisfies the second property and contains S) In our project we will show how to find cliques of a graph.

Example of Cliques in a Graph In the graph to the left you can see that it contains 4 vertices and 4 edges interconnecting them. We can see that there is a clique containing points A, B, and C because there is a edge between each pairing of these points. The first and third properties of being a clique are usually quite obvious to observe, as it is with this case.

Towns in Maine Our Problem: There are twenty towns in a county in Maine. Below these towns are listed in pairs if there is a road connecting them. We want to know if there are cliques within our graph and what towns belong to them. Town Connections: AB, AM, AD, BL, BK, BE, BC, CE, DE, EJ, EL, EK, FJ, GH, GJ, HJ, HP, IO, IR, IS, IQ, KN, KL, LM, MR, OQ, OS, OR, PQ, PR, QR, QS, QT, RS, ST

Using Matrices to Find Cliques Now to detect if a graph has cliques, because that may not be apparent as it is with our problem, you can use an incedence matrix. To make an incedence matrix you make an n x n matrix (n is the number of vertices), and label your rows and columns with your vertices. You then fill in your entries by either putting a 1 or a 0 in, 1 if the vertices have an edge directly connecting them or 0 if they don’t.

Our Incedence Matrix

Matrix Multiplication We now need to cube our matrix, but first we’ll explain matrix multiplication. To multiply two n by n matrices you take the first row of your first matrix and multiple its entries by the entries of the first column of you second matrix and then add those products together to get your 11 entry of your product matrix. So in other words, to get the ij-th entry of you product matrix take the i-th row of you first matrix, multiply its entries by the entries of the j-th column of your second matrix, and then add all those products together.

Cubed Incedence Matrix

Do we have any Cliques? So how do we use this cubed matrix? Well, you look at your ii-th entries (i.e. the diagonal entries) and if their entry is a positive number then you know your i-th vertice belongs to a clique. This is because our cubed incedence matrix tells us the number of ways your i-th vertice has access to itself, and since there are no loops in our graph then that i-th vertice must be part of a clique.

Towns in a Clique To the right is a list of towns that belong to cliques. We know they belong to cliques because looking back at our cubed matrix we can see in each towns case, where its row intersects its column you have a positive number. Towns belonging to a clique: B, C, E, G, H, I, J, K, L, O, P, Q, R, S, T So now that we know what towns belong to a clique we want to know which towns are in cliques together. For this task we’ll take a look at a graph of our points.

Graph of our Towns Note: This is just one possibility for how our graph looks, it could have easily been drawn a different way as long as it has all the same points connected

Our Cliques So after analyzing our graph and already knowing what towns belong to cliques we can determine that the cliques of our county are: BCE, BEKL, GHJ, QST, PQR, and IOQRS. All 6 of these cliques also meet all three criterion for being a clique.

What does it all mean? So after determining what towns are in a clique in our county, what do we do with this information. Well, in this specific example we can say the towns that create cliques could be seen as ‘economic centers’ (perhaps not that level in Maine, but if you generalized the idea). Since the towns are all interconnected by roads you can easily transport goods and services within those towns. Cliques also have a variety of other uses, such as determining the validity of communication lines (making sure everyone can contact everyone else within a group). Cliques could also be used to determine degrees of separation between people. For example, on Facebook there is an experiment called Six Degrees of Separation whose purpose is to see if everyone on Facebook is only six people away from one another. If it were feasible to create a incedence matrix of everyone on Facebook you could us cliques to determine if everyone is only separated by six people.