Computer Project. Purpose: To better understand the notion of rank and learn its connection with linear independence.

Size: px
Start display at page:

Download "Computer Project. Purpose: To better understand the notion of rank and learn its connection with linear independence."

Transcription

1 MA M. Kon Extra Credit Assignment 3 Due Tuesday, 3/28/17 Computer Project Name Remember - it's never too late to start doing the extra credit computer algebra problem sets! 1. Rank and Linear Independence Purpose: To better understand the notion of rank and learn its connection with linear independence. Prerequisite: Basic knowledge of rank, MATLAB functions used:, rank, rref; and indat, randomint from Lay's Toolbox. Definition. Recall that the rank of a matrix E can be defined to be the number of pivot columns in E. Notice this is well defined since the reduced echelon form of a matrix is unique. One way to find rank is to calculate the reduced echelon form and then count the number of pivot columns. Another quicker way is to use MATLAB's rank function. Ô " # $ % % & ' ( Example 1. Let EœÖ (note you can get Eand other matrices through ' * "# "& Õ " " " " Ø the command indat). Type A, rref(a) to see E and Ô "! " #! " # $ ans œ Ö. There are two pivot columns in the reduced matrix so the!!!! Õ!!!! Ø rank of E is 2. Type rank(a) to see ans œ # at once. 1. Use both of the above methods to find the rank of each of the following four matrices. To get the matrices, type indat if you have not already done so. Then type rref(b), rank(b), etc.

2 " # % " # $! Ô " # $ Ô Ô % & ' Fœ " " " Gœ " # " " HœÖ Õ ( ) *! " # Ø Õ $ ' & " Ø Õ & ( * Ø Ô " " " " % " " #! % ( ' " $ " "! "$ #" Iœ " % # #! #$ &' Ö " & $ $& $) "#' Õ " ' % &' &* #&# Ø Record the reduced echelon form of each matrix, circle each pivot column and record the rank: Rank: 2. (hand) Recall the definition of linear independence in Section 1.6. Let QœÒv " v# v5 Óbe a matrix whose columns are v, " v #,v 5Þ Use this definition and the definition of rank above to explain why the following are logically equivalent (i.e., why each implies the other): (a) The set of vectors Ö v,v,,v " # 5 is linearly independent.

3 (b) The rank of Q is 5. Hint: if vectors are L.I., then what is the dimension of their span? You can use results from class or the text if you wish. 3. Use the method of question 2 to answer the questions below. In each case, write the appropriate matrix, use MATLAB to calculate its rank, and record the rank. (To learn how to store a matrix, see Section 1 of the computer project "Getting Started With MATLAB.") Ú Þ ÝÔ " Ô # Ô $ Ô % # $ % & Example 2: (a) The set ÛÖ ßÖ ßÖ ßÖ ß is not linearly independent. Verify this Ý $ % & ' ÜÕ! Ø Õ" Ø Õ" Ø Õ" Øà by entering an appropriate matrix (call it J ), and then computing rref(f). (b) For the appropriate matrix K, type G, rref(g) to find if the set Ú Þ ÝÔ " Ô # Ô $ Ô $ # $ % & ÛÖ ßÖ ßÖ ß Ö ß is linearly independent. Is it?. Ý $ % & ' ÜÕ! Ø Õ" Ø Õ" Ø Õ" Øà (c) Examine the matrices Fß Gß Hß and I in question 1. For which of these matrices is the set of its columns a linearly independent set? (d) Let v1 œ Ð#ß $ß &ß "Ñß v2 œ Ð"ß "ß #ß *Ñ, and v3 œ Ð$ß %ß!ß!ÑÞ Is the set Ö v,v,v linearly independent? Record the matrix you used and its rank: 4. (MATLAB and hand; use your paper) Recall the transpose of a matrix \ is defined to be X the matrix \ whose columns are formed from the corresponding rows of \. For example,

4 " # $ Ô " % X if \œ, then \ œ # &. % & ' Õ $ ' Ø Do at least 20 experiments to compare the rank of a matrix and the rank of its transpose (you do not need to record all of them). Use many different size matrices. In MATLAB, the single quote creates transpose -- for example, typing X, will create the transpose of X. Start by calculating rank(a), rank(a, ), etc. for all the matrices used above; then do the same for some matrices you create yourself. For example, you could execute lines like X = randomint(3,7), rank(x), rank(x, ) What might we conclude is always true about rank Ð\Ñ and rank Ð\ Ñ, based on your experiments? Is there any basis for believing this from the theorems we have learned? X

5 2. Subspaces Purpose: to deepen your understanding of span, basis and dimension. In particular, to understand what is required for two subspaces of R n, which have the same dimension, to be the same sets. Prerequisite: Understanding of subspaces MATLAB functions that may be useful: rank, rref, diary Remarks: This exercise is a bit more challenging than previous extra credit exercises. You will be given two matrices E and F, each having five rows. Question 1 is easy, but you will need to think about question 2. Once you find a method it will not take long to do the calculations. Observe that Col E and Col F are obviously subspaces of R 5. Directions: Use the matrices E and F given below. Employ MATLAB to do the calculations and attach the results. Explain your methods briefly and why they work. No credit unless your methods and explanation are valid! One way to record your work is to just copy the key calculations by hand. An easier way is to create a diary file of your MATLAB session and print that after you finish all calculations. If you want to create a diary file to record your operations in Matlab, here is a way: start MATLAB and type diary c:subsp before doing any calculations. This will cause everything that appears on the screen after that to be stored in a text file called subsp on your c: drive (of course you can replace c:subsp by any appropriate file name for your system). When your calculations are finished, type diary off (or exit MATLAB) to close the file; then use your favorite editor to print the file subsp. If you want, you can first clean up the file, add titles, etc. before printing it. Problem: Type in (carefully!) the matrices: Ô "!! " " # "!! " Eœ " $ # #! Ö "! "!! Õ # $! " & Ø

6 Ô! "! " "! " " Fœ #! " # Ö! " " " Õ % " $ & Ø 1. Verify that Col E and Col F have the same dimension. 2. Determine whether or not Col E and Col F are the same subspace of R &. Explain what you calculated and why it worked. Notice this is not obvious. For example, if two subspaces of each have dimension 1, each will be a line through the origin, but they might not be the same line. If each has dimension 2, they are planes through the origin, but they might not be the same plane. In general if two subspaces of R 8 have the same dimension 5, we can visualize each as looking like R 5 -- but they might not be exactly the same sets. Your job here is to figure out a way to decide if two subspaces of R 8, which have the same dimension, are actually the same set of points, and apply your method to the subspaces Col E and Col F. Hint: 1. Find bases for Col( E) and Col( F) - recall how this can be done from class. 2. Once you have the bases for the two subspaces, think about how to determine whether they are the same subspace or not. 3. In particular, if you are given a vector, how can you decide whether it is in the span of another collection of vectors? If each vector in the basis for Col( EÑ is a L.C. of vectors in the basis of Col( F), what does this say about the relation of the subspaces Col( E) and Col( F)? An easier way: There is also a very quick way to do this part of the assignment, which you can use if you can figure it out. Think about how you would do this problem if you were working with row spaces instead of column spaces. Try to use this idea in a valid way for your columns. As a hint, the function transpose(a) might be useful - note that this function is entirely equivalent to writing A', as indicated above. R $

MA M. Kon Extra Credit Assignment 2 Due Tuesday, 2/28/17. Name. Computer Project: 1. Reduced Echelon Form and rref

MA M. Kon Extra Credit Assignment 2 Due Tuesday, 2/28/17. Name. Computer Project: 1. Reduced Echelon Form and rref MA 242 - M. Kon Extra Credit Assignment 2 Due Tuesday, 2/28/17 Name Computer Project: 1. Reduced Echelon Form and rref Purpose: To calculate the reduced echelon form by hand and with effects of roundoff

More information

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

LAB 2: Linear Equations and Matrix Algebra. Preliminaries Math 250C, Section C2 Hard copy submission Matlab # 2 1 Revised 07/13/2016 LAB 2: Linear Equations and Matrix Algebra In this lab you will use Matlab to study the following topics: Solving a system of

More information

Math 308 Autumn 2016 MIDTERM /18/2016

Math 308 Autumn 2016 MIDTERM /18/2016 Name: Math 38 Autumn 26 MIDTERM - 2 /8/26 Instructions: The exam is 9 pages long, including this title page. The number of points each problem is worth is listed after the problem number. The exam totals

More information

1) Give a set-theoretic description of the given points as a subset W of R 3. a) The points on the plane x + y 2z = 0.

