Tutorials › Linear Algebra › Coordinate Notation and Vector Equality

Vectors and Linear Combinations · Tutorial 112 of 1000

Coordinate Notation and Vector Equality

Use coordinate notation precisely and test vector equality by matching entries in the same positions.

Beginner 8 min read

What You'll Learn

  • Read a vector in \(\mathbb{R}^n\) as an ordered list of exactly \(n\) real coordinates.
  • Match coordinate indices when comparing two vectors.
  • State and apply the coordinate criterion for vector equality.
  • Distinguish vectors with the same entries in different orders.
  • Recognize why vectors from different-dimensional spaces are not equal.
  • Check equality claims involving unknown coordinates.

Reading a Vector by Its Coordinates

A vector in \(\mathbb{R}^n\) is specified by \(n\) real coordinates in a fixed order. The order matters: the first coordinate, second coordinate, and later coordinates occupy distinct positions. Coordinate notation lets us describe those positions precisely and decide whether two vectors represent the same vector. The key test is direct: compare entries at matching positions, not merely the collections of numbers that appear.

Throughout this tutorial, scalars are real numbers. We write vectors as columns, with bold lowercase letters, and use subscripts to identify their coordinates. For example, the vector \(\mathbf{x}\) in \(\mathbb{R}^3\) may be written as \(\mathbf{x}=(x_1,x_2,x_3)^{\top}\), or as the column below. The subscript \(i\) indicates the position of a coordinate, and \(x_i\) names the real number in that position.

$$ \mathbf{x} = \begin{bmatrix} x_1\\ x_2\\ x_3 \end{bmatrix} \in\mathbb{R}^3 $$

The notation \((x_1,x_2,x_3)^{\top}\) means that the listed coordinates are written as a column. It does not mean that the coordinates are rearranged. For a general positive integer \(n\), the same convention is

$$ \mathbf{x} = \begin{bmatrix} x_1\\ x_2\\ \vdots\\ x_n \end{bmatrix} = (x_1,x_2,\dots,x_n)^{\top} \in\mathbb{R}^n, \qquad x_i\in\mathbb{R}\ \text{for }1\le i\le n. $$

The number of coordinates is part of the notation: a vector in \(\mathbb{R}^n\) has exactly \(n\) entries. The index \(i\) ranges from \(1\) through \(n\), so there is no coordinate numbered \(0\) and no coordinate numbered \(n+1\). Coordinate notation describes an ordered list, not an unordered set. For instance, \((2,5)^{\top}\) and \((5,2)^{\top}\) have the same two numbers but put them in different positions.

Definition: If \(\mathbf{x}=(x_1,\dots,x_n)^{\top}\in\mathbb{R}^n\), then \(x_i\) is the \(i\)th coordinate of \(\mathbf{x}\). Two vectors in the same space \(\mathbb{R}^n\) are equal when they have the same coordinate in every position.

The Coordinate Criterion for Equality

To compare two vectors in \(\mathbb{R}^n\), write both using the same number of coordinates and compare position by position. The first coordinate of one must match the first coordinate of the other, the second must match the second, and so on through coordinate \(n\). Equality in one or several positions is not enough: every position must match.

Theorem (Coordinate criterion for vector equality): Let \(\mathbf{x}=(x_1,\dots,x_n)^{\top}\) and \(\mathbf{y}=(y_1,\dots,y_n)^{\top}\) be vectors in \(\mathbb{R}^n\). Then \(\mathbf{x}=\mathbf{y}\) if and only if \(x_i=y_i\) for every integer \(i\) with \(1\le i\le n\).

Proof. Suppose first that \(\mathbf{x}=\mathbf{y}\). Both vectors are ordered \(n\)-tuples of real numbers. Equality of ordered tuples means that their entries in each corresponding position agree. Therefore \(x_i=y_i\) for each \(i=1,\dots,n\). Conversely, suppose \(x_i=y_i\) for every \(i\) from \(1\) through \(n\). Then the two ordered lists have equal first entries, equal second entries, and equal entries in every remaining position up to \(n\). They are the same ordered \(n\)-tuple, so \(\mathbf{x}=\mathbf{y}\). Both implications hold, proving the equivalence. \(\square\)

The phrase “if and only if” matters here. Matching all coordinates guarantees equality, and equality guarantees that all corresponding coordinates match. A useful way to apply the result is to treat a proposed vector equality as a list of scalar equalities. Each coordinate supplies one condition; the original vector equality holds exactly when all of those conditions hold.

Worked Example: Comparing Two Vectors in \(\mathbb{R}^3\)

Determine whether \(\mathbf{x}=\begin{bmatrix}4\\-2\\7\end{bmatrix}\) and \(\mathbf{y}=\begin{bmatrix}4\\-2\\7\end{bmatrix}\) are equal.

Both vectors have three coordinates, so compare the entries in each corresponding position:

$$ x_1=4=y_1,\qquad x_2=-2=y_2,\qquad x_3=7=y_3. $$

