Problem Sheet 1 with Solutions GRA 6035 Mathematics

Similar documents
Digital Workbook for GRA 6035 Mathematics

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Section Gaussian Elimination

System of Linear Equations

1 - Systems of Linear Equations

Solving Linear Systems Using Gaussian Elimination

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

Methods for Solving Linear Systems Part 2

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

Linear System Equations

Notes on Row Reduction

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1. Vectors, Matrices, and Linear Spaces

Linear Algebra I Lecture 10

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Math 1314 Week #14 Notes

Extra Problems: Chapter 1

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

Exercise Sketch these lines and find their intersection.

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

Math 313 Chapter 1 Review

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

Chapter 4. Solving Systems of Equations. Chapter 4

Lecture 2 Systems of Linear Equations and Matrices, Continued

Lectures on Linear Algebra for IT

Linear Equations in Linear Algebra

Matrices and RRE Form

Math 2174: Practice Midterm 1

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 2: Approximating Solutions of Linear Systems

Chapter 1: Systems of Linear Equations

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Math 314H EXAM I. 1. (28 points) The row reduced echelon form of the augmented matrix for the system. is the matrix

Linear Algebra 1 Exam 1 Solutions 6/12/3

Relationships Between Planes

Matrices and systems of linear equations

Solving Systems of Linear Equations Using Matrices

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Name: Section Registered In:

9.1 - Systems of Linear Equations: Two Variables

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

x 1 2x 2 +x 3 = 0 2x 2 8x 3 = 8 4x 1 +5x 2 +9x 3 = 9

3.4 Elementary Matrices and Matrix Inverse

Math x + 3y 5z = 14 3x 2y + 3z = 17 4x + 3y 2z = 1

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

Solutions to Homework 5 - Math 3410

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

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

Lecture Notes: Solving Linear Systems with Gauss Elimination

MODEL ANSWERS TO THE THIRD HOMEWORK

Determine whether the following system has a trivial solution or non-trivial solution:

1 Last time: linear systems and row operations

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

Review for Chapter 1. Selected Topics

4 Elementary matrices, continued

1 Linear systems, existence, uniqueness

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

MIDTERM 1 - SOLUTIONS

Linear Algebra I Lecture 8

Number of solutions of a system

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Lecture 4: Gaussian Elimination and Homogeneous Equations

4 Elementary matrices, continued

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic

Linear equations in linear algebra

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2]

Solutions to Exam I MATH 304, section 6

Elementary Linear Algebra

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

Row Reduction and Echelon Forms

2018 Fall 2210Q Section 013 Midterm Exam I Solution

MATH 54 - WORKSHEET 1 MONDAY 6/22

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

Rank, Homogenous Systems, Linear Independence

MATH 2360 REVIEW PROBLEMS

Matrix Solutions to Linear Equations

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

Solving Systems of Linear Equations

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Math 2331 Linear Algebra

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

CONSISTENCY OF EQUATIONS

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Chapter 1: Systems of Linear Equations and Matrices

Math 3C Lecture 20. John Douglas Moore

Transcription:

Problem Sheet 1 with Solutions GRA 6035 Mathematics BI Norwegian Business School

2 Problems 1. From linear system to augmented matrix Write down the coefficient matrix and the augmented matrix of the following linear systems: a) 2x + 5y = 6 3x 7y = 4 b) x + y z = 0 x y + z = 2 x 2y + 4z = 3 2. From augmented matrix to linear system Write down the linear system in the variables x,y,z with augmented matrix 1 2 0 4 2 3 1 0 7 4 1 3 3. Solution by substitution Use substitution to solve the linear system x + 2y + 4z = 7 4. Variation of parameters by substitution For what values of h does the following linear system have solutions? x + 2y + z = h 5. Gaussian elimination I Solve the following linear systems by Gaussian elimination: a) x + 2y + 4z = 7 b) 2x + 2y z = 2 x + y + z = 2 2x + 4y 3z = 0 6. Gauss-Jordan elimination Solve the following linear system by Gauss-Jordan elimination: x + 2y + 4z = 7