1) Give a set-theoretic description of the given points as a subset W of R 3. a) The points on the plane x + y 2z = 0. ) Give a set-theoretic description of the given points as a subset W of R. a) The points on the plane x + y z =. x Solution: W = {x: x = [ x ], x + x x = }. x b) The points in the yz-plane. Solution: W

More information

The linear transformation X À Ä given by XÐBÑ œ EB is invertible À that is, there

The linear transformation X À Ä given by XÐBÑ œ EB is invertible À that is, there What do we know about an invertible ( 8 8) matrix E? E is invertible Í E rref ÐEÑ œ M 8 X is invertible X À Ä (where XÐBÑ œ EB) is onto for every, in 8, EB œ, has at least " solution The columns of E span

More information

Assume we are given a tissue sample =, and a feature vector

Assume we are given a tissue sample =, and a feature vector MA 751 Part 6 Support Vector Machines 3. An example: Gene expression arrays Assume we are given a tissue sample =, and a feature vector x œ F Ð=Ñ $!ß!!! consisting of 30,000 gene expression levels as read

More information

Schmidt Process can be applied, this means that every nonzero subspace of 8 has an orthonormal basis.

Schmidt Process can be applied, this means that every nonzero subspace of 8 has an orthonormal basis. 8The Gram-Schmidt Process The Gram-Schmidt Process is an algorithm used to convert any basis for a subspace [ of 8 into a new orthogonal basis for [. This orthogonal basis can then be normalized, if desired,

More information

ft-uiowa-math2550 Assignment HW8fall14 due 10/23/2014 at 11:59pm CDT 3. (1 pt) local/library/ui/fall14/hw8 3.pg Given the matrix

ft-uiowa-math2550 Assignment HW8fall14 due 10/23/2014 at 11:59pm CDT 3. (1 pt) local/library/ui/fall14/hw8 3.pg Given the matrix me me Assignment HW8fall4 due /23/24 at :59pm CDT ft-uiowa-math255 466666666666667 2 Calculate the determinant of 6 3-4 -3 D - E F 2 I 4 J 5 C 2 ( pt) local/library/ui/fall4/hw8 2pg Evaluate the following

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB MATLAB stands for MATrix LABoratory. Originally written by Cleve Moler for college linear algebra courses, MATLAB has evolved into the premier software for linear algebra computations

More information

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang Maths for Signals and Systems Linear Algebra in Engineering Some problems by Gilbert Strang Problems. Consider u, v, w to be non-zero vectors in R 7. These vectors span a vector space. What are the possible

More information

) $ G}] }O H~U. G yhpgxl. Cong

) $ G}] }O H~U. G yhpgxl. Cong » Þ åî ïî á ë ïý þý ÿ þ ë ú ú F \ Œ Œ Ÿ Ÿ F D D D\ \ F F D F F F D D F D D D F D D D D FD D D D F D D FD F F F F F F F D D F D F F F D D D D F Ÿ Ÿ F D D Œ Ÿ D Ÿ Ÿ FŸ D c ³ ² í ë óô ò ð ¹ í ê ë Œ â ä ã

