Hadamard Division Calculator
Divide each element of matrix A by the corresponding element of matrix B. Both matrices must be the same size and B must have no zero entries.
Notes
What is Hadamard Division?
Hadamard division is the element-wise counterpart to the Hadamard product. Each entry of the result equals the corresponding entry of A divided by the corresponding entry of B. Both matrices must have the same dimensions.
Worked Example
A:
| 6 | 8 |
| 10 | 12 |
B:
| 2 | 4 |
| 5 | 3 |
A ⊘ B (divide each entry of A by the corresponding entry of B):
| 3 | 2 |
| 2 | 4 |
- Matrix Calculations Guide — Hadamard Product — In-depth notes on Hadamard Product with worked examples
Frequently Asked Questions
Is Hadamard division the same as multiplying by the inverse?
Element-wise, yes: A ⊘ B = A ⊙ (1/B), where 1/B means taking the reciprocal of each element. This is different from multiplying by the matrix inverse B⁻¹.
What happens if B has a zero entry?
The operation is undefined at that position (division by zero). This calculator will show an error if any element of B is zero.
Is Hadamard division commutative?
No. A ⊘ B ≠ B ⊘ A in general, just like scalar division a/b ≠ b/a.