Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
Scalars and Vectors in Mechanics (Topic)

Scalars and Vectors in Mechanics

Mechanics uses two different kinds of physical quantities repeatedly. Some quantities are completely specified by a magnitude, while others require both magnitude and direction. The distinction is not merely graphical notation: it determines how physical quantities combine, how their components change when axes are changed, and which mathematical operations are physically meaningful.

A scalar is a physical quantity represented by a single value that is independent of the orientation of the coordinate axes. A vector is a geometric quantity with magnitude and direction whose components transform together when the coordinate basis is changed.

Examples of scalars in mechanics include mass, time, temperature, distance, speed, energy, and power. Examples of vectors include position, displacement, velocity, acceleration, momentum, force, torque, and angular momentum.

The main ideas of this article are:

  1. distinguish scalars from vectors and vectors from their components;
  2. represent vectors using magnitude, direction, and Cartesian components;
  3. add and subtract vectors geometrically and componentwise;
  4. use unit vectors to encode coordinate directions;
  5. understand the dot product as a scalar measure of directional overlap;
  6. understand the cross product as a vector measure of perpendicular action;
  7. connect these operations to work, projection, torque, and angular momentum.

1 Scalars

A scalar quantity is described by one numerical value together with its unit. If a particle has mass

m  = 2.0kg,
(1)

then no spatial direction is needed to specify the mass.

Likewise, a kinetic energy

K  = 15 J
(2)

is a scalar. Energy can increase or decrease, but it does not point north, upward, or along a coordinate axis.

A scalar may be positive, negative, or zero when the physical definition permits signed values. For example, an electric potential or a one-dimensional coordinate may be signed. Being scalar does not mean being positive; it means that a spatial orientation is not part of the quantity itself.

2 Vectors

A vector has both magnitude and direction. A displacement from one location to another is a vector because both the distance and the direction of the change matter. A velocity is a vector because two objects moving at the same speed in different directions do not have the same velocity.

A vector is written here in boldface, for example

A.
(3)

Its magnitude is written

A  = |A |.
(4)

The magnitude is a scalar and is nonnegative.

PIC

Figure 1. Scalars require only magnitude, while vectors require magnitude and direction. The same distinction appears throughout mechanics.

2.1 A vector is not the same thing as its components

Suppose a vector is represented in a Cartesian basis by

A =  A  e + A  e  + A  e .
       x x    y y     z z
(5)

The numbers Ax, Ay, and Az are components of the vector relative to the chosen basis. If the coordinate axes are rotated, these components generally change even though the physical vector does not.

This distinction is important in mechanics: a force does not physically change merely because the analyst chooses a different set of axes.

3 Unit vectors and Cartesian components

The Cartesian unit vectors

ex,     ey,    ez
(6)

all have magnitude one and point along the positive coordinate directions.

For an orthonormal Cartesian basis,

ex ⋅ ex = 1,
(7)

ey ⋅ ey = 1,
(8)

ez ⋅ ez = 1,
(9)

and different basis vectors are perpendicular, so

ex ⋅ ey = 0,
(10)

with analogous relations for the other pairs.

A two-dimensional vector may be written

A =  Axex + Ayey.
(11)

Its magnitude is

    ∘  ---------
A =    A2x + A2y.
(12)

In three dimensions,

     ∘ --------------
A =    A2x + A2y + A2z.
(13)

4 Resolving a vector into components

Suppose a vector A lies in the xy plane and makes an angle 𝜃 measured counterclockwise from the positive x axis. Then

A   = A cos𝜃,
  x
(14)

A   = A sin𝜃.
  y
(15)

Hence

A  = A  cos𝜃ex + A sin𝜃 ey.
(16)

PIC

Figure 2. A vector can be resolved into perpendicular Cartesian components. The components depend on the chosen axes; the geometric vector does not.

If the components are known, the direction can be reconstructed using trigonometry. The safest computational form is a quadrant-aware two-argument arctangent. Conceptually,

        Ay-
tan𝜃 =  Ax ,
(17)

but the signs of both components must be used to place 𝜃 in the correct quadrant.

5 Worked example 1: force components and reconstruction

A cable exerts a force of magnitude

F = 120 N
(18)

at an angle of 35∘ above the positive horizontal direction. Find its Cartesian components. Then verify that the components reproduce the original magnitude.

The horizontal component is

Fx =  F cos35∘.
(19)

Numerically,

Fx = (120)(0.8192) = 98.3N.
(20)

The vertical component is

Fy =  F sin 35∘,
(21)

so

Fy = (120)(0.5736) = 68.8N.
(22)

Thus

F  = 98.3ex + 68.8ey N.
(23)

Reconstructing the magnitude,

      ∘ -----------------
|F| =   (98.3)2 + (68.8 )2 N,
(24)

which gives approximately

|F | = 120N.
(25)

