Row Matrix: Definition, Examples & Order

#Algebra
TL;DR
A row matrix is a matrix with exactly one row and any number of columns, so its order is written as 1 × n. You can add or subtract two row matrices of the same order, scale one by a number, and multiply a 1 × n row matrix by any matrix that has n rows. Take the transpose of a row matrix and you always get a column matrix.
BT
Bhanzu TeamLast updated on September 9, 202611 min read

What Is A Row Matrix?

A row matrix is a matrix that has exactly one row and any number of columns. Because it has a single row, its order is always written as 1 × n, where n is the number of columns (the same as the number of elements). Read the shape out loud as "one by n," and the "one" tells you it is a row matrix.

Here are three row matrices of different orders:

$$A = \begin{bmatrix} 2 & 5 & 8 & 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 7 & -3 \end{bmatrix}, \qquad C = \begin{bmatrix} 9 \end{bmatrix}$$

$A$ has order 1 × 4, $B$ has order 1 × 2, and $C$ has order 1 × 1. In general, a row matrix looks like this:

$$\begin{bmatrix} a_{11} & a_{12} & a_{13} & \cdots & a_{1n} \end{bmatrix}$$

Every entry sits in row 1, so the first subscript is always a 1. Only the column number changes as you move across. That single detail, one row and one row only, is the whole definition. The order of a matrix is what places a row matrix inside the wider family of matrix shapes.

How Is A Row Matrix Different From A Column Matrix?

A row matrix runs horizontally with order 1 × n. Its vertical mirror image is the column matrix, which has one column and order n × 1. Same numbers, turned a quarter-turn.

Table: Row matrix versus column matrix at a glance.

Feature

Row matrix

Column matrix

Number of rows

1

n (any)

Number of columns

n (any)

1

Order

1 × n

n × 1

Direction

Horizontal

Vertical

Example

$\begin{bmatrix} 2 & 5 & 8 \end{bmatrix}$

$\begin{bmatrix} 2 \ 5 \ 8 \end{bmatrix}$

The link between the two is the transpose. The transpose of a matrix flips it so rows become columns, so the transpose of a row matrix is always a column matrix of the same length.

$$R = \begin{bmatrix} 2 & 5 & 8 \end{bmatrix} \qquad R^{T} = \begin{bmatrix} 2 \ 5 \ 8 \end{bmatrix}$$

A 1 × 3 row transposes into a 3 × 1 column. Flip it again and you are back to the row you started with. For more cases and the special matrices built from it, see transpose of a matrix.

What Properties Does A Row Matrix Have?

A row matrix carries a few defining features that follow straight from having one row:

  • One row, many columns. The row count is fixed at 1; the column count n can be anything from 1 upward.

  • Element count equals column count. A 1 × n row matrix holds exactly n entries, all in a single line.

  • Not a square matrix (except 1 × 1). Since rows and columns match only when n = 1, a row matrix is generally not a square matrix, so it has no determinant unless it is 1 × 1.

  • Its transpose is a column matrix. Flipping a 1 × n row gives an n × 1 column, and flipping back returns the row.

  • A 1 × 1 matrix is both. A single number in brackets is at once a row matrix and a column matrix, the one shape that belongs to both families.

A row matrix is also called a row vector, because a single line of numbers is exactly how we write a vector's components. That second name matters once the numbers start standing for something, which is where the real uses begin.

What Operations Can You Do With A Row Matrix?

Addition, subtraction, and scalar multiplication all work on a row matrix the same way they work on any matrix, with one condition for adding and subtracting: the two row matrices must have the same order.

Add or subtract by combining matching positions:

$$\begin{bmatrix} 2 & 5 & 1 \end{bmatrix} + \begin{bmatrix} 3 & 0 & 4 \end{bmatrix} = \begin{bmatrix} 5 & 5 & 5 \end{bmatrix}$$

A 1 × 3 row can only be added to another 1 × 3 row. Try to add a 1 × 3 to a 1 × 4 and the sum is undefined, because one line has a fourth number with nothing to pair against.

Scalar multiplication scales every entry by one number and leaves the order unchanged:

$$3\begin{bmatrix} 2 & -1 & 4 \end{bmatrix} = \begin{bmatrix} 6 & -3 & 12 \end{bmatrix}$$

Multiplication of one matrix by another is the operation with the real condition attached, so it gets its own section.

How Do You Multiply A Row Matrix?

To multiply a row matrix by another matrix, the number of columns in the row matrix must equal the number of rows in the second matrix. A 1 × n row matrix can multiply any matrix with n rows, and nothing else.

