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

Exercise 3.1 · Q5: Construct a 3×43\times4 matrix from a rule for aija_{ij}

Exercise 3.1Order of a matrix · Section 3.2
The question

Construct a 3×43\times4 matrix, whose elements are given by:

(i) aij=12 ∣−3i+j∣a_{ij} = \dfrac{1}{2}\,|-3i + j|    (ii) aij=2i−ja_{ij} = 2i - j

Exam answer

(i) aij=12∣−3i+j∣a_{ij} = \frac12|-3i + j|

a11=12∣−3+1∣=1a12=12∣−3+2∣=12a13=12∣−3+3∣=0a14=12∣−3+4∣=12a21=12∣−6+1∣=52a22=12∣−6+2∣=2a23=12∣−6+3∣=32a24=12∣−6+4∣=1a31=12∣−9+1∣=4a32=12∣−9+2∣=72a33=12∣−9+3∣=3a34=12∣−9+4∣=52\begin{aligned} a_{11} &= \tfrac12|-3+1| = 1 \\ a_{12} &= \tfrac12|-3+2| = \tfrac12 \\ a_{13} &= \tfrac12|-3+3| = 0 \\ a_{14} &= \tfrac12|-3+4| = \tfrac12 \\ a_{21} &= \tfrac12|-6+1| = \tfrac52 \\ a_{22} &= \tfrac12|-6+2| = 2 \\ a_{23} &= \tfrac12|-6+3| = \tfrac32 \\ a_{24} &= \tfrac12|-6+4| = 1 \\ a_{31} &= \tfrac12|-9+1| = 4 \\ a_{32} &= \tfrac12|-9+2| = \tfrac72 \\ a_{33} &= \tfrac12|-9+3| = 3 \\ a_{34} &= \tfrac12|-9+4| = \tfrac52 \end{aligned} ∴ A=[112012522321472352]\therefore\ A = \begin{bmatrix} 1 & \frac12 & 0 & \frac12 \\[1mm] \frac52 & 2 & \frac32 & 1 \\[1mm] 4 & \frac72 & 3 & \frac52 \end{bmatrix}

(ii) aij=2i−ja_{ij} = 2i - j

A=[2−12−22−32−44−14−24−34−46−16−26−36−4]\begin{aligned} &A \\ &= \begin{bmatrix} 2-1 & 2-2 & 2-3 & 2-4 \\ 4-1 & 4-2 & 4-3 & 4-4 \\ 6-1 & 6-2 & 6-3 & 6-4 \end{bmatrix} \end{aligned}

∴ A=[10−1−232105432]\therefore\ A = \begin{bmatrix} 1 & 0 & -1 & -2 \\ 3 & 2 & 1 & 0 \\ 5 & 4 & 3 & 2 \end{bmatrix}

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

The one idea this problem is built on

A 3×43\times4 matrix has 3 rows and 4 columns, so it has 3×4=123\times4 = 12 addresses (i,j)(i, j) with i∈{1,2,3}i\in\{1,2,3\} and j∈{1,2,3,4}j\in\{1,2,3,4\}⁠. The rule turns each address into a number. We go through the rows one at a time, substituting j=1,2,3,4j = 1, 2, 3, 4 along each row, and then assemble the matrix.

Given, to find, and the plan
Given
Two rules for aija_{ij}⁠; order 3×43\times4⁠, so i=1,2,3i = 1, 2, 3 (row) and j=1,2,3,4j = 1, 2, 3, 4 (column).
To find
The 3×43\times4 matrix [aij][a_{ij}] for each rule.
Plan
For each rule, compute row 1 (i=1i = 1⁠), row 2 (i=2i = 2⁠) and row 3 (i=3i = 3⁠), four entries each, then assemble. In Part (i), find −3i+j-3i + j first, then take its absolute value, then halve.

Basics you need

1The general 3×43\times4 matrix

[a11a12a13a14a21a22a23a24a31a32a33a34]\begin{bmatrix} a_{11} & a_{12} & a_{13} & a_{14} \\ a_{21} & a_{22} & a_{23} & a_{24} \\ a_{31} & a_{32} & a_{33} & a_{34} \end{bmatrix} Row ii holds ai1,ai2,ai3,ai4a_{i1}, a_{i2}, a_{i3}, a_{i4}⁠. Basics: rows, columns and the address

2Absolute value

∣x∣|x| is the distance of xx from 0, so it is never negative: ∣x∣=x|x| = x if x≥0x\ge0 and ∣x∣=−x|x| = -x if x<0x < 0⁠. For example ∣−5∣=5|-5| = 5⁠, ∣3∣=3|3| = 3⁠, ∣0∣=0|0| = 0⁠.

3Substitution with negatives

−3i-3i with i=2i = 2 is −3⋅2=−6-3\cdot2 = -6⁠. Work out the inside of ∣ ∣|\ | completely before taking the absolute value. Basics: working with equations

4The worked model

Example 3 builds a 3×23\times2 matrix from aij=12∣i−3j∣a_{ij} = \frac12|i - 3j|⁠, a close cousin of Part (i). Lesson: what a matrix is

Part (i): aij=12∣−3i+j∣a_{ij} = \frac{1}{2}|-3i + j|

  1. Row 1 (i=1i = 1⁠): here −3i=−3-3i = -3

    a11=12∣−3+1∣=12∣−2∣=1a12=12∣−3+2∣=12∣−1∣=12a13=12∣−3+3∣=12∣0∣=0a14=12∣−3+4∣=12∣1∣=12\begin{aligned} a_{11} &= \tfrac12|-3+1| = \tfrac12|-2| = 1 \\ a_{12} &= \tfrac12|-3+2| = \tfrac12|-1| = \tfrac12 \\ a_{13} &= \tfrac12|-3+3| = \tfrac12|0| = 0 \\ a_{14} &= \tfrac12|-3+4| = \tfrac12|1| = \tfrac12 \end{aligned}
    The inside −3+j-3 + j is negative for j=1,2j = 1, 2⁠, zero for j=3j = 3 and positive for j=4j = 4⁠. The absolute value makes every result non-negative, so −2-2 becomes 22 and −1-1 becomes 11⁠. Halving comes last.
    ∣x∣=−x|x| = -x when x<0x < 0⁠, e.g. ∣−2∣=2|-2| = 2⁠.
  2. Row 2 (i=2i = 2⁠): here −3i=−6-3i = -6

    a21=12∣−6+1∣=12∣−5∣=52a22=12∣−6+2∣=12∣−4∣=2a23=12∣−6+3∣=12∣−3∣=32a24=12∣−6+4∣=12∣−2∣=1\begin{aligned} a_{21} &= \tfrac12|-6+1| = \tfrac12|-5| = \tfrac52 \\ a_{22} &= \tfrac12|-6+2| = \tfrac12|-4| = 2 \\ a_{23} &= \tfrac12|-6+3| = \tfrac12|-3| = \tfrac32 \\ a_{24} &= \tfrac12|-6+4| = \tfrac12|-2| = 1 \end{aligned}
    For i=2i = 2 and j≤4j\le4⁠, the inside −6+j-6 + j is at most −2-2⁠, so it is always negative here and ∣−6+j∣=6−j|-6 + j| = 6 - j⁠. That gives the values 5,4,3,25, 4, 3, 2⁠, each then halved.
    Work inside the bars first, then the bars, then the 12\frac12⁠.
  3. Row 3 (i=3i = 3⁠): here −3i=−9-3i = -9

    a31=12∣−9+1∣=12∣−8∣=4a32=12∣−9+2∣=12∣−7∣=72a33=12∣−9+3∣=12∣−6∣=3a34=12∣−9+4∣=12∣−5∣=52\begin{aligned} a_{31} &= \tfrac12|-9+1| = \tfrac12|-8| = 4 \\ a_{32} &= \tfrac12|-9+2| = \tfrac12|-7| = \tfrac72 \\ a_{33} &= \tfrac12|-9+3| = \tfrac12|-6| = 3 \\ a_{34} &= \tfrac12|-9+4| = \tfrac12|-5| = \tfrac52 \end{aligned}
    Again the inside −9+j-9 + j is negative for every j≤4j\le4⁠, so ∣−9+j∣=9−j|-9+j| = 9 - j⁠, giving 8,7,6,58, 7, 6, 5 before halving.
  4. Assemble the matrix

    Rows 1, 2, 3 from Part (i), Steps 1, 2, 3, in that order:

    A=[112012522321472352].A = \begin{bmatrix} 1 & \frac12 & 0 & \frac12 \\[1mm] \frac52 & 2 & \frac32 & 1 \\[1mm] 4 & \frac72 & 3 & \frac52 \end{bmatrix}.
    The matrix has 3 rows and 4 columns, as the question requires. Row 1 is the only row with a 0 and with a rise at the end, because it is the only row where −3i+j-3i + j changes sign (at j=3j = 3⁠).
    Row ii of the matrix lists ai1,…,ai4a_{i1}, \dots, a_{i4}⁠. Basics: the address

Part (ii): aij=2i−ja_{ij} = 2i - j

  1. Compute the three rows

    i=1:  2−1, 2−2, 2−3, 2−4=1, 0, −1, −2i=2:  4−1, 4−2, 4−3, 4−4=3, 2, 1, 0i=3:  6−1, 6−2, 6−3, 6−4=5, 4, 3, 2\begin{aligned} i = 1:&\ \ 2-1,\ 2-2,\ 2-3,\ 2-4 \\ &= 1,\ 0,\ -1,\ -2 \\ i = 2:&\ \ 4-1,\ 4-2,\ 4-3,\ 4-4 \\ &= 3,\ 2,\ 1,\ 0 \\ i = 3:&\ \ 6-1,\ 6-2,\ 6-3,\ 6-4 \\ &= 5,\ 4,\ 3,\ 2 \end{aligned}
    For row ii⁠, 2i2i is fixed (2,4,62, 4, 6⁠) and we subtract the column numbers j=1,2,3,4j = 1, 2, 3, 4 in turn. There is no absolute value here, so negative entries such as a13=−1a_{13} = -1 and a14=−2a_{14} = -2 stay negative.
    aij=2i−ja_{ij} = 2i - j⁠: row number doubled, minus the column number. Basics: substitution
  2. Assemble the matrix

    A=[10−1−232105432].A = \begin{bmatrix} 1 & 0 & -1 & -2 \\ 3 & 2 & 1 & 0 \\ 5 & 4 & 3 & 2 \end{bmatrix}.
    The pattern is a good self-check: along each row the entries fall by 1 (jj goes up by 1), and down each column they rise by 2 (ii goes up by 1, so 2i2i goes up by 2).
Result (i) [112012522321472352]\text{(i)}\ \begin{bmatrix} 1 & \frac12 & 0 & \frac12 \\[1mm] \frac52 & 2 & \frac32 & 1 \\[1mm] 4 & \frac72 & 3 & \frac52 \end{bmatrix} (ii) [10−1−232105432]\text{(ii)}\ \begin{bmatrix} 1 & 0 & -1 & -2 \\ 3 & 2 & 1 & 0 \\ 5 & 4 & 3 & 2 \end{bmatrix}

(Textbook answer: the same two matrices. In some PDF viewers the first row of (ii) in the answer key shows as "1 0 1 2", because its minus signs use a font that is not embedded in the file; the key itself has the minus signs. The entries are a13=2−3=−1a_{13} = 2 - 3 = -1 and a14=2−4=−2a_{14} = 2 - 4 = -2⁠, as in Part (ii), Step 1.)

Check it with numbers

Part (i): a32=3.5a_{32} = 3.5 should satisfy 2a32=∣−3⋅3+2∣=∣−7∣=72a_{32} = |-3\cdot3 + 2| = |-7| = 7 ✓. Every entry is ≥0\ge 0⁠, as an absolute value must give ✓. Part (ii): add all twelve entries row by row, then add them again straight from the rule (each 2i2i occurs 4 times, once per column; each jj occurs 3 times, once per row):

(1+0−1−2)+(3+2+1+0)+(5+4+3+2)=−2+6+14=18,4⋅2⋅(1+2+3)−3⋅(1+2+3+4)=48−30=18.\begin{aligned} &(1+0-1-2) + (3+2+1+0) \\ &\quad + (5+4+3+2) = -2 + 6 + 14 = 18, \\ &4\cdot2\cdot(1+2+3) - 3\cdot(1+2+3+4) \\ &\quad = 48 - 30 = 18. \end{aligned}

Both totals are 18 ✓.

Common mistakes
  1. Dropping the absolute value in Part (i), giving negative entries such as −1-1 for a11a_{11}⁠.
  2. Taking ∣−3i∣|-3i| and ∣j∣|j| separately. ∣−3+1∣=2|-3 + 1| = 2⁠, but ∣−3∣+∣1∣=4|-3| + |1| = 4⁠. The bars apply to the whole sum.
  3. Swapping rows and columns, producing a 4×34\times3 matrix. Row ii runs over 3 values and column jj over 4.
  4. Sign slips in Part (ii), e.g. writing a14=2a_{14} = 2⁠. It is 2−4=−22 - 4 = -2⁠.
What to take away
  1. Work row by row: fix ii⁠, then run jj through all column numbers.
  2. With an absolute value, simplify the inside first, then remove the sign.
  3. Look for patterns along rows and down columns; they catch arithmetic slips.

Every fact used, and where it comes from

FactUsed inSource
A=[aij]3×4A = [a_{ij}]_{3\times4} has 3 rows, 4 columns, aija_{ij} in row ii⁠, column jjBoth partsSection 3.2.1 (Lesson: what a matrix is)
Building a matrix from a rule with an absolute valuePart (i)Example 3
∣x∣=x|x| = x for x≥0x\ge0⁠, ∣x∣=−x|x| = -x for x<0x<0Part (i), Steps 1–3Definition of absolute value
All 24 entriesBoth 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 →