math

dot product

dot product — from formula anatomy
6 formulas

Description

The dot product, also known as the scalar product, is an algebraic operation that takes two equal-length sequences of numbers (usually vectors) and returns a single number. It is defined as the sum of the products of the corresponding entries. Geometrically, it equals the product of the magnitudes of the two vectors and the cosine of the angle between them. This makes it a fundamental tool for measuring the alignment of vectors.

History

The dot product was formalized in the 19th century by mathematicians like Hermann Grassmann and Josiah Willard Gibbs, who developed vector calculus.

How it works

Given two vectors a = (a1, a2, ..., an) and b = (b1, b2, ..., bn), the dot product is a1*b1 + a2*b2 + ... + an*bn. If the vectors are perpendicular, the dot product is zero; if they point in the same direction, it is positive and equals the product of their lengths. This property is used to project one vector onto another and to determine angles in multi-dimensional spaces.

In practice

It is used everywhere in physics and engineering, from computing work done by a force (force dot displacement) to machine learning algorithms for similarity measures.

Fun fact

In quantum mechanics, the dot product of state vectors gives the probability amplitude for transitions between states.

Concept graph →

Formulas

$$\rho_{\rm GJ} = -\frac{\mathbf{\Omega} \cdot \mathbf{B}}{2\pi c}$$
Charge density required to screen electric field in pulsar magnetosphere.
What is in the formula
\rho_{\rm GJ}variableGoldreich-Julian charge density — charge density coulomb per cubic metre
\mathbf{\Omega}variableAngular velocity vector of the neutron star — angular velocity radian per second
\mathbf{B}variableMagnetic field vector — magnetic field tesla
cconstantUniversal constant, speed of light in vacuum — speed of light = 299792458 metre per second
2\piconstantMathematical constant, 2π — two pi = 6.283
\cdotoperatorScalar product of two vectors — dot product
$$\vec{v}_{\text{sky}} = \vec{v} - (\vec{v} \cdot \hat{d})\hat{d}$$
Tangential velocity is total velocity minus its radial component.
What is in the formula
\vec{v}_{\text{sky}}variabletangential (sky-projected) velocity — velocity metre per second
\vec{v}variabletotal velocity vector — velocity metre per second
\hat{d}variableunit vector along the line of sight — unit vector
\cdotoperatorscalar product of two vectors — dot product
$$\tilde{\mu} = \mu (1 + A_D (\hat{n} \cdot \hat{p}))$$
Adds dipole modulation to a distance or magnitude measure.
What is in the formula
\tilde{\mu}variableCorrected distance modulus or magnitude — distance modulus
\muvariableOriginal distance modulus or magnitude — distance modulus
A_DvariableAmplitude of dipole anisotropy — dimensionless
\hat{n}variableUnit vector in the direction of observation — direction
\hat{p}variableUnit vector pointing toward the dipole axis — direction
\cdotoperatorScalar product of two vectors — dot product
$$E = -\boldsymbol{\mu} \cdot \mathbf{B}$$
Energy of a magnetic moment in a magnetic field.
What is in the formula
Evariablemagnetic energy of the moment — energy joule
\boldsymbol{\mu}variablemagnetic dipole moment — magnetic dipole moment ampere square metre
\mathbf{B}variablemagnetic field — magnetic field tesla
\cdotoperatortakes the scalar product of two vectors — dot product
$$ rac{m_1 oldsymbol{\chi}_1 oldsymbol{\cdot} oldsymbol{L} + m_2 oldsymbol{\chi}_2 oldsymbol{\cdot} oldsymbol{L}}{m_1 + m_2}$$
Weighted average of spin projections onto the orbital angular momentum.
What is in the formula
m_1variablemass of the first compact object — mass kilogram
m_2variablemass of the second compact object — mass kilogram
\boldsymbol{\chi}_1variabledimensionless spin vector of the first object — dimensionless spin
\boldsymbol{\chi}_2variabledimensionless spin vector of the second object — dimensionless spin
\boldsymbol{L}variableunit vector along orbital angular momentum — unit vector
\cdotoperatorcomputes the scalar projection of one vector onto another — dot product
$$H_{\text{HFI}} = \boldsymbol{\mu}_I \cdot \mathbf{A} \cdot \mathbf{S}$$
Interaction between nuclear and electron magnetic moments.
What is in the formula
H_{\text{HFI}}variablemagnetic hyperfine interaction Hamiltonian — hamiltonian joule
\boldsymbol{\mu}_Ivariablenuclear magnetic moment — magnetic moment ampere square metre
\mathbf{A}variablehyperfine coupling tensor — tensor joule per ampere square metre
\mathbf{S}variableelectron spin operator — spin operator
\cdotoperatorscalar product of vectors — dot product

Related articles · 0

No articles yet