Designing Information Devices and Systems I Spring 2018 Lecture Notes Note Interpretation: Water Reservoirs and Pumps

Similar documents
Marginal Costing Q.8

Operation and supply chain management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology Madras

Multiple Regression. Dr. Tom Pierce Department of Psychology Radford University

Question 2: How do we make decisions about inventory?

Rational Numbers in Mathematics. Lecture 2.1: Fractions INTRODUCTION 2.0

Bioreactors Prof G. K. Suraishkumar Department of Biotechnology Indian Institute of Technology, Madras. Lecture - 02 Sterilization

Heat Engines and Refrigerators

Chapter 9: Static Games and Cournot Competition

Text transcription of Chapter 4 The Market Forces of Supply and Demand

Reading Essentials and Study Guide

OUTPUT AND COSTS. Chapter. Key Concepts. Decision Time Frames

The first law of thermodynamics can be stated in terms of the heat energy transferred into the system,

Elasticity and Its Applications PRINCIPLES OF ECONOMICS (ECON 210) BEN VAN KAMMEN, PHD

TRANSPORTATION PROBLEM AND VARIANTS

My name is Jack Hay The title of my presentation is Staying lean with Electronic Work Instructions

Economics 352: Intermediate Microeconomics. Notes and Sample Questions Chapter Ten: The Partial Equilibrium Competitive Model

Scope Creep: need strong change control to prevent or mitigate. Must establish the change control system early in the project.

Understanding the GBG Compensation Plan Forced Matrix

FUZZY SET QUALITATIVE COMPARATIVE ANALYSIS PART 2

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Why Do We Need Fractions Anyway?

Online Student Guide Types of Control Charts

Managerial Accounting Prof. Dr. Varadraj Bapat Department of School of Management Indian Institute of Technology, Bombay

Chapter 8: Exchange. 8.1: Introduction. 8.2: Exchange. 8.3: Individual A s Preferences and Endowments

Session 31, Statistical Techniques for Fund Mapping and Other Applications. Moderator: Douglas L. Robbins, FSA, MAAA. Presenter:

Analytic Hierarchy Process, Basic Introduction

Blackboard 9 - Calculated Columns

Transcription and Translation

Predicting Direct Mail Test Results Before You Mail. Not A Theory. It s Proven. Scientific Survey Pre-testing for Direct Mail Marketers

Shape and Velocity Management. Stu Schmidt

The Mathematical Truth about VDPs, Price to Market and Sales. Noah John Co-founder Autoscores Orlando, FL (330)

Game Theory - final project

Descriptive Statistics Tutorial

Multiple and Single U/M. (copied from the QB2010 Premier User Guide in PDF)

Markov and Non-Markov Models for Brand Switching and Market Share Forecasting

Reducing Fractions PRE-ACTIVITY PREPARATION

Customer Lifetime Value II

Forecasting Introduction Version 1.7

Capacity Management - Telling the story

A Production Problem

Schedule % Complete in Primavera P6

The Self-Empowered Leader: You Don t Need To Be In Charge To Get Results

Putting Workforce Analytics to Work: Achieving Objectives and Realizing Outcomes

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Using your skills: Reducing your gas and electricity costs

PHASE CHANGES. Time Temperature Observations. Name(s)

CONVERSION'INSIGHT'1 Measure!Everything!

Two Lectures on Information Design

Chapter 5 Notes Page 1

Applied Thermodynamics for Marine Systems Prof. P. K. Das Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Using this information, we then write the output of a firm as

In this chapter we will study problems for which all the algebraic expressions are linear, that is, of the form. (a number)x +(a number)y;

FMEA Failure Mode Effects Analysis. ASQ/APICS Joint Meeting May 10, 2017

See below for an example on gym use in a large apartment complex: Men Women Total Men Women Total Used gym Used gym

ISE 204 OR II. Chapter 8 The Transportation and Assignment Problems. Asst. Prof. Dr. Deniz TÜRSEL ELİİYİ

ITC Committee Meeting February 17, 2017 Small Group Discussion

Chapter 3 Investment in Skills (Theory of Human Capital Education and On-The-Job Training) Economics 136 Julian Betts

Equating and Scaling for Examination Programs

Traditional vs. KPI Behavior Management Pay Plans

(32) where for are sub-matrices and, for are sub-vectors. Such a system of equations can be solved by solving the following sub-problems

In this chapter we will study problems for which all the algebraic expressions are linear, that is, of the form. (a number)x + (a number)y;

The Carbon Cycle Game A Classroom Activity for Ocean Gazing Episode #16: Antarctica melting

14.01 Principles of Microeconomics, Fall 2007 Chia-Hui Chen November 7, Lecture 22

EconS Perfect Competition and Monopoly

CALCULATING THE ROI OF LEAD NURTURING

