Linear Algebra / Matrices
Inverse Transformation
Apply a matrix and then its inverse.
inverse_transform([[1.2,0.6],[0.2,1]]) applies the inverse matrix, sending the transformed square back toward the unit square when the matrix is invertible.
The inverse exists only when the determinant is not zero. A singular matrix stops with the message that it has no inverse, instead of inventing a result.
Equation
inverse_transform([[1.2,0.6],[0.2,1]])
What the matrix does to the plane
A 2D linear transformation sends the plane through a matrix. The columns of the matrix are the images of the unit vectors (1, 0) and (0, 1). The unit square is the default shape, so you can see where the square goes.
The determinant is the signed area scale. A negative determinant flips orientation. A zero determinant collapses the square onto a line or a point, and the inverse does not exist. Eigenvectors, when they are real, are directions the matrix only stretches.
Reading the input
inverse_transform([[1.2,0.6],[0.2,1]])— This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
Try a change
- Edit one number in the field, then use Generate Graph. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Generate Graph posts the expression to the studio graph engine and draws the result on the homepage. The editable field is the entire input, including every line.