Matrix Algebra/Applications: Leontief Economics and Computer Graphics

Lesson 2.51,073 words

Applications: Leontief Economics and Computer Graphics

The Leontief input–output model balances an economy through (I − C)x = d and expands the inverse as a geometric series in the consumption matrix. Computer graphics moves figures with matrix products, using homogeneous coordinates so that translation and perspective projection become matrix multiplications too.

╌╌╌╌

The Leontief input–output model, recognized with a Nobel Prize in economics, balances supply against demand across an entire economy through a single matrix equation, solved with the inverse and a series expansion in powers of a matrix. Computer graphics animates figures by multiplying their vertex coordinates by transformation matrices, and a change of coordinates lets even translation and perspective, which are not linear, join the same matrix arithmetic.

The Leontief input–output model

Divide an economy into sectors that produce goods or services. Let the production vector list each sector's yearly output, and let the final demand vector list what a non-productive open sector (consumers, government, exports) demands. Producing goods itself consumes goods: making output creates intermediate demand for inputs. The model seeks a production level that exactly balances the two demands,

Flow in a three-sector economy: sectors feed one another (intermediate demand) while the open sector draws off the final demand d.

The model's assumption is that each sector has a fixed unit consumption vector: the inputs, from every sector, needed per unit of its output. Collecting these as columns forms the consumption matrix . If sector plans output , its intermediate demand is , so the total intermediate demand is

Solving the model

When a solution exists

The economics guarantees the equation is solvable and the answer is meaningful.

Nonnegativity matters: a production vector with a negative entry would be economically meaningless. The column-sum condition is the natural one — a sector that consumed a full unit or more of inputs per unit of output could never run a surplus.

The inverse as a series

The proof of the Leontief solvability theorem also yields a way to compute and an economic reading of it. Imagine meeting the demand in rounds. First produce ; this needs inputs . Producing needs ; producing that needs ; and so on. The total production is

The bracketed sum is , justified by the finite identity

When the column sums of are all below , the powers approach the zero matrix, so and the right side tends to . Thus

and in practice the powers shrink fast enough that a few terms suffice.

Meeting demand d in rounds: each round of production creates the next round of intermediate demand, and the geometric series in C sums to (I − C)⁻¹.

The entries of carry economic meaning: column lists the extra output each sector must produce to satisfy a one-unit increase in final demand for sector . If final demand shifts from to , production shifts by , so the inverse is the multiplier that propagates a demand change through the whole economy.

Computer graphics

A graphical object is stored as a list of vertices, connected by line segments. Because the standard transformations map line segments to line segments, moving an object reduces to transforming its vertices and reconnecting them.

For example, the shear slants a figure by shifting each point's -coordinate in proportion to its height, turning an upright letter into an italic one; following it with the -scaling compensates for the added width. The composite transformation is the single matrix .

A shear matrix slants a figure by displacing each vertex horizontally in proportion to its height; the outline is transformed vertex by vertex.

Homogeneous coordinates

A translation is not linear (it moves the origin), so it is not multiplication by a matrix. To address this, lift the plane one level.

Homogeneous coordinates lift each point of the plane to the copy of the plane one unit up, where a 3-by-3 matrix can act on the third coordinate.

With the extra coordinate, translation becomes a matrix product:

Any linear map on with matrix becomes the block matrix in homogeneous coordinates, so rotations, reflections, and scalings keep their familiar forms while translation joins them. The three basic transforms:

TransformationHomogeneous matrix
Translate by
Rotate by about origin
Scale by , by

Composite transformations

Screen motion usually chains several transforms, and composition is matrix multiplication in reverse order of application.

The composite transform in stages: an upright flag is scaled, rotated 90° about the origin, then translated, one matrix product per arrow.

Building the composite once and reusing it on every vertex is why graphics hardware multiplies small matrices at high speed.

Three dimensions and perspective

The same lift works one dimension higher: gets homogeneous coordinates , and matrices carry out rotation about an axis, translation, and scaling in space. More generally with represents the point , so every nonzero scalar multiple of names the same point. That freedom is what makes perspective a matrix operation.

To display a three-dimensional scene on a flat screen, project each point onto a viewing plane through the viewer's eye. Put the screen at the -plane and the eye at on the positive -axis. A point maps to the image point where the line from the eye through the point crosses the screen. Similar triangles give

Perspective projection (side view in the xz-plane): the eye at (0,0,d) sees the point (x,y,z) at where its sight line crosses the screen z = 0.

Scaling the image coordinates by , the point is a homogeneous representative of the projection, so a single matrix performs it:

Dividing the first three entries by the fourth recovers the screen coordinates . Continuous, realistic animation is a stream of such products — rotations, translations, and projections — which is why graphics processors implement matrix arithmetic directly in hardware.

Common ground

Both models reduce to matrix operations. Leontief economics solves with the inverse, read as a demand multiplier and computed as a series in powers of ; computer graphics composes transformation matrices, with homogeneous coordinates extending matrix multiplication to translation and perspective. Powers of a matrix and its inverse reappear in eigenvalues and the dynamical systems they govern.1

Footnotes

  1. Lay, Linear Algebra and Its Applications, §2.6 — the Leontief input–output model, the production equation , Theorem 11 on solvability, and the series expansion ; §2.7 — data matrices, homogeneous coordinates for 2-D and 3-D graphics, composite transformations as matrix products, and the perspective projection matrix.

╌╌ END ╌╌