Ricardo Model. Sino-American Trade and Economic Conflict

Workshop #2: Evolution

Identification Label TIMSS Student Questionnaire. <Grade 4> <TIMSS> <National Research Center Name> <Address>

Forecasting Fundamentals: The Art and Science of Predicting Call Center Workload

OPENEDGE BPM OVERVIEW

Carbon Cycle A CORE LEARNING GOALS ACTIVITY FOR SCIENCE AND MATHEMATICS

19. MORE UNIT CONVERSION

The Dummy s Guide to Data Analysis Using SPSS

LECTURE 13 THE NEOCLASSICAL OR WALRASIAN EQUILIBRIUM INTRODUCTION

GENETIC DRIFT INTRODUCTION. Objectives

Eco 300 Intermediate Micro

GC2: Components of the Earth System Working Together

Name Science Block. If you try skipping or skimming text, you will end up frustrated and confused!

1. Contingency Table (Cross Tabulation Table)

Online Algorithms and Competitive Analysis. Spring 2018

PERCENTS - Teacher Notes Unit 6-7 th grade

XpertHR Podcast. Original XpertHR podcast: 30 June 2017

OUTCOME-BASED BUSINESS MODELS IN THE INTERNET OF THINGS

User Guide For Dealer Associate Shippers

Chapter 10. The Firm and Industry in the Entrepreneurless Economy

Common Errors II. MSE 3333 TA Will Kurlinkus

Success Center Directed Learning Activity (DLA) Equivalent Fractions M001.1

The Carbon Cycle. Subject: Environmental Systems. Grade Level: High school (9-11)

Example Hot Tub Deck Design Using ConstructionCalc Software, v2.0

AGILE SOLUTIONS. Agile Basics

Chapter 6 Lecture - Elasticity: The Responsiveness of Demand and Supply

Phase II Outreach & Public Participation Guidance

THE GUIDE TO SPSS. David Le

Use repeated addition to multiply fractions by whole numbers. is shown. is an improper fraction.

The Basics and Sorting in Excel

CHANGE MANAGEMENT. A Presentation by Ian Creery - January 30, The environment we re in How does change work?... 2

