Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Exercise 3.1 · Q4: Construct a 2×22\times2 matrix from a rule for aija_{ij}

Exercise 3.1Order of a matrix · Section 3.2
The question

Construct a 2×22\times2 matrix, A=[aij]A = [a_{ij}]⁠, whose elements are given by:

(i) aij=(i+j)22a_{ij} = \dfrac{(i+j)^2}{2}    (ii) aij=ija_{ij} = \dfrac{i}{j}    (iii) aij=(i+2j)22a_{ij} = \dfrac{(i+2j)^2}{2}

Exam answer

(i) aij=(i+j)22a_{ij} = \frac{(i+j)^2}{2}

a11=(1+1)22=2a12=(1+2)22=92a21=(2+1)22=92a22=(2+2)22=8\begin{aligned} a_{11} &= \frac{(1+1)^2}{2} = 2 \\ a_{12} &= \frac{(1+2)^2}{2} = \frac92 \\ a_{21} &= \frac{(2+1)^2}{2} = \frac92 \\ a_{22} &= \frac{(2+2)^2}{2} = 8 \end{aligned} ∴ A=[292928]\therefore\ A = \begin{bmatrix} 2 & \frac92 \\[1mm] \frac92 & 8 \end{bmatrix}

(ii) aij=ija_{ij} = \frac{i}{j}

a11=11=1a12=12a21=21=2a22=22=1\begin{aligned} a_{11} &= \frac11 = 1 \\ a_{12} &= \frac12 \\ a_{21} &= \frac21 = 2 \\ a_{22} &= \frac22 = 1 \end{aligned} ∴ A=[11221]\therefore\ A = \begin{bmatrix} 1 & \frac12 \\[1mm] 2 & 1 \end{bmatrix}

(iii) aij=(i+2j)22a_{ij} = \frac{(i+2j)^2}{2}

a11=(1+2)22=92a12=(1+4)22=252a21=(2+2)22=8a22=(2+4)22=18\begin{aligned} a_{11} &= \frac{(1+2)^2}{2} = \frac92 \\ a_{12} &= \frac{(1+4)^2}{2} = \frac{25}{2} \\ a_{21} &= \frac{(2+2)^2}{2} = 8 \\ a_{22} &= \frac{(2+4)^2}{2} = 18 \end{aligned}

∴ A=[92252818]\therefore\ A = \begin{bmatrix} \dfrac92 & \dfrac{25}{2} \\[1mm] 8 & 18 \end{bmatrix}

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A rule such as aij=ija_{ij} = \frac{i}{j} is a recipe that turns each address (i,j)(i, j) into a number. A 2×22\times2 matrix has exactly four addresses: (1,1)(1,1)⁠, (1,2)(1,2)⁠, (2,1)(2,1)⁠, (2,2)(2,2)⁠. So we substitute each pair into the rule, one at a time, and place the result at that address: row ii⁠, column jj⁠.

Given, to find, and the plan
Given
Three rules for aija_{ij}⁠; the matrix is 2×22\times2⁠, so i∈{1,2}i \in \{1, 2\} (row) and j∈{1,2}j\in\{1,2\} (column).
To find
The matrix AA for each rule.
Plan
For each rule: (1) write down the four addresses; (2) substitute each one, keeping ii as the row number and jj as the column number; (3) assemble the matrix.

Basics you need

1The general 2×22\times2 matrix

A 2×22\times2 matrix A=[aij]A=[a_{ij}] is A=[a11a12a21a22].A = \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix}. The first subscript is the row, the second the column. Basics: rows, columns and the address

2Substituting into a formula

To find a21a_{21} from a rule, put i=2i = 2 and j=1j = 1 everywhere ii and jj appear, then simplify. Brackets first, then powers, then division. Basics: working with equations

3Squaring

(i+j)2(i+j)^2 means: add first, then square the sum. For example (1+2)2=32=9(1+2)^2 = 3^2 = 9⁠, which is not 12+22=51^2 + 2^2 = 5⁠.

4The worked model

The textbook builds a 3×23\times2 matrix this way in Example 3. Lesson: what a matrix is

Part (i): aij=(i+j)22a_{ij} = \frac{(i+j)^2}{2}

  1. Compute the four entries

    a11=(1+1)22=42=2a12=(1+2)22=92a21=(2+1)22=92a22=(2+2)22=162=8\begin{aligned} a_{11} &= \frac{(1+1)^2}{2} = \frac{4}{2} = 2 \\ a_{12} &= \frac{(1+2)^2}{2} = \frac{9}{2} \\ a_{21} &= \frac{(2+1)^2}{2} = \frac{9}{2} \\ a_{22} &= \frac{(2+2)^2}{2} = \frac{16}{2} = 8 \end{aligned}
    Each entry uses its own address: a12a_{12} is row 1, column 2, so i=1i = 1⁠, j=2j = 2⁠. Because i+j=j+ii + j = j + i⁠, swapping ii and jj does not change the value, so a12=a21a_{12} = a_{21} here. We still compute both, since in general they differ (see Part (ii)).
    Brackets first: add i+ji + j⁠, then square, then halve. Basics: substitution
  2. Assemble the matrix

    Place each value at its address, row 1 on top:

    A=[292928].A = \begin{bmatrix} 2 & \frac{9}{2} \\[1mm] \frac{9}{2} & 8 \end{bmatrix}.
    Row 1 holds a11,a12a_{11}, a_{12} and row 2 holds a21,a22a_{21}, a_{22}⁠. The matrix is unchanged by reflection in its diagonal, a pattern called symmetric that the chapter studies in Section 3.6.
    A=[aij]2×2A=[a_{ij}]_{2\times2} has aija_{ij} in row ii⁠, column jj⁠. Basics: the address