More information

Assignment #6: Subspaces of R n, Bases, Dimension and Rank. Due date: Wednesday, October 26, 2016 (9:10am) Name: Section Number

Assignment #6: Subspaces of R n, Bases, Dimension and Rank. Due date: Wednesday, October 26, 2016 (9:10am) Name: Section Number Assignment #6: Subspaces of R n, Bases, Dimension and Rank Due date: Wednesday, October 26, 206 (9:0am) Name: Section Number Assignment #6: Subspaces of R n, Bases, Dimension and Rank Due date: Wednesday,

More information

Mathematics 4330/5344 #1 Matlab and Numerical Approximation

Mathematics 4330/5344 #1 Matlab and Numerical Approximation David S. Gilliam Department of Mathematics Texas Tech University Lubbock, TX 79409 806 742-2566 gilliam@texas.math.ttu.edu http://texas.math.ttu.edu/~gilliam Mathematics 4330/5344 #1 Matlab and Numerical

More information

This file contains an excerpt from the character code tables and list of character names for The Unicode Standard, Version 3.0.

This file contains an excerpt from the character code tables and list of character names for The Unicode Standard, Version 3.0. Range: This file contains an excerpt from the character code tables and list of character names for The Unicode Standard, Version.. isclaimer The shapes of the reference glyphs used in these code charts

More information

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011 Rice University, Summer 20 Math 355: Linear Algebra: Midterm Colin Carroll June 25, 20 I have adhered to the Rice honor code in completing this test. Signature: Name: Date: Time: Please read the following

More information

MATLAB Lecture 1. Introduction to MATLAB

MATLAB Lecture 1. Introduction to MATLAB MATLAB Lecture 1. Introduction to MATLAB 1.1 The MATLAB environment MATLAB is a software program that allows you to compute interactively with matrices. If you want to know for instance the product of

More information

Section 3.1 Gaussian Elimination Method (GEM) Key terms

Section 3.1 Gaussian Elimination Method (GEM) Key terms Section 3.1 Gaussian Elimination Method (GEM) Key terms Rectangular systems Consistent system & Inconsistent systems Rank Types of solution sets RREF Upper triangular form & back substitution Nonsingular

More information

MAT 343 Laboratory 2 Solving systems in MATLAB and simple programming

MAT 343 Laboratory 2 Solving systems in MATLAB and simple programming MAT 343 Laboratory 2 Solving systems in MATLAB and simple programming In this laboratory session we will learn how to 1. Solve linear systems with MATLAB 2. Create M-files with simple MATLAB codes Backslash

More information

Column and row space of a matrix

Column and row space of a matrix Column and row space of a matrix Recall that we can consider matrices as concatenation of rows or columns. c c 2 c 3 A = r r 2 r 3 a a 2 a 3 a 2 a 22 a 23 a 3 a 32 a 33 The space spanned by columns of

More information

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix. MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix. Row echelon form A matrix is said to be in the row echelon form if the leading entries shift to the

More information

Exam MLC Flashcards. Samuel Broverman

