- Verberg vooruitgang Hide progress Toon vooruitgang Show progress
- Verwijder je antwoorden (op deze pagina) Remove your answers (on this page)
Mathematics can be thought of as the study of patterns. In most disciplines, Mathematics is used as a language to express, or codify, relationships between quantities - both algebraically and geometrically - with the ultimate goal of solving real-world problems. The fact that the same algebraic equation which models the growth of bacteria in a petri dish is also used to compute the account balance of a savings account or the potency of radioactive material used in medical treatments speaks to the universal nature of Mathematics. Indeed, Mathematics is more than just about solving a specific problem in a specific situation, it’s about abstracting problems and creating universal tools which can be used by a variety of scientists and engineers to solve a variety of problems.
This power of abstraction has a tendency to create a language that is initially intimidating to students. Mathematical definitions are precise and adherence to that precision is often a source of confusion and frustration. It doesn’t help matters that more often than not very common words are used in Mathematics with slightly different definitions than is commonly expected. The first ‘universal tool’ we wish to highlight - the concept of a ‘function’ - is a perfect example of this phenomenon in that we redefine a word that already has multiple meanings in English.
Given two sets \(A\) and \(B\), a function from \(A\) to \(B\) is a process by which each element of \(A\) is matched with (or ‘mapped to’) one and only one element of \(B\).
The grammar here ‘from \(A\) to \(B\,\)’ is important. Thinking of a function as a process, we can view the elements of the set \(A\) as our starting materials, or inputs to the process. The function processes these inputs according to some specified rule and the result is a set of outputs - elements of the set \(B\). In terms of inputs and outputs, Definition 1 says that a function is a process in which each input is matched to one and only one output.
For example, let’s take a look at some of the pets in the Stitz household. Taylor’s pets include White Paw and Cooper (both cats), Bingo (a lizard) and Kennie (a turtle). Let \(N\) be the set of pet names: \(N = \{ \text {White Paw, Cooper, Bingo, Kennie} \}\), and let \(T\) be the set of pet types: \(T = \{ \text {cat, lizard, turtle} \}\). Let \(f\) be the process that takes each pet’s name as the input and returns that pet’s type as the output. Let \(g\) be the reverse of \(f\): that is, \(g\) takes each pet type as the input and returns the names of the pets of that type as the output. Note that both \(f\) and \(g\) are codifying the same given information about Taylor’s pets, but one of them is a function and the other is not.
To help identify which process \(f\) or \(g\) is a function and why the other is not, we create mapping diagrams for \(f\) and \(g\) below. In each case, we organize the inputs in a column on the left and the outputs in a column on the right. We draw an arrow connecting each input to its corresponding output(s). Note that the arrows communicate the grammatical bias: the arrow originates at the input and points to the output.
The process \(f\) is a function since \(f\) matches each of its inputs (each pet name) to just one output (the pet’s type). The fact that different inputs (White Paw and Cooper) are matched to the same output (cat) is fine. On the other hand, \(g\) matches the input ‘cat’ to the two different outputs ‘White Paw’ and ‘Cooper’, so \(g\) is not a function. Functions are favored in mathematical circles because they are processes which produce only one answer (output) for any given query (input). In this scenario, for instance, there is only one answer to the question: ‘What type of pet is White Paw?’ but there is more than one answer to the question ‘Which of Taylor’s pets are cats?’
As you might expect, with functions being such an important concept in Mathematics, we need to build a vocabulary to assist us when discussing them. To that end, we have the following definitions.
Suppose \(f\) is a function from \(A\) to \(B\).
If \(a \in A\), we write \(f(a)\) (read ‘\(f\) of \(a\, \)’) to denote the unique element of \(B\) to which \(f\) matches \(a\).
That is, if we view ‘\(a\,\)’ as the input to \(f\), then ‘\(f(a)\)’ is the output from \(f\).
The set \(A\) is called the domain.
Said differently, the domain of a function is the set of inputs to the function.
The set \(\{ f(a) \, | \, a \in A \}\) is called the range of \(f\).
Said differently, the range of a function is the set of outputs from the function.
Some remarks about Definition 2 are in order. First, and most importantly, the notation ‘\(f(a)\)’ in Definition 2 introduces yet another mathematical use for parentheses. Parentheses are used in some cases as grouping symbols, to represent ordered pairs, and to delineate intervals of real numbers. More often than not, the use of parentheses in expressions like ‘\(f(a)\)’ is confused with multiplication. As always, paying attention to the context is key. If \(f\) is a function and ‘\(a\,\)’ is in the domain of \(f\), then ‘\(f(a)\)’ is the output from \(f\) when you input \(a\). The diagram below provides a nice generic picture to keep in mind when thinking of a function as a mapping process with input ‘\(a\,\)’ and output ‘\(f(a)\)’.
In the preceding pet example, the symbol \(f(\text {Bingo})\), read ‘\(f\) of Bingo’, is asking what type of pet Bingo is, so \(f(\text {Bingo}) = \text {lizard}\). The fact that \(f\) is a function means \(f(\text {Bingo})\) is unambiguous because \(f\) matches the name ‘Bingo’ to only one pet type, namely ‘lizard’. In contrast, if we tried to use the notation ‘\(g(\text {cat})\)’ to indicate what pet name \(g\) matched to ‘cat’, we have two possibilities, White Paw and Cooper, with no way to determine which one (or both) is indicated.
Continuing to apply Definition 2 to our pet example, we find that the domain of the function \(f\) is \(N\), the set of pet names. Finding the range takes a little more work, mostly because it’s easy to be caught off guard by the notation used in the definition of ‘range’. The description of the range as ‘\(\{ f(a) \, | \, a \in A \}\)’ is an example of ‘set-builder’ notation. In English, ‘\(\{ f(a) \, | \, a \in A \}\)’ reads as ‘the set of \(f(a)\) such that \(a\) is in \(A\)’. In other words, the range consists of all of the outputs from \(f\) - all of the \(f(a)\) values - as \(a\) varies through each of the elements in the domain \(A\). Note that while every element of the set \(A\) is, by definition, an element of the domain of \(f\), not every element of the set \(B\) is necessarily part of the range of \(f\).
In our pet example, we can obtain the range of \(f\) by looking at the mapping diagram or by constructing the set \(\{ f(\text {White Paw}), f(\text {Cooper}), f(\text {Bingo}), f(\text {Kennie}) \}\) which lists all of the outputs from \(f\) as we run through all of the inputs to \(f\). Keep in mind that we list each element of a set only once so the range of \(f\) is:
If we let \(n\) denote a generic element of \(N\) then \(f(n)\) is some element \(t\) in \(T\), so we write \(t = f(n)\). In this equation, \(n\) is called the independent variable and \(t\) is called the dependent variable. Moreover, we say ‘\(t\) is a function of \(n\,\)’, or, more specifically, ‘the type of pet is a function of the pet name’ meaning that every pet name \(n\) corresponds to one, and only one, pet type \(t\). Even though \(f\) and \(t\) are different things, it is very common for the function and its outputs to become more-or-less synonymous, even in what are otherwise precise mathematical definitions. We will endeavor to point out such ambiguities as we move through the text.
While the concept of a function is very general in scope, we will be focusing primarily on functions of real numbers because most disciplines use real numbers to quantify data. Our next example explores a function defined using a table of numerical values.
Let \(f\) be the function which matches time to the corresponding recorded outdoor temperature.
Find and interpret the following:
A few remarks about Example 1 are in order. First, note that \(f(2+4)\), \(f(2)+f(4)\) and \(f(2)+4\) all work out to be numerically different, and more importantly, all represent different things. One of the common mistakes students make is to misinterpret expressions like these, so it’s important to pay close attention to the syntax here.
Next, when solving \(f(t) = 83\), the variable ‘\(t\,\)’ is being used as a convenient ‘dummy’ variable or placeholder in the sense that solving \(f(t) = 83\) produces the same solutions as solving \(f(x) = 83\), \(f(w) = 83\), or even \(f(?) = 83\). All of these equations are asking for the same thing: what inputs to \(f\) produce an output of \(83\). The choice of the letter ‘\(t\,\)’ here makes sense since the inputs are time values. Throughout the text, we will endeavor to use meaningful labels when working in applied situations, but the fact remains that the choice of letters (or symbols) is completely arbitrary.
Finally, given that the range in this example was a finite set of real numbers, we could find the smallest and largest elements of it. Here, they correspond to the coolest and warmest temperatures of the day, respectively, but the meaning would change if the function related different quantities. In many applications involving functions, the end goal is to find the minimum or maximum values of the outputs of those functions (called optimizing the function) so for that reason, we have the following definition.
Suppose \(f\) is a function whose range is a set of real numbers containing \(m\) and \(M\).
The value \(m\) is called the minimum of \(f\) if \(m \leq f(x)\) for all \(x\) in the domain of \(f\).
That is, the minimum of \(f\) is the smallest output from \(f\), if it exists.
The value \(M\) is called the maximum of \(f\) if \(f(x) \leq M\) for all \(x\) in the domain of \(f\).
That is, the maximum of \(f\) is the largest output from \(f\), if it exists.
Definition 3 is an example where the name of the function, \(f\), is being used almost synonymously with its outputs in that when we speak of ‘the minimum and maximum of the function \(f\,\)’ we are really talking about the minimum and maximum values of the outputs \(f(x)\) as \(x\) varies through the domain of \(f\). Thus we say that the maximum of \(f\) is \(83\) and the minimum of \(f\) is \(64\) when referring to the highest and lowest recorded temperatures in the previous example.
By focusing our attention to functions that involve real numbers, we gain access to all of the structures and tools from prior courses in Algebra. In this subsection, we discuss how to represent functions algebraically using formulas and begin with the following example.
Let \(f\) be the function which takes a real number and performs the following sequence of operations:
The for this function \(f\):
Let \(h(t) = -t\,^{2} + 3t + 4\).
Find and simplify the following:
We take \(-5\) and follow it through each step:
Hence, \(f(-5) = -10\).
To find a formula for \(f(x)\), we repeat the above process but use the variable ‘\(x\)’ in place of the number \(-5\):
Hence, we have codified \(f\) using the formula \(f(x) = 3x + 5\). In other words, the function \(f\) matches each real number ‘\(x\)’ with the value of the expression ‘\(3x + 5\)’. As a partial check of our answer, we use this formula to find \(f(-5)\). We compute \(f(-5)\) by substituting \(x = -5\) into the formula \(f(x)\) and find \(f(-5) = 3(-5) + 5 = -10\) as before.
As before, representing the function \(h\) as \(h(t) = -t\,^{2} + 3t + 4\) means that \(h\) matches the real number \(t\) with the value of the expression \(-t\,^{2} + 3t + 4\).
To find \(h(-1)\), we substitute \(-1\) for \(t\) in the expression \(-t\,^{2} + 3t + 4\). It is highly recommended that you be generous with parentheses here in order to avoid common mistakes:
To find \(h(2x)\), we substitute \(2x\) for \(t\):
To find \(h(t + 2)\), we substitute the quantity \(t + 2\) in place of \(t\):
A few remarks about Example 2 are in order. First, note that \(h(2x)\) and \(2 h(x)\) are different expressions. In the former, we are multiplying the input by \(2\); in the latter, we are multiplying the output by \(2\). The same goes for \(h(t + 2)\), \(h(t) + 2\) and \(h(t) + h(2)\). The expression \(h(t + 2)\) calls for adding \(2\) to the input \(t\) and then performing the function \(h\). The expression \(h(t) + 2\) has us performing the process \(h\) first, then adding \(2\) to the output \(h(t)\). Finally, \(h(t) + h(2)\) directs us to first find the outputs \(h(t)\) and \(h(2)\) and then add the results. As we saw in Example 1, we see here again the importance paying close attention to syntax.
Let us return for a moment to the function \(f\) in Example 2 which we ultimately represented using the formula \(f(x) = 3x+5\). If we introduce the dependent variable \(y\), we get the equation \(y = f(x) = 3x + 5\), or, more simply \(y = 3x + 5\). To say that the equation \(y = 3x + 5\) describes \(y\) as a function of \(x\) means that for each choice of \(x\), the formula \(3x + 5\) determines only one associated \(y\)-value.
We could turn the tables and ask if the equation \(y=3x+5\) describes \(x\) as a function of \(y\). That is, for each value we pick for \(y\), does the equation \(y = 3x+5\) produce only one associated \(x\) value? One way to proceed is to solve \(y = 3x+5\) for \(x\) and get \(x= \frac {1}{3} (y-5)\). We see that for each choice of \(y\), the expression \(\frac {1}{3} (y-5)\) evaluates to just one number, hence, \(x\) is a function of \(y\). If we give this function a name, say \(g\), we have \(x = g(y) = \frac {1}{3}(y-5)\), where in this equation, \(y\) is the independent variable and \(x\) is the dependent variable. We explore this idea in the next example.
Consider the equation \(x^{3} + y^{2} = 25\).
Consider the equation \(u^{4} + t^{3}u = 16\).
Solution.
To say that \(x^{3} + y^{2} = 25\) represents \(y\) as a function of \(x\), we need to show that for each \(x\) we choose, the equation produces only one associated \(y\)-value. To help with this analysis, we solve the equation for \(y\) in terms of \(x\).
To see if \(x^{3} + y^{2} = 25\) represents \(x\) as a function of \(y\), we solve the equation for \(x\) in terms of \(y\):
To see if \(u^{4} + t^{3}u = 16\) represents \(t\) as a function of \(u\), we proceed as above and solve for \(t\) in terms of \(u\):
We’ll have more to say about using equations to describe functions in Section ??. For now, we turn our attention to a geometric way to represent functions.
In this section, we introduce how to graph functions. As we’ll see in this and later sections, visualizing functions geometrically can assist us in both analyzing them and using them to solve associated application problems. Our playground, if you will, for the Geometry in this course is the Cartesian Coordinate Plane. The reader would do well to review Section ?? as needed.
Our path to the Cartesian Plane requires ordered pairs. In general, we can represent every function as a set of ordered pairs. Indeed, given a function \(f\) with domain \(A\), we can represent \(f = \{ (a, f(a)) \, | \, a \in A\}\). That is, we represent \(f\) as a set of ordered pairs \((a, f(a))\), or, more generally, \((\text {input}, \text {output})\). For example, the function \(f\) which matches Taylor’s pet’s names to their associated pet type can be represented as:
Moving on, we next consider the function \(f\) from Example 1 which relates time to temperature. In this case, \(f = \{ (0, 64), (2, 67), (4, 75), (6, 80), (8, 83), (10, 83), (12, 82) \}\). This function has numerical values for both the domain and range so we can identify these ordered pairs with points in the Cartesian Plane. The first coordinates of these points (the abscissae) represent time values so we’ll use \(t\) to label the horizontal axis. Likewise, we’ll use \(T\) to label the vertical axis since the second coordinates of these points (the ordinates) represent temperature values. Note that labeling these axes in this way determines our independent and dependent variable names, \(t\) and \(T\), respectively.
The plot of these points is called ‘the graph of \(f\,\)’. More specifically, we could describe this plot as ‘the graph of \(f(t)\)’, because we have decided to name the independent variable \(t\). Most specifically, we could describe the plot as ‘the graph of \(T = f(t)\)’, given that we have named the independent variable \(t\) and the dependent variable \(T\).
Below we present two plots, both of which are graphs of the function \(f\). In both cases, the vertical axis has been scaled in order to save space. In our first graph, the same increment on the horizontal axis to measure \(1\) unit measures \(10\) units on the vertical axis.
In our second graph, the same increment which measures \(1\) unit on the horizontal axis measures \(2\) on the vertical axis. The ‘\(\asymp \)’ symbol on the vertical axis in the graph below is used to indicate a jump in the vertical labeling.
Both are perfectly accurate data plots, but they have different visual impacts. Note here that the extrema of \(f\), \(64\) and \(83\), correspond to the lowest and highest points on the graph, respectively: \((0, 64)\), \((8, 83)\) and \((10,83)\). More often than not, we will use the graph of a function to help us optimize that function.
If you found yourself wanting to connect the dots in the graphs above, you’re not alone. As it stands, however, the function \(f\) matches only seven inputs to seven outputs, so those seven points - and just those seven points - comprise the graph of \(f\). That being said, common everyday experience tells us that while the data Skippy collected in his table gives some good information about the relationship between time and temperature on a given day, it is by no means a complete description of the relationship.
For example, Skippy’s data cannot tell us what the temperature was at 7 a.m. or 12:13 p.m, although we are pretty sure there were outdoor temperatures at those times. Also, given that at some point it was \(64^{\circ }\)F and later on it was \(83^{\circ }\)F, it seems reasonable to assume that at some point it was \(70^{\circ }\)F or even \(79.923^{\circ }\)F.
Skippy’s temperature function \(f\) is an example of a discrete function in the sense that each of the data points are ‘isolated’ with measurable gaps in between. The idea of ‘filling in’ those gaps is a quest to find a continuous function to model this same phenomenon. We’ll return to this example in Sections ??, ?? and ?? in an attempt to do just that.
In the meantime, our next example involves a function whose domain is (almost) an interval of real numbers and whose graph consists of a (mostly) connected arc.
Solution. The challenge in working with only a graph is that unless points are specifically labeled (as some are in this case), we are forced to approximate values. In addition to the labeled points, there are other interesting features of the graph; a gap or ‘hole’ labeled \((1,-3)\) and an arrow on the upper right hand part of the curve. We’ll have more to say about these two features shortly.
The value \(F(0)\) is the output from \(F\) when \(v = 0\). The points on the graph of \(F\) are of the form \((v, F(v))\) thus we are looking for the \(w\)-coordinate of the point on the graph where \(v = 0\). Given that the point \((0,-4)\) is labeled on the graph, we can be sure \(F(0) = -4\).
To solve \(F(v) = 0\), we are looking for the \(v\)-values where the output, or associated \(w\) value, is \(0\). Hence, we are looking for points on the graph with a \(w\)-coordinate of \(0\). We find two such points, \((-2,0)\) and \((2,0)\), so our solutions to \(F(v) = 0\) are \(v = \pm 2\). Pictures highlighting the relevant graphical features are given at the top of the next page.
The domain of \(F\) is the set of inputs to \(F\). With \(v\) as the input here, we need to describe the set of \(v\)-values on the graph. We can accomplish this by projecting the graph to the \(v\)-axis and seeing what part of the \(v\)-axis is covered. Using the GeoGebra interactive below, adjust the slider to visualize the graph of \(F\) being projected to the \(v\)-axis. Each point on the graph of \(F\) is ‘pushed’ to the \(v\)-axis, and the portion which is covered by this process is the domain of \(F\).
The leftmost point on the graph is \((-2,0)\), so we know that the domain starts at \(v=-2\). The graph continues to the right until we encounter the ‘hole’ labeled at \((1,-3)\). This indicates one and only one point, namely \((1,-3)\) is missing from the curve which for us means \(v = 1\) is not in the domain of \(F\). The graph continues to the right and the arrow on the graph indicates that the graph goes upwards to the right indefinitely. Hence, our domain is \(\{ v \, | \, v \geq -2, \, v \neq 1 \}\) which, in interval notation, is \([-2, 1) \cup (1, \infty )\).
To find the range of \(F\), we need to describe the set of outputs - in this case, the \(w\)-values on the graph. Here, we project the graph to the \(w\)-axis. Once again, we are fortunate to have a GeoGebra interactive to help us visualize this process.
Vertically, the graph starts at \((0,-4)\) so our range starts at \(w=-4\). Note that even though there is a hole at \((1,-3)\), the \(w\)-value \(-3\) is covered by what appears to be the point \((-1,-3)\) on the graph. The arrow indicates that the graph extends upwards indefinitely so the range of \(F\) is \(\{ w \, | \, w \geq -4 \}\) or, in interval notation, \([-4, \infty )\). Regarding extrema, \(F\) has a minimum of \(-4\) when \(v = 0\), but given that the graph extends upwards indefinitely, \(F\) has no maximum.
It cannot be stressed enough that when given a graphical representation of a function, certain assumptions must be made. In the previous example, for all we know, the minimum of the graph is at \((0.001, -4.0001)\) instead of \((0,-4)\). If we aren’t given an equation or table of data, or if specific points aren’t labeled, we really have no way to tell. We also are assuming that the graph depicted in the example, while ultimately made of infinitely many points, has no gaps or holes other than those noted. This allows us to make such bold claims as the existence of a point on the graph with a \(w\)-coordinate of \(-3\).
Before moving on to our next example, it is worth noting that the geometric argument made in Example 4 to establish that \(w\) is a function of \(v\) can be generalized to any graph. This result is the celebrated Vertical Line Test and it enables us to detect functions geometrically. Note that the statement of the theorem resorts to the ‘default’ \(x\) and \(y\) labels on the horizontal and vertical axes, respectively.
Let’s take a minute to discuss the phrase ‘if and only if’ used in Theorem 1. The statement ‘the graph represents \(y\) as a function of \(x\) if and only if no vertical line intersects the graph more than once’ is actually saying two things. First, it’s saying ‘the graph represents \(y\) as a function of \(x\) if no vertical line intersects the graph more than once’ and, second, ‘the graph represents \(y\) as a function of \(x\) only if no vertical line intersects the graph more than once’.
Logically, these statements are saying two different things. The first says that if no vertical line crosses the graph more than once, then the graph represents \(y\) as a function of \(x\). But the question remains: could a graph represent \(y\) as a function of \(x\) and yet there be a vertical line that intersects the graph more than once? The answer to this is ‘no’ because the second statement says that the only way the graph represents \(y\) as a function of \(x\) is the case when no vertical line intersects the graph more than once.
Applying the Vertical Line Test to the graph given in Example 4, we see below that all of the vertical lines meet the graph at most once (several are shown for illustration) showing \(w\) is a function of \(v\). Notice that some of the lines (\(x = -3\) and \(x = 1\), for example) don’t hit the graph at all. This is fine because the Vertical Line Test is looking for lines that hit the graph more than once. It does not say exactly once so missing the graph altogether is permitted.
There is also a geometric test to determine if the graph above represents \(v\) as a function of \(w\). We introduce this aptly-named Horizontal Line Test in Exercise ?? and revisit it in Sections ?? and ??.
Our next example revisits the function \(h\) from Example 2 from a graphical perspective.
Solution. The dependent variable wasn’t specified so we use the default ‘\(y\)’ label for the vertical axis and set about graphing \(y = h(t)\). From our work in Example 2, we already know \(h(-1) = 0\), \(h(0) = 4\), \(h(2) = 6\) and \(h(4) = 0\). These give us the points \((-1,0)\), \((0,4)\), \((2,6)\) and \((4,0)\), respectively. Using these as a guide, we can use Desmos to produce the graph below.
As nice as the graph is, it is still technically incomplete. There is no restriction stated on the independent variable \(t\) so the domain of \(h\) is all real numbers. However, the graph as presented shows only the behavior of \(h\) between roughly \(t = -2.5\) and \(t = 4.25\). By zooming out, we see that the graph extends downwards indefinitely which we could indicate by adding the arrows to the graph. Hence, we record the domain as \((-\infty , \infty )\) and the range as \((-\infty , 6.25]\). There is no minimum, but the maximum of \(h\) is \(6.25\) and it occurs at \(t = 1.5\).
Our last example of the section uses the interplay between algebraic and graphical representations of a function to solve a real-world problem.
It turns out that the volume of a box, \(V(x)\), measured in cubic inches, whose length plus girth is exactly 130 inches is given by the formula: \(V(x) = x^2 (130-4x)\) for \(0 < x \leq 26\).
Solution.
The domain of \(V\) is specified by the inequality \(0 < x \leq 26\), so we can begin graphing \(V\) by sampling \(V\) at finitely many \(x\)-values in this interval to help us get a sense of the range of \(V\). This, in turn, will help us determine an adequate viewing window on our graphing utility when the time comes.
It seems natural to start with what’s happening near \(x = 0\). Even though the expression \(x^2 (130-4x)\) is defined when we substitute \(x = 0\) (it reduces very quickly to \(0\)), it would be incorrect to state \(V(0) = 0\) because \(x = 0\) is not in the domain of \(V\). However, there is nothing stopping us from evaluating \(V(x)\) at values \(x\) ‘very close’ to \(x = 0\). A table of such values is given below.
Moving forward, we start with \(x = 5\) and sample \(V\) at steps of \(5\) in its domain. Our goal is to graph \(y = V(x)\), so we list the ordered pairs \((x, V(x))\). The right endpoint, \(x = 26\), is included in the domain \(0 < x \leq 26\), so we end our table with \((26, V(26)) = (26,17, \! 576)\).
\( \begin{array}{|r||c|c|} \hline x & V(x) & (x,V(x)) \\ \hline \approx 0 & \approx 0 & \text {hole at $(0,0)$} \\ \hline 5 & 2750 & (5, 2750) \\ \hline 10 & 9000 & (10, 9000) \\ \hline 15 & 15, \! 750 & ( 15, 15, \! 750) \\ \hline 20 & 20, \! 000 & ( 20 , 20, \! 000) \\ \hline 25 & 18, \! 750 & ( 25, 18, \! 750) \\ \hline 26 & 17, \! 576 & (26,17, \! 576) \\ \hline \end{array}\)
To graph the points, \((x, V(x))\), we use the domain as a guide to help us set the horizontal bounds (i.e., the bounds on \(x\)) and the sample values from the range to help us set the vertical bounds (i.e., the bounds on \(y\)). With some help from Desmos, we create the graph below.
The largest volume in this case refers to the maximum of \(V\). The biggest \(y\)-value in our table of data is \(20, \! 000\) cubic inches which occurs at \(x = 20\) inches, but the graph produced by Desmos indicates that there are points on the graph of \(V\) with \(y\)-values (hence \(V(x)\) values) greater than \(20, \! 000\). Indeed, the graph continues to rise to the right of \(x = 20\) and the graphing utility reports the maximum \(y\)-value to be \(y \approx 20, \! 342.593\) when \(x \approx 21.667\).
Rounding to two decimal places, we find the maximum volume obtainable under these conditions is about \(20, \! 342.59\) cubic inches which occurs when the length and width of the square side of the box are approximately \(21.67\) inches.
It is worth noting that while the function \(V\) has a maximum, it did not have a minimum. Even though \(V(x)>0\) for all \(x\) in its domain, the presence of the hole at \((0,0)\) means that \(0\) is not in the range of \(V\). Hence, based on our model, we can never make a box with a ‘smallest’ volume.
Example 6 typifies the interplay between Algebra and Geometry which lies ahead. Both the algebraic description of \(V\): \(V(x) = x^2 (130 - 4x)\) for \(0 < x \leq 26\), and the graph of \(y=V(x)\) were useful in describing aspects of the physical situation at hand. Wherever possible, we’ll use the algebraic representations of functions to analytically produce exact answers to certain problems and use the graphical descriptions to check the reasonableness of our answers.
That being said, we’ll also encounter problems which we simply cannot answer analytically (such as determining the maximum volume in the previous example), so we will be forced to resort to using technology (specifically graphing technology) in order to find approximate solutions. The most important thing to keep in mind is that while technology may suggest a result, it is ultimately Mathematics that proves it.
We close this section with a summary of the different ways to represent functions.
Suppose \(f\) is a function with domain \(A\). Then \(f\) can be represented:
If \(f\) is a function whose domain and range are subsets of real numbers, then \(f\) can be represented:
Note: An important consequence of the last bulleted item is that the point \((a, b)\) is on the graph of \(y = f(x)\) if and only if \(f(a) = b.\)