Math 51, Homework-2 Solutions

Similar documents
Math 51, Homework-2. Section numbers are from the course textbook.

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

Row Space, Column Space, and Nullspace

Math 51 Tutorial { August 10

Review Solutions for Exam 1

Math 3C Lecture 20. John Douglas Moore

Math Linear Algebra Final Exam Review Sheet

2018 Fall 2210Q Section 013 Midterm Exam I Solution

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

Math 220: Summer Midterm 1 Questions

Solutions to Math 51 Midterm 1 July 6, 2016

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

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

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

3.4 Elementary Matrices and Matrix Inverse

Lecture 4: Gaussian Elimination and Homogeneous Equations

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

SUPPLEMENT I. Example. Graph the vector 4, 3. Definition. Given two points A(x 1, y 1 ) and B(x 2, y 2 ), the vector represented by # AB is # AB =,

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

Lecture 3: Linear Algebra Review, Part II

Row Reduction and Echelon Forms

NAME MATH 304 Examination 2 Page 1

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

Linear Algebra Exam 1 Spring 2007

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:

Lecture 22: Section 4.7

Practice Exam. 2x 1 + 4x 2 + 2x 3 = 4 x 1 + 2x 2 + 3x 3 = 1 2x 1 + 3x 2 + 4x 3 = 5

Math 2940: Prelim 1 Practice Solutions

Problems for M 10/12:

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Math 302 Test 1 Review

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.

Lecture 1: Systems of linear equations and their solutions

MATH10212 Linear Algebra B Homework Week 4

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

MATH 2360 REVIEW PROBLEMS

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

Spring 2015 Midterm 1 03/04/15 Lecturer: Jesse Gell-Redman

Math 54 Homework 3 Solutions 9/

9.1 - Systems of Linear Equations: Two Variables

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

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

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

Matrix-Vector Products and the Matrix Equation Ax = b

Linear Algebra: Homework 3

Solutions to Math 51 First Exam April 21, 2011

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

Section Gaussian Elimination

Answer Key for Exam #2

is Use at most six elementary row operations. (Partial

Elementary maths for GMT

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 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

2. Every linear system with the same number of equations as unknowns has a unique solution.

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Lecture 03. Math 22 Summer 2017 Section 2 June 26, 2017

Span and Linear Independence

Extra Problems for Math 2050 Linear Algebra I

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

Conceptual Questions for Review

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

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

Chapter 2 Notes, Linear Algebra 5e Lay

Chapter Practice Test Name: Period: Date:

System of Linear Equations

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

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

Math 54 HW 4 solutions

Matrix & Linear Algebra

Solutions to Exam I MATH 304, section 6

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

Chapter 1. Vectors, Matrices, and Linear Spaces

EXAM. Exam #3. Math 2360 Fall 2000 Morning Class. Nov. 29, 2000 ANSWERS

Sections 6.1 and 6.2: Systems of Linear Equations

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Section 2.2: The Inverse of a Matrix

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

Linear Algebra Practice Problems

Homework 1.1 and 1.2 WITH SOLUTIONS

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

POLI270 - Linear Algebra

Math 1314 Week #14 Notes

MATH 151 Engineering Mathematics I

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

Matrices and systems of linear equations

Problem 1: Solving a linear equation

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

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

Math Linear Algebra

Chapter 1: Systems of Linear Equations

Homework 1 Due: Wednesday, August 27. x + y + z = 1. x y = 3 x + y + z = c 2 2x + cz = 4

Chapter 2: Approximating Solutions of Linear Systems

If A is a 4 6 matrix and B is a 6 3 matrix then the dimension of AB is A. 4 6 B. 6 6 C. 4 3 D. 3 4 E. Undefined

Chapter 1: Linear Equations

Vector Spaces, Orthogonality, and Linear Least Squares

INVERSE OF A MATRIX [2.2]

Additional Homework Problems

1. b = b = b = b = 5

Math 416, Spring 2010 More on Algebraic and Geometric Properties January 21, 2010 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES

Math 344 Lecture # Linear Systems

Transcription:

SSEA Summer 27 Math 5, Homework-2 Solutions Write the parametric equation of the plane that contains the following point and line: 3 2, 4 2 + t 3 t R 5 4 By substituting t = and t =, we get two points A and B on the line: A = 4 2, B = 7 2 AB = 7 2 4 2 = 3 5 5 4 If we call the given point as C, then: AC = 3 2 5 4 2 = 4 4 Therefore, a parametric equation of the plane is: P = {OC + tab + sac s, t R} = 3 2 + s 3 + t 4 s, t R 5 4 4 2 Consider the equation ax + by + cz = d, where a, b, c, d R are known constants (a) Write x in terms of y and z

SSEA Math Module Math 5 Homework-2 Solutions, Page 2 of 7 August 2, 27 Assuming a, x = b a y c a z + d a (b) Fill in the blank boxes in the following equation: x d/a -b/a -c/a y = + y + z z y, z R (c) Using the result from the previous part, explain the geometry described by the equation ax + by + cz = d The parametric equation above represents a plane in R 3 3 Recall that for nonzero vectors u, v R n : u v = u v cos(θ), where θ is the angle between the vectors Use this to find the angle between the diagonal of the unit square in: (a) R 2 and one of the axes: Let the diagonal point be P and consider the x axis Then, we have the following dot product: [ ] [ ] }{{} OP }{{} vector along x axis = 2 + 2 2 + 2 cos(θ) cos(θ) = ( ) θ = cos 2 2 (b) R 3 and one of the axes: Let the diagonal point be P and consider the x axis Then, we have the following dot product: = 2 + 2 + 2 2 + 2 + 2 cos(θ) }{{}}{{} OP vector along x axis cos(θ) = ( ) θ = cos 3 3

SSEA Math Module Math 5 Homework-2 Solutions, Page 3 of 7 August 2, 27 (c) R n and one of the axes: Let the diagonal point be P and consider the x axis Then, we have the following dot product: = } 2 + 2 + {{ + } 2 2 + 2 + + 2 cos(θ) n terms }{{} OP }{{} vector along x axis cos(θ) = ( ) θ = cos n n (d) What happens to this angle if n? lim θ = lim n n cos ( ) ( ) n = cos = cos () = π 2 4 Consider the matrix: (a) What is the size of A? 3 2 4 A = 6 9 8 5 3 4 2 3 4, that is, 3 rows and 4 columns (b) What is element in the 2nd row, 3rd column of A? [A] 23 = 8 (c) The transpose of a matrix is another matrix obtained by reversing the rows and columns of the original matrix Write down the transpose of A which is represented as A T 6 3 A T = 3 9 4 2 8 4 5 2

SSEA Math Module Math 5 Homework-2 Solutions, Page 4 of 7 August 2, 27 5 The solution to the system of equations: 2x + 6x 2 + x 3 + 2x 4 = 5, 3x 2 + x 3 + 4x 4 =, 3x 2 + x 3 + 2x 4 = 5 is given as follows: x 9/2 /2 x 2 x 3 = 3 + x /3 3 x 4 2 x 3 R Describe the geometry of the solution set The solution represents a line in R 4 that passes through the point /2 and parallel to the vector /3 9/2 3 2 6 Write down all possible 3 2 reduced row echelon form matrices,,, 7 Consider two planes in R 3 described parametrically as follows: 2 t + s 3 s, t R, + 3 k + m 4 k, m R (a) Which plane does not pass through the origin?

SSEA Math Module Math 5 Homework-2 Solutions, Page 5 of 7 August 2, 27 Choosing s = t = in the first parametric equation results in x = y = z = Therefore, the first plane contains the origin From the second parametric equation, we have: x = + 2m, y = + 3k, and z = 4m Choosing x = y = z = + 2m = + 3k =, 4m = From the last equation m =, and using this in the first equation results in =, which is not possible Therefore, no values for k and m will result in x = y = z = Therefore, the second plane does not contain the origin (b) Do these planes intersect at all? If yes, where do they intersect? If the planes intersect, then: 2 t = + 2m t 2m = 3 t + s = + 3k, s + t 3k =, 3 4 t + 3s = 4m 3s + t 4m = }{{} Augmented matrix 3 row row 2 2 3 4 3 row 3 =row 3 3 row 2 2 9 4 3 row =row row 2 row 3 =row 3 +2 row 2 3 2 2 9 8 3 2 row 3 =(/9) row 3 2 8/9 /9 2/3 /3 row =row +3 row 3 2 8/9 /9 }{{} rref The rref above corresponds to the following equations with the variables k, s, t (pivot) and m (free): s 2 3 m = 3,

SSEA Math Module Math 5 Homework-2 Solutions, Page 6 of 7 August 2, 27 t 2m =, k 8 9 m = 9 We can assign an arbitrary value for m, and solve for the remaining variables in terms of m: s = 2m 3, t = 2m +, k = 8m, m = m 9 We can then solve for the intersection coordinates as x = + 2m, y = + 3k, and z = 4m: x + 2m + 2m y = + 3k = + 3 ( ) 2 8m = 2/3 + m 8/3, m R 9 z 4m 4m 4 which is a parametrization of a line in R 3 Therefore, the two planes intersect at a line 8 For each system of equations below: (a) Express the system as an augmented matrix Use Gaussian elimination to put the system in the reduced row echelon form Identify the pivot and free variables Determine whether the system has one of the following: No solutions One solution (find it) Infinitely many solutions (express the solution form) Describe the geometry of the solution: x + 2x 2 + 3x 3 =, 2x + x 2 2x 3 = [ ] [ ] 2 3 7/3 /3 2 2 8/3 /3 }{{}}{{} Augmented matrix rref

SSEA Math Module Math 5 Homework-2 Solutions, Page 7 of 7 August 2, 27 The pivot variables are x, x 2 and the free variable is x 3 Since there is a free variable and there is no equation of the form = resulting from the rref, the system has infinitely many solutions The rref corresponds to the following equations: x 7 3 x 3 = 3, x 2 + 8 3 x 3 = 3 We can solve for x and x 2 in terms of x 3 as follows: x = + 7x 3 3, x 2 = 8x 3, x 3 = x 3 3 We can write the solution as: x /3 7/3 x 2 = /3 + x 3 8/3, x 3 R, x 3 which is a line through the point with coordinates (/3, /3, ) and parallel to the vector with components (7/3, 8/3, ) (b) x + 2x 2 x 3 x 4 =, 2x + 4x 2 2x 3 + 3x 4 = 3, x + x 2 2x 3 + 4x 4 = 2 2 2/5 2 4 2 3 3 4/5 2 4 2 /5 }{{}}{{} Augmented matrix rref The pivot variables are x, x 2, x 4 and the free variable is x 3 Since there is a free variable and there is no equation of the form = resulting from the rref, the system has infinitely many solutions The rref corresponds to the following equations: x + x 3 = 2 5, x 2 x 3 = 4 5,

SSEA Math Module Math 5 Homework-2 Solutions, Page 8 of 7 August 2, 27 x 4 = 5 We can solve for x and x 2 in terms of x 3 as follows: x = x 3 (2/5), x 2 = x 3 + (4/5), x 3 = x 3, x 4 = /5 We can write the solution as: x 2/5 x 2 x 3 = 4/5 + x 3, x 3 R, x 4 /5 which is a line through the point with coordinates ( 2/5, 4/5,, /5) and parallel to the vector with components (,,, ) 9 Consider the equation: x + x 2 + x 3 + + x n = b, where b R is a constant (a) Write the augmented matrix corresponding to the system [ ] b (b) Identify the pivot and free variables x is the pivot variable and the rest are free variables Exercise 6 Writing v as a linear combination of the vectors: 2 7 2 2 = c 5 + c 2 3 2 7c + 2c 2 = 2, 5c 3c 2 = 2, 2c + c 2 =

SSEA Math Module Math 5 Homework-2 Solutions, Page 9 of 7 August 2, 27 The augmented matrix and rref for the system of equations in the unknowns c, c 2, c 3 are: 7 2 2 5 3 2, 2 } {{ } } {{ } Augmented matrix rref Since the third row of the augmented matrix corresponds to the equation =, there is no solution to the system and hence vector v cannot be written as a linear combination of the given vectors For the matrix A and vector x given below, compute the matrix-vector product Ax in two ways: Writing it as a linear combination of the columns of A, Writing it as dot product of rows of A (expressed as vectors) and x 5 5 [ ] A = 7 2 2 3, x = 5 5 5 25 5 Using columns : Ax = 2 7 2 + 5 3 = 4 4 + 5 5 = 9, 5 5 [ ] [ ] 5 2 5 5 [ ] [ ] 7 2 + 25 5 using rows : Ax = [ ] [ 5 ] 2 2 = 4 5 4 + 5 = 9 [ 3 ] [ 5 ] + 5 5 2 5 2 Graph the result of multiplying the vector x = [ cos(θ) sin(θ) A = sin(θ) cos(θ) [ ] by the following matrices: ], θ = π/4, and B = [ ] 4 4

SSEA Math Module Math 5 Homework-2 Solutions, Page of 7 August 2, 27 Explain in words the effect of these matrix multiplications with the vector x [ ] [ ] cos(θ) sin(θ) Ax = = sin(θ) cos(θ) [ ] cos(θ) sin(θ) = cos(θ) + sin(θ) [ ] [ ] cos(π/4) sin(π/4) = 2 cos(π/4) + sin(π/4) The effect of multiplying the vector is to rotate it counterclockwise by the angle π/4 = 45 without changing its magnitude as shown in the figure below: [ v = ] 45 [ ] [ ] 4 4 For the matrix A =, Ax = The effect is stretch the vector to 4 times 4 4 its original length without changing its orientation 3 Describe in words the effect of multiplying a vector x R 5 by the matrix A: A = What happens when you multiply x by the transpose of A?

SSEA Math Module Math 5 Homework-2 Solutions, Page of 7 August 2, 27 x 5 x 2 x Ax = x 2 x 3, x 3 AT x = x 4 x 5 x 4 x The effect of multiplying by A is to shift the components of vector x downward and the effect of multiplying by A T is to shift the components of vector x upward 4 Exercise 84 Solving Ax = to find out the nullspace of A [ ] [ ] [ ] 2 4 x = 2 x 2 2x + 4x 2 =, x 2x 2 =, ([ ]) 2 which results in x = 2, x 2 = Therefore, the nullspace of A is the span [ ] 6 For the right hand side vector b = : 3 [ ] [ ] 2 4 6 2 3 2 3 }{{}}{{} Augmented matrix rref x is the pivot variable and x 2 is the free variable that takes any arbitrary value The rref results in the equation x + 2x 2 = 3 x = 3 2x 2 The solution can therefore be represented as: [ ] [ ] [ ] x 3 2 = + x 2, x 2 R, x 2 which is a straight linethe nullspace of A and the solutions to the system Ax = b are shown in the following figure:

SSEA Math Module Math 5 Homework-2 Solutions, Page 2 of 7 August 2, 27 [ [ ] 3 2 + x ] 2, x 2 R ([ 2 N(A) = span ]) 5 Exercise 825 Let us consider the equation: 4 c + c 2 + c 3 = 3 4c + c 2 + c 3 =, c + c 2 c 3 =, 3c + c 2 + c 3 = 4 3 }{{}}{{} Augmented matrix rref Therefore, the vectors are linearly independent c =, c 2 =, c 3 = 6 Exercise 93 To be updated

SSEA Math Module Math 5 Homework-2 Solutions, Page 3 of 7 August 2, 27 Optional Challenge Problems 7 Am Math Mon, Feb 933: A ship is sailing with velocity vector v ; the wind blows apparently (judging by the vane on the mast) in the direction of a vector a; on changing the direction and speed of the ship from v to v 2, the apparent wind is in the direction of a vector b Find the velocity vector of the wind Referring to the figure below, we have the following vectors and scalars: v : initial ship velocity vector v 2 : new ship velocity vector w: absolute wind velocity vector a, b: apparent wind directions and these are unit vectors That is, a =, b = s, t: scalar constants From the geometry, w = v + sa = v 2 + tb Taking dot products with a and b v + sa = v 2 + tb a (v + sa) = a (v 2 + tb) a v + s (a a) = a v }{{} 2 + t (a b) = s (a b) t = a (v 2 v ) v + sa = v 2 + tb b (v + sa) = b (v 2 + tb) b v + s (b a) = b v }{{} 2 + t (b b) }{{} a b = (a b) s t = b (v 2 v ) We can solve for s and t from the two equations above to get: s = [a (a b) b] (v 2 v ) (a b) 2

SSEA Math Module Math 5 Homework-2 Solutions, Page 4 of 7 August 2, 27 We can use this in the original vector equation for the absolute wind velocity vector w to get: ( ) [a (a b) b] (v2 v ) w = v + sa = v + (a b) 2 a 8 Consider three vectors x, x 2, and x 3 Suppose x perpendicular to x 2, and x 2 is not parallel to x 3, then can the vectors x, x 2, and x 3 form a linearly independent set? Give an example or a counterexample To be updated 9 Consider vector x R n whose components x k represent the value of a signal at time stamp k =, 2,, n Assuming n is even, we want to construct a 2 downsampled signal y of size n/2 by multiplying x by an appropriate matrix A such that: y = Ax, where y k = x 2k, k =, 2,, n/2 Using n = 6, write the elements of matrix A y x 2 y 2 = x 3 y 3 x 4 }{{} x 5 A x 6 x 2 Consider an m n matrix A and an n p matrix B The product of the two matrices is an m p matrix C that is defined as follows: C = AB = [ Ab, Ab 2,, Ab p ] (a) Write the elements of the matrix C in terms of dot products rows of matrix A (written in a vertical fashion) and columns of matrix B

SSEA Math Module Math 5 Homework-2 Solutions, Page 5 of 7 August 2, 27 Using the notation a b = a T b for the dot product of vectors a and b, we have: AB = A [ b, b 2,, b p ] = [ Ab, Ab 2,, Ab p ], ã T ã T ã T B = 2 B = ã T 2 B, ã T mb = ã T m ã T ã T 2 ã T m [ ] [ b, b 2,, b p ] b, b 2,, b p ã T b ã T b p [ = ] ã b, b 2,, b T mb ã T mb p p b T b T 2 b T n, = [ ] a a 2 a n = a b T + a 2 bt 2 + + a n bt n (b) Two vectors x and y are said to be orthogonal if x y = ; that is the angle between them is 9 Suppose both matrices A and B are of size n n Comment on the nature of orthogonality between the rows and columns of the matrices A and B under each one of the following conditions: AB =, A T B =, AB T =, A T B T = We are looking for a statement like: the columns of A are orthogonal to the columns of B etc AB = rows of A are orthogonal to the columns of B A T B = columns of A are orthogonal to the columns of B AB T = rows of A are orthogonal to the rows of B A T B T = columns of A are orthogonal to the rows of B 2 The system shown in the figure below consists of n linear springs that support n masses:

SSEA Math Module Math 5 Homework-2 Solutions, Page 6 of 7 August 2, 27 k W x k 2 W 2 x 2 k 3 k n W n x n For i =, 2,, n, the spring stiffnesses are denoted by k i, the weights of the masses are W i, and x i are the unknown displacements of the masses (measured from the positions where the springs are undeformed) The so-called displacement formulation is obtained by writing the equilibrium equation of each mass and substituting F i = k i (x i+ x i ) for the spring forces The result is the following system of equations: (k + k 2 )x k 2 x 2 = W k i x i + (k i + k i+ )x i k i+ x i+ = W i, i = 2, 3,, n k n x n + k n x n = W n (a) Write the above set of equations in the matrix vector form Ax = b k + k 2 k 2 k 2 k 2 + k 3 k 3 k i k i + k i+ k i+ k n k n + k n k n } {{ k n k n } A x x 2 x i x n x n }{{} x = W W 2 W i W n W n } {{ } b

SSEA Math Module Math 5 Homework-2 Solutions, Page 7 of 7 August 2, 27 (b) Is there something unique about the symmetric structure of the matrix A if the spring constants are all equal If the spring constants are all equal to k,we have the following structure for the matrix A: 2k k k 2k k A = k 2k k k 2k k k k