Exam MLC Flashcards. Samuel Broverman Exam MLC Flashcards Samuel roverman 2brove@rogers.com, www.sambroverman.com S. roverman 2007 Samuel roverman 2brove@rogers.com, www.sambroverman.com Table of Contents Introductory Topics Life Contingencies

More information

MITOCW ocw f99-lec07_300k

MITOCW ocw f99-lec07_300k MITOCW ocw-18.06-f99-lec07_300k OK, here's linear algebra lecture seven. I've been talking about vector spaces and specially the null space of a matrix and the column space of a matrix. What's in those

More information

Error-Detecting and Error-Correcting Codes

Error-Detecting and Error-Correcting Codes Error-Detecting and Error-Correcting Codes In this set of exercises, a method for detecting and correcting errors made in the transmission of encoded messages is constructed. It will turn out that abstract

More information

MatLab Project # 1 Due IN TUTORIAL Wednesday October 30

MatLab Project # 1 Due IN TUTORIAL Wednesday October 30 Mathematics 110 University of Victoria Fall 2013 MatLab Project # 1 Due IN TUTORIAL Wednesday October 30 Name ID V00 Section A0 Tutorial T0 Instructions: After completing this project, copy and paste your

More information

Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200

Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200 Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200 Often, a matrix may be too large or too complex to manipulate by hand. For these types of matrices, we can employ the help of graphing calculators

More information

CHAPTER 5 SYSTEMS OF EQUATIONS. x y

