Orthogonal Matrix Checker
Enter the four entries of your 2x2 matrix to check if it is orthogonal.
Result
How it is calculated
The matrix is read as rows [[a, b], [c, d]], so column 1 is (a, c) and column 2 is (b, d). Three numbers are computed: a² + c² (squared length of column 1), b² + d² (column 2) and a·b + c·d (dot product of the columns). The matrix is called orthogonal only if the first two are within 0.000001 of 1 and the dot product is within 0.000001 of 0. The determinant a·d − b·c is shown to four decimals: +1 means a rotation, −1 a reflection. The fixed tolerance is tight, so numbers rounded to three or four decimals usually fail. Only 2×2 matrices are handled, and the result does not depend on any country or year.
Worked example
Matrix with a = 0.6, b = −0.8, c = 0.8, d = 0.6. Column 1: 0.6² + 0.8² = 0.36 + 0.64 = 1.000000. Column 2: (−0.8)² + 0.6² = 0.64 + 0.36 = 1.000000. Dot product: 0.6×(−0.8) + 0.8×0.6 = −0.48 + 0.48 = 0.000000. All three tests pass, so the result is Orthogonal. Determinant = 0.6×0.6 − (−0.8)×0.8 = 0.36 + 0.64 = 1.0000, a pure rotation.
Common mistakes
- Entering a rounded rotation matrix such as cos 30° as 0.866 and sin 30° as 0.5. The squared column length is 0.999956, outside the 0.000001 tolerance, so the tool says Not orthogonal; type more decimals.
- Entering the entries in column order instead of row order. For [[a, b], [c, d]], b is the top right entry and c is the bottom left; swapping them changes the transposed matrix.
- Believing perpendicular columns are enough. The matrix [[1, 1], [−1, 1]] has dot product 0 but column length squared 2, so its columns are perpendicular but not unit length and the tool says Not orthogonal.
- Expecting the determinant to decide it. A determinant of 1 can occur in a non-orthogonal matrix such as [[1, 1], [0, 1]].
- Using the tool for 3×3 or larger matrices; the form has only four entries.
About this calculator
A square matrix Q is orthogonal when its transpose is also its inverse: Q^T Q = I, the identity matrix. Equivalently, the columns (and rows) of Q form an orthonormal set — each column has unit length and every pair of distinct columns is perpendicular, with dot product zero.
Checking this condition for a 2×2 matrix means testing that both columns have length 1 and their dot product is 0; the calculator also reports the determinant, which for any orthogonal matrix must equal +1 (a pure rotation) or −1 (a rotation combined with a reflection).
Orthogonal matrices preserve lengths and angles, which is why they represent rotations and reflections in computer graphics, robotics, and physics, and why they appear as the Q factor in QR decomposition used to solve least-squares problems numerically.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
When the answer is Not orthogonal, read the checks line to see which test failed. If only the two column lengths fail while the dot product passes, the columns are perpendicular and dividing each column by its own length gives an orthogonal matrix. If the dot product fails, the columns are not perpendicular at all. Where do your matrices come from: graphics, robotics or a course? Tell us if you need 3 by 3.