Tutorials › Calculus I › Dimensional Checks on Function Formulas

Function Notation and Representations · Tutorial 34 of 1495

Dimensional Checks on Function Formulas

Use unit labels and simple dimensional rules to test whether a function formula is meaningful and to identify how an inconsistent term could be corrected.

Beginner 9 min read

What You'll Learn

  • Check whether terms being added or subtracted have the same units
  • Determine the units a coefficient needs to make a term match the function output
  • Track units through multiplication and powers of an input
  • Spot dimensional inconsistencies in cost and distance formulas
  • Correct a formula by identifying a likely missing or incorrect unit
  • Recognize why dimensional consistency is necessary but does not prove a model is correct

Why Check the Units in a Formula?

A function formula can look algebraically neat and still fail to represent the quantity it is supposed to describe. One useful check is to track the units of its inputs, coefficients, and output. This is called a dimensional check.

For example, if \(C(t)\) represents a cost in dollars and \(t\) is measured in hours, then every term added to another term in the formula for \(C(t)\) must represent dollars. A term measured in dollars cannot be added to one measured in dollars per hour. The numerical calculation might be possible, but its result would not have a coherent meaning.

A dimensional check does not establish that a formula accurately describes a real situation. It can, however, rule out formulas whose terms cannot be combined consistently, and it can help locate a likely error.

Units in a Function Formula

Suppose an input \(x\) has units \(X\), and the output \(y=f(x)\) has units \(Y\). A coefficient in the formula may itself have units. Those units are what allow a term involving \(x\) to have the same units as the output.

Definition: A formula is dimensionally consistent if every term that is added or subtracted has the same units, and the resulting expression has the units required for the function's output.

In multiplication, units multiply along with numerical values. In division, units divide. For instance, multiplying a speed in miles per hour by a time in hours gives miles:

$$ \frac{\text{miles}}{\text{hour}}\times \text{hours} =\text{miles}. $$

When a quantity is raised to a power, its units are raised to the same power. If \(t\) is measured in seconds, then \(t^2\) has units of seconds squared. A coefficient may carry units that cancel or adjust those powers.

For an output measured in units \(Y\), an input measured in units \(X\), and a term \(a x^k\), the coefficient \(a\) must have units \(Y/X^k\). This makes the whole term have output units:

$$ [a x^k]=[a][x]^k =\frac{Y}{X^k}X^k =Y. $$

Here, the brackets indicate the units of a quantity. The coefficient is not automatically unitless: its units depend on the input and the output.

Why Added Terms Must Have the Same Units

Addition combines quantities of the same kind. For example, adding two lengths is meaningful: \(1\) meter plus \(30\) centimeters can be computed after expressing both lengths in a common unit. Adding a length to a time is not meaningful as a physical quantity. Converting both to numerical values does not make them quantities of the same kind.

The same requirement applies term by term in a function formula. If \(f(x)\) is a distance, each term in a sum defining \(f(x)\) must be a distance. If a formula includes terms measured in different units, adding them does not produce the intended output quantity.

Key rule: Before adding or subtracting terms, express them in compatible units. In a function formula, every term in the sum must have the units of the output.

Worked Example: Checking a Cost Formula

Worked Example: Checking a Cost Formula

A repair shop charges a fixed fee of \(12\) dollars plus \(8\) dollars per hour. Let \(t\) be the repair time in hours, and let \(C(t)\) be the total cost in dollars. Check the formula and find the cost for a \(3\)-hour repair.

The hourly rate has units dollars per hour. The fixed fee has units dollars, so the proposed formula is

$$ C(t)=\left(8\frac{\text{dollars}}{\text{hour}}\right)t+12\text{ dollars}. $$

Since \(t\) is measured in hours, the first term has units

$$ \frac{\text{dollars}}{\text{hour}}\times\text{hours} =\text{dollars}. $$

The second term is also measured in dollars. Thus the terms can be added, and the output has the stated units. For \(t=3\) hours,

$$ C(3\text{ hours}) =\left(8\frac{\text{dollars}}{\text{hour}}\right)(3\text{ hours}) +12\text{ dollars} =24\text{ dollars}+12\text{ dollars} =36\text{ dollars}. $$

Check: the calculated charge consists of \(24\) dollars for three hours of work and the \(12\)-dollar fixed fee. Both components are dollars, and their total is \(36\) dollars, as required.

Worked Example: Finding an Inconsistent Term

Worked Example: Finding an Inconsistent Term

Suppose \(D(t)\) is intended to be a distance in meters, and \(t\) is time in seconds. Consider the expression

$$ D(t)=\left(5\frac{\text{meters}}{\text{second}^2}\right)t^2 +(3\text{ meters})t+2\text{ meters}. $$

Check the units of each term. The first term has units

$$ \frac{\text{meters}}{\text{second}^2}\times\text{second}^2 =\text{meters}. $$

The last term has units of meters. But the middle term has units

$$ \text{meters}\times\text{seconds} =\text{meter-seconds}. $$

That is not a distance, so the three terms cannot be added as written. A likely repair is that the coefficient \(3\) should have units meters per second, rather than meters. With that change, the formula becomes

