Scalars, Vectors & Basic Definitions

⚡ Key Takeaways

A scalar is a quantity with magnitude only; a vector has both magnitude and direction. Key result: vectors add tip-to-tail (parallelogram rule) and can be resolved into independent perpendicular components, while scalars combine by ordinary arithmetic. Applies wherever physical quantities have direction — displacement, velocity, force, electric fields. Formalized through the 19th century (Hamilton, Gibbs, Heaviside) and now foundational to all of physics and engineering.

💡 The Core Insight

Direction carries information. The moment a quantity has direction, you cannot add two of them by adding their numbers — you must add them geometrically. A vector is the mathematical object that bundles "how much" and "which way" into a single entity that obeys consistent, well-defined combination rules. Everything else — components, unit vectors, dot products — is bookkeeping built on this one idea.

Formal Statement

DefinitionScalar

A scalar is a quantity completely described by a single real number (its magnitude) and an appropriate unit. Scalars are invariant under rotation of the coordinate system. Examples: mass mm, time tt, temperature TT, speed vv, energy EE, electric charge qq. Scalars combine by ordinary arithmetic:

1
stotal=s1+s2\quad s_{\text{total}} = s_1 + s_2

Derivation hint: scalars are elements of R\mathbb{R}; addition is just real-number addition, requiring only matching units.

DefinitionVector

A vector is a quantity completely described by a magnitude (a non-negative scalar) and a direction in space. We write a vector as A⃗\vec{A} (arrow notation) or A\mathbf{A} (boldface). Its magnitude is written ∣A⃗∣|\vec{A}| or AA. In two dimensions a vector is represented by its components along perpendicular axes:

2
A⃗=Ax x^+Ay y^\quad \vec{A} = A_x\,\hat{x} + A_y\,\hat{y}

Derivation hint: project the vector onto each axis; x^,y^\hat{x},\hat{y} are unit vectors of length 1 pointing along the axes. The magnitude is recovered by the Pythagorean theorem:

3
∣A⃗∣=Ax2+Ay2\quad |\vec{A}| = \sqrt{A_x^{2} + A_y^{2}}

Derivation hint: AxA_x and AyA_y form the legs of a right triangle whose hypotenuse is A⃗\vec{A}. The direction (angle from the positive xx-axis) is:

4
θ=tan⁡−1 ⁣(AyAx)\quad \theta = \tan^{-1}\!\left(\frac{A_y}{A_x}\right)

Derivation hint: in the right triangle, the tangent of the angle equals opposite (AyA_y) over adjacent (AxA_x); watch the quadrant.

DefinitionComponents from Magnitude and Direction

Conversely, given magnitude AA and angle θ\theta, the components are obtained by resolution:

5
Ax=Acos⁡θ,Ay=Asin⁡θ\quad A_x = A\cos\theta, \qquad A_y = A\sin\theta

Derivation hint: project the hypotenuse AA onto each axis using cosine (adjacent) and sine (opposite).

TheoremVector Addition — The Triangle / Parallelogram Rule

The sum of two vectors A⃗\vec{A} and B⃗\vec{B} is obtained by placing the tail of B⃗\vec{B} at the tip of A⃗\vec{A}; the resultant R⃗\vec{R} runs from the tail of A⃗\vec{A} to the tip of B⃗\vec{B}. In components:

6
R⃗=A⃗+B⃗=(Ax+Bx)x^+(Ay+By)y^\quad \vec{R} = \vec{A} + \vec{B} = (A_x + B_x)\hat{x} + (A_y + B_y)\hat{y}

Derivation hint: addition is performed independently in each perpendicular direction because the axes are orthogonal and do not interfere. The magnitude of the resultant, when the angle between A⃗\vec{A} and B⃗\vec{B} is ϕ\phi, is given by the law of cosines:

7
∣R⃗∣=A2+B2+2ABcos⁡ϕ\quad |\vec{R}| = \sqrt{A^{2} + B^{2} + 2AB\cos\phi}

Derivation hint: apply the law of cosines to the triangle formed by A⃗\vec{A}, B⃗\vec{B}, and R⃗\vec{R}; note the ++ sign arises because the interior triangle angle is 180∘−ϕ180^\circ - \phi.

Why It Holds / Derivation

ProofComponent Addition is Valid

We show that adding vectors by components is equivalent to the geometric tip-to-tail rule.

Step 1. Place A⃗\vec{A} with its tail at the origin. By definition its tip lands at the point (Ax,Ay)(A_x, A_y).

Step 2. Place B⃗\vec{B} with its tail at the tip of A⃗\vec{A}, i.e. at (Ax,Ay)(A_x, A_y). Because B⃗\vec{B} has components (Bx,By)(B_x, B_y), its tip lands at (Ax+Bx,  Ay+By)(A_x + B_x,\; A_y + B_y).

Step 3. The resultant R⃗\vec{R} runs from the origin to this final point, so its components are exactly (Ax+Bx,  Ay+By)(A_x + B_x,\; A_y + B_y), proving equation [6].

Step 4. The independence of the two axes is the crucial fact: motion (or displacement) along x^\hat{x} does not change the y^\hat{y} coordinate, and vice versa, because the axes are perpendicular. Thus the xx and yy equations never mix. ■\blacksquare

∎
ProofLaw of Cosines Form for Magnitude

Step 1. From [6], Rx=Ax+BxR_x = A_x + B_x and Ry=Ay+ByR_y = A_y + B_y.

Step 2. Then ∣R⃗∣2=(Ax+Bx)2+(Ay+By)2=(Ax2+Ay2)+(Bx2+By2)+2(AxBx+AyBy)|\vec{R}|^2 = (A_x+B_x)^2 + (A_y+B_y)^2 = (A_x^2+A_y^2) + (B_x^2+B_y^2) + 2(A_xB_x + A_yB_y).

Step 3. Identify Ax2+Ay2=A2A_x^2+A_y^2 = A^2 and Bx2+By2=B2B_x^2+B_y^2 = B^2. The cross term AxBx+AyByA_xB_x + A_yB_y is the dot product A⃗⋅B⃗=ABcos⁡ϕ\vec{A}\cdot\vec{B} = AB\cos\phi.

Step 4. Substituting gives ∣R⃗∣2=A2+B2+2ABcos⁡ϕ|\vec{R}|^2 = A^2 + B^2 + 2AB\cos\phi, which is equation [7]. ■\blacksquare

∎
Figure
Resolving a vector into components and adding tip-to-tail
x y A Aₓ = A cosθ A_y = A sinθ θ B R = A + B
JW
Josiah Willard Gibbs
1839–1903

The American physicist and mathematician J. W. Gibbs, alongside the English engineer Oliver Heaviside, developed the modern system of vector analysis in the 1880s. They stripped down William Rowan Hamilton's cumbersome quaternions into the clean, practical language of vectors, dot products, and cross products that students learn today. Gibbs first circulated his ideas in privately printed lecture notes (Elements of Vector Analysis, 1881–84) for his Yale students before they were formally published, making the subject teachable and giving physics its now-universal notation.

Building Intuition

🧠 Intuition

Think of a scalar as an amount and a vector as an instruction. "Walk 5 km" is incomplete — which way? "Walk 5 km northeast" is a vector. The deepest intuition is independence of directions: if you walk 3 km east and then 4 km north, the eastward part of your trip never affects how far north you end up. The two directions are sealed off from each other. This is exactly why we can break any vector into perpendicular components, handle each axis with simple one-dimensional arithmetic, and reassemble the answer with the Pythagorean theorem. Vectors turn a hard 2-D geometry problem into two easy 1-D number problems.

Worked Examples

ExampleAdding Two Perpendicular Displacements

Given: A hiker walks A=3.0A = 3.0 km due east, then B=4.0B = 4.0 km due north. Find the total displacement.

Step 1 — Components. East = +x+x, North = +y+y. So A⃗=(3.0,0)\vec{A} = (3.0, 0) km and B⃗=(0,4.0)\vec{B} = (0, 4.0) km.

Step 2 — Add components (eq. [6]). Rx=3.0+0=3.0R_x = 3.0 + 0 = 3.0 km; Ry=0+4.0=4.0R_y = 0 + 4.0 = 4.0 km.

Step 3 — Magnitude (eq. [3]). ∣R⃗∣=3.02+4.02=9+16=25=5.0|\vec{R}| = \sqrt{3.0^2 + 4.0^2} = \sqrt{9 + 16} = \sqrt{25} = 5.0 km.

Step 4 — Direction (eq. [4]). θ=tan⁡−1(4.0/3.0)=53∘\theta = \tan^{-1}(4.0/3.0) = 53^\circ north of east.

∣R⃗∣=5.0 km at 53∘ north of east\boxed{|\vec{R}| = 5.0\ \text{km at } 53^\circ \text{ north of east}}
ExampleVectors at an Angle — Two Forces

Given: Two forces act on a point: F1=6.0F_1 = 6.0 N along the +x+x-axis, and F2=8.0F_2 = 8.0 N at ϕ=60∘\phi = 60^\circ above the +x+x-axis. Find the resultant.

Step 1 — Resolve (eq. [5]). F1x=6.0F_{1x} = 6.0, F1y=0F_{1y} = 0. F2x=8.0cos⁡60∘=8.0(0.500)=4.0F_{2x} = 8.0\cos 60^\circ = 8.0(0.500) = 4.0 N. F2y=8.0sin⁡60∘=8.0(0.866)=6.93F_{2y} = 8.0\sin 60^\circ = 8.0(0.866) = 6.93 N.

Step 2 — Add components. Rx=6.0+4.0=10.0R_x = 6.0 + 4.0 = 10.0 N; Ry=0+6.93=6.93R_y = 0 + 6.93 = 6.93 N.

Step 3 — Magnitude (eq. [3]). ∣R⃗∣=10.02+6.932=100+48.0=148=12.2|\vec{R}| = \sqrt{10.0^2 + 6.93^2} = \sqrt{100 + 48.0} = \sqrt{148} = 12.2 N. Check with eq. [7]: 62+82+2(6)(8)cos⁡60∘=36+64+48=148=12.2\sqrt{6^2 + 8^2 + 2(6)(8)\cos 60^\circ} = \sqrt{36 + 64 + 48} = \sqrt{148} = 12.2 N. ✓

Step 4 — Direction (eq. [4]). θ=tan⁡−1(6.93/10.0)=34.7∘\theta = \tan^{-1}(6.93/10.0) = 34.7^\circ above +x+x-axis.

∣R⃗∣=12.2 N at 34.7∘ above the +x-axis\boxed{|\vec{R}| = 12.2\ \text{N at } 34.7^\circ \text{ above the } +x\text{-axis}}

Common Misconceptions

⚠️ Common mistake

Magnitudes do not add like scalars. For vectors at an angle, ∣A⃗+B⃗∣≠∣A⃗∣+∣B⃗∣|\vec{A} + \vec{B}| \neq |\vec{A}| + |\vec{B}| in general. Adding 33 and 44 from the first example gives the scalar answer 77, but the vector magnitude is 55. Only when two vectors point in exactly the same direction (ϕ=0\phi = 0) do their magnitudes add directly. Always resolve into components before combining.

⚠️ Common mistake

Speed is a scalar; velocity is a vector. A car going round a circular track at constant speed has constant speed but continuously changing velocity, because its direction changes. Likewise, distance (scalar) is the total path length, while displacement (vector) is the straight-line change in position. They are equal only for straight-line motion in one direction.

Counterexample

Consider two velocity vectors of equal magnitude ∣v⃗∣=10|\vec{v}| = 10 m/s pointing in opposite directions, ϕ=180∘\phi = 180^\circ. Naïve scalar thinking might suggest the sum is 2020 m/s. But by equation [7]:

∣R⃗∣=102+102+2(10)(10)cos⁡180∘=100+100−200=0.|\vec{R}| = \sqrt{10^2 + 10^2 + 2(10)(10)\cos 180^\circ} = \sqrt{100 + 100 - 200} = 0.

The resultant is the zero vector — magnitude 00, direction undefined. This single example destroys the idea that "vectors of the same size always make a bigger result."

Connections

connection

Scalars and vectors are the foundation for nearly every quantitative idea in physics. The Dot Product turns two vectors into a scalar (used to define work and projections), while the Cross Product turns two vectors into a third vector (used for torque and magnetic force). The components introduced here are the entry point to Coordinate Systems and ultimately to Linear Algebra, where vectors live in abstract nn-dimensional spaces. In motion problems, Kinematics in Two Dimensions relies entirely on resolving velocity and acceleration vectors into independent components.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 350 BCE — Aristotle describes the parallelogram of velocities, an early hint of vector addition.
- 1586 — Simon Stevin demonstrates the parallelogram rule for forces using a chain of beads on inclined planes.
- 1687 — Isaac Newton uses the parallelogram law of forces explicitly in the Principia.
- 1799 — Caspar Wessel and later Jean-Robert Argand (1806) represent complex numbers geometrically, anticipating 2-D vectors.
- 1843 — William Rowan Hamilton invents quaternions, the first full algebra of directed quantities, coining the word "vector."
- 1844 — Hermann Grassmann publishes Die lineale Ausdehnungslehre, an abstract theory of nn-dimensional vector spaces, far ahead of its time.
- 1881–1884 — J. Willard Gibbs distributes Elements of Vector Analysis to his Yale students, defining modern dot and cross products.
- 1893 — Oliver Heaviside independently promotes the same streamlined vector calculus in his electromagnetism work, winning physicists over from quaternions.
- 1901 — Edwin Bidwell Wilson publishes Vector Analysis (based on Gibbs's lectures), cementing today's standard notation.

Subtleties & Limits

open-problem

The simple definition "a vector is a magnitude with a direction" works for high-school physics but is not the final word. In higher mathematics and relativity, the defining property of a vector is how its components transform under a change of coordinates: a true vector's components must rotate in a specific way when the axes rotate. Some quantities (like the cross product result, a pseudovector) behave differently under reflections. Going further, quantities with two directional indices are tensors — and a vector is just a rank-1 tensor, while a scalar is a rank-0 tensor. The clean separation between "scalar" and "vector" also blurs in Einstein's relativity, where time and space combine into 4-vectors and a quantity scalar in one frame may not be in another. Defining "direction" itself requires a notion of distance and angle (a metric), which is not automatic in all spaces.

See Also

Dot Product · Cross Product · Kinematics in Two Dimensions · Coordinate Systems · Trigonometry — Sine, Cosine, Tangent · Newton's Laws of Motion · Linear Algebra