The simplest case is a row matrix times a column matrix. A 1 × n row times an n × 1 column gives a 1 × 1 result, a single number called a singleton matrix:

$$\begin{bmatrix} 1 & 2 & -1 \end{bmatrix} \begin{bmatrix} 3 \ 4 \ 1 \end{bmatrix} = \big[(1)(3) + (2)(4) + (-1)(1)\big] = \begin{bmatrix} 10 \end{bmatrix}$$

Most competitor pages stop there. A row matrix can do more. A 1 × n row times an n × p matrix produces a 1 × p row matrix, so the answer is itself a row.

Example 1: Multiply a row matrix by a 2 × 2 matrix.

Take the row matrix $\begin{bmatrix} 1 & 2 \end{bmatrix}$ (order 1 × 2) and the matrix $\begin{bmatrix} 3 & 5 \ 4 & 6 \end{bmatrix}$ (order 2 × 2). The inner numbers match (2 = 2), so the product exists and has order 1 × 2:

$$\begin{bmatrix} 1 & 2 \end{bmatrix} \begin{bmatrix} 3 & 5 \ 4 & 6 \end{bmatrix} = \begin{bmatrix} (1)(3) + (2)(4) & (1)(5) + (2)(6) \end{bmatrix} = \begin{bmatrix} 11 & 17 \end{bmatrix}$$

Final answer: $\begin{bmatrix} 11 & 17 \end{bmatrix}$, a row matrix again.

Reading the result as a row vector, it is a blend of the two rows of the second matrix, weighted by 1 and 2. That is exactly how a single record gets pushed through a table of coefficients, which is the job a row matrix does most often in the real world. For the full row-by-column method with any sizes, see multiplication of matrices.

Why Do We Give A Single Row Its Own Name?

Naming a shape as plain as one row can look like bookkeeping. It is not. A row matrix earns its name because a single line of numbers is the natural way to record one of something.

  • One record. A student's marks across five subjects, a day's high and low temperature, one product's price and weight, each is a single row of numbers, a 1 × n row matrix.

  • One point or one example. In geometry a point in n dimensions is a row of n coordinates; in machine learning one training example is a row of n features. The row is the unit.

  • The building block of a full table. Stack many row matrices and you get a full m × n matrix, so the row matrix is the row you were going to read anyway, lifted out on its own.

The moment a row stands for one record, multiplying it by a matrix stops being an exercise and becomes an action: it transforms that record into a new set of numbers. A row matrix is small, but it is the piece the larger machinery is built from. That is why every course on matrices and determinants names it early and keeps using it.

Who Invented Matrices And Named The Row Matrix?

The idea of arranging numbers in rows came thousands of years before anyone wrote the word "matrix." The word itself, and the algebra that made a single row worth naming, arrived in the nineteenth century from two friends working in England.

Two more names shaped the row matrix and the operations you can do with it:

  • Arthur Cayley (1821–1897, England), Sylvester's close friend and collaborator, defined how matrices add, multiply, and invert in his A Memoir on the Theory of Matrices (1858), turning a bookkeeping layout into a true algebra.

  • The unknown authors of The Nine Chapters on the Mathematical Art (China, roughly 200 BCE), who solved systems of equations by laying coefficients out in rows and columns of counting rods on a board, using single rows long before the words existed.

Where Is A Row Matrix Used In The Real World?

Read as a row vector, a single line of numbers runs quietly under a lot of everyday technology.

  • Spreadsheets and datasets: one record in a table, a single customer, a single day, a single sensor reading, is a row matrix, and a full dataset is many rows stacked together.

  • Machine learning: one input example is a 1 × n row of features, and multiplying it by a weight matrix of n rows is how a model turns that example into a prediction.

  • Computer graphics: in the row-vector convention, a point on screen is a row matrix, and multiplying it by a transformation matrix moves, rotates, or scales that point.

  • Colour on a screen: a single pixel's colour is a 1 × 3 row of red, green, and blue values.

  • Probability: one row of a stochastic matrix is a row matrix whose entries add to 1, describing where a system is likely to go next.

One small shape, a single row, shows up in tables, learning machines, graphics, and probability. Mathematics reuses its simplest pieces everywhere.

What Are The Most Common Row Matrix Mistakes?

Three errors cause most of the lost marks on this topic, confirmed against row-versus-column lessons on Study.com and CK-12 and O-Level and AP matrix-error guides.

