Skip to main content
HT
HerbDev Application Rescue
← Learning hub

Vocabulary

Understand the term. Connect the concept.

A practical dictionary of 512 AI, machine learning, mathematics, and programming terms from HerbDev’s AI Vocabulary app. Start with a definition, explore an example, then follow the concepts behind it.

Linked concepts open in a new tab. Audio reads the definition and example.

Matrix Multiplication

Mathematics · Level 2 of 5

Matrix Multiplication

A composition operation whose entries are row-column dot products.

Inner dimensions must match, and swapping operands usually changes the result.

Example

A batch matrix with shape 32 by 10 multiplies a weight matrix of shape 10 by 4.

Listen to the definition and example

Audio transcript

Matrix Multiplication. A composition operation whose entries are row-column dot products. Inner dimensions must match, and swapping operands usually changes the result. For example: A batch matrix with shape 32 by 10 multiplies a weight matrix of shape 10 by 4.

Explore this concept

A useful analogy

Combining two stages of a linear transformation into one.

Why it matters

This notation connects model equations to the calculations implemented in code.

Technical detail

If A is m×n and B is n×p, AB is m×p with (AB)_ij = Σ_k A_ik B_kj.

Common misconception

Matrix multiplication is not elementwise multiplication and is generally not commutative.

Quick recall question

Try answering before looking back at the definition.

Put the terminology into context: How AI works · Machine-native representations · All learning paths

Manage browser learning data

“Remove my test data” clears all AI 101 and ML 101 scores, reviews, project checklists and rating selections, plus saved vocabulary and recent history in this browser. Test entries cannot be separated from other learning progress. Cookie preferences, security protections, submitted feedback, contact emails and past analytics are kept.