Introduction to Systems and General Solutions to Systems

Size: px
Start display at page:

Download "Introduction to Systems and General Solutions to Systems"

Transcription

1 Introduction to Systems and General Solutions to Systems 1 Introduction to Systems We now turn our attention to systems of first order linear equations We will be reviewing some linear algebra as we go, as much of the theory of these systems depends on the theory of matrices: 1 Systems of Differential Equations 2 Linear Algebra Review 3 Systems as Matrix Equations 4 Higher Order Equations as Systems 2 Systems of Differential Equations Recall that in algebra we are sometimes interested in solving a system of n equations in n unknowns, such as the following form: a 11 x 1 + a 12 x a 1n x n b 1 a 21 x 1 + a 22 x a 2n x n b 2 a n1 x 1 + a n2 x a nn x n b n Here, the a ij and b i are constant coefficients The solution to this system is a set of n values x 1, x 2, x n which satisfy all the equations simultaneously Similarly, a system of n first order linear equations will be a set of n equations involving n functions x 1 t through x n t, as follows: x 1 x 2 x n p 11 tx 1 + p 12 tx p 1n tx n + g 1 t p 21 tx 1 + p 22 tx p 2n tx n + g 2 t p n1 tx 1 + p n2 tx p nn tx n + g n t 1

2 In this case, the p ij t and g i t are coefficient functions, and the solution is a set of n functions x 1 to x n that satisfy all the equations simultaneously As we would expect, we say that the system is homogeneous if all of the g i t are identically zero, and non-homogeneous if some of the g i t are non-zero 3 Linear Algebra Review More details are contained in 41 of the text, but here is a brief review of basic properties of matrices and vectors: 1 Addition, Subtraction, and Scalar Multiplication: Matrices and vectors of the same size can be added or subtracted by adding or subtracting the individual components Multiplication by a scalar simply multiplies each element in a matrix by that scalar Let A Then and B A 2B 2 Transposes: The transpose A T of a matrix A is the matrix obtained by switching the rows and columns of A Let A 3 + i 1 i 2 1 2i 0 Then A T 3 Multiplication: If the A is an l m matrix, and B is m n matrix, then the product C AB is defined and is an l n matrix We find the entry in row i and column j by 2

3 multiplying the entries in row i of A with the corresponding entries in column j of B and adding: n c ij a ik b kj Let A , B k1, and x 2 3 Find: AB x T x xx T 4 Determinants: The determinant of a 2 2 matrix is straightforward: a b c d ad bc Determinants of larger matrices are defined recursively, by cofactor expansion We expand along any row or column of a matrix, multiplying the entry 1 i+j a ij by the determinant of the submatrix formed by deleting the i th row and j th column We sum the results to get the determinant For example, An interesting application of determinants is that the system Ax 0 has a non-zero solution vector x exactly when the determinant A 0 3

4 5 Row Reduction and Inverses: An inverse of a matrix A is a matrix A 1 such that A 1 A AA 1 I, where I is the identity matrix The identity matrix has ones on the main diagonal and zeros elsewhere; when the multiplication is defined, AI IA A for any matrix A To find A 1, put the identity matrix to the right of A like so: a11 a a 21 a and then perform row operations on both until the left matrix is the identity The identity matrix that was on the right will then contain the inverse A 1 The legal row operations are: a Interchange two rows b Multiply an entire row by a constant c Add a multiple of one row to another row Find the inverse of : Alternatively, we can compute the inverse of 2 2 matrices using the formula a b c d 1 1 d b ad bc c a Note that we start with the reciprocal of the determinant It turns out that A is invertible if and only if A 0 6 Derivatives and Antiderivatives: 4

5 If we have a matrix containing functions, such as A e 2t 2t cost 3 then we define the derivative of the matrix to be the derivative of the component functions: da dt 2t 2 sint 0 Find the derivative: d dt t 2 7 sint t + 2 5e t Of course this means we can find antiderivatives of matrix functions just by taking antiderivatives of each component function, and then adding a matrix of constant functions 4 Systems as Matrix Equations With the conventions we have adopted above, we can rewrite a system of first order linear differential equations x 1 x 2 x n p 11 tx 1 + p 12 tx p 1n tx n + g 1 t p 21 tx 1 + p 22 tx p 2n tx n + g 2 t p n1 tx 1 + p n2 tx p nn tx n + g n t as a single differential equation using matrices: x Ptx + gt Here we have x 1 x 2 x, Pt x n p 11 t p 12 t p 1n t p 21 t p 22 t p 2n t p n1 t p n2 t p nn t 5, gt g 1 t g 2 t g n t

6 We can easily confirm that xt e is a solution to the homogeneous equation x x since x 3e 6e and e 3e 6e However, it may not yet be clear how to come up with such a solution Of course, if we have n first order equations, we should be able to solve for n initial conditions, x 1 t 0, x 2 t 0, x n t 0 This suggests that we need to have n constants c 1 to c n in our general solution As in the previous example, it is not hard to confirm that xt c 1 e + c 2 e 2t e 2t 2c1 e + c 2 e 2t c 1 e + c 2 e 2t is a solution to the homogeneous equation x x, since x 6c1 e + 2c 2 e 2t 3c 1 e + 2c 2 e 2t and we also have c1 e + c 2 e 2t c 1 e + c 2 e 2t 6c1 e + 2c 2 e 2t 3c 1 e + 2c 2 e 2t Check! Can we then require x and x 2 0 1, for example? Plugging in t 0 gives 2c 1 + c 2 3 c 1 + c 2 1 6

7 This is the same as the matrix equation c1 c or the augmented matrix Solving this system gives our needed c 1 and c 2 : 41 Existence and Uniqueness We mention the existence and uniqueness result for first order linear systems of equations: Theorem 41: Consider the initial value problem y t Ptyt + gt, yt 0 y 0, where y and g are n 1 vector functions, and Pt is an n n matrix function Let the n 2 components of Pt be continuous on the interval a, b, and let t 0 be in a, b The the initial value problem has a unique solution that exists on the entire interval a < t < b Our goal therefore must be to find this unique solution We will begin establishing what we need during the next class 5 Higher Order Equations as Systems We will consider how higher order equations can be rewritten as first order systems One reason why we are interested in systems of first order equations is because any n th order linear ordinary differential equation can be transformed into a system of n first order linear equations If you have an n th order equation in the variable y, simply set x 1 yt, x 2 y t,,x n y n 1 and use the fact that x 1 x 2, x 2 x 3, and so forth to set up your system Convert y + y y + t into a system of two first order equations 7

8 We set x 1 y, and x 2 y Then we have x 1 y x 2, and since y + y y + t, we have y y + y + t, or x 2 x 2 + x 1 + t So we have the system of equations x 1 x 2 x 2 + x 1 + t We see that this system is linear, but non-homogeneous We can of course write the system as a matrix equation: [ ] [ ] x 1 t 0 1 x1 t x 2 t x 2 t x 2 This means that the theory of higher order differential equations can be rewritten in terms of systems of first order equations One reason this is useful is that we can convert numerical methods such as Euler s method for use on systems of first order equations Thus, if we can rewrite higher order equations, we will be able to use numerical methods to approximate their solutions Let s try one more example Convert y y + 2y, y0 4, y 0 1, y 0 2 into a first order system with appropriate initial conditions [ 0 t ] y 1 t yt y 2 t y 3 t y 1 t y 2t y 2t y 3 t y y 2 0 y General Solutions to Systems We continue on systems of equations We will then consider the form of the general solution and introduce the Wronskian for systems 1 General Solutions 2 The Wronskian 3 Linear Independence 4 Fundamental Matrices 8