CHAPTER 5 SYSTEMS OF EQUATIONS. x y page 1 of Section 5.1 CHAPTER 5 SYSTEMS OF EQUATIONS SECTION 5.1 GAUSSIAN ELIMINATION matrix form of a system of equations The system 2x + 3y + 4z 1 5x + y + 7z 2 can be written as Ax where b 2 3 4 A [

More information

Lecture 5 C Programming Language

Lecture 5 C Programming Language Lecture 5 C Programming Language Summary of Lecture 5 Pointers Pointers and Arrays Function arguments Dynamic memory allocation Pointers to functions 2D arrays Addresses and Pointers Every object in the

More information

Teaching Manual Math 2131

Teaching Manual Math 2131 Math 2131 Linear Algebra Labs with MATLAB Math 2131 Linear algebra with Matlab Teaching Manual Math 2131 Contents Week 1 3 1 MATLAB Course Introduction 5 1.1 The MATLAB user interface...........................

More information

A SIMPLE METHOD FOR SEARCHING FOR PRIME PAIRS IN THE GOLDBACH CONJECTURE WEI SHENG ZENG AND ZIQI SUN

A SIMPLE METHOD FOR SEARCHING FOR PRIME PAIRS IN THE GOLDBACH CONJECTURE WEI SHENG ZENG AND ZIQI SUN A SIMPLE METHOD FOR SEARCHING FOR PRIME PAIRS IN THE GOLDBACH CONJECTURE WEI SHENG ZENG AND ZIQI SUN ABSTRACT. In this paper we introduce a simple method of searching for the prime pairs in the famous

More information

Finite Math Section 2_2 Solutions and Hints

Finite Math Section 2_2 Solutions and Hints Finite Math Section _ Solutions and Hints by Brent M. Dingle for the book: Finite Mathematics, 7 th Edition by S. T. Tan. DO NOT PRINT THIS OUT AND TURN IT IN!!!!!!!! This is designed to assist you in

More information

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations,

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations, The Simplex Method for Systems of Linear Inequalities Todd O. Moyer, Towson University Abstract: This article details the application of the Simplex Method for an Algebra 2 class. Students typically learn

More information

MATLAB Demo. Preliminaries and Getting Started with Matlab

MATLAB Demo. Preliminaries and Getting Started with Matlab Math 250C Sakai submission Matlab Demo 1 Created by G. M. Wilson, revised 12/23/2015 Revised 09/05/2016 Revised 01/07/2017 MATLAB Demo In this lab, we will learn how to use the basic features of Matlab

More information

Introduction: Equipment: Getting Started Collecting the data:

Introduction: Equipment: Getting Started Collecting the data: Introduction: Collecting Ball Bounce data. Many aspects relating to the motion of a bouncing ball can be modelled mathematically. The first stage in modelling the motion is to collect some data. The Calculator

More information

Solving Systems of Equations Using Matrices With the TI-83 or TI-84

Solving Systems of Equations Using Matrices With the TI-83 or TI-84 Solving Systems of Equations Using Matrices With the TI-83 or TI-84 Dimensions of a matrix: The dimensions of a matrix are the number of rows by the number of columns in the matrix. rows x columns *rows

More information

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% MATLAB DEMO %% Basic Matlab commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% MATLAB DEMO %% Basic Matlab commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%% %% MATLAB DEMO 5-30-2013 %% Basic Matlab commands %%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%% %% diary command %%%%%%%%%%%%%%%%%%%%%%%%%% help diary DIARY Save text of MATLAB session. DIARY FILENAME causes

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Projective 3D Geometry (Back to Chapter 2) Lecture 6 2 Singular Value Decomposition Given a

More information

MINIMAT TUTORIAL Joel Robbin June 92

MINIMAT TUTORIAL Joel Robbin June 92 MINIMAT TUTORIAL Joel Robbin June 92 The purpose of this tutorial is to give you a feeling for how MINIMAT interacts with the user and what it can do. The tutorial is not intended to be a definitive account

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos, sin,

More information

Exploration Assignment #1. (Linear Systems)

Exploration Assignment #1. (Linear Systems) Math 0280 Introduction to Matrices and Linear Algebra Exploration Assignment #1 (Linear Systems) Acknowledgment The MATLAB assignments for Math 0280 were developed by Jonathan Rubin with the help of Matthew

More information

CS6015 / LARP ACK : Linear Algebra and Its Applications - Gilbert Strang

CS6015 / LARP ACK : Linear Algebra and Its Applications - Gilbert Strang Solving and CS6015 / LARP 2018 ACK : Linear Algebra and Its Applications - Gilbert Strang Introduction Chapter 1 concentrated on square invertible matrices. There was one solution to Ax = b and it was

More information

Performing Matrix Operations on the TI-83/84

Performing Matrix Operations on the TI-83/84 Page1 Performing Matrix Operations on the TI-83/84 While the layout of most TI-83/84 models are basically the same, of the things that can be different, one of those is the location of the Matrix key.

More information

Visualizing Quaternions

Visualizing Quaternions Visualizing Quaternions Andrew J. Hanson Computer Science Department Indiana University Siggraph 1 Tutorial 1 GRAND PLAN I: Fundamentals of Quaternions II: Visualizing Quaternion Geometry III: Quaternion

More information

Science Translations Software Reference Reprints

Science Translations Software Reference Reprints Science Translations Software Reference Reprints More articles and software are available on the Internet at www.filetiger.com and www.graphcat.com. Typographical Typography Jerry Stern 1992, 2000, All

More information

MATLAB Basics. Configure a MATLAB Package 6/7/2017. Stanley Liang, PhD York University. Get a MATLAB Student License on Matworks

MATLAB Basics. Configure a MATLAB Package 6/7/2017. Stanley Liang, PhD York University. Get a MATLAB Student License on Matworks MATLAB Basics Stanley Liang, PhD York University Configure a MATLAB Package Get a MATLAB Student License on Matworks Visit MathWorks at https://www.mathworks.com/ It is recommended signing up with a student

More information

Math 2B Linear Algebra Test 2 S13 Name Write all responses on separate paper. Show your work for credit.

Math 2B Linear Algebra Test 2 S13 Name Write all responses on separate paper. Show your work for credit. Math 2B Linear Algebra Test 2 S3 Name Write all responses on separate paper. Show your work for credit.. Construct a matrix whose a. null space consists of all combinations of (,3,3,) and (,2,,). b. Left

More information

Matlab and Coordinate Systems

Matlab and Coordinate Systems Matlab and Coordinate Systems Math 45 Linear Algebra David Arnold David-Arnold@Eureka.redwoods.cc.ca.us Abstract In this exercise we will introduce the concept of a coordinate system for a vector space.

More information

THE AUSTRALIAN NATIONAL UNIVERSITY Practice Final Examination, October 2012

THE AUSTRALIAN NATIONAL UNIVERSITY Practice Final Examination, October 2012 THE AUSTRALIAN NATIONAL UNIVERSITY Practice Final Examination, October 2012 COMP2310 / COMP6310 (Concurrent and Distributed Systems ) Writing Period: 3 hours duration Study Period: 15 minutes duration

More information

The Singular Value Decomposition: Let A be any m n matrix. orthogonal matrices U, V and a diagonal matrix Σ such that A = UΣV T.

The Singular Value Decomposition: Let A be any m n matrix. orthogonal matrices U, V and a diagonal matrix Σ such that A = UΣV T. Section 7.4 Notes (The SVD) The Singular Value Decomposition: Let A be any m n matrix. orthogonal matrices U, V and a diagonal matrix Σ such that Then there are A = UΣV T Specifically: The ordering of

More information

Introduction to MATLAB

Introduction to MATLAB Chapter 1 Introduction to MATLAB 1.1 Software Philosophy Matrix-based numeric computation MATrix LABoratory built-in support for standard matrix and vector operations High-level programming language Programming

More information

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has.

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has. ASSIGNMENT 0 Introduction to Linear Algebra (Basics of vectors and matrices) Due 3:30 PM, Tuesday, October 10 th. Assignments should be submitted via e-mail to: matlabfun.ucsd@gmail.com You can also submit

More information

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans =

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans = Very Basic MATLAB Peter J. Olver January, 2009 Matrices: Type your matrix as follows: Use space or, to separate entries, and ; or return after each row. >> [;5 0-3 6;; - 5 ] or >> [,5,6,-9;5,0,-3,6;7,8,5,0;-,,5,]

More information

Solutions to Programming Assignment Four Simultaneous Linear Equations

Solutions to Programming Assignment Four Simultaneous Linear Equations College of Engineering and Computer Science Mechanical Engineering Department Mechanical Engineering 309 Numerical Analysis of Engineering Systems Spring 2014 Number: 15237 Instructor: Larry Caretto Solutions

More information

You 2 Software

You 2 Software PrismaCards Enter text for languages with exotic fonts You 2 Software http://www.you2.de info@you2.de Introduction To work in PrismaCards and other programs with complex fonts for different languages you

More information

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material

More information

1 Overview of the standard Matlab syntax

1 Overview of the standard Matlab syntax 1 Overview of the standard Matlab syntax Matlab is based on computations with matrices. All variables are matrices. Matrices are indexed from 1 (and NOT from 0 as in C!). Avoid using variable names i and

More information

Math 2331 Linear Algebra

Math 2331 Linear Algebra 4.2 Null Spaces, Column Spaces, & Linear Transformations Math 233 Linear Algebra 4.2 Null Spaces, Column Spaces, & Linear Transformations Jiwen He Department of Mathematics, University of Houston jiwenhe@math.uh.edu

More information

Online Technology Guide for Elementary Linear Algebra, 6e Larson/Falvo

Online Technology Guide for Elementary Linear Algebra, 6e Larson/Falvo Online Technology Guide for Elementary Linear Algebra, e Larson/Falvo Computer Software Programs and Graphing Utilities Introduction to MATLAB............................................... Introduction

More information

Applied Matrix Theory - Math Summer 09 MATLAB Project 3 Created by Prof. Diego Maldonado and Prof. Virginia Naibo

Applied Matrix Theory - Math Summer 09 MATLAB Project 3 Created by Prof. Diego Maldonado and Prof. Virginia Naibo Applied Matrix Theory - Math 551 - Summer 09 MATLAB Project Created by Prof. Diego Maldonado and Prof. Virginia Naibo In this project you will be introduced to MATLAB programming. What you have to submit:

More information

A Constant Rate of Change Name Part 1

A Constant Rate of Change Name Part 1 A Constant Rate of Change Name Part 1 Consider the function table below. Complete this page by solving the problems at the bottom. Use a separate sheet of paper for your descriptions and explanations.

More information

COMP 558 lecture 19 Nov. 17, 2010

COMP 558 lecture 19 Nov. 17, 2010 COMP 558 lecture 9 Nov. 7, 2 Camera calibration To estimate the geometry of 3D scenes, it helps to know the camera parameters, both external and internal. The problem of finding all these parameters is

More information

ERNST. Environment for Redaction of News Sub-Titles

ERNST. Environment for Redaction of News Sub-Titles ERNST Environment for Redaction of News Sub-Titles Introduction ERNST (Environment for Redaction of News Sub-Titles) is a software intended for preparation, airing and sequencing subtitles for news or

More information

Chapter 3: Direct Proofs

Chapter 3: Direct Proofs 3.1: Getting Started on a Problem Chapter 3: Direct Proofs Let's review some steps for studying the truth of a statement. Step 1, Examples: If possible, look at some specific examples, including extreme

More information

MATLAB TUTORIAL WORKSHEET

MATLAB TUTORIAL WORKSHEET MATLAB TUTORIAL WORKSHEET What is MATLAB? Software package used for computation High-level programming language with easy to use interactive environment Access MATLAB at Tufts here: https://it.tufts.edu/sw-matlabstudent

More information

Using SmartXplorer to achieve timing closure

Using SmartXplorer to achieve timing closure Using SmartXplorer to achieve timing closure The main purpose of Xilinx SmartXplorer is to achieve timing closure where the default place-and-route (PAR) strategy results in a near miss. It can be much

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB built-in functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos,

More information

Orthogonal complements

Orthogonal complements Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 3 Orthogonal complements What you need to know already: What orthogonal and orthonormal bases are. What you can learn here: How we can

More information

124 DISTO pro 4 / pro 4 a-1.0.0zh

124 DISTO pro 4 / pro 4 a-1.0.0zh 0 30 40 50 DISTO PD-Z01 14 DISTO pro 4 / pro 4 a-1.0.0 DISTO pro 4 / pro 4 a-1.0.0 15 16 DISTO pro 4 / pro 4 a-1.0.0 DISTO pro 4 / pro 4 a-1.0.0 17 1 PD-Z03 3 7 4 5 6 10 9 8 18 DISTO pro 4 / pro 4 a-1.0.0

More information

Probabilistic analysis of algorithms: What s it good for?

Probabilistic analysis of algorithms: What s it good for? Probabilistic analysis of algorithms: What s it good for? Conrado Martínez Univ. Politècnica de Catalunya, Spain February 2008 The goal Given some algorithm taking inputs from some set Á, we would like

More information

MTH309 Linear Algebra: Maple Guide

MTH309 Linear Algebra: Maple Guide MTH309 Linear Algebra: Maple Guide Section 1. Row Echelon Form (REF) and Reduced Row Echelon Form (RREF) Example. Calculate the REF and RREF of the matrix Solution. Use the following command to insert

More information

Array Accessing and Strings ENGR 1187 MATLAB 3

Array Accessing and Strings ENGR 1187 MATLAB 3 Array Accessing and Strings ENGR 1187 MATLAB 3 Today's Topics Array Addressing (indexing) Vector Addressing (indexing) Matrix Addressing (indexing) Today's Topics Array Addressing (indexing) Vector Addressing

More information

Learning Objectives: Topic Karnaugh Maps. At the end of this topic you will be able to;

Learning Objectives: Topic Karnaugh Maps. At the end of this topic you will be able to; Topic.2.3 Karnaugh Maps Learning Objectives: t the end of this topic you will be able to; Draw a Karnaugh map for a logic system with up to four inputs and use it to minimise the number of gates required;

More information

3. Replace any row by the sum of that row and a constant multiple of any other row.

3. Replace any row by the sum of that row and a constant multiple of any other row. Math Section. Section.: Solving Systems of Linear Equations Using Matrices As you may recall from College Algebra or Section., you can solve a system of linear equations in two variables easily by applying

More information

D-BAUG Informatik I. Exercise session: week 5 HS 2018

D-BAUG Informatik I. Exercise session: week 5 HS 2018 1 D-BAUG Informatik I Exercise session: week 5 HS 2018 Homework 2 Questions? Matrix and Vector in Java 3 Vector v of length n: Matrix and Vector in Java 3 Vector v of length n: double[] v = new double[n];

More information

Assignment 4: Mesh Parametrization

Assignment 4: Mesh Parametrization CSCI-GA.3033-018 - Geometric Modeling Assignment 4: Mesh Parametrization In this exercise you will Familiarize yourself with vector field design on surfaces. Create scalar fields whose gradients align

More information

Error-Correcting Codes

Error-Correcting Codes Error-Correcting Codes Michael Mo 10770518 6 February 2016 Abstract An introduction to error-correcting codes will be given by discussing a class of error-correcting codes, called linear block codes. The

More information

Math 414 Lecture 2 Everyone have a laptop?

Math 414 Lecture 2 Everyone have a laptop? Math 44 Lecture 2 Everyone have a laptop? THEOREM. Let v,...,v k be k vectors in an n-dimensional space and A = [v ;...; v k ] v,..., v k independent v,..., v k span the space v,..., v k a basis v,...,

More information

Answers to practice questions for Midterm 1

Answers to practice questions for Midterm 1 Answers to practice questions for Midterm Paul Hacking /5/9 (a The RREF (reduced row echelon form of the augmented matrix is So the system of linear equations has exactly one solution given by x =, y =,

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB This note will introduce you to MATLAB for the purposes of this course. Most of the emphasis is on how to set up MATLAB on your computer. The purposes of this supplement are two.

More information

SF1901 Probability Theory and Statistics: Autumn 2016 Lab 0 for TCOMK

SF1901 Probability Theory and Statistics: Autumn 2016 Lab 0 for TCOMK Mathematical Statistics SF1901 Probability Theory and Statistics: Autumn 2016 Lab 0 for TCOMK 1 Preparation This computer exercise is a bit different from the other two, and has some overlap with computer

More information

ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah)

ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) Introduction ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) MATLAB is a powerful mathematical language that is used in most engineering companies today. Its strength lies

