Skip to main content

Section 7.2 Difference Quotient

Sometimes, we want to compute average rate of change, but we don't know exactly which \(x\)-values we want to compute it between. In that case, we will use what we know about function notation from Section 2.1 to compute the average rate of change with variables

Example 7.4.

Suppose \(f(x)=x^2-7\) and we want to compute the average rate of change from \(x=1\) to \(x=1+h\text{.}\) We still follow the same procedure we always use for average rate of change. Both \(1\) and \(1+h\) are \(x\)-values, so we need to plug them into our function to get the \(y\)-values:

\begin{equation*} f(1)=(1)^2-7=-6 \end{equation*}
\begin{equation*} f(1+h)=(1+h)^2-7=(1+h)(1+h)-7=(1^2+1h+1h+h^2)-7=(1+2h+h^2)-7=2h+h^2-6 \end{equation*}

In the last calculation, we mulitplied out the square and combined like terms. The reason is that we will now be cominbing it with other expressions, so simplifying now makes our next step a little bit easier. Now that we know the \(y\)-values, we just need to compute the slope between the points \((1,f(1))\) and \((1+h,f(1+h))\text{,}\) which we now know is \((1,-6)\) and \((1+h,2h+h^2-6)\text{.}\) Parentheses are going to be very important for this step! Remember that with slope we can subtract in either order, as long as we are consistent on top and bottom. In this case, we recommend starting with the one that has the h's to make the simplifying a little bit easier:

\begin{equation*} \frac{(2h+h^2-6)-(-6)}{(1+h)-1}=\frac{2h+h^2-6+6}{1+h-1}=\frac{2h+h^2}{h}=\frac{h(2+h)}{h}=2+h \end{equation*}

Therefore, our answer is that the average rate of change of \(f(x)\) on \([1,1+h]\) is \(2+h\text{.}\)

Checkpoint 7.5.

Suppose \(f(x)=3x-2\text{.}\) Compute the average rate of change of \(f(x)\) on \([5,5+h]\text{.}\)
Answer.
\(3\)
Solution.

We still follow the same procedure we always use for average rate of change. Both \(1\) and \(1+h\) are \(x\)-values, so we need to plug them into our function to get the \(y\)-values:

\begin{equation*} f(5)=3(5)-2=13 \end{equation*}
\begin{equation*} f(5+h)=3(5+h)-2=15+3h-2=13+3h \end{equation*}

Now that we know the \(y\)-values, we just need to compute the slope between the points \((5,f(5))\) and \((5+h,f(5+h))\text{,}\) which we now know is \((5,13)\) and \((5+h,13+3h)\text{.}\) Parentheses are going to be very important for this step! Remember that with slope we can subtract in either order, as long as we are consistent on top and bottom. In this case, we recommend starting with the one that has the h's to make the simplifying a little bit easier:

\begin{equation*} \frac{(13+3h)-(13)}{(5+h)-5}=\frac{13+3h-13}{5+h-5}=\frac{3h}{h}=3 \end{equation*}

Therefore, our answer is that the average rate of change of \(f(x)\) on \([5,5+h]\) is \(3\text{.}\)

Example 7.6.

Suppose \(f(x)=2x^2-1\) and we want to compute the average rate of change of \(f(x)\) on \([a,a+h]\text{.}\) We still follow the same procedure we always use for average rate of change. Both \(a\) and \(a+h\) are \(x\)-values, so we need to plug them into our function to get the \(y\)-values:

\begin{equation*} f(a)=2(a)^2-1=2a^2-1 \end{equation*}
\begin{equation*} f(a+h)=2(a+h)^2-1=2(a+h)(a+h)-1=2(a^2+ah+ah+h^2)-1=2(a^2+2ah+h^2)-1=2a^2+4ah+2h^2-1 \end{equation*}

In the last calculation, we mulitplied out the square and combined like terms. The reason is that we will now be cominbing it with other expressions, so simplifying now makes our next step a little bit easier. Now that we know the \(y\)-values, we just need to compute the slope between the points \((a,f(a))\) and \((a+h,f(a+h))\text{,}\) which we now know is \((a,2a^2-1)\) and \((a+h,2a^2+4ah+2h^2-1)\text{.}\) Parentheses are going to be very important for this step! Remember that with slope we can subtract in either order, as long as we are consistent on top and bottom. In this case, we recommend starting with the one that has the h's to make the simplifying a little bit easier:

\begin{equation*} \frac{(2a^2+4ah+2h^2-1)-(2a^2-1)}{(a+h)-a}=\frac{2a^2+4ah+2h^2-1-2a^2+1}{a+h-a}=\frac{4ah+2h^2}{h}=\frac{h(4a+2h)}{h}=4a+2h \end{equation*}

Therefore, our answer is that the average rate of change of \(f(x)\) on \([a,a+h]\) is \(4a+2h\text{.}\)

Checkpoint 7.7.

Suppose \(f(x)=x^2+5\text{.}\) Compute the average rate of change of \(f(x)\) on \([a,a+h]\text{.}\)

Answer.
\(2a+h\)
Solution.

We still follow the same procedure we always use for average rate of change. Both \(a\) and \(a+h\) are \(x\)-values, so we need to plug them into our function to get the \(y\)-values:

\begin{equation*} f(a)=(a)^2+5 \end{equation*}
\begin{equation*} f(a+h)=(a+h)^2+5=(a+h)(a+h)+5=(a^2+ah+ah+h^2)+5=a^2+2ah+h^2+5 \end{equation*}

In the last calculation, we mulitplied out the square and combined like terms. The reason is that we will now be cominbing it with other expressions, so simplifying now makes our next step a little bit easier. Now that we know the \(y\)-values, we just need to compute the slope between the points \((a,f(a))\) and \((a+h,f(a+h))\text{,}\) which we now know is \((a,a^2+5)\) and \((a+h,a^2+2ah+h^2+5)\text{.}\) Parentheses are going to be very important for this step! Remember that with slope we can subtract in either order, as long as we are consistent on top and bottom. In this case, we recommend starting with the one that has the h's to make the simplifying a little bit easier:

\begin{equation*} \frac{(a^2+2ah+h^2+5)-(a^2+5)}{(a+h)-a}=\frac{a^2+2ah+h^2+5-a^2-5}{a+h-a}=\frac{2ah+h^2}{h}=\frac{h(2a+h)}{h}=2a+h \end{equation*}

Therefore, our answer is that the average rate of change of \(f(x)\) on \([a,a+h]\) is \(2a+h\text{.}\)