Five Across, Four Down

MatricesEasy+10 XP+10

Five Across, Four Down

A camera's calibration routine writes a test patch of pixels into a 4×54 \times 54×5 matrix PPP — 4 rows and 5 columns. Rows and columns are numbered starting at 111, and the brightness stored at row iii, column jjj is given by the rule

Pi,j=2i+3jP_{i,j} = 2i + 3jPi,j​=2i+3j

So, for example, the pixel in row 111, column 444 holds 2(1)+3(4)=142(1) + 3(4) = 142(1)+3(4)=14.

The technician adds up one full row and one full column of the patch. Compute the total brightness of row 3 and the total brightness of column 2, then report

(total of row 3)−(total of column 2)(\text{total of row } 3) - (\text{total of column } 2)(total of row 3)−(total of column 2)

Give your answer as an exact whole number.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

brightness units