07-Array Operations Part 2 text: Chapter Overview

Size: px
Start display at page:

Download "07-Array Operations Part 2 text: Chapter Overview"

Transcription

1 07-rray Operations Part tet: Chapter.-.7 ECEGR 101 Engineering Problem Solving with Matlab Professor Henry Louie Overview Identity Matri Matri Inversion Linear Systems of Equations Element-by-Element Operations Dr. Henry Louie 1

2 Identity Matri Identity matri, I, is the matri equivalent of scalar multiplication by 1 I I I is simply a square matri (number of rows = number of columns) with 1s on the diagonal Dr. Henry Louie Identity Matri Built-in function to create the Identify Matri is the size of the matri Dr. Henry Louie

3 Inverse of a Matri Matri B is an inverse of if *B=B*=I. To find an inverse of, use the inv function. and B have to be square. Notation: -1. Dr. Henry Louie 5 Inverse of a Matri Dr. Henry Louie 6

4 Inverse of a Matri: Determinant Conditions for the eistence of an inverse: has to be square, Its determinant must be nonzero. a a 11 1 a a 1 det a a a a To calculate the determinant, use the MTLB function det. Dr. Henry Louie 7 Inverse of a Matri: Determinant Dr. Henry Louie 8

5 System of Linear Equations B B 1 B B B B B B 1 X B Dr. Henry Louie 9 System of Linear Eqs. How can we solve X=B? -1 X= -1 B IX= -1 B X= -1 B solution equivalent to X = \B Dr. Henry Louie 10 5

6 System of Linear Eqs. How can we solve XC=D? XCC -1 =DC -1 XI=DC -1 X=DC -1 solution equivalent to X = D/C Used infrequently! Dr. Henry Louie 11 Solve the following system of linear equations: 1 + = = 5 Dr. Henry Louie 1 6

7 Solve the following system of linear equations: 1 + = = 5 Dr. Henry Louie 1 Element-By-Element Operations Carried out on each array element separately: multiplication:.* eponent:.^ right division:./ left division:.\ Dr. Henry Louie 1 7

8 Element-By-Element Operations Calculates values of the function y= -9 for integer between 1 and 10. Dr. Henry Louie 15 Create the following arrays: = [1 5]; and y = [ ]; What operation do you have to perform to get as the result [ ]? Dr. Henry Louie 16 8

9 Create the following arrays: = [1 5]; and y = [ ]; What operation do you have to perform to get as the result [ ]? >>.*y ans = Dr. Henry Louie 17 ssume that a, b, c, and d are following epressions? a) a + b b) a.* b c) a * b d) a * c e) a + c f) a + d g) a.* d h) a * d Dr. Henry Louie 18 9

10 ssume that a, b, c, and d are following epressions? a) a + b Dr. Henry Louie 19 ssume that a, b, c, and d are following epressions? b) a.* b Dr. Henry Louie 0 10

11 ssume that a, b, c, and d are following epressions? c) a * b Dr. Henry Louie 1 ssume that a, b, c, and d are following epressions? d) a * c Dr. Henry Louie 11

12 ssume that a, b, c, and d are following epressions? e) a + c Dr. Henry Louie ssume that a, b, c, and d are following epressions? f) a + d Dr. Henry Louie 1

13 ssume that a, b, c, and d are following epressions? g) a.* d Dr. Henry Louie 5 ssume that a, b, c, and d are following epressions? h) a * d Dr. Henry Louie 6 1

14 ssume that a, b, c, and d are following epressions? h) a * d Dr. Henry Louie 7 If C and F are Celsius and Fahrenheit temperatures, respectively, the formula for conversion from Celsius to Fahrenheit is F = 9C/5 +. Use vector operations to compute and display the Fahrenheit equivalent of Celsius temperatures ranging from 0 to 0 in steps of 1. Dr. Henry Louie 8 1

15 >> C = 0:1:0 C = >> F = 9*C/5 + F = Columns 1 through Columns 8 through Dr. Henry Louie 9 Compute z given the following values for b, c and n: b = c = 10 n = [1 5] b z c n Dr. Henry Louie 0 15

16 Compute z given the following values for b, c and n: b = c = 10 n = [1 5] >> b = ; c = 10; n = 1:5; b z c n n b >> z = b.^n z = 8 16 [1 5] [ 1 5 ] >> z = b.^n/c z = Dr. Henry Louie 1 Compute z given the following values for b, c and n: b = c = [1 5] n = b z c n Dr. Henry Louie 16

17 Compute z given the following values for b, c and n: b = c = [1 5] n = >> b = ; c = 1:5; n = ; b z c 8 [1 5] >> z = b^n./c z = n >> z = b^n/c??? Error using ==> mrdivide Matri dimensions must agree. Dr. Henry Louie Compute z given the following values for b, c and n: b = [1 5] c = 10 n = b z c n Dr. Henry Louie 17