9 7 General Solutions We saw last time that we could use a column vector v as a solution to a system of first order differential equations It is easy to see that if v 1 and v 2 are both solutions to the matrix equation y Ay, then so is any linear combination y c 1 v 1 + c 2 v 2, since and y c 1 v 1 + c 2v 2 Ay Ac 1 v 1 + c 2 v 2 c 1 Av 1 + c 2 Av 2 c 1 v 1 + c 2 v 2 from basic properties of matrices and the assumption that v 1 and v 2 are both solutions to the system Thus, we have determined the principle of superposition holds for solutions to homogeneous systems of first order equations See Theorem 42 in the text This leaves us looking for a general solution to a system of equations We know of course that if we have n first order equations, we ought to be able to solve for n initial conditions Generalizing from our experience with second order and higher equations, we will attempt to find n solutions y 1,,y n to the system, and we will guess that c 1 y c n y n might be the general solution Once we have found n solutions y 1,,y n, it will prove useful to construct a matrix Ψt which has columns given by the solutions In other words, if we have solutions y 1,1 y 2,1 y 1,2 y 2,2 y 1,n y 2,n y 1,y 2,,y n y n,1 y n,2 y n,n we will then form the matrix Ψt y 1 y 2 y n y 1,1 y 1,2 y 1,n y 2,1 y 2,2 y 2,n y n,1 y n,2 y n,n Then any linear combination of these solutions can be written easily as y 1,1 y 1,2 y 1,n y 2,1 y 2,2 y 2,n Ψtc y n,1 y n,2 y n,n c 1 c 2 c n c 1y 1 + c 2 y c n y n 9

10 You can verify the equality if you wish It represents a special form of matrix multiplication Consider the system y Confirm that both of the following are solutions: y 1 : 3e y y 2 t : So this means any linear combination of y 1 and y 2 are solutions We form our solution matrix Ψt t 3e and we know we have solutions of the form c 1 y 1 t + c 2 y 2 t, or Ψtc where c is a 2 1 column vector of constants Can we then solve the system above together with the initial condition 1 y0? 1 We must attempt to solve the equation Ψ0c y0, or 2 2 c c 2 This is just a system of equations, which we can solve using row reduction on the augmented matrix

11 So we get c 1 3/4 and c 2 1/4, and our solution is yt [y 1 y 2 ] 3/4 1/ e 1 4 t It is not difficult to confirm both that this satisfies the system and that it satisfies the initial conditions We are of course somewhat cautious We know from solving second order and higher systems that it is not generally enough just to have the right number of solutions to combine, but that the solutions need to be really different from each other, so that we may satisfy whatever initial conditions we wish In the above example, we were able to satisfy our initial conditions How can we determine in general if linear combination of a set of solutions will be able to satisfy any initial conditions, and therefore form a fundamental set of solutions? 8 The Wronskian We have seen above that if we find n solutions y 1,,y n to a system y Pty, then we can attempt to write all solutions in the form c 1 y 1 t+ c n y n t, or equivalently Ψtc, where Ψt [y 1 y n ] and c is an n 1 column vector of constants Then to be able solve for an initial condition yt 0 y 0 is to be able to solve the matrix equation Ψt 0 c y 0 It is possible to solve this uniquely exactly when the matrix Ψt 0 is non-singular, which happens when the determinant Ψt 0 0 Therefore, we define the Wronskian of the vector functions y 1,,y n at point t to be the determinant y 1,1 t y 1,2 t y 1,n t y 2,1 t y 2,2 t y 2,n t Wy 1,,y n t Ψt y n,1 t y n,2 t y n,n t Then it is probably not surprising that the Wronskian identifies fundamental sets of solutions: Theorem 43:p