Confusing a row matrix with a column matrix.

Where it slips in:

A student is asked for a row matrix and writes the numbers stacked vertically, or swaps the order to n × 1 out of habit.

Don't do this:

Do not treat a horizontal line and a vertical stack of the same numbers as the same object.

The correct way:

A row matrix runs horizontally with order 1 × n; a column matrix runs vertically with order n × 1. The transpose is what turns one into the other, so keep the direction and the order together.

Calling any small matrix a row matrix.

Where it slips in:

A 2 × 2 or a 2 × 3 gets labelled a row matrix because it looks small or because one of its rows is short.

Don't do this:

Do not count columns to decide. A short matrix is not the same as a single-row matrix.

The correct way:

Count rows. It is a row matrix only when there is exactly one row (m = 1), no matter how many columns follow. A 1 × 1 matrix counts as both a row and a column matrix; a 2 × n never counts as a row matrix.

Mismatching dimensions when multiplying.

Where it slips in:

A student multiplies a 1 × n row matrix by a matrix whose row count is not n, then writes an answer for a product that does not exist.

Don't do this:

Do not multiply a 1 × 3 row by a 2 × 2 matrix. The inner numbers (3 and 2) disagree, so there is no product.

The correct way:

Line the orders up first. For a 1 × n row matrix times an n × p matrix, the row's column count must equal the second matrix's row count; the result is a 1 × p row. Against an n × 1 column, the result is a 1 × 1 singleton.

Practice Problems On Row Matrices

Use $R = \begin{bmatrix} 3 & -1 & 4 \end{bmatrix}$ and $S = \begin{bmatrix} 2 & 5 & 1 \end{bmatrix}$ unless a problem says otherwise. Answers follow each line.

  1. State the order of $R$.
    (Answer: 1 × 3.)

  2. Find $R + S$.
    (Answer: $\begin{bmatrix} 5 & 4 & 5 \end{bmatrix}$.)

  3. Find $2R$.
    (Answer: $\begin{bmatrix} 6 & -2 & 8 \end{bmatrix}$.)

  4. Write the transpose $R^{T}$ and give its order.
    (Answer: $\begin{bmatrix} 3 \ -1 \ 4 \end{bmatrix}$, order 3 × 1.)

  5. Multiply $R$ by the column matrix $\begin{bmatrix} 1 \ 0 \ 2 \end{bmatrix}$.
    (Answer: $(3)(1) + (-1)(0) + (4)(2) = 11$, so $\begin{bmatrix} 11 \end{bmatrix}$.)

  6. Multiply the row matrix $\begin{bmatrix} 1 & 2 \end{bmatrix}$ by $\begin{bmatrix} 3 & 5 \ 4 & 6 \end{bmatrix}$.
    (Answer: $\begin{bmatrix} 11 & 17 \end{bmatrix}$.)

Where Should You Go Next After Row Matrices?

A row matrix is the smallest doorway into matrices, and a few natural paths open from it.

  1. Column matrix. Meet the vertical mirror image, the shape every row matrix becomes under a transpose.

  2. Order of a matrix. See how 1 × n fits inside the general m × n way of naming and sizing every matrix.

  3. Multiplication of matrices. Take the row-by-column method all the way to full-size matrices of any shape.

If your child is building these foundations, a live Bhanzu trainer teaches matrix shapes starting from what each one stands for, not just its definition, in the Bhanzu algebra program.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is a row matrix?
A row matrix is a matrix with exactly one row and any number of columns, giving it order 1 × n. An example is $\begin{bmatrix} 4 & 0 & 7 \end{bmatrix}$, a 1 × 3 row matrix.
What is the order of a row matrix?
Always 1 × n, where n is the number of columns.
Is a row matrix the same as a row vector?
Yes. When the entries stand for the components of a vector, the 1 × n row matrix is called a row vector; the object is identical, only the reading changes.
Can you multiply two row matrices together?
No, not in general. Two 1 × n row matrices cannot be multiplied because the first one's column count would have to equal the second one's row count, and the second has only one row. Multiply a row matrix by a column matrix or by an n-row matrix instead.
What is the transpose of a row matrix?
The transpose of a 1 × n row matrix is an n × 1 column matrix with the same entries, turned from horizontal to vertical.
Which curricula teach the row matrix?
The row matrix appears when matrices are first classified: in India under NCERT Class 12 (Chapter 3, Matrices) and in the United States under the Common Core high-school standards N-VM. It then recurs throughout linear algebra at university level.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →