Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 1

Modeling Real-World Relationships with Functions

Recommended resources

Hello! This is the first lesson in a course that builds foundations for IB DP coursework across several subjects. We begin with mathematical modelling: expressing how one quantity depends on another. Today you will write a real-world relationship in function notation and specify a domain that fits the situation—not merely the formula. That distinction will matter throughout the mathematics module, especially when you later use models to make predictions.


From a relationship to a function

Suppose a tank contains 18 litres of water and a pump adds water at a constant rate of 4 litres per minute. If is the number of minutes since the pump started, the volume in the tank is

Read as “ of ”: the volume determined by the time . The number 18 is the starting volume, and is the volume added after minutes. For example,

In words, 2.5 minutes after the pump starts, the model gives a volume of 28 litres. The input has units of minutes; the output has units of litres. Keeping those units beside the variables makes the notation meaningful rather than just symbolic.

A function assigns one output to each permitted input. That does not mean different inputs must have different outputs. It means that once an allowed input is specified, the rule gives an unambiguous result. The letter naming the function can reflect what its output represents: for volume or for cost, for instance. The parentheses in indicate an input, not multiplication.

Functions, domain, range [IB Maths AA SL/HL]

Watch “Functions, domain, range [IB Maths AA SL/HL]” from Sirius Revision for a short introduction to reading function notation.

Watch function notation. Focus on the distinction between the input placed in the parentheses and the output produced by the rule. The speaker also shows why a function need not be called f.



The situation determines which inputs are allowed

An algebraic formula and a real-world model are not quite the same thing. You can calculate for , but “three minutes since the pump started” cannot be negative. More subtly, you can calculate it for , yet that does not tell you whether the pump is still running then.

The domain is the set of permitted inputs. To choose it, ask two questions:

  1. Does the formula give a mathematically defined output for this input?
  2. Does the input—and the use of this formula at that input—make sense in the stated situation?

The first question catches issues such as division by zero. The second catches negative times, fractional counts, capacity limits and times beyond the period a process is being modelled.

1.4: Function Notation - Mathematics LibreTexts

Read the “Modeling with Functions” subsection of Mathematics LibreTexts to see how a price-per-unit relationship becomes a function and why its real-world domain can be narrower than its algebraic one.

In “Modeling with Functions,” begin with the paragraph starting “It is important to remember that whenever Mathematics is used to approximate reality.” Read the modelling example through the paragraph that gives a possible upper limit on the amount of grapes purchased. Focus on how the input and output are defined, and on the difference between an upper limit supplied by a situation and one that could be deduced from the price formula alone.

A price of 1.50 per unit tells you how to calculate a cost; it does not tell you how much stock is available. A maximum purchase of 100 units is justified only if we add an assumption such as “the shop can sell at most 100 units.” Do not invent a convenient bound and present it as though it were given.

Now suppose our tank’s pump runs for exactly 7 minutes. Time can be measured to fractions of a minute, so an appropriate model is

where is measured in minutes and in litres. The domain is the real numbers from 0 through 7, including both endpoints. At , the tank contains 18 litres; at , it contains litres. Calculating is possible algebraically, but it is not a prediction licensed by this model: the stated pumping period has ended.



When inputs are counts rather than measurements

Time in the tank example can take values such as minutes. An order quantity behaves differently. Suppose a supplier charges a fixed delivery fee of 14 currency units plus 6 currency units per laboratory kit, and accepts orders of 1 to 30 whole kits. Let be the number of kits and the total cost. Then

Here currency units: the fixed fee plus the cost of three kits. The formula also produces an answer for , but an order for two and a half whole kits is not allowed. It produces an answer for , but the supplier does not accept a zero-kit order. Neither input belongs to the applied domain, even though both can be substituted into the expression .

Inputs like these form a discrete set: separate allowed values rather than every value between two endpoints. Counts are often discrete, while measurements such as elapsed time or mass are often treated as continuous. The context still has the final say—a time recorded only in whole-minute steps, for example, would have a different domain from continuously measured time.

Domain and Range Word Problems

Watch the selected examples in “Domain and Range Word Problems” by Tom Teaches Math. They contrast a situation with separate permitted inputs and one modelled using a continuous interval.

Watch the score example for how the variables, function and discrete domain are identified. Then skip to the ride example and notice why an inequality can describe its continuous domain. Concentrate on the reasoning used to admit or exclude inputs, rather than on finding the range.



State the domain so its boundaries are unmistakable

For a continuous input, an inequality or interval notation can express the same domain. The tank model’s domain can be written either as or as . Square brackets mean the endpoints are included; round brackets mean they are excluded.

The table pairs inequalities with interval notation and number-line graphs. Use the endpoint symbols to check whether a boundary value belongs to a continuous domain; a solid interval does not represent a count restricted to whole numbers.

For example, if a process is defined only after time 0 but through time 7, its continuous domain is , written . The choice between an open and a closed endpoint should follow the wording of the situation.

For the kit order, however, would be misleading: it includes , and every other real number between 1 and 30. The set states the intended inputs. Equivalently, you could write with an integer.

A useful final check is to read your finished model aloud. Does the input variable name a quantity and unit? Does the output name a quantity and unit? Do the smallest, largest and in-between inputs in your stated domain all make sense? If a boundary is absent from the question, state the assumption you need rather than silently adding it.



Conclusion

A real-world function consists of more than a calculation rule. Function notation identifies which quantity depends on which input, while the domain identifies the inputs for which the rule is intended. Check both mathematical validity and the situation’s constraints; distinguish continuous measurements from discrete counts; and state any assumed limits explicitly.

In the next lesson, you will solve quadratic equations using the quadratic formula. The habit established here—checking what an answer means in context—will remain important when an equation produces values that are mathematically valid but unsuitable for a particular model.