12 Let y 1 t,y 2 t,,y n t be a set of n solutions to the order n system y Pty, a < t < b, where the matrix function Pt is continuous on a, b Let Wt represent the Wronskian of this set of solutions If there is a point t 0 in a, b where Wt 0 0, then y 1 t,y 2 t,,y n t form a fundamental set of solutions to the equation In previous example we showed that 3e and t were solutions to the given differential equation Show that they form a fundamental set of solutions We check the Wronskian: t 10e2t 6e 2t 4e 2t 0 3e We see that Wt 0 for any value, and so these form a fundamental set of solutions Notice in the above example, our Wronskian was never zero This is not unusual In parallel with the case for second order and higher equations, the Wronskian of a set of n solutions to an order n equation is either always zero or always non-zero on the interval where a unique solution is guaranteed to exist Finally, we note that as we saw in example above, solving for initial conditions once we have a fundamental set of solutions is fairly straightforward: just solve the system Ψt 0 c y0 for the constants c 1, c 2,, c n We continue on systems of equations We will discuss linear independence and fundamental matrices 9 Linear Independence Recall that we say that a set of vectors x 1, x 2,, x n are linearly independent if there is no collection of n constants c 1, c 2,, c n not all zero for which c 1 x 1 + c 2 x c n x n 0 12

13 If such a collection of constants exists, then we say the x i are linearly dependent How can we tell if a set of vectors is linearly independent? If we have n vectors of x 1, x 2,, x n of length n, they are linearly independent if and only if the only solution to the system Xc x 1 x 2 x n c 1 c 2 c n x 1,1 x 1,2 x 1,n x 2,1 x 2,2 x 2,n x n,1 x n,2 x n,n c 1 c 2 c n is the zero vector Therefore, if the matrix X above is non-singular, the vectors are linearly independent If not, they are dependent Determine whether the vectors 0 x 1 2 2, x , and x 3 are linearly independent or not We see quickly that they are linearly dependent, since the determinant of X x 1 x 2 x 3 is zero: This means that there are constants c 1, c 2, and c 3 not all zero such that c 1 x 1 + c 2 x 2 + c 3 x 3 0 If we wished to find the constants, it would not be difficult; just solve the system Xc 0 using row reduction Of course, we see that all of this means the Wronskian being non-zero assures that we have a linearly independent set of solutions to a differential equation These are of course required to get a general solution 10 The Fundamental Matrix Given a set of n solutions, y 1,,y n, to a linear system of n first order equations, we have already seen how to form a solution matrix y 1,1 y 1,n Ψ y 1,,y n y n,1 y n,n 13

14 If the n solutions form a fundamental set of solutions in other words, if the y i are linearly independent solutions, then we call Ψ a fundamental matrix for the system We have already seen that any solution to the system y Pty must have the form Ψtc where Ψt is our fundamental matrix and c is a column vector of constants: Theorem 45: p 234 Let y 1 t,y 2 t,,y n t be a fundamental set of solutions of y Pty, a < t < b, where the n n matrix function Pt is continuous on a, b Let Ψt [y 1 t,y 2 t,,y n t] denote the n n matrix function formed from the fundamental set Let ŷ 1 t,ŷ 2 t,,ŷ n t be any other set of n solutions of the differential equation, and let ˆΨt [ŷ 1 t,ŷ 2 t,,ŷ n t] denote the n n matrix formed from this other set of solutions Then 1 There is a unique n n constant matrix C such that ˆΨt ΨtC, a < t < b, 2 Moreover, ŷ 1 t,ŷ 2 t,,ŷ n t is also a fundamental set of solutions if and only if the determinant of C is non-zero It is interesting to note and not difficult to prove see p 234 in the text that the fundamental matrix is itself a solution to the matrix differential equation Ψ t PtΨt We saw before that the two functions 3e and t were solutions to y We also proved by checking the Wronskian that these functions formed a fundamental set of solutions So a fundamental matrix for the system above is Ψt t 3e 14 y