18 Compute z given the following values for b, c and n: b = [1 5] c = 10 n = >> b = 1:5; c = 10; n = ; >> b.^n ans = [1 5] b z c [1 n 5 ] >> z = b.^n/c z = Dr. Henry Louie 5 18

Topic 3. Matrix Operations Matrix & Linear Algebra Operations Element-by-Element(array) Operations

Topic 3. Matrix Operations Matrix & Linear Algebra Operations Element-by-Element(array) Operations Topic 3 Matrix Operations Matrix & Linear Algebra Operations Element-by-Element(array) Operations 1 Introduction Matlab is designed to carry out advanced array operations that have many applications in

More information

MATRICES. a m,1 a m,n A =

MATRICES. a m,1 a m,n A = MATRICES Matrices are rectangular arrays of real or complex numbers With them, we define arithmetic operations that are generalizations of those for real and complex numbers The general form a matrix of

More information

Numerical Methods Lecture 2 Simultaneous Equations

Numerical Methods Lecture 2 Simultaneous Equations CGN 42 - Computer Methods Numerical Methods Lecture 2 Simultaneous Equations Topics: matrix operations solving systems of equations Matrix operations: Adding / subtracting Transpose Multiplication Adding

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.1 SYSTEMS OF LINEAR EQUATIONS LINEAR EQUATION,, 1 n A linear equation in the variables equation that can be written in the form a a a b 1 1 2 2 n n a a is an where

More information

M 340L CS Homework Set 1

M 340L CS Homework Set 1 M 340L CS Homework Set 1 Solve each system in Problems 1 6 by using elementary row operations on the equations or on the augmented matri. Follow the systematic elimination procedure described in Lay, Section

More information

Linear Algebra II (finish from last time) Root finding

Linear Algebra II (finish from last time) Root finding Lecture 5: Topics: Linear lgebra II (finish from last time) Root finding -Cross product of two vectors -Finding roots of linear equations -Finding roots of nonlinear equations HW: HW 1, Part 3-4 given

More information

Linear Algebra. Solving SLEs with Matlab. Matrix Inversion. Solving SLE s by Matlab - Inverse. Solving Simultaneous Linear Equations in MATLAB

Linear Algebra. Solving SLEs with Matlab. Matrix Inversion. Solving SLE s by Matlab - Inverse. Solving Simultaneous Linear Equations in MATLAB Linear Algebra Solving Simultaneous Linear Equations in MATLAB Solving SLEs with Matlab Matlab can solve some numerical SLE s A b Five techniques available:. method. method. method 4. method. method Matri

More information

Operation. 8th Grade Math Vocabulary. Solving Equations. Expression Expression. Order of Operations

Operation. 8th Grade Math Vocabulary. Solving Equations. Expression Expression. Order of Operations 8th Grade Math Vocabulary Operation A mathematical process. Solving s _ 7 1 11 1 3b 1 1 3 7 4 5 0 5 5 sign SOLVING EQUATIONS Operation The rules of which calculation comes first in an epression. Parentheses

More information

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices. MATH 2050 Assignment 8 Fall 2016 [10] 1. Find the determinant by reducing to triangular form for the following matrices. 0 1 2 (a) A = 2 1 4. ANS: We perform the Gaussian Elimination on A by the following

More information

TOPIC 2 Computer application for manipulating matrix using MATLAB

TOPIC 2 Computer application for manipulating matrix using MATLAB YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM TOPIC 2 Computer application for manipulating matrix using MATLAB Definition of Matrices in MATLAB

More information

State Estimation Introduction 2.0 Exact Pseudo-measurments

State Estimation Introduction 2.0 Exact Pseudo-measurments State Estimation. Introduction In these notes, we eplore two very practical and related issues in regards to state estimation: - use of pseudo-measurements - network observability. Eact Pseudo-measurments

More information

Math for ML: review. Milos Hauskrecht 5329 Sennott Square, x people.cs.pitt.edu/~milos/courses/cs1675/

Math for ML: review. Milos Hauskrecht 5329 Sennott Square, x people.cs.pitt.edu/~milos/courses/cs1675/ Math for ML: review Milos Hauskrecht milos@pitt.edu 5 Sennott Square, -5 people.cs.pitt.edu/~milos/courses/cs75/ Administrivia Recitations Held on Wednesdays at :00am and :00pm This week: Matlab tutorial

More information

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017 Inverses Stephen Boyd EE103 Stanford University October 28, 2017 Outline Left and right inverses Inverse Solving linear equations Examples Pseudo-inverse Left and right inverses 2 Left inverses a number

