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?
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
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?
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.
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.
(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,
Good!
No, you can't just choose values.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?
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).