More information

MATH 1242 FALL 2008 COMMON FINAL EXAMINATION PART I. Instructor:

MATH 1242 FALL 2008 COMMON FINAL EXAMINATION PART I. Instructor: MATH 14 FALL 008 COMMON FINAL EXAMINATION PART I Name Student ID Instructor: Section/Time This exam is divided into three parts. Calculators are not allowed on Part I. You have three hours for the entire

More information

Array Accessing and Strings ENGR 1181 MATLAB 3

Array Accessing and Strings ENGR 1181 MATLAB 3 Array Accessing and Strings ENGR 1181 MATLAB 3 Array Accessing In The Real World Recall from the previously class that seismic data is important in structural design for civil engineers. Accessing data

More information

Lecture 13. Math 22 Summer 2017 July 17, 2017

Lecture 13. Math 22 Summer 2017 July 17, 2017 Lecture 13 Math 22 Summer 2017 July 17, 2017 Reminders/Announcements Midterm 1 Wednesday, July 19, Kemeny 008, 6pm-8pm Please respond to email if you have a conflict with this time! Kate is moving her

More information

Exercise Set Decide whether each matrix below is an elementary matrix. (a) (b) (c) (d) Answer:

Exercise Set Decide whether each matrix below is an elementary matrix. (a) (b) (c) (d) Answer: Understand the relationships between statements that are equivalent to the invertibility of a square matrix (Theorem 1.5.3). Use the inversion algorithm to find the inverse of an invertible matrix. Express

