Vector notation

Last updated
Vector notation
Vector from A to B.svg
Vector arrow
Pointing from A to B
Vector components.svg
Vector components
Describing an arrow vector v by its coordinates x and y yields an isomorphism of vector spaces.
Dot Product.svg
Scalar product
Two equal-length sequences of coordinate vectors and returns a single number
Cross product vector.svg
Vector product
The cross-product in respect to a right-handed coordinate system

In mathematics and physics, vector notation is a commonly used notation for representing vectors, [1] [2] which may be Euclidean vectors, or more generally, members of a vector space.

Contents

For representing a vector, the common typographic convention is lower case, upright boldface type, as in v. The International Organization for Standardization (ISO) recommends either bold italic serif, as in v, or non-bold italic serif accented by a right arrow, as in . [3]

In advanced mathematics, vectors are often represented in a simple italic type, like any variable.[ citation needed ]

History

In 1835 Giusto Bellavitis introduced the idea of equipollent directed line segments which resulted in the concept of a vector as an equivalence class of such segments.

The term vector was coined by W. R. Hamilton around 1843, as he revealed quaternions, a system which uses vectors and scalars to span a four-dimensional space. For a quaternion q = a + bi + cj + dk, Hamilton used two projections: Sq = a, for the scalar part of q, and Vq = bi + cj + dk, the vector part. Using the modern terms cross product (×) and dot product (.), the quaternion product of two vectors p and q can be written pq = –p.q + p×q. In 1878, W. K. Clifford severed the two products to make the quaternion operation useful for students in his textbook Elements of Dynamic . Lecturing at Yale University, Josiah Willard Gibbs supplied notation for the scalar product and vector products, which was introduced in Vector Analysis . [4]

In 1891, Oliver Heaviside argued for Clarendon to distinguish vectors from scalars. He criticized the use of Greek letters by Tait and Gothic letters by Maxwell. [5]

In 1912, J.B. Shaw contributed his "Comparative Notation for Vector Expressions" to the Bulletin of the Quaternion Society. [6] Subsequently, Alexander Macfarlane described 15 criteria for clear expression with vectors in the same publication. [7]

Vector ideas were advanced by Hermann Grassmann in 1841, and again in 1862 in the German language. But German mathematicians were not taken with quaternions as much as were English-speaking mathematicians. When Felix Klein was organizing the German mathematical encyclopedia, he assigned Arnold Sommerfeld to standardize vector notation. [8] In 1950, when Academic Press published G. Kuerti’s translation of the second edition of volume 2 of Lectures on Theoretical Physics by Sommerfeld, vector notation was the subject of a footnote: "In the original German text, vectors and their components are printed in the same Gothic types. The more usual way of making a typographical distinction between the two has been adopted for this translation." [9]

Rectangular coordinates

Rectangle Rectangle Geometry Vector.svg
Rectangle
Rectangular cuboid Cuboid simple.svg
Rectangular cuboid

Given a Cartesian coordinate system, a vector may be specified by its Cartesian coordinates.

Tuple notation

A vector in can be specified using a tuple (ordered list) of coordinates, enclosed in either parentheses or angle brackets.

In a general sense, an n-dimensional vector v can be specified in either of the following forms:

Where v1, v2, …, vn  1, vn are the components of v. [11]

Matrix notation

A vector in can also be specified as a row or column matrix containing the ordered set of components. A vector specified as a row matrix is known as a row vector; one specified as a column matrix is known as a column vector.

Again, an n-dimensional vector can be specified in either of the following forms using matrices:

where v1, v2, …, vn  1, vn are the components of v. In some advanced contexts, a row and a column vector have different meaning; see covariance and contravariance of vectors for more.

Unit vector notation

A vector in (or fewer dimensions, such as where vz below is zero) can be specified as the sum of the scalar multiples of the components of the vector with the members of the standard basis in . The basis is represented with the unit vectors , , and .

A three-dimensional vector can be specified in the following form, using unit vector notation:

where vx, vy, and vz are the scalar components of v. Scalar components may be positive or negative; the absolute value of a scalar component is its magnitude.

Polar coordinates

