Discord

Checklist VsOSh AI 2026 Municipal Stage (Moscow), grades 9–11 · Task 2

Maximum Trace over All Permutations

Russian title: Максимальный след по всем перестановкам

Maximise the traces of AB and BA over all 2 × 2 matrices B whose entries are a permutation of four given numbers.

  • Linear algebra (matrix products)
  • Russian original · English translation

The task

Matrix multiplication and the trace tr(M) (sum of diagonal entries) are defined for 2 × 2 matrices. Let A = [[−1, 4], [5, 10]] and consider all 24 matrices B = [[x, y], [z, w]] whose entries x, y, z, w are a permutation of −4, −5, 20, 25.

(a) Find the largest possible value of tr(AB). (b) Find the largest possible value of tr(BA).

Abridged and translated by SOTA from the official Russian materials. The official statement has the exact rules, and it wins wherever this summary differs.

In English

This task was published in Russian. SOTA translated its 4 files into English on 16 September 2026.

Read the task statement in English 294 words

Maximum Trace over All Permutations

English translation by SOTA – AI Community of the Russian original. Organisers who would like this translation removed can email [email protected].

Task 2 of the municipal stage (Moscow) of the All-Russian School Olympiad (VsOSh) 2025/26 in artificial intelligence, grades 9–11 (variant III). Original: tasks-ai-9-11-mun-msk-25-26.pdf.

An n×mn \times m matrix is what we call a table of numbers consisting of nn rows and mm columns. Matrices are multiplied by the "row by column" rule. If

M=(pqrs),N=(uvwx),M = \begin{pmatrix} p & q \\ r & s \end{pmatrix}, \qquad N = \begin{pmatrix} u & v \\ w & x \end{pmatrix},

then

MN=(pu+qwpv+qxru+swrv+sx).MN = \begin{pmatrix} pu + qw & pv + qx \\ ru + sw & rv + sx \end{pmatrix}.

The sum of the diagonal elements (the trace) of a matrix is the number tr(pqrs)=p+str\begin{pmatrix} p & q \\ r & s \end{pmatrix} = p + s.

You are given the matrix

A=(14510).A = \begin{pmatrix} -1 & 4 \\ 5 & 10 \end{pmatrix}.

You are also given the numbers 4,5,20,25-4, -5, 20, 25. Consider all 24 matrices BB of the form

B=(xyzw),B = \begin{pmatrix} x & y \\ z & w \end{pmatrix},

in which x,y,z,wx, y, z, w is some permutation of the numbers 4,5,20,25-4, -5, 20, 25. For each such BB, consider the products ABAB and BABA.

a) Find the largest possible value of tr(AB)tr(AB).

b) Find the largest possible value of tr(BA)tr(BA).

Translator's note: this task's points are not stated in the statement paper (whose total is 600 points); the official answers give a maximum of 100 points, 50 for each part (exact match of the answer).

Translated by SOTA. The Russian original is the official version and wins wherever the two differ. Translated from the statement and answer PDFs of the Moscow municipal stage (grades 9–11) on vos.olimpiada.ru. The statement paper gives no per-task points; the 100 points (50 per part) come from the official answers. If you organise this olympiad and would like the translation removed, email [email protected] and we will take it down.

At a glance

You get
Statement only.
You submit
Two numbers (parts a and b).
Scoring
Exact answer; the per-task maximum is not stated for this task in the statement file (the paper totals 600 points).
Format
Municipal stage (Moscow), 17 December 2025, grades 9–11; individual; 180 minutes; answers and programs submitted to an online testing system; maximum 600 points for the paper.

Details

Year
2026, Moscow, Russia (in person)
Round
Municipal Stage (Moscow), grades 9–11 · Task 2
Language
Russian; English translation by SOTA
License
Not stated by the source