15 We note that Ψ satisfies the matrix equation Ψ t PtΨt, since Ψ t 6e t 9e while PtΨt t 3e 6e t 9e also Find the map from the fundamental matrix for these solutions to the alternative solution matrix e t e We need to solve t 3e ˆΨ c11 c e t 3 2 e c 21 c 22 e t e 5 2 e t 3 2 e We see for example that we need c 11 + t c 21 e t, so we will require c 11 0 and c 21 1/2 Continuing in this way, we get the equation and determine that our matrix C is 0 1/2 1/2 0 Theorem 45 therefore assures us the new solution matrix ˆΨ is also a fundamental matrix, since C 1/4 0 15

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

1 Introduction to Matrices

1 Introduction to Matrices 1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns

More information

Lecture 2 Matrix Operations

Lecture 2 Matrix Operations Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or

More information

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1 (d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which

More information

Solution to Homework 2

Solution to Homework 2 Solution to Homework 2 Olena Bormashenko September 23, 2011 Section 1.4: 1(a)(b)(i)(k), 4, 5, 14; Section 1.5: 1(a)(b)(c)(d)(e)(n), 2(a)(c), 13, 16, 17, 18, 27 Section 1.4 1. Compute the following, if

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

Using row reduction to calculate the inverse and the determinant of a square matrix

Using row reduction to calculate the inverse and the determinant of a square matrix Using row reduction to calculate the inverse and the determinant of a square matrix Notes for MATH 0290 Honors by Prof. Anna Vainchtein 1 Inverse of a square matrix An n n square matrix A is called invertible

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Typical Linear Equation Set and Corresponding Matrices

Typical Linear Equation Set and Corresponding Matrices EWE: Engineering With Excel Larsen Page 1 4. Matrix Operations in Excel. Matrix Manipulations: Vectors, Matrices, and Arrays. How Excel Handles Matrix Math. Basic Matrix Operations. Solving Systems of

More information

160 CHAPTER 4. VECTOR SPACES

160 CHAPTER 4. VECTOR SPACES 160 CHAPTER 4. VECTOR SPACES 4. Rank and Nullity In this section, we look at relationships between the row space, column space, null space of a matrix and its transpose. We will derive fundamental results

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

Row Echelon Form and Reduced Row Echelon Form

Row Echelon Form and Reduced Row Echelon Form These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) 1 9.4.4 Write the given system in matrix form x = Ax + f ( ) sin(t) x y 1 0 5 z = dy cos(t)

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) 1 9.4.4 Write the given system in matrix form x = Ax + f ( ) sin(t) x y 1 0 5 z = dy cos(t) Solutions HW 9.4.2 Write the given system in matrix form x = Ax + f r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + We write this as ( ) r (t) θ (t) = ( ) ( ) 2 r(t) θ(t) + ( ) sin(t) 9.4.4 Write the given system

More information

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Linear Algebra Notes for Marsden and Tromba Vector Calculus Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of

More information

Unit 18 Determinants

Unit 18 Determinants Unit 18 Determinants Every square matrix has a number associated with it, called its determinant. In this section, we determine how to calculate this number, and also look at some of the properties of

More information

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively. Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry

More information

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Solving square systems of linear equations; inverse matrices. Linear algebra is essentially about solving systems of linear equations,

More information

Solving Linear Systems, Continued and The Inverse of a Matrix

Solving Linear Systems, Continued and The Inverse of a Matrix , Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing

More information

4.5 Linear Dependence and Linear Independence

4.5 Linear Dependence and Linear Independence 4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then

More information

NOTES ON LINEAR TRANSFORMATIONS

NOTES ON LINEAR TRANSFORMATIONS NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all

More information

The Characteristic Polynomial

The Characteristic Polynomial Physics 116A Winter 2011 The Characteristic Polynomial 1 Coefficients of the characteristic polynomial Consider the eigenvalue problem for an n n matrix A, A v = λ v, v 0 (1) The solution to this problem

More information

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections

More information

Name: Section Registered In:

Name: Section Registered In: Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are

More information

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method 578 CHAPTER 1 NUMERICAL METHODS 1. ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS As a numerical technique, Gaussian elimination is rather unusual because it is direct. That is, a solution is obtained after

More information

