Hadamard Product
Entrywise matrix multiplication.
Key idea
Entrywise matrix multiplication.
In depth
A ∘ B multiplies matching entries of equal-sized matrices. It is commutative, unlike matrix multiplication, and appears in neural networks and statistics.
Worked example
[1 2; 3 4] ∘ [5 6; 7 8] = [5 12; 21 32].
Real-world uses
- Applying weights to each element of neural network layers and masks to images
Common mistake
Treating it as standard matrix multiplication.
How to learn this
- Read the key idea and say it in your own words.
- Work through the worked example, then try a similar problem.
- Use the interactive lesson’s visual and mini-quiz to check the pattern.
Frequently asked questions
What is Hadamard Product?
Entrywise matrix multiplication. It is a topic at the expert level in Linear Algebra.
Where is Hadamard Product used in real life?
Real-world examples: Applying weights to each element of neural network layers and masks to images.
What should I learn before Hadamard Product?
Make sure you are comfortable with Kronecker Product, the previous topic in Linear Algebra.
What is a common mistake with Hadamard Product?
Treating it as standard matrix multiplication.
How can I practise Hadamard Product?
Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.
What comes after Hadamard Product?
Move on to Norms of Vectors and Matrices next.
Related expert topics in Linear Algebra
- Triple Product – Scalar triple product gives parallelepiped volume.
- Homogeneous Systems – Ax = 0 always has the trivial solution.
- Cofactor Expansion – Compute determinants recursively.
- Properties of Determinants – Multiplicative; row swaps change sign.
- Geometric Meaning of Determinants – Area or volume scaling factor.
- Cramer’s Rule for Systems – Solve systems using determinants.