$$ D(t)=\left(5\frac{\text{meters}}{\text{second}^2}\right)t^2 +\left(3\frac{\text{meters}}{\text{second}}\right)t +2\text{ meters}. $$

Now the middle term has units

$$ \frac{\text{meters}}{\text{second}}\times\text{seconds} =\text{meters}, $$

so all terms have units of distance. For \(t=2\) seconds, substitute with units shown:

$$ \begin{aligned} D(2\text{ seconds}) &=\left(5\frac{\text{meters}}{\text{second}^2}\right)(2\text{ seconds})^2 +\left(3\frac{\text{meters}}{\text{second}}\right)(2\text{ seconds}) +2\text{ meters}\\ &=20\text{ meters}+6\text{ meters}+2\text{ meters}\\ &=28\text{ meters}. \end{aligned} $$

Check: each term in the corrected calculation is a distance in meters, and the result is in meters. The dimensional check identifies a plausible correction, although only the context or source of the formula can determine whether that correction is actually intended.

A General Rule for Coefficient Units

The previous example illustrates a reusable calculation. Suppose the output \(f(x)\) has units \(Y\), the input \(x\) has units \(X\), and a term has the form \(a x^k\). The units of \(x^k\) are \(X^k\). To make the product have units \(Y\), the coefficient must have units \(Y/X^k\).

1
Identify the output units.
Write down the units the entire formula is supposed to produce.
2
Track the input units.
For a term involving \(x^k\), raise the input units to the \(k\)th power.
3
Determine the coefficient units.
Choose units for the coefficient that make the product match the output units.
4
Check sums and differences.
Verify that every term being added or subtracted has the same units.

For example, if \(f(x)\) is a cost in dollars and \(x\) is time in hours, a term \(a x^2\) requires \(a\) to have units dollars per hour squared. Then

$$ \left(\frac{\text{dollars}}{\text{hour}^2}\right) (\text{hours})^2 =\text{dollars}. $$

The coefficient's units are determined by the term, not by the coefficient's numerical value. Writing only a number beside a variable can hide this important information in an applied formula.

Worked Example: Checking a Distance Formula

Worked Example: Checking a Distance Formula

A model for distance is given by \(s(t)=v t\), where \(v=60\) miles per hour and \(t\) is measured in hours. Check the units and find the distance after \(1.5\) hours.

The product has units

$$ \left(\frac{\text{miles}}{\text{hour}}\right)(\text{hours}) =\text{miles}. $$

Thus the formula has the right output units for a distance. Substituting \(t=1.5\) hours gives

$$ s(1.5\text{ hours}) =\left(60\frac{\text{miles}}{\text{hour}}\right)(1.5\text{ hours}) =90\text{ miles}. $$

Check: the hours cancel, leaving miles, and \(60\times1.5=90\). The result is \(90\) miles, a distance in the required unit.

Unit Conversions Matter

Two rates can describe the same kind of quantity while using different time units. Before substituting a time into a rate, make sure those units match. For example, a rate in dollars per minute must be paired with time in minutes, or converted before it is used with time in hours.

A common mistake is to use a numerical rate without checking its unit. Suppose a service costs \(0.20\) dollars per minute, and the service lasts \(2\) hours. The calculation \(0.20\times2=0.40\) dollars is wrong because it treats \(2\) hours as \(2\) minutes. Convert first:

$$ 2\text{ hours}\times \frac{60\text{ minutes}}{1\text{ hour}} =120\text{ minutes}. $$

Now the cost is

$$ \left(0.20\frac{\text{dollars}}{\text{minute}}\right) (120\text{ minutes}) =24\text{ dollars}. $$

The units cancel to leave dollars. This correction shows why the unit label must travel with the number throughout the calculation.

What a Dimensional Check Can and Cannot Show

If terms in a formula have incompatible units, the formula cannot represent the stated output quantity in the stated way. This makes dimensional analysis a useful error-detection tool. It can reveal, for instance, a missing time denominator in a rate or a missing power on a coefficient's units.

However, passing the check does not prove a formula is correct. Two different formulas can have consistent units while describing different relationships. A dimensional check cannot establish that the numerical coefficients are appropriate, that the formula fits observations, or that its assumptions match the situation. It is a necessary check on the structure of an applied formula, not a complete validation of the model.

Takeaway: Carry units through each term. Check that products and powers produce the right output units, convert mismatched units before calculating, and require all added or subtracted terms to be compatible.

Check Your Understanding

For each question, track the units as well as the numerical values.

  1. If \(t\) is in hours and \(C(t)\) is in dollars, what units must a coefficient \(a\) have in the term \(at\)?
  2. A distance formula includes a term \((4\text{ meters})t\), where \(t\) is in seconds. What units does this term have, and is it a distance?
  3. If a rate is \(72\) kilometers per hour, what time unit should be used directly with it to calculate a distance?
  4. Why is a formula with dimensionally consistent terms not automatically a correct model?
  5. A cost formula adds a fixed fee in dollars to a term measured in dollars per hour. What should you check or change before adding the terms?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon