UNIHIVE

Study Hub UNIPORT ECO 101

ECO 101 · Introductory Mathematics for Economist I

Matrix algebra

Matrix operations, determinants, inverses, and solving a market model.

Our notes

2 min read

What a matrix is

A rectangular table of numbers. A matrix with m rows and n columns has order m × n.

A = [2 3; 1 4] means a 2 × 2 matrix with first row 2, 3 and second row 1, 4. (A semicolon separates rows here.)

Adding and scaling

Add like positions, for matrices of the same order. Multiply by a number: every entry is multiplied.

Multiplying matrices

AB exists if the columns of A equal the rows of B. Each entry is row × column.

Example: [2 3; 1 4] × [5; 6] = [2(5) + 3(6); 1(5) + 4(6)] = [28; 29].

Matrix multiplication is not commutative: AB usually differs from BA.

An economic use of multiplication

A shop sells quantities [10 20 5] of three goods at prices [100; 50; 200].

Revenue = 10(100) + 20(50) + 5(200) = 1,000 + 1,000 + 1,000 = ₦3,000 (practice figures).

Determinant of a 2 × 2

For A = [a b; c d], det A = ad − bc.

Example: [2 3; 1 4]: det = 8 − 3 = 5.

Inverse of a 2 × 2

A⁻¹ = (1/det A) × [d −b; −c a]

If det A = 0, there is no inverse: the matrix is singular.

Example: A = [2 3; 1 4], so A⁻¹ = (1/5)[4 −3; −1 2].

Check: A × A⁻¹: (1/5)[8 − 3, −6 + 6; 4 − 4, −3 + 8] = (1/5)[5 0; 0 5] = the identity matrix. Correct.

Solving equations with a matrix

Write AX = B, then X = A⁻¹B.

Market model: Qd = 100 − 2P and Qs = −20 + 4P at equilibrium become

Q + 2P = 100 and Q − 4P = −20.

A = [1 2; 1 −4], B = [100; −20], det A = −4 − 2 = −6.

A⁻¹ = (−1/6)[−4 −2; −1 1]

X = (−1/6)[(−4)(100) + (−2)(−20); (−1)(100) + (1)(−20)] = (−1/6)[−360; −120] = [60; 20].

So Q = 60, P = 20: the same result as the simultaneous equations note.

Cramer's rule

x = det(A with first column replaced by B) ÷ det A.

Q = det[100 2; −20 −4] ÷ (−6) = (−400 + 40) ÷ (−6) = 60. Correct.

P = det[1 100; 1 −20] ÷ (−6) = (−20 − 100) ÷ (−6) = 20. Correct.

A 3 × 3 determinant

Expand along the first row, with signs + − +.

det[1 2 0; 0 1 3; 2 0 1] = 1(1 − 0) − 2(0 − 6) + 0 = 1 + 12 = 13.

Why economists like matrices

Models with many markets, input-output tables of how each industry buys from others (Leontief), and regression analysis all use matrices. Computers do the work with large ones, but you must understand the rules.

Exams usually ask: add and multiply matrices; find a determinant and inverse; solve two equations by the inverse or by Cramer's rule; apply them to equilibrium.

Common mistake: in the 2 × 2 inverse, swapping b and c instead of swapping a and d and changing the signs of b and c.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All ECO 101 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.