3 7. Gaussian elimination II Solve the following linear systems by Gaussian elimination: a) 4x + 6y + 4z = 4 2x y + z = 1 b) 6x + y = 7 3x + y = 4 6x 2y = 1 8. Variation of parameters Discuss the number of solutions of the linear system for all values of the parameters a and b. x + 2y + 3z = 1 x + ay 21z = 2 3x + 7y + az = b 9. Pivot positions Find the pivot positions of the following matrix: 1 3 4 1 7 3 2 1 0 7 1 3 2 4 9 10. Basic and free variables Show that the following linear system has infinitely many solutions, and determine the number of degrees of freedom: x + 6y 7z + 3w = 1 x + 9y 6z + 4w = 2 x + 3y 8z + 4w = 5 Find free variables and express the basic variables in terms of the free ones. 11. Linear Systems Solve the following linear systems by substitution and by Gaussian elimination: a) x 3y + 6z = 1 2x 5y + 10z = 0 3x 8y + 17z = 1 b) x + y + z = 0 12x + 2y 3z = 5 3x + 4y + z = 4 12. Rank of a matrix I Find the rank of the following matrices: a) ( ) 1 2 8 16 b) ( ) 1 3 4 2 0 1 c) 1 2 1 3 2 4 4 7 1 2 1 2

4 13. Rank of a matrix II Find the rank of the following matrices: (a) 1 3 0 0 2 4 0 1 b) 1 1 2 2 2 1 3 7 1 4 3 1 c) 3 2 5 11 2 1 1 2 1 1 1 3 2 5 2 0 14. Homogeneous linear systems Prove that any 4 6 homogeneous linear system has non-trivial solutions. 15. Linear system vith parameters Discuss the ranks of the coefficient matrix A and the augmented matrix  of the linear system x 1 + x 2 + x 3 = 2q 2x 1 3x 2 + 2x 3 = 4q 3x 1 2x 2 + px 3 = q for all values of p and q. Use this to determine the number of solutions of the linear system for all values of p and q. 16. Midterm Exam in GRA6035 24/09/2010, Problem 3 Compute the rank of the matrix 2 5 3 4 8 A = 4 7 4 3 9 6 9 5 2 4 17. Mock Midterm Exam in GRA6035 09/2010, Problem 3 Compute the rank of the matrix 1 2 5 0 1 A = 2 5 8 4 3 3 9 9 7 2 3 10 7 11 7 18. Midterm Exam in GRA6035 24/05/2011, Problem 3 Compute the rank of the matrix A = 2 10 6 8 1 5 4 11 3 15 7 2

5 Solutions General remark: In some of the problems, we compute an echelon form. Since the echelon form is not unique, it is possible to get to another echelon form than the one indicated in the solutions below. However, the pivot positions should be the same. 1 From linear system to augmented matrix The coefficient matrix and the augmented matrix of the system is given by ( ) ( ) 2 5 2 5 6 a), b) 1 1 1 1 1 1, 1 1 1 0 1 1 1 2 3 7 3 7 4 1 2 4 1 2 4 3 2 From augmented matrix to linear system The linear system is given by x + 2y = 4 2x 3y + z = 0 7x + 4y + z = 3 3 Solution by substitution We solve the linear system x + 2y + 4z = 7 by substitution. First, we solve the first equation for z and get z = 1 x y. Then we substitute this expression for z in the last two equations. We get 2y = 3 3x 2y = 3 We solve the first equation for y, and get y = 1.5. Then we substitute this value for y in the second equation, and get x = 0. Finally, we substitute both these values in z = 1 x y and get z = 2.5. The solution is therefore x = 0, y = 1.5, z = 2.5. 4 Variation of parameters by substitution We solve the linear system x + 2y + z = h by substitution. First, we solve the first equation for z and get z = 1 x y. Then we substitute this expression for z in the last two equations. We get 2y = 3 y = h 1

6 We solve the first equation for y, and get y = 1.5. Then we substitute this value for y in the second equation, and get 1.5 = h 1. If h = 0.5, this holds and the system have solutions (x is a free variable, y = 1.5 and z = 1 x y = 2.5 x). If h 0.5, then this leads to a contradiction and the system have no solutions. Therefore, the linear system have solutions if and only if h = 0.5. 5 Gaussian elimination I The linear systems have the following augmented matrices: a) 1 1 1 1 1 1 1 4 b) 2 2 1 2 1 1 1 2 1 2 4 7 2 4 3 0 a) To solve the system, we reduce the system to an echelon form using elementary row operations. The row operations are indicated. 1 1 1 1 1 1 1 4 R 2 R 2 + ( 1)R 1 1 2 4 7 R 3 R 3 + ( 1)R 1 0 2 0 3 0 1 3 6 R 3 R 3 + (0.5)R 2 0 2 0 3 0 0 3 7.5 From the last equation we get z = 2.5, substitution in the second equation gives y = 1.5, and substitution in the first equation gives x = 0. Therefore, the solution of a) is x = 0, y = 1.5, z = 2.5. b) To solve the system, we reduce the system to an echelon form using elementary row operations. The row operations are indicated. 2 2 1 2 1 1 1 2 R 2 R 2 + ( 0.5)R 1 2 4 3 0 R 3 R 3 + ( 1)R 1 2 2 1 2 0 0 1.5 3 R 2 R 3 0 2 2 2 R 3 R 2 2 2 1 2 0 2 2 2 0 0 1.5 3 From the last equation we get z = 2, substitution in the second equation gives y = 3, and substitution in the first equation gives x = 3. Therefore, the solution of b) is x = 3, y = 3, z = 2.