[1] Diagonal factorization

[1] Diagonal factorization 8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system 1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables

More information

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. ( 1 1 5 2 0 6

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. ( 1 1 5 2 0 6 Chapter 7 Matrices Definition An m n matrix is an array of numbers set out in m rows and n columns Examples (i ( 1 1 5 2 0 6 has 2 rows and 3 columns and so it is a 2 3 matrix (ii 1 0 7 1 2 3 3 1 is a

More information

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions. 3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms

More information

Brief Introduction to Vectors and Matrices

Brief Introduction to Vectors and Matrices CHAPTER 1 Brief Introduction to Vectors and Matrices In this chapter, we will discuss some needed concepts found in introductory course in linear algebra. We will introduce matrix, vector, vector-valued

More information

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which Homogeneous systems of algebraic equations A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x + + a n x n = a

More information

1 Determinants and the Solvability of Linear Systems

1 Determinants and the Solvability of Linear Systems 1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely side-stepped

More information

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column

More information

MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3

MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3 MATH0 Notebook Fall Semester 06/07 prepared by Professor Jenny Baglivo c Copyright 009 07 by Jenny A. Baglivo. All Rights Reserved. Contents MATH0 Notebook 3. Solving Systems of Linear Equations........................

More information

Introduction to Matrices for Engineers

Introduction to Matrices for Engineers Introduction to Matrices for Engineers C.T.J. Dodson, School of Mathematics, Manchester Universit 1 What is a Matrix? A matrix is a rectangular arra of elements, usuall numbers, e.g. 1 0-8 4 0-1 1 0 11

More information

MAT188H1S Lec0101 Burbulla

MAT188H1S Lec0101 Burbulla Winter 206 Linear Transformations A linear transformation T : R m R n is a function that takes vectors in R m to vectors in R n such that and T (u + v) T (u) + T (v) T (k v) k T (v), for all vectors u

More information

1.2 Solving a System of Linear Equations

1.2 Solving a System of Linear Equations 1.. SOLVING A SYSTEM OF LINEAR EQUATIONS 1. Solving a System of Linear Equations 1..1 Simple Systems - Basic De nitions As noticed above, the general form of a linear system of m equations in n variables

More information

Solving simultaneous equations using the inverse matrix

Solving simultaneous equations using the inverse matrix Solving simultaneous equations using the inverse matrix 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix

More information

Linear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007)

Linear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007) MAT067 University of California, Davis Winter 2007 Linear Maps Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007) As we have discussed in the lecture on What is Linear Algebra? one of

More information

5 Homogeneous systems

5 Homogeneous systems 5 Homogeneous systems Definition: A homogeneous (ho-mo-jeen -i-us) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x +... + a n x n =.. a m

More information

T ( a i x i ) = a i T (x i ).

T ( a i x i ) = a i T (x i ). Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

Solutions to Linear First Order ODE s

Solutions to Linear First Order ODE s First Order Linear Equations In the previous session we learned that a first order linear inhomogeneous ODE for the unknown function x = x(t), has the standard form x + p(t)x = q(t) () (To be precise we

More information

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Lecture L3 - Vectors, Matrices and Coordinate Transformations S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between

More information

DERIVATIVES AS MATRICES; CHAIN RULE

DERIVATIVES AS MATRICES; CHAIN RULE DERIVATIVES AS MATRICES; CHAIN RULE 1. Derivatives of Real-valued Functions Let s first consider functions f : R 2 R. Recall that if the partial derivatives of f exist at the point (x 0, y 0 ), then we

More information

SOLVING LINEAR SYSTEMS

SOLVING LINEAR SYSTEMS SOLVING LINEAR SYSTEMS Linear systems Ax = b occur widely in applied mathematics They occur as direct formulations of real world problems; but more often, they occur as a part of the numerical analysis

More information

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes Solution by Inverse Matrix Method 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix algebra allows us

More information

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0 Solutions: Assignment 4.. Find the redundant column vectors of the given matrix A by inspection. Then find a basis of the image of A and a basis of the kernel of A. 5 A The second and third columns are

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary

More information

8 Square matrices continued: Determinants

8 Square matrices continued: Determinants 8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You

More information

Question 2: How do you solve a matrix equation using the matrix inverse?

Question 2: How do you solve a matrix equation using the matrix inverse? Question : How do you solve a matrix equation using the matrix inverse? In the previous question, we wrote systems of equations as a matrix equation AX B. In this format, the matrix A contains the coefficients

More information

Methods for Finding Bases

Methods for Finding Bases Methods for Finding Bases Bases for the subspaces of a matrix Row-reduction methods can be used to find bases. Let us now look at an example illustrating how to obtain bases for the row space, null space,

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar

More information

Solutions to Math 51 First Exam January 29, 2015

Solutions to Math 51 First Exam January 29, 2015 Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not

More information

15.062 Data Mining: Algorithms and Applications Matrix Math Review

15.062 Data Mining: Algorithms and Applications Matrix Math Review .6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop

More information

5.5. Solving linear systems by the elimination method

5.5. Solving linear systems by the elimination method 55 Solving linear systems by the elimination method Equivalent systems The major technique of solving systems of equations is changing the original problem into another one which is of an easier to solve

More information

Higher Order Equations

Higher Order Equations Higher Order Equations We briefly consider how what we have done with order two equations generalizes to higher order linear equations. Fortunately, the generalization is very straightforward: 1. Theory.

More information

Examination paper for TMA4115 Matematikk 3

Examination paper for TMA4115 Matematikk 3 Department of Mathematical Sciences Examination paper for TMA45 Matematikk 3 Academic contact during examination: Antoine Julien a, Alexander Schmeding b, Gereon Quick c Phone: a 73 59 77 82, b 40 53 99

More information

26. Determinants I. 1. Prehistory

26. Determinants I. 1. Prehistory 26. Determinants I 26.1 Prehistory 26.2 Definitions 26.3 Uniqueness and other properties 26.4 Existence Both as a careful review of a more pedestrian viewpoint, and as a transition to a coordinate-independent

More information

University of Lille I PC first year list of exercises n 7. Review

University of Lille I PC first year list of exercises n 7. Review University of Lille I PC first year list of exercises n 7 Review Exercise Solve the following systems in 4 different ways (by substitution, by the Gauss method, by inverting the matrix of coefficients

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d. DEFINITION: A vector space is a nonempty set V of objects, called vectors, on which are defined two operations, called addition and multiplication by scalars (real numbers), subject to the following axioms

More information

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0. Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients We will now turn our attention to nonhomogeneous second order linear equations, equations with the standard

More information

The Method of Partial Fractions Math 121 Calculus II Spring 2015

The Method of Partial Fractions Math 121 Calculus II Spring 2015 Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method

More information

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Recall that two vectors in are perpendicular or orthogonal provided that their dot Orthogonal Complements and Projections Recall that two vectors in are perpendicular or orthogonal provided that their dot product vanishes That is, if and only if Example 1 The vectors in are orthogonal

More information

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication). MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix

More information

MATH 551 - APPLIED MATRIX THEORY

MATH 551 - APPLIED MATRIX THEORY MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points

More information

Section 10.4 Vectors

Section 10.4 Vectors Section 10.4 Vectors A vector is represented by using a ray, or arrow, that starts at an initial point and ends at a terminal point. Your textbook will always use a bold letter to indicate a vector (such

More information

7 Gaussian Elimination and LU Factorization

7 Gaussian Elimination and LU Factorization 7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1

General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1 A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1 Dr. John Ehrke Department of Mathematics Fall 2012 Questions

More information

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION No: CITY UNIVERSITY LONDON BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION ENGINEERING MATHEMATICS 2 (resit) EX2005 Date: August

More information

Matrix Representations of Linear Transformations and Changes of Coordinates

Matrix Representations of Linear Transformations and Changes of Coordinates Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under

More information

Unified Lecture # 4 Vectors

Unified Lecture # 4 Vectors Fall 2005 Unified Lecture # 4 Vectors These notes were written by J. Peraire as a review of vectors for Dynamics 16.07. They have been adapted for Unified Engineering by R. Radovitzky. References [1] Feynmann,

More information

9 MATRICES AND TRANSFORMATIONS

9 MATRICES AND TRANSFORMATIONS 9 MATRICES AND TRANSFORMATIONS Chapter 9 Matrices and Transformations Objectives After studying this chapter you should be able to handle matrix (and vector) algebra with confidence, and understand the

More information

1 Review of Newton Polynomials

1 Review of Newton Polynomials cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael

More information

Linear Equations ! 25 30 35$ & " 350 150% & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

Linear Equations ! 25 30 35$ &  350 150% &  11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development MathsTrack (NOTE Feb 2013: This is the old version of MathsTrack. New books will be created during 2013 and 2014) Topic 4 Module 9 Introduction Systems of to Matrices Linear Equations Income = Tickets!

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka kosecka@cs.gmu.edu http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length

More information

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8 Spaces and bases Week 3: Wednesday, Feb 8 I have two favorite vector spaces 1 : R n and the space P d of polynomials of degree at most d. For R n, we have a canonical basis: R n = span{e 1, e 2,..., e

More information

Section 1.7 22 Continued

Section 1.7 22 Continued Section 1.5 23 A homogeneous equation is always consistent. TRUE - The trivial solution is always a solution. The equation Ax = 0 gives an explicit descriptions of its solution set. FALSE - The equation

More information

The Determinant: a Means to Calculate Volume

The Determinant: a Means to Calculate Volume The Determinant: a Means to Calculate Volume Bo Peng August 20, 2007 Abstract This paper gives a definition of the determinant and lists many of its well-known properties Volumes of parallelepipeds are

More information

Lecture Notes 2: Matrices as Systems of Linear Equations

Lecture Notes 2: Matrices as Systems of Linear Equations 2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

Lecture 4: Partitioned Matrices and Determinants

Lecture 4: Partitioned Matrices and Determinants Lecture 4: Partitioned Matrices and Determinants 1 Elementary row operations Recall the elementary operations on the rows of a matrix, equivalent to premultiplying by an elementary matrix E: (1) multiplying

More information

Solving Systems of Linear Equations Using Matrices

Solving Systems of Linear Equations Using Matrices Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.

More information

General Framework for an Iterative Solution of Ax b. Jacobi s Method

General Framework for an Iterative Solution of Ax b. Jacobi s Method 2.6 Iterative Solutions of Linear Systems 143 2.6 Iterative Solutions of Linear Systems Consistent linear systems in real life are solved in one of two ways: by direct calculation (using a matrix factorization,

More information

Properties of Real Numbers

Properties of Real Numbers 16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should

More information

CURVE FITTING LEAST SQUARES APPROXIMATION

CURVE FITTING LEAST SQUARES APPROXIMATION CURVE FITTING LEAST SQUARES APPROXIMATION Data analysis and curve fitting: Imagine that we are studying a physical system involving two quantities: x and y Also suppose that we expect a linear relationship

More information

1 Review of Least Squares Solutions to Overdetermined Systems

1 Review of Least Squares Solutions to Overdetermined Systems cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares

More information

Excel supplement: Chapter 7 Matrix and vector algebra

Excel supplement: Chapter 7 Matrix and vector algebra Excel supplement: Chapter 7 atrix and vector algebra any models in economics lead to large systems of linear equations. These problems are particularly suited for computers. The main purpose of this chapter

More information

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors. 3. Cross product Definition 3.1. Let v and w be two vectors in R 3. The cross product of v and w, denoted v w, is the vector defined as follows: the length of v w is the area of the parallelogram with

More information