Prelim 1 Solutions. Problem 1 (Total 10 points) Give the least square line that has the best fit to the following data points:

Similar documents
Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Chapter 1. Vectors, Matrices, and Linear Spaces

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

Matrices. A matrix is a method of writing a set of numbers using rows and columns. Cells in a matrix can be referenced in the form.

Methods for Solving Linear Systems Part 2

Math 1314 Week #14 Notes

Gauss-Jordan elimination ( used in the videos below) stops when the augmented coefficient

Math 3013 Problem Set 4

1 - Systems of Linear Equations

Solving Systems of Linear Equations Using Matrices

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

9.7 Extension: Writing and Graphing the Equations

Name: Section Registered In:

Chapter 4. Systems of Linear Equations; Matrices

4 Elementary matrices, continued

Linear System Equations

GUIDED NOTES 4.1 LINEAR FUNCTIONS

CHAPTER 1 Systems of Linear Equations

Solving Linear Systems Using Gaussian Elimination

Linear Algebra I Lecture 8

Sect The Slope-Intercept Form

Section Gaussian Elimination

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

Exercise Sketch these lines and find their intersection.

9.1 - Systems of Linear Equations: Two Variables

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class

Miller Objectives Alignment Math

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

Matrices, Row Reduction of Matrices

SCIE 4101 Spring Math Review Packet #2 Notes Algebra I

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

Matrices and Determinants

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

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

Notes on Row Reduction

Factoring Review Types of Factoring: 1. GCF: a. b.

GUIDED NOTES 2.2 LINEAR EQUATIONS IN ONE VARIABLE

4 Elementary matrices, continued

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

5.4 Solve Special Types of Linear Systems

SCIE 4101 Fall Math Review Packet #2 Notes Patterns and Algebra I Topics

CHAPTER 8: Matrices and Determinants

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

Extra Problems: Chapter 1

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

Matrix Solutions to Linear Equations

CHAPTER 9: Systems of Equations and Matrices

College Algebra To learn more about all our offerings Visit Knewton.com

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

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

Check boxes of Edited Copy of Sp Topics (was 217-pilot)

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

Basic Set Concepts (2.1)

Lecture 1 Systems of Linear Equations and Matrices

Characteristics of Linear Functions (pp. 1 of 8)

Handout 1 EXAMPLES OF SOLVING SYSTEMS OF LINEAR EQUATIONS

Algebra I+ Pacing Guide. Days Units Notes Chapter 1 ( , )

Solutions to Exam I MATH 304, section 6

Check boxes of Edited Copy of Sp Topics (was 261-pilot)

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

Homework 11/Solutions. (Section 6.8 Exercise 3). Which pairs of the following vector spaces are isomorphic?

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

CHAPTER 9: Systems of Equations and Matrices