6 Gauss-Jordan elimination We reduce the system to the reduced echelon form using elementary row operations: 1 1 1 1 1 1 1 4 R 2 R 2 + ( 1)R 1 1 2 4 7 R 3 R 3 + ( 1)R 1 0 2 0 3 0 1 3 6 R 3 R 3 + (0.5)R 2 0 2 0 3 R 2 ( 1/2) R 2 0 0 3 7.5 R 3 (1/3) R 3 R 1 R 1 + ( 1)R 2 + ( 1)R 3 0 1 0 1.5 0 0 1 2.5 0 1 0 1.5 0 0 1 2.5 We read off the solution of the system: x = 0, y = 1.5, z = 2.5. 7 Gaussian elimination II a) We reduce the linear system to an echelon form: ( ) ( ) 4 6 4 4 4 6 4 4 2 1 1 1 0 2 3 3 We see that the system has infinitely many solutions (z is a free variable and x,y are basic variables). We reduce the system to a reduced echelon form: ( ) ( ) ( ) 4 6 4 4 1 1.5 1 1 1 0 1.25 1.25 0 2 3 3 0 1 1.5 1.5 0 1 1.5 1.5 We see that x + 1.25z = 1.25, y + 1.5z = 1.5. Therefore the solution is given by x = 1.25 1.25z, y = 1.5 1.5z (z is a free variable). b) We reduce the linear system to an echelon form: 6 1 7 6 1 7 6 1 7 3 1 4 6 2 1 We see that the system has no solutions. 0 0.5 0.5 0 1 8 0 0.5 0.5 0 0 9 7

8 8 Variation of parameters We find the augmented matrix of the linear system and reduce it to an echelon form: 1 2 3 1 1 a 21 2 1 2 3 1 0 a + 2 18 3 3 7 a b 0 1 a 9 b 3 We interchange the last two rows to avoid division with a + 2: 1 2 3 1 0 1 a 9 b 3 1 2 3 1 0 1 a 9 b 3 0 a + 2 18 3 0 0 18 (a 9)(a + 2) 3 (b 3)(a + 2) We compute 18 (a 9)(a + 2) = 7a a 2. So when a 0 and a 7, the system has a unique solution. When a = 0, we compute 3 (b 3)(a + 2) = 9 2b. So when a = 0 and b 9/2, the system is inconsistent, and when a = 0, b = 9/2, the system has infinitely many solutions (one degree of freedom). When a = 7, we compute 3 (b 3)(a + 2) = 30 9b. So when a = 7 and b 30/9 = 10/3, the system is inconsistent, and when a = 7, b = 10/3, the system has infinitely many solutions (one degree of freedom). 9 Pivot positions We redude the matrix to an echelon form using row elementary row operations: 1 3 4 1 7 3 2 1 0 7 1 3 4 1 7 0 7 11 3 14 1 3 4 1 7 0 7 11 3 14 1 3 2 4 9 0 6 6 5 16 0 0 24/7 We have not computed the entries marked since they are not needed to find the pivot positions. The pivot positions in the matrix are marked with a box: 1 3 4 1 7 3 2 1 0 7 1 3 2 4 9 10 Basic and free variables We find the augmented matrix and reduce it to an echelon form using elementary row operations: 1 6 7 3 1 1 9 6 4 2 1 6 7 3 1 0 3 1 1 1 1 6 7 3 1 0 3 1 1 1 1 3 8 4 5 0 3 1 1 4 0 0 0 2 5 We see that the system has infinitely many solutions and one degree of freedom (z is a free variable and x,y,w are basic variables). To express x,y,w in terms of z, we find the reduced echelon form:

