What is transpose?
A matrix flipped over its diagonal so that rows become columns, written .
Where it is taught
Transpose, identity and inverse. Three small ideas that appear in almost every formula from here on. Flipping a matrix, the matrix that does nothing, and the matrix that undoes another.
What the lesson leaves you with
- The transpose swaps rows and columns, and is the dot product.
- The identity matrix changes nothing.
- An inverse undoes a matrix, and exists only when the determinant is not zero.
Questions
- What is transpose?
- A matrix flipped over its diagonal so that rows become columns, written A^{top}.
- Where is transpose used in AI?
- Three small ideas that appear in almost every formula from here on. Flipping a matrix, the matrix that does nothing, and the matrix that undoes another.
- What is the key idea to remember about transpose?
- The transpose swaps rows and columns, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="bold">a</mi><mi mathvariant="normal">⊤</mi></msup><mi mathvariant="bold">b</mi></mrow><annotation encoding="application/x-tex">mathbf{a}^{top}mathbf{b}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="katex-base"><span class="katex-strut" style="height:0.8491em;"></span><span class="mord"><span class="mord mathbf">a</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.8491em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="katex-sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mtight">⊤</span></span></span></span></span></span></span></span></span><span class="mord mathbf">b</span></span></span></span> is the dot product.
- Where can I learn transpose step by step?
- In the lesson “Transpose, identity and inverse” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.