Mat 501
Mat 501
Mat 501
21
System of Linear Equations
Solution:
Let captain’s chair can be made x units
and regular chair can be made y units.
According to the question,
𝟏𝟎𝒙 + 𝟓𝒚 = 𝟑𝟎𝟎….……...…(1)
and 𝟐𝟎𝒙 + 𝟖𝒚 = 𝟓𝟎𝟎 ……………(2)
From[𝟐 × (𝟏)] − (𝟐), we get
𝟎 + 𝟐𝒚 = 𝟏𝟎𝟎
Or, 𝟐𝒚 = 𝟏𝟎𝟎
Or, 𝒚 = 𝟓𝟎
From (1) , we get
𝟏𝟎𝒙 + 𝟓 . 𝟓𝟎 = 𝟑𝟎𝟎
𝑶𝒓, 𝟏𝟎𝒙 = 𝟑𝟎𝟎 − 𝟐𝟓𝟎
𝑶𝒓, 𝟏𝟎𝒙 = 𝟓𝟎
𝑶𝒓, 𝒙 = 𝟓
Hence captain’s chair should be made 5 units
and regular chair should be made 50 units.
Chip A B C
F 1 2 2
G 2 6 1
H 1 3 1
12 34 14
Solution:
Let chip F can be made x units.
chip G can be made y units.
chip H can be made z units.
According to the question,
𝒙 + 𝟐𝒚 + 𝒛 = 𝟏𝟐
𝟐𝒙 + 𝟔𝒚 + 𝟑𝒛 = 𝟑𝟒
𝟐𝒙 + 𝒚 + 𝒛 = 𝟏𝟒
𝐋′𝟐 = 𝐋𝟐 + (−𝟐𝐋𝟏 )
𝐋′𝟑 = 𝐋𝟑 + (−𝟐𝐋𝟏 )
𝒙 + 𝟐𝒚 + 𝒛 = 𝟏𝟐
𝟎 + 𝟐𝒚 + 𝒛 = 𝟏𝟎
𝟎 − 𝟑𝒚 − 𝒛 = −𝟏𝟎
𝑳′𝟑 = 𝟐𝑳𝟑 + 𝟑𝑳𝟐
𝑹𝒐𝒖𝒈𝒉
𝟎 + 𝟔𝒚 + 𝟑𝒛 = 𝟑𝟎
𝟎 − 𝟔𝒚 − 𝟐𝒛 = −𝟐𝟎
𝒙 + 𝟐𝒚 + 𝒛 = 𝟏𝟐
𝟎 + 𝟐𝒚 + 𝒛 = 𝟏𝟎
𝟎 − 𝟎 + 𝒛 = 𝟏𝟎
This is the echelon form.
From 3rd equation, we get
𝒛 = 𝟏𝟎
From 2nd equation, we get
𝟎 + 𝟐𝒚 + 𝟏𝟎 = 𝟏𝟎
𝑶𝒓 , 𝟐𝒚 = 𝟏𝟎 − 𝟏𝟎
𝑶𝒓 , 𝟐𝒚 = 𝟎
𝑶𝒓 , 𝒚 = 𝟎
𝒙 + 𝟐𝒚 + 𝒛 = 𝟏𝟐
𝟎 + 𝟑𝒚 + 𝒛 = 𝟏𝟎
𝟎 − 𝟑𝒚 − 𝒛 = −𝟏𝟎
𝑳′𝟑 = 𝑳𝟑 + 𝑳𝟐
𝒙 + 𝟐𝒚 + 𝒛 = 𝟏𝟐
𝟎 + 𝟑𝒚 + 𝒛 = 𝟏𝟎
𝟎−𝟎+𝟎=𝟎
Or,
𝒙 + 𝟐𝒚 + 𝒛 = 𝟏𝟐
𝟎 + 𝟑𝒚 + 𝒛 = 𝟏𝟎
This is the echelon form.
Here z is the free variable. Let z = a , where “a” is
any real number.
From 2nd equation, we get
𝟎 + 𝟑𝒚 + 𝒂 = 𝟏𝟎
𝑶𝒓 , 𝟑𝒚 = 𝟏𝟎 − 𝒂
𝟏𝟎 − 𝒂
𝑶𝒓 , 𝒚 =
𝟑
From 1st equation, we get
𝟏𝟎 − 𝒂
𝒙 + 𝟐( ) + 𝒂 = 𝟏𝟐
𝟑
𝟐𝟎 − 𝟐𝒂
𝑶𝒓, 𝒙 + + 𝒂 = 𝟏𝟐
𝟑
𝟐𝟎 − 𝟐𝒂
𝑶𝒓, 𝒙 = 𝟏𝟐 − −𝒂
𝟑
𝟑𝟔 − 𝟐𝟎 + 𝟐𝒂 − 𝟑𝒂
𝑶𝒓, 𝒙 =
𝟑
𝟏𝟔 − 𝒂
𝑶𝒓, 𝒙 =
𝟑
We know,
𝒙≥𝟎, 𝒚≥𝟎 𝒂𝒏𝒅 𝒛≥𝟎
𝟏𝟔 − 𝒂
𝑶𝒓 , ≥𝟎
𝟑
𝑶𝒓 , 𝟏𝟔 − 𝒂 ≥ 𝟎
𝑶𝒓 , 𝟏𝟔 ≥ 𝒂
𝑶𝒓 , 𝒂 ≤ 𝟏𝟔
𝒚≥𝟎
𝟏𝟎 − 𝒂
𝑶𝒓 , ≥𝟎
𝟑
𝑶𝒓 , 𝟏𝟎 − 𝒂 ≥ 𝟎
𝑶𝒓 , 𝟏𝟎 ≥ 𝒂
𝑶𝒓 , 𝒂 ≤ 𝟏𝟎
𝒂𝒏𝒅 𝒛 ≥ 𝟎
𝑶𝒓, 𝒂 ≥ 𝟎
𝑶𝒓 , 𝟎 ≤ 𝒂
𝒂 ≤ 𝟏𝟔 , 𝒂 ≤ 𝟏𝟎 , 𝟎≤𝒂
𝟎 ≤ 𝒂 ≤ 𝟏𝟎
Prob.-5: A mixture containing x pounds of
macadamia nuts, y pounds of almonds, and z
pounds of pecans are to be made. The mixture is to
weigh 5 pounds and contain 1500 units of vitamin
and 2500 calories. The vitamin and caloric contents
of the three nuts are shown in the table.
Nut Number Units of Calories
of Pounds Vitamin per
per Pound
Pound
Macadamia x 500 300
Almonds y 200 600
Pecans z 100 700
𝟓+𝒂
𝑶𝒓 , ≥𝟎
𝟑
𝑶𝒓 , 𝟓 + 𝒂 ≥ 𝟎
𝑶𝒓 , 𝒂 ≥ −𝟓
𝑶𝒓 , −𝟓 ≤ 𝒂
𝒚≥𝟎
𝟏𝟎 − 𝟒𝒂
𝑶𝒓 , ≥𝟎
𝟑
𝑶𝒓 , 𝟏𝟎 − 𝟒𝒂 ≥ 𝟎
𝑶𝒓 , 𝟏𝟎 ≥ 𝟒𝒂
𝑶𝒓 , 𝟒𝒂 ≤ 𝟏𝟎
𝑶𝒓 , 𝒂 ≤ 𝟐. 𝟓
𝒂𝒏𝒅 𝒛 ≥ 𝟎
𝑶𝒓, 𝒂 ≥ 𝟎
𝑶𝒓 , 𝟎 ≤ 𝒂
−𝟓 ≤ 𝒂 , 𝒂 ≤ 𝟐. 𝟓, 𝟎≤𝒂
𝟎 ≤ 𝒂 ≤ 𝟐. 𝟓
The cost function is
𝑪 = 𝟐𝒙 + 𝟑𝒚 + 𝒛
𝟓+𝒂 𝟏𝟎 − 𝟒𝒂
= 𝟐. + 𝟑. +𝒂
𝟑 𝟑
𝟏𝟎 + 𝟐𝒂 + 𝟑𝟎 − 𝟏𝟐𝒂 + 𝟑𝒂
=
𝟑
𝟒𝟎 − 𝟕𝒂
𝑪=
𝟑