Leveraging Data Analytics and the Internet of Things to transform Digital Marketing. Dr Dimitris K. Kardaras (

WHERE DOES THE WATER GO IN THE SAN ANTONIO RIVER BASIN?

Advanced Financial Modeling. Unit 1

XpertHR Podcast. Original XpertHR podcast: 25 January 2018

Transcription:

EES 6 Designing Information Devices and Systems I Spring Lecture Notes Note 5 5. Interpretation: Water Reservoirs and Pumps One way of visualizing matrix-vector multiplication is by considering water reservoirs and water pumps. We are presenting this example because it is vital as an engineer that you understand the ideas that we are talking about in an intuitive way, and this intuition often comes from having a series of examples that make sense. fter all, we define mathematical operations the way that we do because these definitions are useful; they don t come out of nowhere. The act of doing mathematics and engineering is often about making definitions and seeing where they lead us, while checking the consistency of these definitions with what we are trying to model in the real world. For these examples, we will have three water reservoirs,,,. Let s say the initial amounts of water they respectively hold are,,. Next, say we have a system of pumps connecting the reservoirs that move certain amounts of water between the reservoirs every day. We can represent the reservoirs as the following vector, where each element describes how much water is currently in that reservoir: Then, we can represent the system of pumps as a matrix: P P P P P P P P P Each element P i j represents the fraction of water in reservoir i that goes into reservoir j the next day. The matrix acts on the vector just as the pumps act on the reservoirs, performing a transformation multiplying a vector representing the distribution of water in one day by the pump matrix will give a vector with the distribution of water the next day. This example can also extend to matrix-matrix multiplication. oth this pumps and reservoirs example and a similar example (PageRank how search engines can use link information to figure out which pages are important) will show further applications of linear algebra. 5.. asic Pump The most basic pump system will move all water from one reservoir into another. Pictorially, we can show this as follows (blue circles are the reservoirs and arrows represent how the pumps move the water): EES 6, Spring, Note 5

The corresponding matrix-vector multiplication is: Each time the pumps act on the reservoirs, all of the water in reservoir flows into reservoir. ll of the water in reservoir flows into reservoir. ll of the water in reservoir flows into reservoir. If,, and all start with the same amount of water, then the pumps acting on the reservoirs would not change the amount of water in each reservoir. s an example, let the amount of water in each reservoir initially be,,. Then we can calculate the amount of water in each reservoir after activating the pumps once (,, ) as follows: = = 5.. Identity Matrix Pump What happens when your pump system can be represented as the identity matrix? What does that mean? If the initial amounts of water in the reservoirs are represented by the vector, and the identity matrix represents how the pumps move the water, after one activation of the pumps, nothing changes! = = 5.. Drain nother special matrix is the zero matrix: In terms of the reservoirs, it would be some sort of drain (e.g. an evil monster evaporated all of the water in the three reservoirs). The zero matrix acting on the reservoirs results in zero water left in each reservoir. This does not obey water conservation the total amount of water after the pump matrix is applied will not equal the initial total but can still be represented as a matrix. EES 6, Spring, Note 5

5.. onservation of Water Now let s look at what happens when pumps move different amounts of water from each reservoir into other reservoirs. Specifically, let s work with this diagram: Now, let us describe these pumps with this matrix: Each element of the matrix still represents a pump and indicates how much water is moved where. The first row indicates how much of each reservoir contributes to reservoir when the pumps are activated. The second row does the same for reservoir, and the third row is for reservoir. For example, the upper left element tells us that half of what is in reservoir will stay in reservoir. Similarly, the on the middle left tells us that the other half of what was in reservoir will flow into reservoir when the pumps turn on. s we can see, each column of the matrix sums to one. This means the water is conserved (none is mysteriously lost or gained). The water will either stay in the original reservoir or move to a different one. This is a useful fact about water moving between pools with no evaporation, but it is not something that is going to hold in all useful applications of matrices. fter activating the pumps once, how do we know how much water is in each reservoir? That can be calculated with a matrix-vector product, just as we saw with the simpler pump models: = + + = + + + + 5..5 Matrix Multiplication Examples Now let s look at how matrix-matrix multiplication can be applied to water reservoirs and pumps. 5..6 Twin ities In this scenario, we have two cities that each have three reservoirs. The pump systems in the cities are identical. Let s start with the basic pump system. EES 6, Spring, Note 5

S R T (a) ity (b) ity The pump system can still be represented as a matrix, like before: However, now the pump system acts on two sets of reservoirs instead of just one. an our pump matrix act on two vectors representing the reservoirs instead of just one? We can combine the two vectors representing the water reservoirs in each city into a single matrix, with a column for each reservoir vector as follows: R S T Now, let s use the pump matrix to find the water distribution in both cities in a single calculation. In ity, the reservoirs initially have water amounts,,. In ity, the reservoirs initially have water amounts R,S,T. Once the pumps act on the reservoirs, the amount of water in each reservoir can be found through matrix-matrix multiplication: R R T S = S = R T T S If the cities have identical but more complicated pumps (such as the conservation pumps in the previous example), finding out how the reservoirs change is the same process. ll that would be different is the pump system matrix. What happens if you have the same pump-reservoir system in k cities? To find out how the pumps act on the reservoirs, you can still use matrix-matrix multiplication. One matrix describes the pumps, while the other describes the reservoirs. There would be k columns in the reservoir matrix, because each column is a vector that represents the reservoirs of a certain city. In this case, we see a matrix acting on another matrix to transform multiple vectors the same way. ecause of this, we can also see why the dimensions of the matrix have certain restrictions. The number of columns in the pumps matrix must match the number of rows in the reservoir matrix. The pumps matrix acts on each column of the reservoir matrix to produce a new column for the resulting matrix that describes amount of water for that city s reservoirs. 5..7 ctivate Pumps Once... nd Then Once More Now, imagine we have one system of pumps for one city with three reservoirs. How can we calculate the amount of water in each reservoir after activating the pumps twice? From matrix-vector multiplication, we EES 6, Spring, Note 5

know how to find the amount after one activation. If matrix represents the pumps and v represents the initial reservoir vector, then v = v will tell us how much water is in each reservoir after one activation. Then v = v will tell us how much water is in each reservoir after the second activation. ut from the reservoirs standpoints, how they got from v to v does not matter. For all they know, it could have been some other system of pumps (matrix ) that acted on the initial reservoir vector ( v ) that resulted in v. This means that one set of pumps acting twice on the reservoirs is equivalent to another matrix acting on the reservoirs: v = v ( v ) = v ( ) v = v = s an example, let s take the pump system from the conservation example in section 5..: Let s calculate v : For comparison: = = = v = v = v =, v = = 5 6 6 5 6 = 5 6 9 65 7 7 7 = = From this example, we can see that matrix-matrix multiplication results in an equivalent matrix. Pump system acting twice on the reservoirs is the same as pump system acting once on the reservoirs. 5.. Multitude of Pumps nother example of matrix-matrix multiplication with these pumps and reservoirs is when two (or more) different sets of pumps act sequentially on a city s reservoirs. From the previous example, we know that a matrix multiplied by another matrix is equivalent to another matrix. That principle can be applied here. So if we have Pump System act on the reservoirs ( v ) and then Pump System act on the reservoirs, it is the same as if some other Pump System acted on the reservoirs: ( v ) = v ( ) v = v = 9 65 7 7 7 6 5 6 EES 6, Spring, Note 5 5