Points in the polar coordinate system with pole O and polar axis L. In green, the point with radial coordinate 3 and angular coordinate 60 degrees, or (3,60deg). In blue, the point (4,210deg). CircularCoordinates.svg
Points in the polar coordinate system with pole O and polar axis L. In green, the point with radial coordinate 3 and angular coordinate 60 degrees, or (3,60°). In blue, the point (4,210°).

The two polar coordinates of a point in a plane may be considered as a two dimensional vector. Such a vector consists of a magnitude (or length) and a direction (or angle). The magnitude, typically represented as r, is the distance from a starting point, the origin, to the point which is represented. The angle, typically represented as θ (the Greek letter theta), is the angle, usually measured counter­clockwise, between a fixed direction, typically that of the positive x-axis, and the direction from the origin to the point. The angle is typically reduced to lie within the range radians or .

Ordered set and matrix notations

Vectors can be specified using either ordered pair notation (a subset of ordered set notation using only two components), or matrix notation, as with rectangular coordinates. In these forms, the first component of the vector is r (instead of v1), and the second component is θ (instead of v2). To differentiate polar coordinates from rectangular coordinates, the angle may be prefixed with the angle symbol, .

Two-dimensional polar coordinates for v can be represented as any of the following, using either ordered pair or matrix notation:

where r is the magnitude, θ is the angle, and the angle symbol () is optional.

Direct notation

Vectors can also be specified using simplified autonomous equations that define r and θ explicitly. This can be unwieldy, but is useful for avoiding the confusion with two-dimensional rectangular vectors that arises from using ordered pair or matrix notation.

A two-dimensional vector whose magnitude is 5 units, and whose direction is π/9 radians (20°), can be specified using either of the following forms:

Cylindrical vectors

A cylindrical coordinate system with origin O, polar axis A, and longitudinal axis L. The dot is the point with radial distance r = 4, angular coordinate ph = 130deg, and height z = 4. Coord system CY 1.svg
A cylindrical coordinate system with origin O, polar axis A, and longitudinal axis L. The dot is the point with radial distance ρ = 4, angular coordinate φ = 130°, and height z = 4.

A cylindrical vector is an extension of the concept of polar coordinates into three dimensions. It is akin to an arrow in the cylindrical coordinate system. A cylindrical vector is specified by a distance in the xy-plane, an angle, and a distance from the xy-plane (a height). The first distance, usually represented as r or ρ (the Greek letter rho), is the magnitude of the projection of the vector onto the xy-plane. The angle, usually represented as θ or φ (the Greek letter phi), is measured as the offset from the line collinear with the x-axis in the positive direction; the angle is typically reduced to lie within the range . The second distance, usually represented as h or z, is the distance from the xy-plane to the endpoint of the vector.

Ordered set and matrix notations

Cylindrical vectors use polar coordinates, where the second distance component is concatenated as a third component to form ordered triplets (again, a subset of ordered set notation) and matrices. The angle may be prefixed with the angle symbol (); the distance-angle-distance combination distinguishes cylindrical vectors in this notation from spherical vectors in similar notation.

A three-dimensional cylindrical vector v can be represented as any of the following, using either ordered triplet or matrix notation:

Where r is the magnitude of the projection of v onto the xy-plane, θ is the angle between the positive x-axis and v, and h is the height from the xy-plane to the endpoint of v. Again, the angle symbol () is optional.

Direct notation

A cylindrical vector can also be specified directly, using simplified autonomous equations that define r (or ρ), θ (or φ), and h (or z). Consistency should be used when choosing the names to use for the variables; ρ should not be mixed with θ and so on.

A three-dimensional vector, the magnitude of whose projection onto the xy-plane is 5 units, whose angle from the positive x-axis is π/9 radians (20°), and whose height from the xy-plane is 3 units can be specified in any of the following forms:

Spherical vectors

Spherical coordinates (r, th, ph) as often used in mathematics: radial distance r, azimuthal angle th, and polar angle ph. The meanings of th and ph have been swapped compared to the physics convention. 3D Spherical 2.svg
Spherical coordinates (r, θ, φ) as often used in mathematics: radial distance r, azimuthal angle θ, and polar angle φ. The meanings of θ and φ have been swapped compared to the physics convention.

A spherical vector is another method for extending the concept of polar vectors into three dimensions. It is akin to an arrow in the spherical coordinate system. A spherical vector is specified by a magnitude, an azimuth angle, and a zenith angle. The magnitude is usually represented as ρ. The azimuth angle, usually represented as θ, is the (counter­clockwise) offset from the positive x-axis. The zenith angle, usually represented as φ, is the offset from the positive z-axis. Both angles are typically reduced to lie within the range from zero (inclusive) to 2π (exclusive).

Ordered set and matrix notations

Spherical vectors are specified like polar vectors, where the zenith angle is concatenated as a third component to form ordered triplets and matrices. The azimuth and zenith angles may be both prefixed with the angle symbol (); the prefix should be used consistently to produce the distance-angle-angle combination that distinguishes spherical vectors from cylindrical ones.

A three-dimensional spherical vector v can be represented as any of the following, using either ordered triplet or matrix notation:

Where ρ is the magnitude, θ is the azimuth angle, and φ is the zenith angle.

Direct notation

Like polar and cylindrical vectors, spherical vectors can be specified using simplified autonomous equations, in this case for ρ, θ, and φ.

A three-dimensional vector whose magnitude is 5 units, whose azimuth angle is π/9 radians (20°), and whose zenith angle is π/4 radians (45°) can be specified as:

Operations

In any given vector space, the operations of vector addition and scalar multiplication are defined. Normed vector spaces also define an operation known as the norm (or determination of magnitude). Inner product spaces also define an operation known as the inner product. In , the inner product is known as the dot product. In and , an additional operation known as the cross product is also defined.

Vector addition

Vector addition is represented with the plus sign used as an operator between two vectors. The sum of two vectors u and v would be represented as:

Scalar multiplication

Scalar multiplication is represented in the same manners as algebraic multiplication. A scalar beside a vector (either or both of which may be in parentheses) implies scalar multiplication. The two common operators, a dot and a rotated cross, are also acceptable (although the rotated cross is almost never used), but they risk confusion with dot products and cross products, which operate on two vectors. The product of a scalar k with a vector v can be represented in any of the following fashions:

Vector subtraction and scalar division

Using the algebraic properties of subtraction and division, along with scalar multiplication, it is also possible to “subtract” two vectors and “divide” a vector by a scalar.

Vector subtraction is performed by adding the scalar multiple of −1 with the second vector operand to the first vector operand. This can be represented by the use of the minus sign as an operator. The difference between two vectors u and v can be represented in either of the following fashions:

Scalar division is performed by multiplying the vector operand with the numeric inverse of the scalar operand. This can be represented by the use of the fraction bar or division signs as operators. The quotient of a vector v and a scalar c can be represented in any of the following forms:

Norm

The norm of a vector is represented with double bars on both sides of the vector. The norm of a vector v can be represented as:

The norm is also sometimes represented with single bars, like , but this can be confused with absolute value (which is a type of norm).

Inner product

The inner product of two vectors (also known as the scalar product, not to be confused with scalar multiplication) is represented as an ordered pair enclosed in angle brackets. The inner product of two vectors u and v would be represented as:

Dot product

In , the inner product is also known as the dot product. In addition to the standard inner product notation, the dot product notation (using the dot as an operator) can also be used (and is more common). The dot product of two vectors u and v can be represented as:

In some older literature, the dot product is implied between two vectors written side-by-side. This notation can be confused with the dyadic product between two vectors.

Cross product

The cross product of two vectors (in ) is represented using the rotated cross as an operator. The cross product of two vectors u and v would be represented as:

By some conventions (e.g. in France and in some areas of higher mathematics), this is also denoted by a wedge, [12] which avoids confusion with the wedge product since the two are functionally equivalent in three dimensions:

In some older literature, the following notation is used for the cross product between u and v:

Nabla

Vector notation is used with calculus through the Nabla operator:

With a scalar function f, the gradient is written as

with a vector field, F the divergence is written as

and with a vector field, F the curl is written as

See also

Related Research Articles

<span class="mw-page-title-main">Divergence</span> Vector operator in vector calculus

In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the quantity of the vector field's source at each point. More technically, the divergence represents the volume density of the outward flux of a vector field from an infinitesimal volume around a given point.

<span class="mw-page-title-main">Gradient</span> Multivariate derivative (mathematics)

In vector calculus, the gradient of a scalar-valued differentiable function of several variables is the vector field whose value at a point gives the direction and the rate of fastest increase. The gradient transforms like a vector under change of basis of the space of variables of . If the gradient of a function is non-zero at a point , the direction of the gradient is the direction in which the function increases most quickly from , and the magnitude of the gradient is the rate of increase in that direction, the greatest absolute directional derivative. Further, a point where the gradient is the zero vector is known as a stationary point. The gradient thus plays a fundamental role in optimization theory, where it is used to minimize a function by gradient descent. In coordinate-free terms, the gradient of a function may be defined by:

<span class="mw-page-title-main">Lorentz transformation</span> Family of linear transformations

In physics, the Lorentz transformations are a six-parameter family of linear transformations from a coordinate frame in spacetime to another frame that moves at a constant velocity relative to the former. The respective inverse transformation is then parameterized by the negative of this velocity. The transformations are named after the Dutch physicist Hendrik Lorentz.

<span class="mw-page-title-main">Spherical coordinate system</span> 3-dimensional coordinate system

In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a given point in space is specified by three numbers, : the radial distance of the radial liner connecting the point to the fixed point of origin ; the polar angle θ of the radial line r; and the azimuthal angle φ of the radial line r.

<span class="mw-page-title-main">Euclidean vector</span> Geometric object that has length and direction

In mathematics, physics, and engineering, a Euclidean vector or simply a vector is a geometric object that has magnitude and direction. Vectors can be added to other vectors according to vector algebra. A Euclidean vector is frequently represented by a directed line segment, or graphically as an arrow connecting an initial pointA with a terminal pointB, and denoted by

<span class="mw-page-title-main">Cross product</span> Mathematical operation on vectors in 3D space

In mathematics, the cross product or vector product is a binary operation on two vectors in a three-dimensional oriented Euclidean vector space, and is denoted by the symbol . Given two linearly independent vectors a and b, the cross product, a × b, is a vector that is perpendicular to both a and b, and thus normal to the plane containing them. It has many applications in mathematics, physics, engineering, and computer programming. It should not be confused with the dot product.

In mathematics, the dot product or scalar product is an algebraic operation that takes two equal-length sequences of numbers, and returns a single number. In Euclidean geometry, the dot product of the Cartesian coordinates of two vectors is widely used. It is often called the inner product of Euclidean space, even though it is not the only inner product that can be defined on Euclidean space.

<span class="mw-page-title-main">Unit vector</span> Vector of length one

In mathematics, a unit vector in a normed vector space is a vector of length 1. A unit vector is often denoted by a lowercase letter with a circumflex, or "hat", as in .

In mechanics and geometry, the 3D rotation group, often denoted SO(3), is the group of all rotations about the origin of three-dimensional Euclidean space under the operation of composition.

In mathematics, the Laplace operator or Laplacian is a differential operator given by the divergence of the gradient of a scalar function on Euclidean space. It is usually denoted by the symbols , (where is the nabla operator), or . In a Cartesian coordinate system, the Laplacian is given by the sum of second partial derivatives of the function with respect to each independent variable. In other coordinate systems, such as cylindrical and spherical coordinates, the Laplacian also has a useful form. Informally, the Laplacian Δf (p) of a function f at a point p measures by how much the average value of f over small spheres or balls centered at p deviates from f (p).

Unit quaternions, known as versors, provide a convenient mathematical notation for representing spatial orientations and rotations of elements in three dimensional space. Specifically, they encode information about an axis-angle rotation about an arbitrary axis. Rotation and orientation quaternions have applications in computer graphics, computer vision, robotics, navigation, molecular dynamics, flight dynamics, orbital mechanics of satellites, and crystallographic texture analysis.

In vector calculus, the Jacobian matrix of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. When this matrix is square, that is, when the function takes the same number of variables as input as the number of vector components of its output, its determinant is referred to as the Jacobian determinant. Both the matrix and the determinant are often referred to simply as the Jacobian in literature.

<span class="mw-page-title-main">Rotation (mathematics)</span> Motion of a certain space that preserves at least one point

Rotation in mathematics is a concept originating in geometry. Any rotation is a motion of a certain space that preserves at least one point. It can describe, for example, the motion of a rigid body around a fixed point. Rotation can have a sign (as in the sign of an angle): a clockwise rotation is a negative magnitude so a counterclockwise turn has a positive magnitude. A rotation is different from other types of motions: translations, which have no fixed points, and (hyperplane) reflections, each of them having an entire (n − 1)-dimensional flat of fixed points in a n-dimensional space.

<span class="mw-page-title-main">Bloch sphere</span> Geometrical representation of the pure state space of a two-level quantum mechanical system

In quantum mechanics and computing, the Bloch sphere is a geometrical representation of the pure state space of a two-level quantum mechanical system (qubit), named after the physicist Felix Bloch.

This is a list of some vector calculus formulae for working with common curvilinear coordinate systems.

<span class="mw-page-title-main">Vector fields in cylindrical and spherical coordinates</span> Vector field representation in 3D curvilinear coordinate systems

Note: This page uses common physics notation for spherical coordinates, in which is the angle between the z axis and the radius vector connecting the origin to the point in question, while is the angle between the projection of the radius vector onto the x-y plane and the x axis. Several other definitions are in use, and so care must be taken in comparing different sources.

In linear algebra, a rotation matrix is a transformation matrix that is used to perform a rotation in Euclidean space. For example, using the convention below, the matrix

In the theory of three-dimensional rotation, Rodrigues' rotation formula, named after Olinde Rodrigues, is an efficient algorithm for rotating a vector in space, given an axis and angle of rotation. By extension, this can be used to transform all three basis vectors to compute a rotation matrix in SO(3), the group of all rotation matrices, from an axis–angle representation. In terms of Lie theory, the Rodrigues' formula provides an algorithm to compute the exponential map from the Lie algebra so(3) to its Lie group SO(3).

Spatial rotations in three dimensions can be parametrized using both Euler angles and unit quaternions. This article explains how to convert between the two representations. Actually this simple use of "quaternions" was first presented by Euler some seventy years earlier than Hamilton to solve the problem of magic squares. For this reason the dynamics community commonly refers to quaternions in this application as "Euler parameters".

In geometry, various formalisms exist to express a rotation in three dimensions as a mathematical transformation. In physics, this concept is applied to classical mechanics where rotational kinematics is the science of quantitative description of a purely rotational motion. The orientation of an object at a given instant is described with the same tools, as it is defined as an imaginary rotation from a reference placement in space, rather than an actually observed rotation from a previous placement in space.

References

  1. Principles and Applications of Mathematics for Communications-electronics. 1992. p. 123.
  2. Coffin, Joseph George (1911). Vector Analysis. J. Wiley & sons.
  3. "ISO 80000-2:2019 Quantities and units — Part 2: Mathematics". International Organization for Standardization. August 2019.
  4. Edwin Bidwell Wilson (1901) Vector Analysis, based on the Lectures of J. W. Gibbs at Internet Archive
  5. Oliver Heaviside, The Electrical Journal, Volume 28. James Gray, 1891. 109 (alt)
  6. J.B. Shaw (1912) Comparative Notation for Vector Expressions, Bulletin of the Quaternion Society via Hathi Trust.
  7. Alexander Macfarlane (1912) A System of Notation for Vector-Analysis; with a Discussion of the Underlying Principles from Bulletin of the Quaternion Society
  8. Karin Reich (1995) Die Rolle Arnold Sommerfeld bei der Diskussion um die Vektorrechnung
  9. Mechanics of Deformable Bodies , p. 10, at Google Books
  10. Wright, Richard. "Precalculus 6-03 Vectors". www.andrews.edu. Retrieved 2023-07-25.
  11. Weisstein, Eric W. "Vector". mathworld.wolfram.com. Retrieved 2020-08-19.
  12. Cajori, Florian (2011). A History of Mathematical Notations. Dover Publications. p. 134 (Vol. 2). ISBN   9780486161167.