Part (ii): aij=ija_{ij} = \frac{i}{j}

  1. Compute the four entries

    a11=11=1a12=12a21=21=2a22=22=1\begin{aligned} a_{11} &= \frac{1}{1} = 1 \\ a_{12} &= \frac{1}{2} \\ a_{21} &= \frac{2}{1} = 2 \\ a_{22} &= \frac{2}{2} = 1 \end{aligned}
    Here the order of ii and jj matters: ij\frac{i}{j} has the row number on top and the column number underneath. So a12=12a_{12} = \frac12 but a21=2a_{21} = 2⁠. Mixing up the subscripts would swap these two entries and give the wrong matrix. Every jj is 1 or 2, never 0, so no division by zero can occur.
    Row number ii on top, column number jj below. Basics: rows and columns
  2. Assemble the matrix

    A=[11221].A = \begin{bmatrix} 1 & \frac{1}{2} \\[1mm] 2 & 1 \end{bmatrix}.
    Unlike Part (i), the entries above and below the diagonal are different (12\frac12 and 22⁠), because ij\frac{i}{j} changes when ii and jj are swapped: it becomes its reciprocal.

Part (iii): aij=(i+2j)22a_{ij} = \frac{(i+2j)^2}{2}

  1. Compute the four entries

    a11=(1+2⋅1)22=92a12=(1+2⋅2)22=252a21=(2+2⋅1)22=162=8a22=(2+2⋅2)22=362=18\begin{aligned} a_{11} &= \frac{(1+2\cdot1)^2}{2} = \frac{9}{2} \\ a_{12} &= \frac{(1+2\cdot2)^2}{2} = \frac{25}{2} \\ a_{21} &= \frac{(2+2\cdot1)^2}{2} = \frac{16}{2} = 8 \\ a_{22} &= \frac{(2+2\cdot2)^2}{2} = \frac{36}{2} = 18 \end{aligned}
    Inside the bracket the column number is doubled before adding: i+2ji + 2j⁠, not 2(i+j)2(i+j)⁠. For a12a_{12}⁠: i=1i = 1⁠, j=2j = 2⁠, so i+2j=1+4=5i + 2j = 1 + 4 = 5 and 52=255^2 = 25⁠. For a21a_{21}⁠: i=2i = 2⁠, j=1j = 1⁠, so i+2j=2+2=4i + 2j = 2 + 2 = 4 and 42=164^2 = 16⁠. The two off-diagonal entries differ because ii and jj play different roles.
    Order of operations: multiply 2j2j first, then add ii⁠, then square. Basics: substitution
  2. Assemble the matrix

    A=[92252818].A = \begin{bmatrix} \frac{9}{2} & \frac{25}{2} \\[1mm] 8 & 18 \end{bmatrix}.
    Moving one step right (column jj up by 1) adds 2 inside the bracket; moving one step down (row ii up by 1) adds only 1. That is why the entries grow faster along a row than down a column.
Result (i) [292928](ii) [11221]\text{(i)}\ \begin{bmatrix} 2 & \frac{9}{2} \\[1mm] \frac{9}{2} & 8 \end{bmatrix} \quad \text{(ii)}\ \begin{bmatrix} 1 & \frac{1}{2} \\[1mm] 2 & 1 \end{bmatrix} (iii) [92252818]\text{(iii)}\ \begin{bmatrix} \frac{9}{2} & \frac{25}{2} \\[1mm] 8 & 18 \end{bmatrix}

(Textbook answer: the same three matrices.)

Check it with numbers

In Part (iii), a22=18a_{22} = 18 means (i+2j)2=36(i + 2j)^2 = 36⁠, so i+2j=6i + 2j = 6⁠; with i=j=2i = j = 2⁠, 2+4=62 + 4 = 6 ✓. In Part (ii), every entry times its column number gives its row number: 12⋅2=1\frac12\cdot2 = 1 (row 1) and 2⋅1=22\cdot1 = 2 (row 2) ✓. In Part (i), the entries add to 2+4.5+4.5+8=192 + 4.5 + 4.5 + 8 = 19⁠, and 4+9+9+162=382=19\frac{4 + 9 + 9 + 16}{2} = \frac{38}{2} = 19 ✓.

Common mistakes
  1. Swapping ii and jj⁠. In Part (ii) that gives a12=2a_{12} = 2⁠, a21=12a_{21} = \frac12⁠, the wrong matrix.
  2. Expanding (i+j)2(i+j)^2 as i2+j2i^2 + j^2⁠. (1+2)2=9(1+2)^2 = 9⁠, not 55⁠.
  3. Reading i+2ji + 2j as 2(i+j)2(i + j)⁠. Only jj is doubled.
  4. Placing an entry at the wrong address, for example writing a21a_{21} in row 1.
What to take away
  1. To build A=[aij]A = [a_{ij}] from a rule, list every address (i,j)(i, j)⁠, substitute, and place each value at row ii⁠, column jj⁠.
  2. If the rule is unchanged when ii and jj swap, then aij=ajia_{ij} = a_{ji} and the matrix is mirror-symmetric about its diagonal.

Every fact used, and where it comes from

FactUsed inSource
A=[aij]m×nA = [a_{ij}]_{m\times n} has aija_{ij} in row ii⁠, column jjAll partsSection 3.2.1 and its Note (Lesson: what a matrix is)
Building a matrix from a rule for aija_{ij}All partsExample 3
Symmetric pattern aij=ajia_{ij} = a_{ji}Part (i), Step 2Section 3.6 (Lesson: symmetric matrices)
All twelve entriesAll partsRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →