Exercises for Advanced Programnew2025 (1)
Exercises for Advanced Programnew2025 (1)
8. Obtain for the row vector a and the column vector b below, the product ab and ba
−1
a = [1 2 0] , b = 0
1
4 3
1 0 0
=(b) B = , A 1 1
0 0 1 0 2
10. Suppose that a firm produces two types of output using three types of input. Its
output quantities are given by the column vector:
15,000
q=
27,000
and the prices of theses are given in the row vector p = [10 12] . The amounts of
inputs it uses are given in the column vector
11,000
z = 15,000
15,000
and the input prices are given by w = [10 10 8] . Find the profit of this firm.
11. Computing Profit Rizza’s Used Cars has two locations, one in the city and the
other in the suburbs. In January, the city location sold 400 subcompacts, 250
intermediate-size cars, and 50 SUVs; in February, it sold 350 subcompacts, 100
intermediates, and 30 SUVs. At the suburban location in January, 450 subcompacts,
200 intermediates, and 140 SUVs were sold. In February, the suburban location sold
350 subcompacts, 300 intermediates, and 100 SUVs.
a) Find 2 by 3 matrices that summarize the sales data for each location for January and
February (one matrix for each month).
b) Use matrix addition to obtain total sales for the 2-month period.
c) The profit on each kind of car is $100 per subcompact, $150 per intermediate, and
$200 per SUV. Find a 3 by 1 matrix representing this profit.
d) Multiply the matrices found in parts (b) and (c) to get a 2 by 1 matrix showing the
profit at each location.
12. Computing the Cost of Production The Acme Steel Company is a producer of
stainless steel and aluminum containers. On a certain day, the following stainless steel
containers were manufactured: 500 with 10-gallon (gal) capacity, 350 with 5-gal
capacity, and 400 with 1-gal capacity. On the same day, the following aluminum
containers were manufactured: 700 with 10-gal capacity, 500 with 5-gal capacity, and
850 with 1-gal capacity.
a) Find a 2 by 3 matrix representing these data. Find a 3 by 2 matrix to represent the
same data.
b) If the amount of material used in the 10-gal containers is 15 pounds (lb), the
amount used in the 5-gal containers is 8 lb, and the amount used in the 1-gal
containers is 3 lb, find a 3 by 1 matrix representing the amount of material used.
c) Multiply the 2 by 3 matrix found in part (a) and the 3 by 1 matrix found in part (b)
to get a 2 by 1 matrix showing the day’s usage of material.
d) If stainless steel costs Acme $0.10 per pound and aluminum costs $0.05 per pound,
find a 1 by 2 matrix representing cost.
e) Multiply the matrices found in parts (c) and (d) to find the total cost of the day’s
production.
13. Inventory Jekell-Heid, Inc. sells four models of “all-in-one fax, printer, copier,
and scanner machine” at three retail stores. The inventory at store i of model j is
represented by sij in the matrix.
The wholesale and retail prices of model i are represented by pi1 and pi 2 ,
respectively, in the matrix
Assume that steel costs $1600 a unit, wood $900 a unit, glass $500 a unit, paint $100
a unit, and labor $1000 a unit.
a) Write a 1x3 matrix B that represents the number of each type of house to be built.
b) Write a matrix product that gives the number of units of each raw material needed
to build the houses.
c) Write a 5x1 matrix C that represents the per unit cost of each type of raw material.
d) Write a matrix product that gives the cost of each house.
e) Writing to Learn Compute the product BRC. What does this matrix represent?
15. For the matrices A and B below, verify that trace( AB) = trace( BA) :
3 1
1 −1 1
=A = , B 0 1
2 2 0 1 1
16. For the matrix A below, obtain trace( A) , trace( AA) , trace( AAA) :
1 6 −1 3 1 6
(a) −1 3 2 3 −1 3
A=
1 6 −1 3 1 6
6 −2 −5 1
−2 8 −2 −4
1
(b) A=
11 −5 −2 6 1
1 −4 1 2
17. Compute the determinant of the following matrices:
3 0 4 2 3 −4
(a) A = 2 3 2 (c) C = 4 0 5
0 5 −1 5 1 6
2 −4 3 4 3 0
(b) B = 3 1 2 (d) D = 6 5 2
1 4 −1 9 7 3
if
a b c
=A d=e f 7
g h i
20. Find the determinant of C:
a b c
C = g h i
d e f
if
a b c
=A d=e f 3
g h i
21. Find the determinant of D:
a b c
D=3d + a 3e + b 3 f + c
g h i
if
a b c
=A d=e f 3
g h i
1 0 1
A = 1 1 2
1 2 1
23. Obtain the inverse of the following matrices by the cofactor method:
1 2 3 1 2 −1 3 0 0
(a) 0 1 2 (b) 0 1 0 (c) 0 −1 0
0 0 1 −5 2 3 0 0 3
24. Find the inverse of the following matrices by the method of Gauss-Jordan
elimination
1 2 −1 3 0 1
(a) 0 −1 2 (b) 0 2 1
0 1 0 1 2 0
25. Suppose that a firm produces three outputs y1 , y2 and y3 with three inputs
z1 , z2 and z3 . The input-requirements matrix is given by A below:
1 0 5
A = 1 1 0
3 2 6
If the firm wants to produce 7 units of y1 , 5 units of y2 , and 18 units y3 , how much
of z1 , z2 and z3 will be require?
26. Compute A in as few steps as possible:
1 −3 1 −2
2 −5 −1 −2
A=
0 −4 5 1
−3 10 −6 8
27. Find the determinant of the following matrices:
1 5 −6
(a)
1 −4 4
A =−
−2 −7 9
1 3 0 2
−2 −5 7 4
(b) B =
3 5 2 1
−1 0 −9 −5
1 −1 −3 0
0 1 0 4
(c) C =
−1 2 8 5
−1 −1 −2 3
28. Evaluate the following determinants:
1 2 90 2 7 0 1 1 2 1 4
2 3 64 5 6 4 8 2 3 4 6
a) b) c)
1 6 0 −1 0 0 9 0 1 6 −2 −3
0 −5 0 8 1 −3 1 4 −3 1 −5 −9
29. Show that: ( ABC ) −1 = C −1B −1 A−1.
30. Given two the following matrices
4 1 2 3
2 −3 −1 7 −7 −2 m 1
4 1 −2 − m ;
A =− B=
10 3 5 6
−1 −5 4 10
−6 −1 1 −2
a) Determine the elements of second row of matrix AB’ (where B’ is the transpose
matrix of the matrix B).
b) Use Cramer’s rule to solve the system of linear equations with A as the matrix
expansion (the last column of A is a unrestrained coefficient column).
c) Find the values of m to matrix B is invertible and the element of second row, third
column of matrix 4B-1 equals 6.
31. Given two the following matrices
3 2 −4 m
4 3 2 −1 −2 −1 3 1
a 1 −3 −14 ;
A =− B=
5 −3 4 −2
3 −2 −1 m
6 4 5 3
a. In Chicago, a phone costs $4.05 for material and $3.27 for labor; a calculator costs
$7.01 for material and $3.51 for labor. In Seattle, material costs are $4.40 for a phone
and $6.90 for a calculator; labor costs are $3.54 for a phone and $3.76 for a calculator.
Write the production cost matrices for Chicago and Seattle.
b. Suppose labor costs increase by $0.11 per item in Chicago and material costs there
increase by $0.37 for a phone and $0.42 for a calculator. What is the new production
cost matrix for Chicago?
33. Management There are three convenience stores in Folsom. This week, store I
sold 88 loaves of bread, 48 qt of milk, 16 jars of peanut butter, and 112 lb of cold cuts.
Store II sold 105 loaves of bread, 72 qt of milk, 21 jars of peanut butter, and 147 lb of
cold cuts. Store III sold 60 loaves of bread, 40 qt of milk, no peanut butter, and 50 lb
of cold cuts.
a. Use a matrix to express the sales information for the three stores.
b. During the following week, sales on these products at store I increased by 25%;
sales at store II increased by and sales at store III increased by 10%. Write the sales
matrix for that week.
c. Write a matrix that represents total sales over the two-week period.
34. Suppose that the demand and supply functions are numerically as follows:
Qd 1 =10 − 2 P1 + P2
Qs1 =−2 + 3P1
Qd 2 = 15 + P1 − P2
Qs 2 =−1 + 2 P2
38.
1 2
ln x b) y = ( 2 x + 3) ⋅ 2 x + 3 c) y = e −2 x ( 3 x + 1)
3
a) y =
2
1
d) y = e) y = ln ( 2 x − 1) f) y =
e −2 x + 3e3 x
x −4
2
1400 10
3. Q
A firm has demand function is= − p and total cost function is
7.5 75
TC =Q 3 − 6Q 2 + 140Q + 750. Find the quantities of product to maximizing
profit of the firm.
4. Given the total-cost function and revenue function of the firm are
Find the value of marginal cost and marginal profit at x = 256 and interpret the
economic meaning of that results.
5. Given the total-cost function and revenue function of the firm are
6. Given the total-cost function and revenue function of the firm are
8. Find the quantities of product to maximizing profit of the firm, given the
marginal revenue and marginal cost functions, respectively, are
( 2x ) z ln ( 2 x y + 3 y x + 1)
−
d) =
z e x +3 y 2
− 4 xy 3
e) = 2 4 2 4
d) =
z e y
x yz
b) u =( 5 x 2 z − 3 y 3 x + 2 z )
4
a) u = x 3 yz − y 3 x − 3 z c) u = +
yz x
xz
( 2x ) u ln ( 2 x y + 3 y z + 4 z x )
−
d) =
u e x +3 y + 2 z 2
− 4 xy 3
e) = 2 2 2
d) =
u e y
3x + 4 y
a)
= u b)
= u ln ( x + 3 y 2 )
2x − y
dx
a) ∫ x ln 3 xdx b) ∫ x 2e3 x dx c) ∫x 1 − x2
2 x +1 − 5 x −1
∫(2 + 3x ) dx
2
d) ∫ e x dx e) x
f) ∫ dx
10 x
a) ∫ b) ∫ e − 1dx x
c) ∫ x ln ( x + 1)dx
0 1+ x 0 0
2 1 e
∫ ( x ln x ) dx
2
d) ∫ x 2 4 − x 2 dx e) ∫ x 2e3 x dx f)
0 0 1
a) ∫ xe −3 x dx b) ∫ ln xdx c) ∫ xe
2x
dx
0 1 −∞
+∞
dx +∞
xdx +∞
dx
d) ∫ e) ∫ f) ∫ (1 + x )( 4 + x )
2 x ln 2 x 1 x + 2x2 + 1
4
−∞
2 2
15. Find the relative maximum and minimum values of the following fuctions:
a) u = 10 x 2 + y 2 − 6 xy − 24 x b) u = 4 xy − x 2 − 7 y 2 + 36 y
c) u =x 3 + 3 xy 2 − 15 x − 12 y d) u =18 xy − 8 x 3 − 27 y 3
Q1 = 40 − 2 P1 − P2 , Q2 = 35 − P1 − P2 , C = Q12 + 2Q22 + 10
a) Find the output levels that satisfy the first-order condition for maximum
profit.
b) Check the second-order sufficient condition. Can you conclude that this
problem possesses a unique absolute maximum?
17. Find the maximum and minimum values of the following function:
w= 8y 2 − 4 ⋅ a ⋅ x − 2y + 35
18. Find the maximum and minimum values of the following function:
z = 2x 2 + 4x + 3.a.y − 5
19. Find the maximum and minimum values of the following function:
z = a.x + 2y − 1
w = 5x 2 + 3x − 4.a.y + 24