Advanced Matrix Transformation Calculator

Enter matrices, choose presets, and transform coordinate sets. Review determinants, inverses, ranks, and geometric effects. Export polished results and inspect plots for every run.

Calculator Input

Use the responsive calculator grid below. It displays in three columns on large screens, two on smaller screens, and one on mobile.

Translation is applied after the selected linear chain.
Example: 0,0 then 4,0 then 4,3. Close a polygon by repeating the first point at the end.

Custom Affine Matrix

Edit the custom matrix below. The last row stays fixed for 2D homogeneous coordinates.

Example Data Table

Sample case: rotate 90 degrees, then translate by (2, 1). Matrix used:

[ 0 -1 2 ]
[ 1 0 1 ]
[ 0 0 1 ]
Point Original x Original y Mapped x Mapped y
P10021
P22023
P32113
P40111

Formula Used

p' = M p p = [x, y, 1]^T M = T · P · L · P^-1 L may include scaling, shearing, rotation, and reflection. Rotation: R(θ) = [[cosθ, -sinθ], [sinθ, cosθ]] Scaling: S = [[sx, 0], [0, sy]] Shear: H = [[1, shx], [shy, 1]] Determinant = ad - bc Area scale factor = |determinant| Trace = a + d Eigenvalues = (trace ± √(trace² - 4det)) / 2

This page uses homogeneous coordinates, so translation fits inside the same 3×3 matrix as rotation, scaling, and shear.

The determinant of the 2×2 linear part controls orientation and area scaling. Translation shifts location only.

How to Use This Calculator

  1. Enter scaling, shear, rotation, translation, and pivot values.
  2. Select any reflection preset and choose the operation order.
  3. Pick a matrix mode to use the builder matrix, custom matrix, or both.
  4. Enter points as x,y, one point per line.
  5. Click Transform Matrix to calculate the final matrix.
  6. Review determinant, rank, eigenvalues, inverse, mapped coordinates, and the plot.
  7. Use the export buttons to save the result table as CSV or PDF.

FAQs

1. What does the determinant tell me?

It shows area scaling and orientation behavior. A positive determinant preserves orientation, a negative one reverses orientation, and zero means the mapping collapses geometry.

2. Why are homogeneous coordinates used?

Homogeneous coordinates let translation join rotation, scaling, and shear inside one matrix. That makes composite transformations easier to compute and apply.

3. Does translation affect determinant or eigenvalues?

No. Translation changes only position. Determinant, trace, rank, and eigenvalues come from the linear part of the transformation matrix.

4. What is the pivot used for?

The pivot changes the center of rotation, scaling, shear, and reflection. It is useful when transformations should happen around a chosen point instead of the origin.

5. Why does operation order matter?

Matrix multiplication is not commutative. Scaling then rotating usually gives a different result than rotating then scaling, even with identical values.

6. When is the inverse unavailable?

The inverse does not exist when the determinant of the linear part is zero. In that case, the transformation loses information and cannot be undone uniquely.

7. Can I use the point list as a polygon?

Yes. If you provide at least three points, the calculator estimates polygon area by connecting points in the given order. Repeating the first point closes the shape clearly.

8. What does the graph show?

The graph plots the original and transformed point sets together. It helps you compare direction, scale, rotation, shear, and translation visually.

Related Calculators

scale down calculatorrotation matrix calculatorcoordinate transformation toolscale up calculatorrotate point calculatortranslation vector calculatorrotation about pointreflection over lineenlargement calculatorglide reflection calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.