More information

Introduction to Scientific Typesetting Lesson 11: Foreign Languages, Columns, and Section Titles

Introduction to Scientific Typesetting Lesson 11: Foreign Languages, Columns, and Section Titles Introduction to Scientific Typesetting Lesson 11: Foreign Languages,, and Ryan Higginbottom January 19, 2012 1 Ð The Package 2 Without Ð What s the Problem? With Ð Using Another Language Typing in Spanish

More information

Peano Systems and the Whole Number System

Peano Systems and the Whole Number System Peano Systems and the Whole Number System We have a good informal picture about how the system of whole numbers works. By the whole number system we mean to the set = œ Öß "ß #ß ÞÞÞ, together with its

More information

Digraphs and Matlab. 1 Digraphs. David Arnold. August 31, 1996

Digraphs and Matlab. 1 Digraphs. David Arnold. August 31, 1996 Digraphs and Matlab David Arnold August 3, 996 Abstract Digraphs are introduced along with their adjacency matrix. An algorithm is proposed for counting paths of length n. Prerequisites. Matrix multiplication.

More information

MBI REU Matlab Tutorial

MBI REU Matlab Tutorial MBI REU Matlab Tutorial Lecturer: Reginald L. McGee II, Ph.D. June 8, 2017 MATLAB MATrix LABoratory MATLAB is a tool for numerical computation and visualization which allows Real & Complex Arithmetics