1 6 7 3 1 0 3 1 1 1 0 0 0 2 5 1 6 7 3 1 0 1 1/3 1/3 1/3 0 0 0 1 5/2 1 0 9 0 7/2 0 1 1/3 0 1/2 0 0 0 1 5/2 9 We see that x 9z = 7/2, y + z/3 = 1/2 and w = 5/2. This means that the solution is given by x = 9z 7/2, y = z/3 1/2, w = 5/2 (z is a free variable). 11 Linear Systems a) We find the augmented matrix of the linear system and reduce it to an echelon form: 1 3 6 1 1 3 6 1 2 5 10 0 0 1 2 2 3 8 17 1 0 0 1 2 Back substitution gives the solution x = 5, y = 6, z = 2. b) We find the augmented matrix of the linear system and reduce it to an echelon form: 1 1 1 0 12 2 3 5 1 1 1 0 0 1 2 4 3 4 1 4 0 0 35 35 Back substitution gives the solution x = 1, y = 2, z = 1. 12 Rank of a matrix I a) We find an echelon form of the matrix: ( ) 1 2 8 16 ( ) 1 2 0 0 We see that the rank of A is 1 since there is one pivot position. b) We find an echelon form of the matrix: ( ) ( ) 1 3 4 1 3 4 2 0 1 0 6 7 We see that the rank of A is 2 since there are two pivot positions. c) We find an echelon form of the matrix: 1 2 1 3 2 4 4 7 1 2 1 3 0 0 2 1 1 2 1 3 0 0 2 1 1 2 1 2 0 0 2 1 0 0 0 0 We see that the rank of A is 2 since there are two pivot positions. 13 Rank of a matrix II a) We find an echelon form of the matrix: 1 3 0 0 2 4 0 1 1 3 0 0 0 2 0 1 1 1 2 2 0 4 2 2 1 3 0 0 0 2 0 1 0 0 2 4

10 We see that the rank of A is 3 by counting pivot positions. b) We find an echelon form of the matrix: 2 1 3 7 1 4 3 1 2 1 3 7 0 4.5 4.5 4.5 2 1 3 7 0 4.5 4.5 4.5 3 2 5 11 0 0.5 0.5 0.5 0 0 0 0 We see that the rank of A is 2 by counting pivot positions. c) We find an echelon form of the matrix: 2 1 1 2 1 1 1 3 0 5 3 0 0 1 2 2 2 5 2 0 0 9 4 2 We interchange the two middle rows to get easier computations: 0 1 2 2 0 5 3 0 0 1 2 2 0 0 7 10 0 1 2 2 0 0 7 10 0 9 4 2 0 0 14 20 0 0 0 0 We see that the rank of A is 3 by counting pivot positions. T 14 Homogeneous linear systems Let A be the 4 6 coefficient matrix of the homogeneous linear system. Then n = 6 (there are 6 variables) while rka 4 (there cannot be more than one pivot position in each row). So there are at least two degrees of freedom, and the system has nontrivial solutions. 15 Linear system with parameters We find the coefficient matrix A and the augmented matrix  of the system: A = 1 1 1 2 3 2,  = 1 1 1 2q 2 3 2 4q 3 2 p 3 2 p q Then we compute an echelon form of  (which contains an echelon form of A as the first three columns):  = 1 1 1 2q 2 3 2 4q 1 1 1 2q 0 5 0 0 3 2 p q 0 0 p 3 5q By counting pivot positions, we see that the ranks are given by { { 3 p 3 3 p 3 or q 0 rka = rkâ = 2 p = 3 2 p = 3 and q = 0

The linear system has one solution if p 3, no solutions if p = 3 and q 0, and infinitely many solutions (one degree of freedom) if p = 3 and q = 0. 16 Midterm Exam in GRA6035 24/09/2010, Problem 3 We compute an echelon form of A using elementary row operations, and get 2 5 3 4 8 2 5 3 4 8 A = 4 7 4 3 9 0 3 2 5 7 6 9 5 2 4 0 0 0 0 6 Hence A has rank 3. 17 Mock Midterm Exam in GRA6035 09/2010, Problem 3 We compute an echelon form of A using elementary row operations, and get 1 2 5 0 1 1 2 5 0 1 A = 2 5 8 4 3 3 9 9 7 2 0 1 2 4 5 0 0 0 5 10 3 10 7 11 7 0 0 0 0 0 Hence A has rank 3. 18 Midterm Exam in GRA6035 24/05/2011, Problem 3 We compute an echelon form of A using elementary row operations, and get A = 2 10 6 8 1 5 4 11 1 5 4 11 0 0 1 7 3 15 7 2 0 0 0 0 Hence A has rank 2. 11