Sub topic 1
Physical quantities: a number and a unit
Prerequisites
This chapter assumes you can do the following:
- Solve linear equations and work with exponents, including negative ones.
- Read and write scientific notation, such as 3.0 × 10^8.
- Recognize everyday physical quantities such as length, mass, time, and speed.
- Read short Python snippets. The code is only there to make the ideas concrete.
You do not need to know the SI system yet. The next chapter covers it.
What a physical quantity is
A physical quantity is a property of a system that can be measured or calculated, and it is written as a numerical value multiplied by a unit. The length of a table is a physical quantity. So is the mass of a coin, the time between two clock ticks, or the speed of a car.
The central rule of the whole tutorial is this:
quantity = numerical value × unitTake the sentence "the table is 1.50 m long". The numerical value is 1.50. The unit is the metre, symbol m. Neither part means anything alone. "1.50" does not say whether you mean metres, miles, or seconds. "Metre" does not say how many of them you have. Only the product describes the table.
A common shorthand writes the numerical value of a quantity Q as {Q} and its unit as [Q], so Q = {Q}[Q]. For the table, L = 1.50 m, {L} = 1.50 and [L] = m. You will rarely need the braces and brackets, but they show that the number and the unit are separate factors.
Quantity, unit, and dimension are different things
Beginners often use these three words interchangeably. They name different layers of the same idea.
| Layer | What it answers | Example |
|---|---|---|
| Quantity | Which measurable property is it? | Length of a table, L |
| Unit | Which reference amount are we counting in? | metre, foot, mile |
| Dimension | What kind of thing is it, regardless of unit? | length (symbol L) |
The metre, the foot, and the mile are three different units. All three measure the same dimension, length. A unit is a specific, agreed reference amount. A dimension is the category that all such reference amounts belong to. Later chapters use dimensions to check equations. For now, keep in mind that changing the unit never changes the dimension.
Units behave like algebraic symbols
Units are not decoration. You multiply, divide, and cancel them exactly as you would the letters in an algebra problem. This is why a unit can tell you whether a calculation is sensible.
Suppose a car travels a distance d = 150 km in a time t = 2.0 h. The speed is:
v = d / t = 150 km / 2.0 h = 75 km/hThe unit of the result, km/h, appears automatically from dividing km by h. You did not choose it. The same happens with area: 2.0 m × 3.0 m = 6.0 m × m = 6.0 m². The "squared" belongs to the unit, because m × m is m².
Three consequences follow, and you will use them constantly.
- You can only add or subtract quantities with the same unit. 5 m + 3 s has no meaning. 5 m + 3 ft is meaningful only after you express both in one unit.
- You can multiply and divide any units. The result has a new, combined unit: m/s, kg·m, N/m².
- The unit of a result is determined by the calculation. If you expect a speed and get kg·m, something went wrong.
The same quantity in different units
A quantity does not change when you change its unit. Only the numerical value changes, in the opposite direction to the size of the unit. A bigger unit needs a smaller number.
The table above is 1.50 m long. A kilometre is 1000 times larger than a metre, so the same length is 0.00150 km. A centimetre is 100 times smaller than a metre, so the same length is 150 cm. These three expressions are the same physical length:
1.50 m = 150 cm = 0.00150 kmHere is the same idea with a speed. 60 miles per hour and 26.82 metres per second describe one motion. Using the exact factors 1609.344 m per mile and 3600 s per hour:
mph = 60
metres_per_second = mph * 1609.344 / 3600
print(round(metres_per_second, 2)) # 26.82The two numbers, 60 and 26.82, differ only because the units differ. Chapter 4 turns this calculation into a systematic method. For now, the point is that a number without a unit is incomplete. If someone says "the speed is 60", you cannot tell whether that is fast or slow.
Keeping the unit attached in code
Programs usually store the number and drop the unit, which is how unit errors enter software. A small class that stores both makes the rule concrete. This example handles lengths only and refuses to guess when it meets an unknown unit.
class Length:
# Size of each unit in metres.
METRES_PER_UNIT = {"m": 1.0, "km": 1000.0, "mi": 1609.344}
def __init__(self, value, unit):
if unit not in self.METRES_PER_UNIT:
raise ValueError(f"unknown length unit: {unit}")
self.value = value
self.unit = unit
def to(self, unit):
metres = self.value * self.METRES_PER_UNIT[self.unit]
return Length(metres / self.METRES_PER_UNIT[unit], unit)
def __add__(self, other):
# Convert the other length into this one's unit before adding.
other_value = other.to(self.unit).value
return Length(self.value + other_value, self.unit)
total = Length(5, "km") + Length(3, "mi")
print(f"{total.value:.3f} {total.unit}") # 9.828 kmAdding 5 km and 3 mi directly would give 8, which is wrong in every unit. The class converts first, then adds. Real projects use a library for this, but the principle is the same: the unit travels with the number.
Symbols, names, and writing conventions
Physics notation has conventions that avoid confusion. Learn them early, because your notes and answers will be read by others.
- A quantity symbol is a single letter, usually in italics in print: m for mass, t for time, v for speed. It stands for the whole quantity, number and unit together.
- A unit symbol is upright, never italic, and is not pluralized: 5 kg, not 5 kgs. Write a space between the number and the unit.
- Unit symbols named after people are capitalized (N for newton, Pa for pascal), while others are lowercase (m, s, kg). The spelled-out names are lowercase: newton, pascal.
- Do not confuse the symbol m for mass (a quantity) with m for metre (a unit). In handwriting, context separates them: "m = 5 kg" means the mass is 5 kilograms.
A good habit is to write the unit at every step of a calculation, not only in the final answer. Then you can see the units cancel or combine as you go.
Quantities that look like plain numbers
Some quantities have no unit to write, yet they are still physical quantities.
- Counts. "12 eggs" counts objects. The count is a pure number.
- Ratios of like quantities. If one rod is 3.0 m and another is 1.5 m, the ratio is 2.0. The metres cancel, so the ratio is dimensionless, meaning it has no dimension and the same value in any consistent unit system.
- Angles. An angle in radians is an arc length divided by a radius, so it is a ratio of two lengths. The radian is often written "rad" as a reminder of what the number means, even though it carries no dimension. Degrees are another unit for the same angle: 180° = π rad.
Dimensionless quantities matter because their values do not depend on the unit system. This idea returns in the last chapters of the tutorial, on dimensionless groups and scaling.
Common mistakes with numbers and units
The following errors appear in almost every first physics course.
- Dropping the unit in the answer. "The answer is 12" is incomplete. Write "12 m/s".
- Mixing units inside one formula. Putting a length in centimetres and another in metres into the same product gives a wrong result with no error message.
- Treating the unit as a label. The unit takes part in the algebra. If you square the numerical value, you must also square the unit.
- Assuming a unit name fixes the quantity. A newton-metre can be a torque or an energy depending on context. The unit alone does not tell you which quantity you have.
- Writing a unit that does not fit the quantity. A speed in kilograms, or a time in metres, is nonsense, and checking for it is cheap.
Summary of the working model
A physical quantity is a numerical value times a unit. The unit is a chosen reference amount that belongs to a dimension. Changing the unit changes the number but not the quantity. Units follow the rules of algebra: you may add only like units, and multiplication and division produce combined units. Some quantities, such as counts, ratios, and angles, are dimensionless but are still quantities. The next chapter introduces the SI system, which fixes a standard set of units so that everyone can express quantities the same way.
Exercise
A runner covers 400 m in 50 s. (a) Calculate the average speed, keeping the unit in each step. (b) Express the speed in km/h. (c) Explain why the numerical values in (a) and (b) differ even though the speed is the same.
Show answer
(a) v = 400 m / 50 s = 8.0 m/s. (b) 8.0 m/s × (1 km / 1000 m) × (3600 s / 1 h) = 28.8 km/h. (c) A kilometre per hour is a smaller unit of speed than a metre per second, so the same speed needs a larger number. Changing the unit changes the numerical value but not the physical quantity. The speed is the same motion in both cases.
Exercise
A student adds 2.0 m and 30 cm and writes "32". What two mistakes did the student make, and what is the correct result in metres?
Show answer
The first mistake is adding numerical values with different units, 2.0 m and 30 cm, without converting. The second is leaving off the unit in the answer. Convert 30 cm to 0.30 m, then add: 2.0 m + 0.30 m = 2.3 m.