More information

Handout for Adequacy of Solutions Chapter SET ONE The solution to Make a small change in the right hand side vector of the equations

Handout for Adequacy of Solutions Chapter SET ONE The solution to Make a small change in the right hand side vector of the equations Handout for dequac of Solutions Chapter 04.07 SET ONE The solution to 7.999 4 3.999 Make a small change in the right hand side vector of the equations 7.998 4.00 3.999 4.000 3.999 Make a small change in

More information

PROBLEMS In each of Problems 1 through 12:

PROBLEMS In each of Problems 1 through 12: 6.5 Impulse Functions 33 which is the formal solution of the given problem. It is also possible to write y in the form 0, t < 5, y = 5 e (t 5/ sin 5 (t 5, t 5. ( The graph of Eq. ( is shown in Figure 6.5.3.

More information

Review of Linear Algebra

Review of Linear Algebra Review of Linear Algebra Definitions An m n (read "m by n") matrix, is a rectangular array of entries, where m is the number of rows and n the number of columns. 2 Definitions (Con t) A is square if m=

More information

A Review of Linear Algebra

A Review of Linear Algebra A Review of Linear Algebra Gerald Recktenwald Portland State University Mechanical Engineering Department gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab: Implementations

More information

William Stallings Copyright 2010

William Stallings Copyright 2010 A PPENDIX E B ASIC C ONCEPTS FROM L INEAR A LGEBRA William Stallings Copyright 2010 E.1 OPERATIONS ON VECTORS AND MATRICES...2 Arithmetic...2 Determinants...4 Inverse of a Matrix...5 E.2 LINEAR ALGEBRA

More information

Chapter 12: Iterative Methods

Chapter 12: Iterative Methods ES 40: Scientific and Engineering Computation. Uchechukwu Ofoegbu Temple University Chapter : Iterative Methods ES 40: Scientific and Engineering Computation. Gauss-Seidel Method The Gauss-Seidel method

More information

January 18, 2008 Steve Gu. Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB,

January 18, 2008 Steve Gu. Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB, Introduction to MATLAB January 18, 2008 Steve Gu Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB, Part I: Basics MATLAB Environment Getting Help Variables Vectors, Matrices, and

More information

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

1. In this problem, if the statement is always true, circle T; otherwise, circle F. Math 1553, Extra Practice for Midterm 3 (sections 45-65) Solutions 1 In this problem, if the statement is always true, circle T; otherwise, circle F a) T F If A is a square matrix and the homogeneous equation

More information

Linear Equations and Vectors

Linear Equations and Vectors Chapter Linear Equations and Vectors Linear Algebra, Fall 6 Matrices and Systems of Linear Equations Figure. Linear Algebra, Fall 6 Figure. Linear Algebra, Fall 6 Figure. Linear Algebra, Fall 6 Unique

More information

FF505 Computational Science. Matrix Calculus. Marco Chiarandini

FF505 Computational Science. Matrix Calculus. Marco Chiarandini FF505 Computational Science Matrix Calculus Marco Chiarandini (marco@imada.sdu.dk) Department of Mathematics and Computer Science (IMADA) University of Southern Denmark Resume MATLAB, numerical computing

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.4 THE MATRIX EQUATION A = b MATRIX EQUATION A = b m n Definition: If A is an matri, with columns a 1, n, a n, and if is in, then the product of A and, denoted by

More information

Linear Algebra and Matrices

Linear Algebra and Matrices Linear Algebra and Matrices 4 Overview In this chapter we studying true matrix operations, not element operations as was done in earlier chapters. Working with MAT- LAB functions should now be fairly routine.

More information

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. Review for Exam. Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. x + y z = 2 x + 2y + z = 3 x + y + (a 2 5)z = a 2 The augmented matrix for

More information

Matrix Operations: Determinant

Matrix Operations: Determinant Matrix Operations: Determinant Determinants Determinants are only applicable for square matrices. Determinant of the square matrix A is denoted as: det(a) or A Recall that the absolute value of the determinant

More information

Chapter Adequacy of Solutions

Chapter Adequacy of Solutions Chapter 04.09 dequac of Solutions fter reading this chapter, ou should be able to: 1. know the difference between ill-conditioned and well-conditioned sstems of equations,. define the norm of a matri,

More information

Designing Information Devices and Systems I Discussion 4B

Designing Information Devices and Systems I Discussion 4B Last Updated: 29-2-2 9:56 EECS 6A Spring 29 Designing Information Devices and Systems I Discussion 4B Reference Definitions: Matrices and Linear (In)Dependence We ve seen that the following statements

More information

Ch. 7.1 Polynomial Degree & Finite Differences

Ch. 7.1 Polynomial Degree & Finite Differences Ch. 7.1 Polynomial Degree & Finite Differences Learning Intentions: Define terminology associated with polynomials: term, monomial, binomial & trinomial. Use the finite differences method to determine

More information

Presentation by: H. Sarper. Chapter 2 - Learning Objectives

Presentation by: H. Sarper. Chapter 2 - Learning Objectives Chapter Basic Linear lgebra to accompany Introduction to Mathematical Programming Operations Research, Volume, th edition, by Wayne L. Winston and Munirpallam Venkataramanan Presentation by: H. Sarper

More information

HANDOUT E.22 - EXAMPLES ON STABILITY ANALYSIS

HANDOUT E.22 - EXAMPLES ON STABILITY ANALYSIS Example 1 HANDOUT E. - EXAMPLES ON STABILITY ANALYSIS Determine the stability of the system whose characteristics equation given by 6 3 = s + s + 3s + s + s + s +. The above polynomial satisfies the necessary

More information

Homework 3 Solutions Math 309, Fall 2015

Homework 3 Solutions Math 309, Fall 2015 Homework 3 Solutions Math 39, Fall 25 782 One easily checks that the only eigenvalue of the coefficient matrix is λ To find the associated eigenvector, we have 4 2 v v 8 4 (up to scalar multiplication)

More information

UNIT 3. Rational Functions Limits at Infinity (Horizontal and Slant Asymptotes) Infinite Limits (Vertical Asymptotes) Graphing Rational Functions

UNIT 3. Rational Functions Limits at Infinity (Horizontal and Slant Asymptotes) Infinite Limits (Vertical Asymptotes) Graphing Rational Functions UNIT 3 Rational Functions Limits at Infinity (Horizontal and Slant Asymptotes) Infinite Limits (Vertical Asymptotes) Graphing Rational Functions Recall From Unit Rational Functions f() is a rational function

More information

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then 1 Sec 21 Matrix Operations Review Let A, B, and C be matrices of the same size, and let r and s be scalars Then (i) A + B = B + A (iv) r(a + B) = ra + rb (ii) (A + B) + C = A + (B + C) (v) (r + s)a = ra

More information

CSL361 Problem set 4: Basic linear algebra

CSL361 Problem set 4: Basic linear algebra CSL361 Problem set 4: Basic linear algebra February 21, 2017 [Note:] If the numerical matrix computations turn out to be tedious, you may use the function rref in Matlab. 1 Row-reduced echelon matrices

More information

04-Economic Dispatch 2. EE570 Energy Utilization & Conservation Professor Henry Louie

04-Economic Dispatch 2. EE570 Energy Utilization & Conservation Professor Henry Louie 04-Economic Dispatch EE570 Energy Utilization & Conservation Professor Henry Louie 1 Topics Example 1 Example Dr. Henry Louie Consider two generators with the following cost curves and constraints: C 1

More information

0.1. Linear transformations

0.1. Linear transformations Suggestions for midterm review #3 The repetitoria are usually not complete; I am merely bringing up the points that many people didn t now on the recitations Linear transformations The following mostly

More information

Arrays: Vectors and Matrices

Arrays: Vectors and Matrices Arrays: Vectors and Matrices Vectors Vectors are an efficient notational method for representing lists of numbers. They are equivalent to the arrays in the programming language "C. A typical vector might

More information

LU Factorization. A m x n matrix A admits an LU factorization if it can be written in the form of A = LU

LU Factorization. A m x n matrix A admits an LU factorization if it can be written in the form of A = LU LU Factorization A m n matri A admits an LU factorization if it can be written in the form of Where, A = LU L : is a m m lower triangular matri with s on the diagonal. The matri L is invertible and is

More information

Modeling Revision Questions Set 1

Modeling Revision Questions Set 1 Modeling Revision Questions Set. In an eperiment researchers found that a specific culture of bacteria increases in number according to the formula N = 5 2 t, where N is the number of bacteria present

More information

Matrices. VCE Maths Methods - Unit 2 - Matrices

Matrices. VCE Maths Methods - Unit 2 - Matrices Matrices Introduction to matrices Addition & subtraction Scalar multiplication Matri multiplication The unit matri Matri division - the inverse matri Using matrices - simultaneous equations Matri transformations

More information

Matrices. VCE Maths Methods - Unit 2 - Matrices

Matrices. VCE Maths Methods - Unit 2 - Matrices Matrices Introduction to matrices Addition subtraction Scalar multiplication Matri multiplication The unit matri Matri division - the inverse matri Using matrices - simultaneous equations Matri transformations

More information

A more accurate Briggs method for the logarithm

A more accurate Briggs method for the logarithm Numer Algor (2012) 59:393 402 DOI 10.1007/s11075-011-9496-z ORIGINAL PAPER A more accurate Briggs method for the logarithm Awad H. Al-Mohy Received: 25 May 2011 / Accepted: 15 August 2011 / Published online:

More information

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB (Mathematical Operations with Arrays) Contents Getting Started Matrices Creating Arrays Linear equations Mathematical Operations with Arrays Using Script

More information

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of . Matrices A matrix is any rectangular array of numbers. For example 3 5 6 4 8 3 3 is 3 4 matrix, i.e. a rectangular array of numbers with three rows four columns. We usually use capital letters for matrices,

More information

18.S34 linear algebra problems (2007)

18.S34 linear algebra problems (2007) 18.S34 linear algebra problems (2007) Useful ideas for evaluating determinants 1. Row reduction, expanding by minors, or combinations thereof; sometimes these are useful in combination with an induction

More information

1 2 2 Circulant Matrices

1 2 2 Circulant Matrices Circulant Matrices General matrix a c d Ax x ax + cx x x + dx General circulant matrix a x ax + x a x x + ax. Evaluating the Eigenvalues Find eigenvalues and eigenvectors of general circulant matrix: a

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algera 1.4 THE MATRIX EQUATION A MATRIX EQUATION A mn Definition: If A is an matri, with columns a 1,, a n, and if is in R n, then the product of A and, denoted y A, is the

More information

Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v

Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v Orthogonality (I) Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v u v which brings us to the fact that θ = π/2 u v = 0. Definition (Orthogonality).

More information

Linear Algebra (Review) Volker Tresp 2017

Linear Algebra (Review) Volker Tresp 2017 Linear Algebra (Review) Volker Tresp 2017 1 Vectors k is a scalar (a number) c is a column vector. Thus in two dimensions, c = ( c1 c 2 ) (Advanced: More precisely, a vector is defined in a vector space.

More information

Homework Set #8 Solutions

Homework Set #8 Solutions Exercises.2 (p. 19) Homework Set #8 Solutions Assignment: Do #6, 8, 12, 14, 2, 24, 26, 29, 0, 2, 4, 5, 6, 9, 40, 42 6. Reducing the matrix to echelon form: 1 5 2 1 R2 R2 R1 1 5 0 18 12 2 1 R R 2R1 1 5

More information

I&C 6N. Computational Linear Algebra

I&C 6N. Computational Linear Algebra I&C 6N Computational Linear Algebra 1 Lecture 1: Scalars and Vectors What is a scalar? Computer representation of a scalar Scalar Equality Scalar Operations Addition and Multiplication What is a vector?

More information

Lecture 6: Spanning Set & Linear Independency

Lecture 6: Spanning Set & Linear Independency Lecture 6: Elif Tan Ankara University Elif Tan (Ankara University) Lecture 6 / 0 Definition (Linear Combination) Let v, v 2,..., v k be vectors in (V,, ) a vector space. A vector v V is called a linear

More information

Algorithm Analysis Divide and Conquer. Chung-Ang University, Jaesung Lee

Algorithm Analysis Divide and Conquer. Chung-Ang University, Jaesung Lee Algorithm Analysis Divide and Conquer Chung-Ang University, Jaesung Lee Introduction 2 Divide and Conquer Paradigm 3 Advantages of Divide and Conquer Solving Difficult Problems Algorithm Efficiency Parallelism

More information

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. Section 9.2: Matrices Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. That is, a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn A

More information

Linear Algebra (Review) Volker Tresp 2018

Linear Algebra (Review) Volker Tresp 2018 Linear Algebra (Review) Volker Tresp 2018 1 Vectors k, M, N are scalars A one-dimensional array c is a column vector. Thus in two dimensions, ( ) c1 c = c 2 c i is the i-th component of c c T = (c 1, c

More information

A. 16 B. 16 C. 4 D What is the solution set of 4x + 8 > 16?

A. 16 B. 16 C. 4 D What is the solution set of 4x + 8 > 16? Algebra II Honors Summer Math Packet 2017 Name: Date: 1. Solve for x: x + 6 = 5x + 12 2. What is the value of p in the equation 8p + 2 = p 10? F. 1 G. 1 H. J.. Solve for x: 15x (x + ) = 6 11. Solve for

More information

Lesson U2.1 Study Guide

Lesson U2.1 Study Guide Lesson U2.1 Study Guide Sunday, June 3, 2018 2:05 PM Matrix operations, The Inverse of a Matrix and Matrix Factorization Reading: Lay, Sections 2.1, 2.2, 2.3 and 2.5 (about 24 pages). MyMathLab: Lesson

More information

Basics. A VECTOR is a quantity with a specified magnitude and direction. A MATRIX is a rectangular array of quantities

Basics. A VECTOR is a quantity with a specified magnitude and direction. A MATRIX is a rectangular array of quantities Some Linear Algebra Basics A VECTOR is a quantity with a specified magnitude and direction Vectors can exist in multidimensional space, with each element of the vector representing a quantity in a different

More information

1 Last time: determinants

1 Last time: determinants 1 Last time: determinants Let n be a positive integer If A is an n n matrix, then its determinant is the number det A = Π(X, A)( 1) inv(x) X S n where S n is the set of n n permutation matrices Π(X, A)

More information

235 Final exam review questions

235 Final exam review questions 5 Final exam review questions Paul Hacking December 4, 0 () Let A be an n n matrix and T : R n R n, T (x) = Ax the linear transformation with matrix A. What does it mean to say that a vector v R n is an

More information

Applied Mathematics Course Contents Matrices, linear systems Gauss-Jordan elimination, Determinants, Cramer's rule, inverse matrix.

Applied Mathematics Course Contents Matrices, linear systems Gauss-Jordan elimination, Determinants, Cramer's rule, inverse matrix. Applied Mathematics Course Contents Matrices, linear systems Gauss-Jordan elimination, Determinants, Cramer's rule, inverse matri. Vector spaces, inner product and norm, linear transformations. Matri eigenvalue

More information

SOLUTIONS: ASSIGNMENT Use Gaussian elimination to find the determinant of the matrix. = det. = det = 1 ( 2) 3 6 = 36. v 4.

SOLUTIONS: ASSIGNMENT Use Gaussian elimination to find the determinant of the matrix. = det. = det = 1 ( 2) 3 6 = 36. v 4. SOLUTIONS: ASSIGNMENT 9 66 Use Gaussian elimination to find the determinant of the matrix det 1 1 4 4 1 1 1 1 8 8 = det = det 0 7 9 0 0 0 6 = 1 ( ) 3 6 = 36 = det = det 0 0 6 1 0 0 0 6 61 Consider a 4

More information

Diagonalization. Hung-yi Lee

Diagonalization. Hung-yi Lee Diagonalization Hung-yi Lee Review If Av = λv (v is a vector, λ is a scalar) v is an eigenvector of A excluding zero vector λ is an eigenvalue of A that corresponds to v Eigenvectors corresponding to λ

More information

Mixed Integer Linear Programming and Nonlinear Programming for Optimal PMU Placement

Mixed Integer Linear Programming and Nonlinear Programming for Optimal PMU Placement Mied Integer Linear Programg and Nonlinear Programg for Optimal PMU Placement Anas Almunif Department of Electrical Engineering University of South Florida, Tampa, FL 33620, USA Majmaah University, Al

More information

JEE/BITSAT LEVEL TEST

JEE/BITSAT LEVEL TEST JEE/BITSAT LEVEL TEST Booklet Code A/B/C/D Test Code : 00 Matrices & Determinants Answer Key/Hints Q. i 0 A =, then A A is equal to 0 i (a.) I (b.) -ia (c.) -I (d.) ia i 0 i 0 0 Sol. We have AA I 0 i 0

More information

Get Solution of These Packages & Learn by Video Tutorials on Matrices

Get Solution of These Packages & Learn by Video Tutorials on  Matrices FEE Download Stud Package from website: wwwtekoclassescom & wwwmathsbsuhagcom Get Solution of These Packages & Learn b Video Tutorials on wwwmathsbsuhagcom Matrices An rectangular arrangement of numbers

More information

MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra

MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra A. Vectors A vector is a quantity that has both magnitude and direction, like velocity. The location of a vector is irrelevant;

More information

MATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu

MATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu MATLAB BASICS Instructor: Prof. Shahrouk Ahmadi 1. What are M-files TA: Kartik Bulusu M-files are files that contain a collection of MATLAB commands or are used to define new MATLAB functions. For the

More information

33A Linear Algebra and Applications: Practice Final Exam - Solutions

33A Linear Algebra and Applications: Practice Final Exam - Solutions 33A Linear Algebra and Applications: Practice Final Eam - Solutions Question Consider a plane V in R 3 with a basis given by v = and v =. Suppose, y are both in V. (a) [3 points] If [ ] B =, find. (b)

More information

y x is symmetric with respect to which of the following?

y x is symmetric with respect to which of the following? AP Calculus Summer Assignment Name: Note: Unless otherwise specified, the domain of a function f is assumed to be the set of all real numbers for which f () is a real number. Part : Multiple Choice Solve

More information

Math 489AB Exercises for Chapter 2 Fall Section 2.3

Math 489AB Exercises for Chapter 2 Fall Section 2.3 Math 489AB Exercises for Chapter 2 Fall 2008 Section 2.3 2.3.3. Let A M n (R). Then the eigenvalues of A are the roots of the characteristic polynomial p A (t). Since A is real, p A (t) is a polynomial

More information

12. Perturbed Matrices

12. Perturbed Matrices MAT334 : Applied Linear Algebra Mike Newman, winter 208 2. Perturbed Matrices motivation We want to solve a system Ax = b in a context where A and b are not known exactly. There might be experimental errors,

More information

Quiz ) Locate your 1 st order neighbors. 1) Simplify. Name Hometown. Name Hometown. Name Hometown.

Quiz ) Locate your 1 st order neighbors. 1) Simplify. Name Hometown. Name Hometown. Name Hometown. Quiz 1) Simplify 9999 999 9999 998 9999 998 2) Locate your 1 st order neighbors Name Hometown Me Name Hometown Name Hometown Name Hometown Solving Linear Algebraic Equa3ons Basic Concepts Here only real

