Homework 2
Numerical Analysis I
Homework 2
Due:
Exercise 1
LU practice. Complete Exercise 4 of Section 2.2 in Sauer [1]. Do the arithmetic by hand,
to get the hang of how LU factorisation works.
Exercise 2
Estimating Runtime. Complete Exercise 8 of Section 2.2 in Sauer [1].
Exercise 3
Norm equivalences.
(i) Show that, for any vector v = (v1 , . . . , vn )T ∈ Rn ,
∥v∥∞ ≤ ∥v∥2
∥v∥22 ≤ ∥v∥1 ∥v∥∞ .
and
In each case give an example of a nonzero vector v for which equality is attained.
√
Deduce that ∥v∥∞ ≤ ∥v∥2 ≤ ∥v∥1 . Show also that ∥v∥2 ≤ n ∥v∥∞ .
(ii) Show that, for any matrix A ∈ Rm×m ,
√
∥A∥∞ ≤ m ∥A∥2
and
∥A∥2 ≤
√
m ∥A∥∞ .
In each case give an example of a matrix A for which equality is attained.
Exercise 4
Leontief Model. In a pair of papers published in 1936 and 1937 [2, 3], Wassily Wassilyevich
Leontief proposed a model of production and consumption within a closed economy. At
its simplest, his model considers an economy in ‘stationary equilibrium’, which is when
the total production of each industry balances with the total consumption of the goods
that are produced across all industries. Suppose the economy consists of n industries
(households count as one of them: their product is labour, their inputs are the goods
they consume). Let Xk be the output of good k produced by industry k and let aik ≥ 0
be the amount of good i consumed in producing one unit of good k; Leontief’s central
assumption is that these coefficients of production are constant, so that industry k absorbs
an amount aik Xk of good i. In other words,
Xi =
n
X
aik Xk ,
i = 1, . . . , n,
i.e.
(I − A)X = 0,
k=1
where A is the matrix of coefficients aik . In a closed economy there is no waste: everything
that industry k produces is paid for by what it consumes, so the output Xk of industry
k must equal the sum of the amounts of all goods it absorbs. That is to say,
Xk =
n
X
⇒
aik Xk
i=1
n
X
aik = 1.
i=1
Leontief applied this model to the US economy of 1919, aggregated into the following
ten industries:
1
2
3
4
5
Agriculture and Foods
Minerals
Metals and their Products
Fuel and Power
Textiles and Leather
6
7
8
9
10
1
Transportation (Steam Railroads)
Foreign Trade
Industries not elsewhere specified
Undistributed
Households
Homework 2
Numerical Analysis I
From a combination of government publications, trade publications, special investigations, and data from the National Bureau of Economic Research, Leontief proposed the
following matrix A (entry aik is in row i, column k):1
0
0
0
0
0.1361
0
0.5150 0.0296 0.0354 0.2739
0
0.0724 0.0022 0.0001 0.0025 0.0271 0.0556 0.0159 0.0045
0.0023
0.0381 0.0241
0
0.0830 0.0162 0.2581 0.1809 0.0813 0.1690 0.0579
0.0065 0.1285 0.0249
0
0.0121 0.0871 0.0637 0.0173 0.0326 0.0585
0.0060
0
0.0113
0
0
0
0.0973 0.0068 0.0400 0.1607
A=
0.0460 0.0940 0.0164 0.1208
0
0
0.0179 0.0262 0.0380 0.0286
0
0.0293 0.0067 0.0132
0.0558 0.0428 0.0056 0.0035 0.1519 0.0002
0.0395 0.0092 0.0109 0.0157 0.0149 0.0211 0.0918
0
0.1619 0.0963
0.1752 0.3583 0.4099 0.3777 0.2957 0.1172 0.0063 0.3724
0
0.3064
0.6306 0.3431 0.4486 0.3971 0.3730 0.5138
0
0.3815 0.5005
0
The diagonal is zero because Leontief nets out what each industry consumes of its own
product. The matrix is provided as a text file, leontief.txt, on the course page.
N.B. Leontief was awarded the 1973 Nobel Memorial Prize in Economic Sciences for
this model.
(i) Show that the matrix I − A is rank deficient.
Hint: Calculate vT (I − A), where v = (1, 1, . . . , 1)T
(ii) Since I − A is rank deficient, there is a nontrivial solution X = (X1 , . . . , X10 )T
to the equation (I − A)X = 0. To find it, set X1 = 1 and solve for the remaining
nine industry outputs X2 , . . . , X10 .
References
[1] T. Sauer, Numerical Analysis, 3rd ed., Pearson, Boston, 2018.
[2] W. W. Leontief, Quantitative input and output relations in the economic system of
the United States, The Review of Economics and Statistics 18 (1936), no. 3, 105–125.
[3] W. W. Leontief, Interrelation of prices, output, savings, and investment, The Review
of Economics and Statistics 19 (1937), no. 3, 109–132.
1
Leontief’s original figures are quoted to four decimal places, so his columns do not all sum exactly to
one due to roundoff error. Five entries have been altered by one part per ten mille to make the problem
cleaner.
2