Vector Multiplication
Calculator and formulas for component-wise multiplication of 2D, 3D and 4D vectors
Vector Multiplication Calculator
Component-wise Vector Multiplication
Multiplies two vectors v₁ × v₂ through component-wise multiplication: [x₁×x₂, y₁×y₂, z₁×z₂]
Not to be confused with Dot or Cross Product
This is an element-wise multiplication (Hadamard product). For dot product or cross product, use the corresponding other calculators.
Multiplication Info
Element-wise Properties
Hadamard Product: Corresponding components are multiplied
Difference: Not dot or cross product
Result: New vector of same dimension
Examples
Formulas for Vector Multiplication
2D Element-wise Multiplication
Hadamard product in the plane
3D Element-wise Multiplication
Components multiplied pairwise
4D Element-wise Multiplication
Higher-dimensional element-wise multiplication
General Rule
Component-wise multiplication
Calculation Examples for Vector Multiplication
Example 1: 3D Multiplication
Result: [10, 12, 12]
Example 2: 2D Multiplication
Result: [12, -12]
Step-by-Step Calculation
Each component is multiplied separately
Comparison of Different Vector Products
Element-wise (×)
• [a, b] × [c, d] = [ac, bd]
• Same dimension
• Hadamard product
Dot Product (·)
• [a, b] · [c, d] = ac + bd
• Result: Scalar
• Dot-product
Cross Product (×)
• Only for 3D vectors
• Result: Orthogonal vector
• Cross-product
Applications of Element-wise Multiplication
Element-wise multiplication finds application in various technical and scientific fields:
Data Processing & Signals
- Signal filtering and weighting
- Window functions in spectral analysis
- Masking operations in images
- Point-wise scaling of datasets
Machine Learning
- Neural networks: activation functions
- Feature-wise weightings
- Element-wise attention mechanisms
- Dropout and regularization
Computer Graphics
- RGB color mixing and modulation
- Texture blending and masking
- Per-component lighting calculations
- Alpha blending and transparency
Science & Simulation
- Component-wise scaling of physical quantities
- Finite-element methods
- Statistical weightings
- Coordinate transformations
Element-wise Multiplication: The Hadamard Product
Element-wise vector multiplication, also called the Hadamard product, is a fundamental operation that multiplies corresponding components of two vectors with each other. Unlike dot or cross products, it produces a new vector of the same dimension. This operation is particularly valuable in digital signal processing, machine learning, and computer graphics, where point-wise operations are frequently needed.
Summary
Element-wise multiplication extends vector operations with a practical, intuitive method for component-wise combination. The simple rule - multiply corresponding components - enables efficient filtering, weighting, and modulation in various application domains. From image processing through neural networks to scientific simulation, the Hadamard product offers a direct method for point-wise manipulation of vector data. It shows how simple mathematical operations can elegantly solve complex practical problems.