More information

MAT 275 Laboratory 2 Matrix Computations and Programming in MATLAB

MAT 275 Laboratory 2 Matrix Computations and Programming in MATLAB MAT 75 Laboratory Matrix Computations and Programming in MATLAB In this laboratory session we will learn how to. Create and manipulate matrices and vectors.. Write simple programs in MATLAB NOTE: For your

More information

Appendix C. Numeric and Character Entity Reference

Appendix C. Numeric and Character Entity Reference Appendix C Numeric and Character Entity Reference 2 How to Do Everything with HTML & XHTML As you design Web pages, there may be occasions when you want to insert characters that are not available on your

More information

Personal Conference Manager (PCM)

Personal Conference Manager (PCM) Chapter 3-Basic Operation Personal Conference Manager (PCM) Guidelines The Personal Conference Manager (PCM) interface enables the conference chairperson to control various conference features using his/her

More information

Matlab and Coordinate Systems

Matlab and Coordinate Systems Math 45 Linear Algebra David Arnold David-Arnold@Eureka.redwoods.cc.ca.us Abstract In this exercise we will introduce the concept of a coordinate system for a vector space. The map from the vector space

More information

4. Simplicial Complexes and Simplicial Homology

4. Simplicial Complexes and Simplicial Homology MATH41071/MATH61071 Algebraic topology Autumn Semester 2017 2018 4. Simplicial Complexes and Simplicial Homology Geometric simplicial complexes 4.1 Definition. A finite subset { v 0, v 1,..., v r } R n

More information

A General Greedy Approximation Algorithm with Applications

A General Greedy Approximation Algorithm with Applications A General Greedy Approximation Algorithm with Applications Tong Zhang IBM T.J. Watson Research Center Yorktown Heights, NY 10598 tzhang@watson.ibm.com Abstract Greedy approximation algorithms have been

More information

Computer Project: Getting Started with MATLAB

Computer Project: Getting Started with MATLAB Computer Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands. Examples here can be useful for reference later. MATLAB functions: [ ] : ; + - *

More information

Getting Started with MATLAB

Getting Started with MATLAB Getting Started with MATLAB Math 315, Fall 2003 Matlab is an interactive system for numerical computations. It is widely used in universities and industry, and has many advantages over languages such as

More information

PHYS 210: Introduction to Computational Physics MATLAB Exercises 2

PHYS 210: Introduction to Computational Physics MATLAB Exercises 2 PHYS 210: Introduction to Computational Physics MATLAB Exercises 2 Using your text editor, and working within /matlab, create a file named ex2.m that contains Matlab commands to solve the exercises enumerated

More information

Recreational Mathematics:

Recreational Mathematics: Recreational Mathematics: SOLVING LIGHTS OUT BY: ALI THOMAS Lights Out An Introduction: 5 x 5 array of lights Object of the game: Turn off all of the lights in the fewest amount of moves given lights that

More information

MITOCW ocw f99-lec12_300k

MITOCW ocw f99-lec12_300k MITOCW ocw-18.06-f99-lec12_300k This is lecture twelve. OK. We've reached twelve lectures. And this one is more than the others about applications of linear algebra. And I'll confess. When I'm giving you

More information

Chapter 3. Quadric hypersurfaces. 3.1 Quadric hypersurfaces Denition.

Chapter 3. Quadric hypersurfaces. 3.1 Quadric hypersurfaces Denition. Chapter 3 Quadric hypersurfaces 3.1 Quadric hypersurfaces. 3.1.1 Denition. Denition 1. In an n-dimensional ane space A; given an ane frame fo;! e i g: A quadric hypersurface in A is a set S consisting

More information