The component representation and the magnitude-angle representation describe the same vector.

6 Vector addition and subtraction

Vectors add geometrically by the head-to-tail rule. If an object undergoes displacement A followed by displacement B, the net displacement is

R =  A + B.
(26)

Componentwise,

Rx  = Ax +  Bx,
(27)

Ry  = Ay + By,
(28)

and similarly in three dimensions.

Vector subtraction is defined by adding the negative vector:

A  − B  = A  + (− B ).
(29)

The vector −B has the same magnitude as B and points in the opposite direction.

PIC

Figure 3. Head-to-tail vector addition. The resultant runs from the tail of the first vector to the head of the final vector.

Vector addition is commutative,

A  + B =  B + A,
(30)

and associative,

(A + B ) + C =  A +  (B  + C ).
(31)

7 Worked example 2: two displacement vectors

A hiker walks 3.0 km east and then 4.0 km north. Find the net displacement magnitude and direction.

Choose east as +x and north as +y. The two displacements are

A  = 3.0ex km,
(32)

B  = 4.0ey km.
(33)

Therefore

R = 3.0ex + 4.0ey km.
(34)

The magnitude is

     √ -----------
R  =   3.02 + 4.02 = 5.0km.
(35)

The direction satisfies

tan𝜃 =  4.0-,
        3.0
(36)

so

𝜃 = 53.1∘.
(37)

The hiker is therefore displaced 5.0 km at 53.1∘ north of east.

This example illustrates why traveled distance and displacement are different. The total distance walked is 7.0 km, a scalar, while the displacement is a 5.0 km vector.

8 Multiplication of a vector by a scalar

If c is a scalar, then

B =  cA
(38)

means every component of A is multiplied by c. If c > 0, the direction is unchanged. If c < 0, the direction reverses.

For example, momentum for a particle of mass m is

p =  mv.
(39)

The scalar mass multiplies the velocity vector, so momentum points in the same direction as velocity for positive mass.

9 The dot product

The dot product of two vectors is a scalar:

A ⋅ B = AB  cos 𝜃,
(40)

where 𝜃 is the angle between the vectors.

In Cartesian components,

A  ⋅ B = AxBx  + AyBy  + AzBz.
(41)

Several important special cases follow immediately. If two nonzero vectors are perpendicular,

𝜃 = 90∘,
(42)

so

A ⋅ B = 0.
(43)

If they point in the same direction,

A  ⋅ B = AB.
(44)

If they point in opposite directions,

A  ⋅ B = − AB.
(45)

9.1 Projection

The scalar component of A along a unit vector e is

A ∥ = A ⋅ e.
(46)

The corresponding vector projection is

A∥ = (A  ⋅ e)e.
(47)

This is the mathematical structure behind resolving gravity along an incline, finding the component of velocity along a line, and determining the component of force along a displacement.

9.2 Work as a dot product

For a constant force acting through displacement Δr, the work is

W   = F ⋅ Δr.
(48)

Thus

W  = F Δr cos 𝜃.
(49)

Only the component of force parallel to the displacement contributes to work.

10 Worked example 3: work from a force at an angle

A person pulls a crate through a horizontal displacement of 5.0 m using a constant force of magnitude 40 N directed 30∘ above the horizontal. Find the work done by this pulling force.

The displacement is horizontal, so the angle between force and displacement is 30∘. Therefore

W  = F Δr cos 30∘.
(50)

Substituting,

W  = (40)(5.0)(0.8660 )J,
(51)

so

W  =  173J.
(52)

The vertical component of the pulling force contributes no work in this idealized example because the crate has no vertical displacement.

11 The cross product

The cross product of two vectors is a vector perpendicular to the plane containing them. Its magnitude is

|A  × B | = AB  sin 𝜃.
(53)

Its direction is set by the right-hand rule.

In a right-handed Cartesian basis,

ex × ey = ez,
(54)

ey × ez = ex,
(55)

ez × ex = ey.
(56)

Reversing the order changes the sign:

A  × B  = − B × A.
(57)

A vector crossed with itself is zero.

For

A  = Axex  + Ayey + Azez
(58)

and

B =  Bxex + Byey  + Bzez,
(59)

the component form is

A ×  B = (AyBz  − AzBy  )ex + (AzBx  − AxBz  )ey + (AxBy − AyBx  )ez.
(60)

11.1 Torque and angular momentum

Torque about an origin is

⃗τ =  r × F.
(61)

Its magnitude is

τ =  rF sin 𝜃.
(62)

Equivalently,

τ = F d⊥,
(63)

where d⊥ is the perpendicular lever arm from the origin to the line of action of the force.

Angular momentum of a particle is

L  = r × p.
(64)

