119, Test1, Key

1.[14 points]

A candy manufacturer sells a snack mix for $1.5 a pound. The mix has three components: dry fruit selling at $1 a pound; chocolate chips selling at $2 a pound; and nuts selling at $2 a pound. The mix contains 2 pounds more of the chocolate chips than nuts. How many pounds of each component must be used to make 40 pounds of the mixture?

a). Set up the system of linear equations to solve the above problem.

x+y+z=40

x+2y+2z=60

y-z=2

b). Set up the augmented matrix of the system and use row operations to solve the system

(you have to show all row operation steps for credit). Clearly state the solution set.

, final matrix is:

Answer: x=20 pounds(Fruit), y=11 pounds (chips), z=9 pounds (nuts)

2.[12 points]

Each matrix given below is the reduced row-echelon form for the augmented matrix representing a system of equations in either x and y or in x, y, and z. Determine which of the following is true for parts a-d:

  • There is a unique solution, (in that case give the solution set).
  • There are an infinite number of solutions, (in that case list two of them).
  • There is no solution, (in that case state the reason why).

a)b)

infinite# of sol. unique sol. x=0, y=1, z=0

x-z=4, y+2z=2 ex1: z=0, x=4, y=2,

ex2: z=1, x=5, y=0

c)d)

unique solution x=5, y=2 no solution (0=1 is false)

3.[12points]

Find x and y so that the following matrix equation is true.

3-y=1 x+1=3 y+1=3 3-x=1

y=2 x=2 y=2 x=2

Sol: x=2, y=2 (Make sure to check all 4 equations, sometimes you may not have a solution)

4.[12 points]

a) Select the value of coefficient k in the following system of equations so that the system will have

infinite many solutions.


Sol: k=-2 (second and third equations will be the same)

b) Give an example of 2x2 system of equations that does not have a solution.

System does not have a solution if lines are parallel, for ex:

x+y =5

x+y =7

5. [12 points]

Consider matrices below:

In parts a - f either

  • Perform indicated matrix operation if it is possible. or
  • Give the reason why, if the indicated matrix operation can't be performed

a) CD b) D-1c) AI=A

[ 11 13 8] not a square matrix


d) ABe) A+Cf)

(2x2)(3x1), inside dim. dimensions have to

must be the same be the same

Use the following system of linear inequalities is for next two problems (6 and 7)


6.[12 points]

Graph the system. Clearly mark the solution region.

7.[12 points]

Find all corner points of the region you found in problem 6

and find the maximum and minimum of P = 2x + 3y over that region.

x / y / z
0 / 0 / 0
3 / 0 / 6
0 / 3 / 9
2 / 2 / 10

Zmax=10 at (2,2), Zmin =0 at (0,0)

Finding corner point (2,2): x+2y=6 /*(-2) |-2x-4y=-12 -3y=-6 x+4=6

2x+y=6 + | 2x+y=6 y=2 x=2

Other corner points are x and y intercepts of your lines

8.[14 points]

Consider the following system of equations:

a) Write the above system of equations in the form: AX=B

b) Find A-1 , the inverse of a matrix A of your system. Clearly show all row operations you used.

A|I =

I|A-1 =

c) Find the solution of your system, X = A-1B.

Solution:

x=2, y=1