Index Ai Academy
Glossary · Phase 2 · Math, when you need it

Subscript

Also written: subscripts

A small letter or number written low after a name to mark a position: xᵢ is the i-th x, written x[i] in Python.

A small letter or number written low after a name is a subscript: xᵢ is "the i-th x", and x₂ is the second one. In code, that's indexing: x[i]. Two subscripts mean a table: Wᵢⱼ is row i, column j, which is W[i][j].

Try it now

A phrasebook in three groups: symbols that loop over many values, symbols that mark a special number, and symbols that compare.

Learn it properly

Reading math notation as code · Σ, subscripts, hats and bars, translated into Python you can run and test. About 25 minutes.

Start this free lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write