Both quantities depend on cross products because the rotational effect is associated with perpendicular geometry. More precisely, torque and angular momentum are axial vectors (sometimes called pseudovectors): under ordinary rotations they behave like vectors, while reflections introduce an additional sign distinction. That refinement is deferred to later three-dimensional mechanics.

PIC

Figure 4. The dot product selects the component parallel to a displacement and therefore appears in work. The cross product measures perpendicular leverage and therefore appears in torque.

12 Worked example 4: torque from a force on a wrench

A force of magnitude 80 N is applied to a wrench at a point 0.25 m from the bolt. The angle between the position vector from the bolt to the hand and the applied force is 60∘. Find the torque magnitude.

Using

τ =  rF sin 𝜃,
(65)

we obtain

τ = (0.25)(80 )sin 60∘ N m.
(66)

Therefore

τ = 17.3 N m.
(67)

If the force were applied parallel to the wrench handle, then 𝜃 = 0 and the torque would vanish even though the force itself is nonzero. Rotational effectiveness depends on the perpendicular component.

13 Angle between two vectors

If A and B are nonzero, the dot product can be used to determine the angle between them:

       A  ⋅ B
cos𝜃 = ------.
        AB
(68)

Therefore

         ( A  ⋅ B )
𝜃 = cos−1  ------  .
            AB
(69)

This relation is useful when the vectors are given by components rather than by a diagram.

14 Why vector equations are powerful

A vector equation packages several component equations into one geometric statement. Newton’s second law,

Fnet = ma,
(70)

means simultaneously that

Fx  = max,
(71)

Fy = may,
(72)

and

Fz = maz.
(73)

The vector equation is independent of a particular Cartesian orientation. The component equations depend on the chosen axes, but the physical relation does not.

15 Scalars formed from vectors

Many important scalars are constructed from vectors. Examples include speed,

v = |v|,
(74)

kinetic energy,

     1-
K =  2mv  ⋅ v,
(75)

and work,

W   = F ⋅ Δr.
(76)

The dot product is especially important because it produces a scalar that is independent of a rotation of Cartesian axes.

16 Common mistakes

  1. Confusing speed and velocity. Speed is the scalar magnitude of the velocity vector.
  2. Confusing distance and displacement. Distance is total path length; displacement is the vector from initial to final position.
  3. Adding vector magnitudes instead of components. Magnitudes add directly only when vectors are collinear and oriented consistently.
  4. Using sine and cosine without defining the angle. Components depend on which axis the angle is measured from.
  5. Ignoring quadrants when reconstructing direction. The signs of both components matter.
  6. Treating components as physical vectors. Components depend on the chosen coordinate basis.
  7. Assuming the dot product is a vector. It is a scalar.
  8. Assuming the cross product is commutative. Reversing the order reverses the result.
  9. Forgetting units. Vector operations do not remove physical dimensions; for example, torque has units N m.
  10. Using a cross product for parallel projection. Projection is naturally a dot-product operation.

17 Problem-solving workflow

For a vector mechanics problem, a reliable workflow is:

  1. draw the geometry and define the coordinate axes;
  2. identify which quantities are scalars and which are vectors;
  3. resolve vectors into components using clearly defined angles;
  4. perform vector addition or subtraction componentwise;
  5. use the dot product for parallel projection, work, and angle tests;
  6. use the cross product for torque, angular momentum, and perpendicular orientation;
  7. reconstruct a magnitude or direction only after the component calculation is complete;
  8. inspect units, signs, quadrants, and limiting cases.

18 Practice problems

The following problems use stable mechanics identifiers. Short answers are supplied after the GRE-speed questions.

MECH-VEC-001 — Scalar or vector?

Classify each quantity as scalar or vector: mass, displacement, distance, speed, velocity, acceleration, kinetic energy, momentum, force, work, torque, and power.

MECH-VEC-002 — Components from magnitude and direction

A displacement has magnitude 12 m and points 40∘ above the positive x axis. Find its x and y components.

MECH-VEC-003 — Magnitude and direction from components

A velocity is

v =  − 6ex + 8ey m ∕s.
(77)

Find its speed and direction measured counterclockwise from the positive x axis.

MECH-VEC-004 — Resultant displacement

A robot moves 5 m east, 2 m north, and then 3 m west. Find the resultant displacement vector and its magnitude.

MECH-VEC-005 — Vector addition in three dimensions

Let

A  = 2ex − ey + 3ez
(78)

and

B =  − 4ex + 5ey + ez.
(79)

Find A + B and A − B.

MECH-VEC-006 — Dot product and angle

For

A  = 3ex + 4ey
(80)

and

B  = 4ex − 3ey,
(81)

compute A ⋅ B and determine the angle between the vectors.

MECH-VEC-007 — Projection along an incline

A gravitational force has magnitude mg vertically downward. An incline is at angle 𝜃 above the horizontal. Show that the component of gravity down the incline has magnitude mg sin 𝜃.