Review 1 st Semester Exam. Chapter P (#1-2) Solve the inequality and draw a number line graph of the solution set. 1.

Lectures on Linear Algebra for IT

Chapter 1. Linear Equations

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

Linear equations in linear algebra

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Math 54 HW 4 solutions

Chapter Practice Test Name: Period: Date:

Math Final Exam December 14, 2009 Page 1 of 5

Linear Algebra I Lecture 10

Chapter 4. Systems of Linear Equations; Matrices. Opening Example. Section 1 Review: Systems of Linear Equations in Two Variables

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Troy High School AP Calculus Summer Packet

Solutions to Homework 5 - Math 3410

Linear Equations in Linear Algebra

Lesson 23: The Defining Equation of a Line

INVERSE OF A MATRIX [2.2]

Algebra and Trigonometry

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

SMSU Mathematics Course Content

Consistent and Dependent

Row Reduced Echelon Form

ACCUPLACER MATH 0311 OR MATH 0120

Linear Equation Systems Direct Methods

22A-2 SUMMER 2014 LECTURE 5

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

PreCalculus. Curriculum (447 topics additional topics)

Homework 1.1 and 1.2 WITH SOLUTIONS

Chapter 4. Solving Systems of Equations. Chapter 4

10.3 Matrices and Systems Of

Recall, we solved the system below in a previous section. Here, we learn another method. x + 4y = 14 5x + 3y = 2

Solving Systems of Linear Equations

CHAPTER 7: Systems and Inequalities

7.12 The student will represent relationships with tables, graphs, rules, and words.

Math 1070 Exam 2. March 16, 2006

MTH103 Section 065 Exam 2. x 2 + 6x + 7 = 2. x 2 + 6x + 5 = 0 (x + 1)(x + 5) = 0

Transcription:

Prelim Solutions Problem (Total 0 points) Give the least square line that has the best fit to the following data points: (0, 2), (, 2), (2, 2) and (3, 2). Hint: Recall that the slope and y-intercept of the best fit line are given by the formulas ( n ) ( n ) ( n ) nb + x i m = and x i b + m = x i y i. y i We begin by computing the sums required for the equations given in the hint: x 2 i x i = 6 y i = 0 x 2 i = 4 Plugging these values into the equations gives x i y i = 0 (4) b + (6) m = 0 and (6) b + (4) m = 0 Solving these equations by any method yields the unique solutions m = 0 and b = 0. Therefore the best fit line is y = 0, a horizontal line through the origin. Problem 2 (Total 6 points) Draw Venn diagrams that satisfy the following requierments. Let A U, B U, and C U and (a) ( 5 points) A B, C B and C A. (b) ( 5 points) A B and C A B. (c) ( 6 points) A B, C B, and C A. (Other satisfactory solutions exist...)

Problem 3 (Total 6 points) () Give the equations for the lines that go through the following pairs of points. Write all equations in point slope form. (a) ( 3 points) (, 3) and (2, 4). (b) ( 3 points) ( 6, 2) and (9, 3). (c) ( 3 points) (, 2) and ( 4, 2). (2) ( 3 points) Which of the following lines above are parallel? (3) ( 4 points) Give and equation for the line that is perpendicular to the line passing trough the points ( 6, 2) and (9, 3) (a) m = 4 3 2 ( ) = 3 thus, we have y 3 = 3 (x+) or y 4 = 3 (x 2) (b) m = 3 ( 2) 9 ( 6) = 3 thus, we have y + 2 = 3 (x + 6) (c) m = 2 2 ( 4) = 0 thus, we have y 2 = 0(x ) or y = 2 (2) Clearly the lines in parts (a) and (b) have the same slope (m = 3 ). (3) Recall perpendicular lines have negative reciprocal slopes (m = m 2 ). Thus any line with slope m = 3 suffices. Problem 4 (Total 25 points) Let A be the following matrix A = 2 0 0 (a) ( 0 points) Find the multiplicative inverse matrix A of matrix A using an augmented matrix. (b) ( 5 points) Compute A A and AA. (c) ( 0 points) Solve the following system of linear equations using the inverse matrix A calculated above. x 2y = x + y z = z x =. 2

First, we find the inverse by writing the augmented matrix A = 0 0 2 0 0 0 0 0 0 Using the the Gauss-Jordan method, we manipulate the A part of the matrix until we have transformed it to the identity, which yields A = 0 0 2 2 0 0 0 0 0 2 3 The right hand side keeps track of all our manipulations (in a sense), such that under this method whenever one multiplies the original matrix A by the 3x3 matrix in the right hand side above, we should get whatever is in the left hand side... That is, for the augmented matrix above, the right hand side should be A. Thus, A = 2 2 0 2 3 For part (b), we just multiply the matrices A and A to show they are inverses. For example, matrix multiplication gives... A A = 2 0 0 2 2 0 2 3 + 0 + 0 2 2 + 0 0 0 0 0 0 0 0 0 0 0 0 I 3x3 and similarly, we show that A A = I 3x3 For part (c), we solve the equations by first noticint that we can consider the equation in matrix form (Check this with matrix multiplication and compare to the equations!): 2 0 0 x y z We can solve for our unknowns by right-multiplying both sides of this equality by A, and simplifying the right hand side using matrix multiplication (see text and notes if needed!). Thus, x y z 2 2 0 2 3 5 2 6 3

Problem 5 (Total 8 points) Find all solutions for the following system of linear equations. { 4x 2y = 4 2x = 3 + y Rewriting the equations yields 4x 2y = 4 2x y = 3 The Echelon, Gauss-Jordan, or any other similar method will suffice from this point on. For example, we can attempt to solve these equations by writing them in matrix form: [ 4 2 4 2 3 ] 2R 2 R in R 2 [ 4 2 4 0 0 2 Putting these numbers back into equation form, we see that since 0 2 the equations are inconsistent and there are no solutions. Alternatively, solving for y in the second equation gives y = 2x 3 which, when substituted into the other equation, yields 3 = 4. This is clearly false, and thus we conclude that there are no solutions. Problem 6 (Total 5 points) Find all solutions to the following system of linear equations using the Gauss- Jordan method. x + 2w + = 0 x + 3 = y y = 2w 2 Here we needed to use Gauss-Jordan, so we begin writing the equations in matrix form. Various versions exist depending on the ordering of the variables (here we use w then x then y)... but all all yield what are essentially the same result. 0 3 2 0 2 0 2 2 2 0 0 3 0 3 ]. 2 0 2 0 3 0 0 0 0 Putting this back into equation form, we can move all the y terms to the right hand side and solve for w and x in terms of y, which yields w = + y 2, x = 3 y, and y = y. [Note these are easy to check by considering the last two of the given equations.] So there are infinitely many solutions which are given by w = + y 2 x = 3 y and y = y.. 4

Problem 7 (Total 0 points) An on campus survey was conducted among 50 students, 3 faculty and 9 staff to determine what condiments Cornellians were putting on their veggie burgers. The following results were observed. 67 people liked BBQ sauce 57 people liked Ketchup 00 people liked Ketchup and Mustard only 3 people liked Mustard only 7 people liked Ketchup and BBQ sauce only 30 people liked Ketchup only 23 people like mustard (a) ( 4 points) Draw a Venn Diagram illustrating the results of this survey that indicates the number of people that like and dislike all combinations of condiments. (b) ( 2 points) How many participants don t like any condiments? (c) ( 2 points) How many participants liked two or more condiments on their burgers? (d) ( 2 points) How many liked BBQ sauce and mustard only? (b) 0 (c) 20 + 0 + 7 + 00 = 27 (d) 0 5