Free Online Utility • MATH Studio • Exact BigInt Engine

Multiply Matrix by Vector

Multiply any m×n matrix A by a column vector v of length n (y = A·v) with step-by-step row dot-product breakdown, Euclidean norm ||y||₂, and vector amplification ratio ||Av|| / ||v||.

Formula & Quick Reference Live Engine
(A · v)_i = Σ_{j=1..n} A_{ij} · v_j  =  v₁·col₁(A) + v₂·col₂(A) + ... + v_n·col_n(A)
Dimension Rule(m×n)·(n×1) → (m×1)
Column ViewΣ v_j · col_j(A)
Gain Ratio||Av||₂ / ||v||₂
MATRIX-VECTOR PRODUCT A · v
Multiply Matrix by Vector

        
Exact client-side linear algebra engine Instant

Session Calculation Log

No entries recorded in this session yet.

Complete Technical Guide to Multiply Matrix by Vector

The matrix-vector product y = A·v is the core operation of linear algebra, neural network forward passes, and 3D coordinate transformations.

Enter any m×n matrix and compatible n-element vector to view the output column vector, exact row-by-row dot products, and Euclidean norm gain.

Matrix-Vector Linear Transformation

(A · v)_i = Σ_{j=1..n} A_{ij} · v_j  =  v₁·col₁(A) + v₂·col₂(A) + ... + v_n·col_n(A)

Multiplying an m×n matrix A on the right by an n×1 column vector v maps v from ℝ^n into ℝ^m as a linear combination of the columns of A.

How to Use Multiply Matrix by Vector

  1. 1Configure dimensions, parameters, or paste your input matrix using spaces, commas, semicolons, or JSON arrays.
  2. 2View instant live results along with key linear algebra invariants (dimensions, trace, determinant, or norms).
  3. 3Switch output format between Aligned Grid, CSV, JSON, NumPy np.array, and LaTeX bmatrix, then copy or download.

Reference Examples & Worked Benchmarks

PropertyValue / FormulaSignificance
Dimension Rule(m×n)·(n×1) → (m×1)cols(A) must equal len(v)
Column ViewΣ v_j · col_j(A)Linear combination of columns
Gain Ratio||Av||₂ / ||v||₂Bounded by largest singular value

Practical Applications & Engineering Workflows

Linear Algebra & Data Science

Perform verified multiply matrix by vector computations for coursework, ML prototyping, and physics simulations.

LaTeX & Python Export

Paste cleanly formatted bmatrix markup into academic papers or np.array() blocks directly into Python.

Accuracy, Edge Cases & Best Practices

  • All matrix operations execute locally in JavaScript with IEEE-754 double precision and automatic near-zero cleanup.

All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.

Frequently Asked Questions

What must match to compute A · v?
The number of columns of A must equal the number of components in the column vector v.
How does A·v differ from vᵀ·A?
A·v multiplies columns of A by entries of v (yielding an m×1 column), whereas vᵀ·A multiplies rows of A by entries of v (yielding a 1×n row).