MECH-VEC-008 — Work by a constant force

A force

F =  12ex + 5ey N
(82)

acts through displacement

Δr  = 4ex − 2ey m.
(83)

Find the work done.

MECH-VEC-009 — Cross product

Let

A  = 2ex + 3ey
(84)

and

B =  4ex − ey.
(85)

Find A × B.

MECH-VEC-010 — Torque in components

A force

F =  20ey N
(86)

is applied at position

r =  0.30ex + 0.10ey m.
(87)

Find the torque about the origin.

MECH-VEC-011 — Momentum and impulse direction

A 2 kg particle has velocity

v =  3ex − 4ey m∕s.
(88)

Find its momentum vector and magnitude. If an impulse 8ey N s is applied, find the final momentum.

MECH-VEC-012 — Unit vector along a direction

Find a unit vector in the direction of

A =  2ex − 2ey + ez.
(89)

Verify that your result has magnitude one.

19 GRE-speed questions

MECH-GRE-VEC-001

Which quantity is a vector?

  1. kinetic energy
  2. speed
  3. momentum
  4. work

MECH-GRE-VEC-002

A vector of magnitude 10 points 60∘ above the positive x axis. Its x component is

  1. 5
  2. 5√3--
  3. 10
  4. 10√ --
  3

MECH-GRE-VEC-003

If two nonzero vectors satisfy

A ⋅ B = 0,
(90)

then the vectors are

  1. parallel
  2. antiparallel
  3. perpendicular
  4. equal in magnitude

MECH-GRE-VEC-004

The magnitude of A × B is largest when the angle between A and B is

  1. 0∘
  2. 30∘
  3. 60∘
  4. 90∘

MECH-GRE-VEC-005

A force is perpendicular to a displacement. The work done by that force is

  1. positive
  2. negative
  3. zero
  4. equal to FΔr

MECH-GRE-VEC-006

A force acts directly along the position vector from a pivot to its point of application. The torque about the pivot is

  1. maximum
  2. zero
  3. equal to rF
  4. impossible to determine

20 Short answer key

Practice problems:

  1. Scalars: mass, distance, speed, kinetic energy, work, power. Vectors: displacement, velocity, acceleration, momentum, force, torque.
  2. Ax = 9.19 m, Ay = 7.71 m.
  3. Speed 10 m/s; direction 126.9∘ counterclockwise from +x.
  4. R = 2ex + 2ey m; R = 2√ --
  2 = 2.83 m.
  5. A + B = −2ex + 4ey + 4ez; A − B = 6ex − 6ey + 2ez.
  6. Dot product 0; angle 90∘.
  7. mg sin 𝜃 down the incline.
  8. W = 38 J.
  9. A × B = −14ez.
  10. τ = 6ez N m.
  11. pi = 6ex − 8ey kg m/s, |pi| = 10 kg m/s; pf = 6ex kg m/s.
  12. eA = (2ex − 2ey + ez)∕3.

GRE-speed answers:

  1. C
  2. A
  3. C
  4. D
  5. C
  6. B

21 Connections to later mechanics

This article provides the vector language used throughout the mechanics curriculum. The next foundations article develops coordinate systems. Later articles apply these tools to kinematics, Free-body diagrams, Newton’s laws, work and energy, momentum, angular momentum, central-force motion, rotating frames, and rigid-body mechanics.

References

[1]   T. Weideman, UCD Physics 9A: Classical Mechanics, University of California, Davis / LibreTexts, CC BY-SA 4.0.

[2]   J. W. Schnick, Calculus-Based Physics I, Saint Anselm College / BCcampus Open Education, CC BY-SA 3.0.

[3]   J. R. Taylor, Classical Mechanics, University Science Books, 2005.

[4]   D. Kleppner and R. Kolenkow, An Introduction to Mechanics, 2nd ed., Cambridge University Press, 2014.


"Scalars and Vectors in Mechanics" is owned by bloftin.
(view preamble)
View style:
Other names:  M00-04
Also defines:  scalar, vector, unit vector
Keywords:  scalar, vector, vector components, unit vector, vector addition, dot product, cross product, projection, work, torque, mechanics foundations

Cross-references: motion, Newton's laws, Free-body diagrams, kinematics, systems, robot, diagram, position vector, vector projection, vector addition, representation, dimensions, two-dimensional, relations, kinetic energy, particle, unit, work, cross product, dot product, angular momentum, force, momentum, acceleration, velocity, position, power, energy, speed, temperature, mass, operations, magnitude, physical quantities, mechanics
There are 30 references to this object.

This is version 1 of Scalars and Vectors in Mechanics, born on 2026-09-27.
Object id is 1300, canonical name is ScalarsAndVectorsInMechanics.
Accessed 14 times total.

Classification:
Physics Classification: 01.40.-d (Education)
 02.10.Ud (Linear algebra)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)