More information

pset3-sol September 7, 2017

pset3-sol September 7, 2017 pset3-sol September 7, 2017 1 18.06 pset 3 Solutions 1.1 Problem 1 Suppose that you solve AX = B with and find that X is 1 1 1 1 B = 0 2 2 2 1 1 0 1 1 1 0 1 X = 1 0 1 3 1 0 2 1 1.1.1 (a) What is A 1? (You

More information

Chapter 2: Approximating Solutions of Linear Systems

Chapter 2: Approximating Solutions of Linear Systems Linear of Chapter 2: Solutions of Linear Peter W. White white@tarleton.edu Department of Mathematics Tarleton State University Summer 2015 / Numerical Analysis Overview Linear of Linear of Linear of Linear

More information

Chapter Contents. A 1.6 Further Results on Systems of Equations and Invertibility 1.7 Diagonal, Triangular, and Symmetric Matrices

Chapter Contents. A 1.6 Further Results on Systems of Equations and Invertibility 1.7 Diagonal, Triangular, and Symmetric Matrices Chapter Contents. Introduction to System of Linear Equations. Gaussian Elimination.3 Matrices and Matri Operations.4 Inverses; Rules of Matri Arithmetic.5 Elementary Matrices and a Method for Finding A.6

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.7 LINEAR INDEPENDENCE LINEAR INDEPENDENCE Definition: An indexed set of vectors {v 1,, v p } in n is said to be linearly independent if the vector equation x x x

More information

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors 5 Eigenvalues and Eigenvectors 5.2 THE CHARACTERISTIC EQUATION DETERMINANATS n n Let A be an matrix, let U be any echelon form obtained from A by row replacements and row interchanges (without scaling),

More information

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form Math 2 Homework #7 March 4, 2 7.3.3. Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y/2. Hence the solution space consists of all vectors of the form ( ( ( ( x (5 + 3y/2 5/2 3/2 x =

More information

17. 8x and 4x 2 > x 1 < 7 and 6x x or 2x x 7 < 3 and 8x x 9 9 and 5x > x + 3 < 3 or 8x 2

17. 8x and 4x 2 > x 1 < 7 and 6x x or 2x x 7 < 3 and 8x x 9 9 and 5x > x + 3 < 3 or 8x 2 Section 1.4 Compound Inequalities 6 1.4 Exercises In Exercises 1-12, solve the inequality. Express your answer in both interval and set notations, and shade the solution on a number line. 1. 8x 16x 1 2.

More information

POLI270 - Linear Algebra

POLI270 - Linear Algebra POLI7 - Linear Algebra Septemer 8th Basics a x + a x +... + a n x n b () is the linear form where a, b are parameters and x n are variables. For a given equation such as x +x you only need a variable and

More information

2/7/2013. Topics. 15-System Model Text: One-Line Diagram. One-Line Diagram

2/7/2013. Topics. 15-System Model Text: One-Line Diagram. One-Line Diagram /7/013 Topics 15-ystem Model Text: 5.8 5.11 One-line Diagram ystem Modeling Regulating Transformers ECEGR 451 Power ystems Dr. Henry Louie 1 Dr. Henry Louie Generator us Transformer Transmission line Circuit

More information

Application 8.3 Automating the Frobenius Series Method

Application 8.3 Automating the Frobenius Series Method Application 8.3 Automating the Frobenius Series Method Here we illustrate the use of a computer algebra system to apply the method of Frobenius. In the paragraphs that follow, we consider the differential

More information

Inequalities. Some problems in algebra lead to inequalities instead of equations.

Inequalities. Some problems in algebra lead to inequalities instead of equations. 1.6 Inequalities Inequalities Some problems in algebra lead to inequalities instead of equations. An inequality looks just like an equation except that, in the place of the equal sign is one of these symbols:

More information

Recall : Eigenvalues and Eigenvectors

Recall : Eigenvalues and Eigenvectors Recall : Eigenvalues and Eigenvectors Let A be an n n matrix. If a nonzero vector x in R n satisfies Ax λx for a scalar λ, then : The scalar λ is called an eigenvalue of A. The vector x is called an eigenvector

More information

Now, if you see that x and y are present in both equations, you may write:

Now, if you see that x and y are present in both equations, you may write: Matrices: Suppose you have two simultaneous equations: y y 3 () Now, if you see that and y are present in both equations, you may write: y 3 () You should be able to see where the numbers have come from.

More information

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2016 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing

More information

MATHEMATICAL FUNDAMENTALS I. Michele Fitzpatrick

MATHEMATICAL FUNDAMENTALS I. Michele Fitzpatrick MTHEMTICL FUNDMENTLS I Michele Fitpatrick OVERVIEW Vectors and arras Matrices Linear algebra Del( operator Tensors DEFINITIONS vector is a single row or column of numbers. n arra is a collection of vectors

More information

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II)

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II) Math 59 Lecture 2 (Tue Mar 5) Gaussian elimination and LU factorization (II) 2 Gaussian elimination - LU factorization For a general n n matrix A the Gaussian elimination produces an LU factorization if

