Chapter 1 Variables and variation
Section 1.1 Variables, constants, and parameters
The use of symbols and alphabetic letters to represent numbers both known and unknown dates back millennia and was practised in numerous ancient cultures around the world.
We often use letters or symbols to represent quantities that maintain a constant value, which we (unsurprisingly) refer to as constants. Two familiar examples are the use of the Greek letter to represent the common ratio of circumference to diameter that every circle exhibits and the use of the ordinary letter to represent the speed of light in a vacuum.
While and are βknownβ constants (to the extent that the value of can be βknownβ), an unknown value is sometimes referred to as a constant as well, and is assigned a letter like or to represent it, in the case the unknown value is known or assumed to be literally constant (unchanging) in its context. For example, a pair of parallel lines remain the same, fixed, perpendicular distance apart along their lengths. While we have chosen to use a βvariableβ to represent this value, it is unchanging in its context of two particular lines: no matter what perpendicular segment between the two lines is considered, the length of that segment is always the same. However, it is an unknown constant as it is dependent on the particular pair of lines considered β a different pair of parallel lines might have a different constant distance between them.
A quantity whose value can be controlled is often referred to as a parameter. It often represents a choice that can be made in creating or defining some mathematical object, and can be used to parametrize (or index) the entire collection of objects that can be created. For example, the collection of all lines in the Cartesian -plane that pass through the origin can be parametrized by their slopes β for each slope value we can create a line through the origin with equation
For a particular such line the slope value is constant, but a different slope creates a different line.
The letters and in the line-equation example above play a different role than the letter A line is a collection of points, and we think of these points as being at varying positions along the line, where and represent the coordinates of any one of these points. Any quantity that can vary will be represented by a variable.
Of course, how we categorize a quantity is based on point of view β a single line has a constant slope, itβs when we want to consider a family of lines with the same form of equation that slope becomes a parameter. How we refer to any letter that represents a quantity β as constant, parameter, or variable β indicates to the reader or listener a particular role that we wish that letter to play.
Section 1.2 Accumulation
When a quantity is variable, we often want to compare its values at different data points to identify trends. When the quantity grows larger, we think of it as accumulating, and when it becomes smaller, we think of it as diminishing or dissipating. However, we will use the same word accumulation for both situations, using positive and negative to distinguish between the two.
Notice the following.
So a positive accumulation indicates that the quantity has increased from the first to second data points, and a negative accumulation indicates that the quantity has decreased.
Example 1.2.2. Accumulation of rain.
You leave a one litre container out in the rain, and when the rain stops it is a quarter-full. A few days of sunny weather later and half of that has evaporated. So over the rainy period the accumulation in millilitres was approximately
while over the sunny period the accumulation was approximately
Section 1.3 Rate of variation
It is often the case that two quantities are varying in tandem, and we wish to compare the amounts by which they vary.
Example 1.3.1. Volume varies by depth.
A graduated cylinder is a vessel for measuring a volume of liquid using a ruled scale printed vertically on its side. It works because at a constant diameter, the volume can be directly related to depth by
When designing a graduated cylinder for manufacture, what diameter should be chosen so that the ruled markings can be printed as millimetres, with each centimetre of depth corresponding to cubic centimetres of volume? A variation in height corresponds to a variation in volume, so that two different depths and with corresponding volumes and we have
If we turn this into a ratio we can directly see how a variation in depth leads to a variation in volume.
We can think of this ratio as describing variation in volume per unit variation in depth. This is because if then
So whenever the depth changes by centimetre, the volume will change by
cubic centimetres. But if the depth changes by centimetres, then the volume will change by
cubic centimetres.
We can now answer the original question: the requirement that each centimetre of change in depth correspond to cubic centimetres change in volume can be stated as
if was assume that both the diameter and the depth are measured in centimetres. Solving, we obtain
where we discard the negative solution since we want diameter to be a positive quantity. So the diameter should be approximately 3.57 cm.
Definition 1.3.3. Average rate of variation.
As suggested by the choice of placing and as the first coordinate in the data points, the quantity whose variation is used as the denominator in a rate ratio is usually considered to the be independent variable, while the other quantity is thought of as the dependent variable. That is, using the variables and we think of variation in as causing or βdrivingβ the variation in We have chosen the variable to represent the βgeneralβ independent variable instead of the more traditional variable because we will usually consider time as the ultimate βindependent variable,β and we want to invoke the intuition of a quantity varying over some period of time when we make general statements. However, in many situations the independent variable will represent something other than time. For example, in economics you might model variations in cost of production as the number of units being produced varies.
The following example from physics with time as the independent variable should be familiar to you.
Example 1.3.4. Average speed.
We will study average rate of variation further in later chapters.
Section 1.4 Constant variation
Normally we think of rate of variation as itself being a quantity that varies. For example, in Example 1.3.4, you likely didnβt leave your parking spot at 100 kmβh and you likely didnβt crash into your destination at 100 kmβh. Along the way, you would have sped up and slowed down at various points of the trip, perhaps even stopped completely at traffic lights. If we calculated an average rate of variation over the first five minutes of the trip, while you were travelling on city streets to get out onto the highway, the result would likely have been much lower than 100 kmβh.
So a pair of quantities that vary in tandem so that the average rate of variation between them is always the same is a special situation.
Example 1.4.1. Varying quantities at a constant rate.
seems to always be true between every pair of data points. Then we can predict the quantity at any level of quantity using only a single known data point. For example, suppose we know an βinitialβ data point where when Then using and in any average rate calculation will tell us the second data point. For example, if we use for the second data point, we can calculate the corresponding -value as follows.
We can use a similar calculation to determine the -value corresponding to any value of In Figure 1.4.2, we have plotted some example data points obtained in this way on a set of -axes. From these data points, we observe a clear linear relationship between and
Pattern 1.4.3. Constant rate means linear relationship.
Graphically, when two quantities exhibit a constant rate of variation, we can plot the relationship between and on a set of -axes and obtain a line with equation as in Pattern 1.4.3, where the slope of the line is
Example 1.4.4. Determining linear relation for a quantity with constant rate of variation.
as the variation in per unit variation in , we also see that the plotted line descends two units for each unit increase in
Compare the graphs in Figure 1.4.2 and Figure 1.4.5. In the first graph, the line goes up as it goes to the right, as we expect from its positive slope. In the second graph, the line goes down as it goes to the right, as we expect from its negative slope.
Pattern 1.4.6. Increasing/decreasing at a constant rate.
Suppose quantity varies at a constant rate relative to quantity If that constant rate is positive, then values of increase as increases. If that constant rate is negative, then values of decrease as increases.