1 Attachment(s)

Linear Algebra help Matrix

A dietitian is planning a meal containing 14 units of iron, 12 units of carbohy-

drates and 50 units of protein. Five ingredients are available. One portion of

each ingredient contains units of iron, carbohydrates and protein, as given in

the following table

I have attached, an image of the table

Suppose xi portions of ingredient number i are used, for i = 1; 2; 3; 4; 5. Then

three linear equations in must be satised. For example, the

iron requirement gives

(a) Write down the augmented matrix of this system of three equations and

nd its reduced row-echelon form. Hence show that the solution can be

expressed in terms of arbitrary parameters s and t as

(x1; x2; x3; x4; x5) = (2; 4; 4; 0; 0) + s(1; 7; 7; 4; 0) + t(1; 19; 9; 0; 1).

(b) The amount of any ingredient used cannot be less than 0. Use this fact

to write down ve inequalities involving s and t. Show that t = 0 and

deduce that there is only one possible value of s. How many portions of

each ingredient should be used? (Fractions of a portion are allowed.)

I have worked out the reduce row echelon form for the equations I got

1 0 0 -1/4 1 |2

0 1 0 -7/4 19|-4

0 0 1 7/4 -9 |4

so the equations now are

However I dont know how to get the solutions in the form of the parameter s and t? I am also stuck on part b,

any help appreciated

Re: Linear Algebra help Matrix

Hi Tweety! :)

Since you have 3 equations and 5 variables, you have a free choice for 2 of the variables.

Let's pick x4 and x5 for that free choice, and let's also reparametrize them a bit.

Suppose you substitute and , what do you get?

Re: Linear Algebra help Matrix

Hello,

Thank you for the reply,

so using x4 =4s and x5=-t

But I dont see how this gives me (x1; x2; x3; x4; x5) = (2; 4; 4; 0; 0) + s(1; 7; 7; 4; 0) + t(1; 19; 9; 0; 1).

Re: Linear Algebra help Matrix

Re: Linear Algebra help Matrix

Here's what it should be based on your input data:

See Wolfram|Alpha.

Hence you did not make any mistakes, but your supposed solution does not match your problem.

Re: Linear Algebra help Matrix

Do you mean I cant do part 'b', cause I did something wrong in part a?

Re: Linear Algebra help Matrix

Quote:

Originally Posted by

**Tweety** Do you mean I cant do part 'b', cause I did something wrong in part a?

You can do part (b).

Actually, the fact that all coefficients in the solution of (a) are positive, confirms that it is wrong.

It would make no sense to do (b) with the given solution of (a).

Apparently a couple of minus signs were dropped.

You should go on from the equations you already had.

Re: Linear Algebra help Matrix

(b) The amount of any ingredient used cannot be less than 0. Use this fact

to write down five inequalities involving s and t. Show that t = 0 and

deduce that there is only one possible value of s. How many portions of

each ingredient should be used? (Fractions of a portion are allowed.)

Thank you,

Still not sure how to go about part 'b' from my three equations, how do i form inequalities in s and t?

each ingredient cannot be less than zero, but not sure how to use this fact to form 5 inequalities in s and t?

Any help appreciated,

thank you,

Re: Linear Algebra help Matrix

Since each ingredient cannot be less than zero, you get a system of 5 inequalities:

Substitute what you have?

Re: Linear Algebra help Matrix

Re: Linear Algebra help Matrix

Quote:

Originally Posted by

**Tweety**

Good! ;)

Quote:

to show that t = 0, do i just choose values for s and t?

example let t = 1, s = 2,

than the third inequality does not work casue it gives -29, which less than 0,

how do i show s can only have one value?

No, you can't just choose values.

Can you rewrite the inequalities to the following form?

Does anything catch your attention?

Do you see why t has to be zero?

Afterward, do the same thing for and substitute t=0 (which you should have just found).

Re: Linear Algebra help Matrix

Re: Linear Algebra help Matrix

Quote:

Originally Posted by

**Tweety** is it 0<t<2?

No... from the 1st and 5th inequality you can only say that .

Which are the 4 inequalities for t that you can get?

Re: Linear Algebra help Matrix

Quote:

Originally Posted by

**ILikeSerena** No... from the 1st and 5th inequality you can only say that

.

Which are the 4 inequalities for t that you can get?

I am acutally very confused, but do I just put t = 1, t = 2+s, and t = 0, in each inequality, ?

so for 4-7s-19t>0

i get -34-26t,

Re: Linear Algebra help Matrix