All three coordinate equalities hold. By the coordinate criterion, \(\mathbf{x}=\mathbf{y}\).

Check: Writing the coordinates as ordered triples gives \(\mathbf{x}=(4,-2,7)^{\top}\) and \(\mathbf{y}=(4,-2,7)^{\top}\). Each position contains the same real number, so the vectors are equal.

Worked Example: A Matching List of Numbers Is Not Enough

Decide whether \(\mathbf{u}=\begin{bmatrix}1\\5\\2\end{bmatrix}\) and \(\mathbf{v}=\begin{bmatrix}1\\2\\5\end{bmatrix}\) are equal.

Compare the three corresponding positions. In the first position, \(u_1=1=v_1\). In the second position, \(u_2=5\) while \(v_2=2\), so \(u_2\ne v_2\). In the third position, \(u_3=2\) while \(v_3=5\), so \(u_3\ne v_3\). Since the second and third coordinates do not match, the coordinate criterion gives \(\mathbf{u}\ne\mathbf{v}\).

Check: The entries of both vectors, considered without their positions, are \(1\), \(2\), and \(5\). But vector coordinates are ordered. The ordered triples \((1,5,2)\) and \((1,2,5)\) differ, so the vectors are not equal.

Equality with Unknown Coordinates

Sometimes a vector equality is given with one or more unknown coordinates. The same criterion turns the equality into scalar conditions. Match each coordinate separately, solve the resulting conditions, and then check that the resulting vector has all the required coordinates. A single mismatch disproves equality; every position must be accounted for.

Worked Example: Determining Unknown Coordinates

Find \(a\) and \(b\) so that \(\begin{bmatrix}a\\3\\b\end{bmatrix}=\begin{bmatrix}-4\\3\\6\end{bmatrix}\).

The vectors are both in \(\mathbb{R}^3\). Matching their first coordinates gives \(a=-4\). Matching their second coordinates gives \(3=3\), which is already satisfied and places no further condition on \(a\) or \(b\). Matching their third coordinates gives \(b=6\). Thus the only values that make all three coordinates agree are \(a=-4\) and \(b=6\).

Check: Substitute both values into the left-hand vector:

$$ \begin{bmatrix} a\\3\\b \end{bmatrix} = \begin{bmatrix} -4\\3\\6 \end{bmatrix} = \begin{bmatrix} -4\\3\\6 \end{bmatrix}. $$

Each coordinate now agrees with the corresponding coordinate on the right, confirming the equality.

Coordinate matching also applies when a condition involves a parameter. It is important not to stop after checking one coordinate: every coordinate contributes a condition, and the values must satisfy all of them at once.

Worked Example: Testing Equality for a Parameter

For which real values of \(t\) are \(\begin{bmatrix}t+1\\2t\\-3\end{bmatrix}\) and \(\begin{bmatrix}4\\6\\-3\end{bmatrix}\) equal?

Match the first coordinates to obtain \(t+1=4\), so \(t=3\). Match the second coordinates to obtain \(2t=6\), which also gives \(t=3\). The third coordinates already agree because both are \(-3\). Thus the first two coordinate conditions agree on \(t=3\), and the third condition is satisfied for every \(t\).

Check: Substitute \(t=3\) into every coordinate of the first vector:

$$ \begin{bmatrix} t+1\\2t\\-3 \end{bmatrix} = \begin{bmatrix} 3+1\\2(3)\\-3 \end{bmatrix} = \begin{bmatrix} 4\\6\\-3 \end{bmatrix}. $$

This is the second vector, so \(t=3\) works. There are no other solutions because the first coordinate condition \(t+1=4\) already forces \(t=3\).

The Ambient Space and Vector Equality

Before comparing coordinates, check that the vectors are being treated as elements of the same space. A vector in \(\mathbb{R}^2\) has two real coordinates, whereas a vector in \(\mathbb{R}^3\) has three. Under the ordered-tuple convention, the vectors have different lengths and are not equal. In particular, one cannot establish vector equality by matching only the entries that happen to be present in both.

Proposition: If \(m\ne n\), an element of \(\mathbb{R}^m\) is not equal to an element of \(\mathbb{R}^n\), when vectors are represented as ordered tuples of their coordinates.

Proof. An element of \(\mathbb{R}^m\) is an ordered tuple with exactly \(m\) real entries, while an element of \(\mathbb{R}^n\) is an ordered tuple with exactly \(n\) real entries. Equal ordered tuples must have the same number of entries, as well as equal entries in every position. Since \(m\ne n\), these tuples have different numbers of entries and therefore cannot be equal. \(\square\)

Worked Example: Different Numbers of Coordinates

Can \(\begin{bmatrix}2\\-1\end{bmatrix}\in\mathbb{R}^2\) equal \(\begin{bmatrix}2\\-1\\0\end{bmatrix}\in\mathbb{R}^3\)?