More information

Chapter 2: Numeric, Cell, and Structure Arrays

Chapter 2: Numeric, Cell, and Structure Arrays Chapter 2: Numeric, Cell, and Structure Arrays Topics Covered: Vectors Definition Addition Multiplication Scalar, Dot, Cross Matrices Row, Column, Square Transpose Addition Multiplication Scalar-Matrix,

More information

Dimension. Eigenvalue and eigenvector

Dimension. Eigenvalue and eigenvector Dimension. Eigenvalue and eigenvector Math 112, week 9 Goals: Bases, dimension, rank-nullity theorem. Eigenvalue and eigenvector. Suggested Textbook Readings: Sections 4.5, 4.6, 5.1, 5.2 Week 9: Dimension,

More information

Name. SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Name. SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. REVIEW Eam #3 : 3.2-3.6, 4.1-4.5, 5.1 Name SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Use the Leading Coefficient Test to determine the end behavior

More information

UNIT 3. Recall From Unit 2 Rational Functions

UNIT 3. Recall From Unit 2 Rational Functions UNIT 3 Recall From Unit Rational Functions f() is a rational function if where p() and q() are and. Rational functions often approach for values of. Rational Functions are not graphs There various types

More information

and let s calculate the image of some vectors under the transformation T.

and let s calculate the image of some vectors under the transformation T. Chapter 5 Eigenvalues and Eigenvectors 5. Eigenvalues and Eigenvectors Let T : R n R n be a linear transformation. Then T can be represented by a matrix (the standard matrix), and we can write T ( v) =

More information

Lecture 7 and 8. Fall EE 105, Feedback Control Systems (Prof. Khan) September 30 and October 05, 2015

Lecture 7 and 8. Fall EE 105, Feedback Control Systems (Prof. Khan) September 30 and October 05, 2015 1 Lecture 7 and 8 Fall 2015 - EE 105, Feedback Control Systems (Prof Khan) September 30 and October 05, 2015 I CONTROLLABILITY OF AN DT-LTI SYSTEM IN k TIME-STEPS The DT-LTI system is given by the following

More information

Algebra 2 Matrices. Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find.

Algebra 2 Matrices. Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find. Algebra 2 Matrices Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find. Evaluate the determinant of the matrix. 2. 3. A matrix contains 48 elements.

More information

12/31/2010. Digital Operations and Computations Course Notes. 01-Number Systems Text: Unit 1. Overview. What is a Digital System?

12/31/2010. Digital Operations and Computations Course Notes. 01-Number Systems Text: Unit 1. Overview. What is a Digital System? Digital Operations and Computations Course Notes 0-Number Systems Text: Unit Winter 20 Professor H. Louie Department of Electrical & Computer Engineering Seattle University ECEGR/ISSC 20 Digital Operations

More information

LINEAR ALGEBRA, VECTOR ALGEBRA AND ANALYTICAL GEOMETRY

LINEAR ALGEBRA, VECTOR ALGEBRA AND ANALYTICAL GEOMETRY ФЕДЕРАЛЬНОЕ АГЕНТСТВО ПО ОБРАЗОВАНИЮ Государственное образовательное учреждение высшего профессионального образования «ТОМСКИЙ ПОЛИТЕХНИЧЕСКИЙ УНИВЕРСИТЕТ» VV Konev LINER LGEBR, VECTOR LGEBR ND NLYTICL

More information