Fractions, Ratios, and Rates
Read fractions as division and distinguish part-to-part ratios from part-to-whole fractions. Use units and denominators to interpret rates, averages, and normalized weighted sums.
A fraction can represent a number, a division, or a comparison between two quantities. A ratio names the quantities being compared, and a rate also keeps track of their units. These distinctions become important when we work with percentages, averages, probabilities, and measured change.
Fractions Are Division
The fraction
means divided by , so its decimal value is . The number above the bar is the numerator. The number below it is the denominator:
The denominator cannot be zero because division by zero is not defined. For example, asks how many groups of size make . There is no corresponding number of zero-sized groups that makes .
Exercise: Read a fraction as division
What is as a decimal?
Compute it first, then check your number.
HintUse the fraction bar
Read the bar as division: .
SolutionDivide numerator by denominator
The fraction means:
The result is larger than because the numerator is larger than the denominator.
Ratios Compare Quantities
Suppose a batch contains correct predictions and incorrect predictions. The ratio of correct to incorrect predictions is:
The fraction of all predictions that are correct uses a different denominator:
The first expression compares correct predictions with incorrect predictions. The second compares correct predictions with the whole batch. A ratio is not fully understood until both quantities and their order are named. The ratio could describe four correct predictions for every one incorrect prediction, but those numbers alone do not say what was counted.
A percentage is a part-to-whole fraction expressed per hundred. Because , the correct predictions make up of the batch.
Exercise: Choose the relevant denominator
A dataset contains images, of which show cats. What fraction of the dataset shows cats?
Compute it first, then check your number.
HintCompare the part with the whole
The numerator is the number of cat images. The denominator is the total number of images.
SolutionForm the part-to-whole fraction
The required fraction is:
The numerator counts the cat images, while the denominator counts every image in the dataset. Thus of the dataset shows cats.
Rates Include a Unit
A rate is a ratio between quantities measured in different units. If a program processes examples in seconds, its average processing rate is:
The denominator is reduced to one second, so examples per second is a unit rate. Reversing the ratio gives:
This reciprocal rate is also correct, but it answers a different question. Keeping the units beside the numbers helps us notice which quantity is in the numerator and which is in the denominator.
Exercise: Compute a unit rate
A sensor records measurements in seconds. What is the average number of measurements recorded per second?
Compute it first, then check your number.
HintKeep the requested unit
The answer must have measurements in the numerator and seconds in the denominator.
SolutionDivide by the elapsed time
The requested rate is:
Dividing in the opposite order would give seconds per measurement, which is a different rate.
Equivalent Fractions and Proportions
Multiplying the numerator and denominator by the same nonzero number is equivalent to multiplying the fraction by , so its value does not change:
The two quantities scale together, so their relative size stays the same. Dividing the numerator and denominator by a shared nonzero factor simplifies the fraction for the same reason. These are equivalent fractions: their written forms differ, but their values are equal.
An equation stating that two ratios are equal is called a proportion. For example,
is a proportion. Here the denominator is multiplied by , so the numerator must be multiplied by as well. This gives . The same reasoning can be used whenever one scale factor connects corresponding quantities.
Exercise: Complete a proportion
Complete the equality:
Compute it first, then check your number.
HintUse the same scale factor
The denominator was multiplied by . An equivalent fraction requires the same change in the numerator.
SolutionScale both parts equally
Since , multiply the numerator by as well:
The missing numerator is .
Weighted Averages Are Ratios
The arithmetic mean of values is their sum divided by the number of values:
A weighted average lets some values contribute more than others. It divides a weighted sum by the total weight:
For the usual weighted-average interpretation, the weights are nonnegative and their sum is greater than zero. The denominator matters when the weights do not already sum to . It normalizes the weighted sum so that multiplying every weight by the same positive number does not change the average.
When the weights are nonnegative, the weighted average lies between the smallest and largest values. This gives a quick check on the calculation.
Exercise: Compute a weighted average
Two scores are and , with weights and . What is their weighted average?
Compute it first, then check your number.
HintSeparate the two totals
First find the weighted sum. Then divide by the sum of the weights.
SolutionNormalize the weighted sum
The weighted sum is:
The weights sum to , so:
The larger weight on pulls the average closer to .
Read the Denominator First
The denominator tells us what the numerator is being compared with: the whole, an elapsed time, a number of observations, or a total weight. Before computing a fraction, ratio, rate, or average, name both quantities and state the unit or comparison that the quotient will represent. This small habit prevents many otherwise plausible calculations from answering the wrong question.