At it’s most fundamental a function is just a rule for associating a given input with its unique output. For example, we could specify a particular function by writing “take two copies of the input, multiply them together and return the result as output.” This is a complete and valid description but it is cumbersome to use. This is why we’ve invented notation that allows us to write the description succinctly as the formula \(f(x)=x^2\text{.}\) It is easy to sketch an accurate graph of a function that is given as a formula, especially using modern technology, because the formula tells you the steps for finding the output for any given input.
As mentioned earlier, formulas are the Holy Grail of modern science and business. But, despite what you have seen in your mathematics education so far, very often we don’t have such a formula. In fact, this is usually the situation.
Subsection10.2.1Graphing with Incomplete Information About the Derivative
For example if you own a trout fishery business, you would love to have a formula that tells you how many trout your fishery will have on any given day of the year. With such a formula you could make plans for your business well into the future. We will talk about this in more detail in the next section. For now we will work a little more abstractly.
Example10.2.1.
Suppose we have the following information about a certain function. Can we sketch a reasonable graph of the function?
\(\displaystyle y(1)=2 \)
\(\displaystyle \dfdxat{y}{x}{1}=0\)
\(\displaystyle \dfdxat{y}{x}{5}=0\)
\(\displaystyle \eval{\dfdxn{y}{x}{2}}{x}{3}=0\)
\(\displaystyle \eval{\dfdxn{y}{x}{2}}{x}{5}=0\)
\(\dfdx{y}{x}\gt0\)
for all \(x\lt1\)
\(\dfdx{y}{x}\lt0\)
for \(1\lt x\lt 5\)
and \(x\gt5\)
\(\dfdxn{y}{x}{2}\gt0\)
for \(3\lt x\lt5\)
\(\dfdxn{y}{x}{2}\lt0\)
for \(x\lt3\)
and \(x\gt5\)
In a sense this is easier than the previous problems, since intervals of increase, decrease, concave up, and concave down have already been determined for us. For example, here are the tables for each.
Table10.2.2.POTPs
Interval
\((-\infty, 1)\)
\((1,5)\)
\((5,\infty )\)
\(\dfdx{y}{x} \)
\(\dfdx{y}{x}\gt0\)
\(\dfdx{y}{x}\lt0\)
\(\dfdx{y}{x}\lt0\)
\(y\)
\(\nearrow\)
\(\searrow\)
\(\searrow\)
Table10.2.3.PITPs
Interval
\((-\infty, 3)\)
\((3,5)\)
\((5,\infty )\)
\(\dfdxn{y}{x}{2} \)
\(\dfdxn{y}{x}{2}\lt0\)
\(\dfdxn{y}{x}{2}\gt0\)
\(\dfdxn{y}{x}{2}\lt0\)
\(y\)
\(\bigcap\)
\(\bigcup\)
\(\bigcap\)
Drill10.2.4.
In Example 10.2.1 we have \(\dfdxat{y}{x}{5}=0\) and \(\dfdx{y}{x}\lt 0\) on the intervals \((1,5)\) and \((5,\infty)\text{.}\) Given that \(\dfdxat{y}{x}{5}=0\) and \(\dfdxn{y}{x}{2}\lt 0\) when \(x\gt 5\text{,}\) did we really need to specify that \(\dfdx{y}{x}\lt0\) on the interval \((5,\infty)\text{?}\)
Based on the information given, the function \(y=y(x)\) has a local maximum at \(x=1\) and inflection points at \(x=3\) and \(x=5.\) A sketch of the graph might look something like this:
Problem10.2.5.
Sketch the graph of \(y=y(x)\) which satisfies the given requirements.
(a)
\(y(-8)=10\text{,}\)
\(\dfdx{y}{x}\lt0\) for all \(x\)
\(\displaystyle \dfdxn{y}{x}{2}\gt0\)
(b)
\(y(0)=0\text{,}\)
\(\eval{\dfdx{y}{x}}{x}{0}=0\text{,}\)
\(\geneval{\dfdx{y}{x}}{x}{\neq0}\gt0\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\) for \(x\lt0\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\) for \(x\gt0\text{,}\)
(c)
\(-\frac{\pi}{2}\lt y\lt\frac{\pi}{2}\) for all \(x\text{,}\)
\(y(0)=0\text{,}\)
\(\dfdxat{y}{x}{0}=1\text{,}\)
\(\dfdx{y}{x}\gt0\) for all \(x\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\text{,}\) for \(x\lt0\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\text{,}\) for \(x\gt0\text{,}\)
(d)
\(y(0)=0\text{,}\)
\(\dfdxat{y}{x}{0}\) does not exist,
\(\geneval{\dfdx{y}{x}}{x}{\neq0}\gt0\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\text{,}\) for \(x\lt0\)
\(\dfdxn{y}{x}{2}\lt0\text{,}\) for \(x\gt0\)
(e)
\(y\gt0\) for all \(x\text{,}\)
\(y(0)=1\text{,}\)
\(\dfdx{y}{x}\gt0\) for all \(x\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\) for all \(x\text{.}\)
(f)
\(y(0)=0\text{,}\)
\(\dfdxat{y}{x}{0}=0\text{,}\)
\(\displaystyle \dfdxat{y}{x}{2}=0,\)
\(\dfdx{y}{x}\gt0\) for \(x\) in \((-\infty,0)\text{,}\)
\(\dfdx{y}{x}\gt0\) for \(x\) in \((0,2)\text{,}\)
\(\dfdx{y}{x}\lt0\) for \(x\gt2\text{,}\)
\(\eval{\dfdxn{y}{x}{2}}{x}{0}=0\text{,}\)
\(\eval{\dfdxn{y}{x}{2}}{x}{1}=0\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\) for \(x\) in \((0,1)\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\) for \(x\) in \((-\infty,0)\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\) for \(x\) in \((1,\infty)\text{,}\)
(g)
\(y(3)=7\text{,}\)
\(\dfdx{y}{x}=1\text{,}\) for \(x\lt 3\text{,}\)
\(\dfdx{y}{x}=-1\text{,}\) for \(x\gt 3\)
(h)
\(y(-x)=y(x)\) for all \(x\text{,}\)
\(y(0)=1\text{,}\)
\(\dfdxat{y}{x}{0}=0\text{,}\)
\(\dfdxat{y}{x}{2}=0\text{,}\)
\(\dfdx{y}{x}\gt0\text{,}\) for \(0\lt x\lt2\)
\(\dfdx{y}{x}\lt0\text{,}\) for \(x\gt2\)
\(\displaystyle \eval{\dfdxn{y}{x}{2}}{x}{1}=0,\)
\(\dfdxn{y}{x}{2}\gt0\) for \(x\) in \((0,1)\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\) for \(x\) in \((1,\infty)\)
(i)
\(y(-x)=-y(x)\text{,}\) for all \(x\text{,}\)
\(\dfdxat{y}{x}{0}=0\text{,}\)
\(\dfdxat{y}{x}{2}=0\text{,}\)
\(\dfdx{y}{x}\gt0\text{,}\) for \(0\lt x \lt2\text{,}\)
\(\geneval{\dfdx{y}{x}}{x}{\gt2}\lt0\text{,}\)
\(\eval{\dfdxn{y}{x}{2}}{x}{1}=0\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\text{,}\) for \(0\lt x\lt1\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\) for \(x\gt1\text{.}\)
(j)
For this problem we restrict the domain to the interval \([0,2\pi]\text{.}\)
\(y(0)=y(2\pi)=-2\text{,}\)
\(y(\pi)=2\text{,}\)
\(\dfdx{y}{x}\gt0\text{,}\) for \(0\lt x\lt \pi\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\) for \(0\lt x \lt\frac{\pi}{2}\text{,}\)
\(\dfdxn{y}{x}{2}\gt0\) for \(\frac{3\pi}{2} \lt x\lt2\pi\text{,}\)
\(\dfdxn{y}{x}{2}\lt0\) for \(\frac{\pi}{2}\lt x \lt \frac{3\pi}{2}\)
Subsection10.2.2Graphing \(y(x)\) from the Graph of \(\dfdx{y}{x} \)
In Section 6.5 we found the graph of \(\inverse\tan(x)\) by examining the graph of its derivative, the Witch of Agnesi. The procedure we used in Section 6.5 is quite general. For example, suppose the graph of \(\dfdx{y}{x}\) is given below.
Recall that with a graph for \(\dfdx{y}{x}\text{,}\) finding where \(y\) is increasing or \(y\) is decreasing is just a matter of determining where the derivative is positive (above the \(x\) axis) or negative (below the \(x\) axis). Similarly the concavity of the graph of \(y(x)\) can be determined by finding where \(\dfdx{y}{x}\) is increasing (so \(y\) is concave upward) and decreasing (so \(y\) is concave downward). Equivalently, we find where \(\dfdxn{y}{x}{2} \) is positive and where it is negative. Given the graph of \(\dfdx{y}{x}\) above, we can produce the following tables.
Table10.2.6.POTPs
Interval
\((-\infty, 0)\)
\((0,2)\)
\((2,\infty) \)
\(\dfdx{y}{x} \)
\(\dfdx{y}{x} \gt 0\)
\(\dfdx{y}{x} \lt 0\)
\(\dfdx{y}{x} \gt 0\)
\(y\)
\(\nearrow \)
\(\searrow \)
\(\nearrow \)
Table10.2.7.PITPs
Interval
\((-\infty, 1)\)
\((1,\infty)\)
\(\dfdxn{y}{x}{2} \)
\(\dfdxn{y}{x}{2}\lt0 \)
\(\dfdxn{y}{x}{2}\gt0 \)
\(y \)
\(\bigcap \)
\(\bigcup \)
From the data in our tables we see that the graph of \(y\) looks something like this.
Problem10.2.8.
Each of the following graphs is the derivative of some function. Find the shape of the graph of the function.