The first vector has two coordinates, and the second has three. They belong to different-dimensional spaces, so they are not equal as ordered tuples. Although the first two entries match, there is no third coordinate in the first vector to match the third coordinate of the second.

Check: The coordinate criterion compares vectors in a common \(\mathbb{R}^n\) and requires equality at every index from \(1\) to \(n\). Here the lengths differ, so there is no common index range covering equal-length coordinate lists. The vectors are not equal.

Equality Behaves Like Equality of Real Numbers

Once two vectors are understood coordinate by coordinate, the familiar properties of equality follow from the corresponding properties of real-number equality. These properties are useful when reading equations involving vectors: a vector is equal to itself, equality can be reversed, and equalities can be linked in a chain.

Theorem: For vectors in \(\mathbb{R}^n\), equality is reflexive, symmetric, and transitive. That is, \(\mathbf{x}=\mathbf{x}\); if \(\mathbf{x}=\mathbf{y}\), then \(\mathbf{y}=\mathbf{x}\); and if \(\mathbf{x}=\mathbf{y}\) and \(\mathbf{y}=\mathbf{z}\), then \(\mathbf{x}=\mathbf{z}\).

Proof. Write \(\mathbf{x}=(x_1,\dots,x_n)^{\top}\), \(\mathbf{y}=(y_1,\dots,y_n)^{\top}\), and \(\mathbf{z}=(z_1,\dots,z_n)^{\top}\) in \(\mathbb{R}^n\). For reflexivity, each real coordinate satisfies \(x_i=x_i\); the coordinate criterion therefore gives \(\mathbf{x}=\mathbf{x}\). For symmetry, if \(\mathbf{x}=\mathbf{y}\), then \(x_i=y_i\) for every \(i\). Symmetry of real-number equality gives \(y_i=x_i\) for every \(i\), so the coordinate criterion gives \(\mathbf{y}=\mathbf{x}\). For transitivity, suppose \(\mathbf{x}=\mathbf{y}\) and \(\mathbf{y}=\mathbf{z}\). Then for every \(i\), \(x_i=y_i\) and \(y_i=z_i\). Transitivity of real-number equality gives \(x_i=z_i\) for every \(i\), and the coordinate criterion gives \(\mathbf{x}=\mathbf{z}\). \(\square\)

Common Mistakes and a Reliable Check

Comparing entries without respecting their positions is a common error. For example, consider the false claim that \(\begin{bmatrix}3\\8\end{bmatrix}=\begin{bmatrix}8\\3\end{bmatrix}\) because both vectors contain the numbers \(3\) and \(8\). The first coordinates are \(3\) and \(8\), so they are unequal. The second coordinates are \(8\) and \(3\), so they are also unequal. The correction is to compare corresponding positions, not to ask whether the same numbers appear somewhere in each vector.

Another mistake is to check only the first coordinate of two vectors and assume the rest must follow. For instance, the first coordinates of \(\begin{bmatrix}1\\0\\4\end{bmatrix}\) and \(\begin{bmatrix}1\\0\\5\end{bmatrix}\) agree, as do their second coordinates, but the third coordinates \(4\) and \(5\) do not. The vectors are therefore not equal. A valid equality check must reach the final coordinate.

Use this short procedure when deciding whether two coordinate expressions are equal:

  1. Check that both expressions represent vectors with the same number of coordinates.
  2. Write or read each coordinate in its position, from first through last.
  3. Compare the first coordinates, then the second, continuing through coordinate \(n\).
  4. Conclude equality only if every coordinate pair agrees; one unequal pair is enough to conclude the vectors are not equal.

This procedure is deliberately limited to equality. It depends on interpreting coordinates accurately and keeping their order fixed; it does not require any vector calculation. When a coordinate contains an unknown, the same position-by-position comparison produces the scalar conditions that the unknowns must satisfy.

Check Your Understanding

Use the coordinate criterion in each question. Keep the coordinate positions visible as you compare.

  1. Are \(\begin{bmatrix}0\\-3\\2\end{bmatrix}\) and \(\begin{bmatrix}0\\-3\\2\end{bmatrix}\) equal? State the coordinate comparisons that justify your answer.
  2. Are \(\begin{bmatrix}4\\1\\-2\end{bmatrix}\) and \(\begin{bmatrix}4\\-2\\1\end{bmatrix}\) equal? Identify the first coordinate position where they differ.
  3. Find \(a\) and \(b\) so that \(\begin{bmatrix}5\\a\\-1\\b\end{bmatrix}=\begin{bmatrix}5\\7\\-1\\0\end{bmatrix}\).
  4. For which real \(t\) does \(\begin{bmatrix}t\\t+2\end{bmatrix}=\begin{bmatrix}3\\5\end{bmatrix}\)? Check both coordinates.
  5. Can an element of \(\mathbb{R}^3\) equal an element of \(\mathbb{R}^4\) under the ordered-tuple convention? Explain using the number of coordinates.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon