The 2×2 whose inverse is made of integers

[[2, 1], [5, 3]] inverts to [[3, −1], [−5, 2]] — and it only can, because its determinant is exactly 1.

Matrices and vectors · Level: Exam and contest · Updated on 2026-11-10

Key A = (2 1; 5 3) into the matrix calculator: Determinant 1, and one line lower Inverse matrix 3 -1 -5 2. Nothing rounded, because nothing had to — the inverse is the adjugate divided by the determinant, and that division only stays inside the whole numbers when the determinant is ±1.

The determinant is the 2×2 rule read aloud: ad − bc = 2·3 − 1·5 = 1, which the workbench prints as 1. Matrices like this generate SL(2, ℤ), the integer area-preserving maps, and they are the reason a lattice can change basis without ever leaving the integers — a fact that does a lot of quiet work in number theory and in coding theory.

Answer

1

How to read it

The determinant the adjugate is divided by. Here it is 1, so the inverse keeps integer entries: 3 -1 / -5 2.

Source

Integer matrices with integer inverses are the unimodular matrices, standard exercise material in any linear-algebra course

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.