Tutorials › AP Calculus › Evaluating Functions and Rates on a Calculator

Calculator Strategy and Error Control · Tutorial 977 of 999

Evaluating Functions and Rates on a Calculator

Practice evaluating functions and computing average rates of change on a calculator while keeping inputs, parentheses, and units clear.

Intermediate 9 min read

What You'll Learn

  • Substitute a specified input into a function without changing the function’s grouping.
  • Enter negative inputs and powers with parentheses.
  • Evaluate functions involving exponential, logarithmic, and trigonometric expressions.
  • Compute average rates of change from two function values.
  • Interpret an average rate as change in output per unit change in input.
  • Check calculator results using the original function and quotient.

From a Function Rule to a Calculator Value

A calculator can evaluate a function quickly, but it cannot decide what expression you intended to enter. Accurate calculator work begins by identifying the entire function rule, substituting the input in the right places, and preserving the structure of the expression with parentheses.

For a function \(f\), the notation \(f(a)\) means the output of the function when its input is \(a\). To find that value, replace every occurrence of the input variable in the rule for \(f\) with \(a\), then evaluate the resulting expression. The input belongs everywhere the variable appears, including inside exponents, logarithms, and trigonometric functions.

Definition: If \(f\) is defined at \(a\), then \(f(a)\) is the function’s output at input \(a\). A calculator evaluation of \(f(a)\) is a numerical approximation when the exact value cannot be represented conveniently.

When entering a substituted expression, group the input explicitly. For example, if the input is \(-2\), enter \((-2)^2\) for the square of the input. That is different from \(-2^2\), which many calculators interpret as the negative of \(2^2\). Likewise, if an expression has a denominator or a difference of function values, group the entire numerator and denominator so that the calculator follows the intended order of operations.

Evaluating a Function at a Specified Input

Before using a calculator, identify the function and the requested input. Then substitute the input and enter the resulting expression with parentheses that make the grouping unambiguous. After the calculator returns a value, check that the result is plausible by reviewing the substituted expression and the signs of its terms.

Worked Example: Evaluate a Polynomial at a Decimal Input

Evaluate \(f(x)=2.7x^2-4.1x+3.2\) at \(x=1.6\).

Substitute \(1.6\) for every \(x\). A clear calculator entry is \(2.7*(1.6)^2-4.1*(1.6)+3.2\). The substituted expression is

$$ f(1.6)=2.7(1.6)^2-4.1(1.6)+3.2. $$

First evaluate the power: \((1.6)^2=2.56\). Then evaluate each product: \(2.7(2.56)=6.912\) and \(4.1(1.6)=6.56\). Therefore,

$$ f(1.6)=6.912-6.56+3.2 =0.352+3.2 =3.552. $$

Check: Substituting the input into the original rule gives the same terms, \(2.7(2.56)\), \(-4.1(1.6)\), and \(3.2\). Their sum is \(6.912-6.56+3.2=3.552\), so \(f(1.6)=3.552\).

For functions involving special operations, the same substitution principle applies. Keep the input grouped inside the operation. Check the calculator’s angle mode when using trigonometric functions; the appropriate mode depends on whether the input is specified in radians or degrees. The earlier material on calculator modes covers that setting.

Worked Example: Evaluate an Exponential and Trigonometric Expression

Evaluate \(g(x)=e^{-x}+\sin x\) at \(x=0.8\), with the angle measured in radians.

Substitute \(0.8\) for \(x\) in both terms. The calculator entry should preserve the negative exponent and the trigonometric input: \(e^{-(0.8)}+\sin(0.8)\). The two function values are

$$ e^{-0.8}\approx 0.449328964 \qquad\text{and}\qquad \sin(0.8)\approx 0.717356091. $$

Add the values without rounding the calculator’s stored results between steps:

$$ g(0.8) =e^{-0.8}+\sin(0.8) \approx 0.449328964+0.717356091 \approx 1.166685055. $$

To six decimal places, \(g(0.8)\approx 1.166685\). Check: The original function has a positive exponential term and a positive sine term at \(0.8\) radians, so their sum must be greater than either term alone. The reported value is greater than both \(0.449328964\) and \(0.717356091\), as required.

Average Rate of Change from Two Function Values

Evaluating a function at two inputs gives the information needed to find its average rate of change over the interval between them. If the inputs are \(a\) and \(b\), with \(a\ne b\), the average rate is the change in output divided by the change in input. The order of subtraction must match: output at \(b\) minus output at \(a\), divided by \(b-a\).

Definition: For a function \(f\) defined at \(a\) and \(b\), where \(a\ne b\), the average rate of change of \(f\) from \(a\) to \(b\) is
$$ \frac{f(b)-f(a)}{b-a}. $$

The quotient compares two changes. The numerator \(f(b)-f(a)\) is the change in the output, and the denominator \(b-a\) is the change in the input. If the output is measured in one unit and the input in another, the average rate has units of output per unit of input.

Why the Quotient Gives an Average Rate

The average rate of change is the slope of the line connecting the two points on the function’s graph. The points are \((a,f(a))\) and \((b,f(b))\). By the definition of slope, vertical change is divided by horizontal change. Here the vertical change is \(f(b)-f(a)\), and the horizontal change is \(b-a\). Therefore, the connecting line has slope \(\frac{f(b)-f(a)}{b-a}\).

Why it works: A rate measures output change per input change. Between inputs \(a\) and \(b\), those changes are \(f(b)-f(a)\) and \(b-a\). Their quotient is the constant rate that would produce the same total output change across that input interval.

This value is an average over the interval, not necessarily the rate at every input within it. For example, a changing quantity may increase quickly during one part of an interval and slowly during another while having one overall average rate. The quotient uses the two endpoint values; it does not describe every intermediate value.

Worked Example: Find an Average Rate from Exact Function Values

Let \(s(t)=0.4t^2+1.2t+3\), where \(s\) is measured in meters and \(t\) in seconds. Find the average rate of change from \(t=2\) to \(t=5\).

First evaluate the function at both endpoints:

$$ s(2)=0.4(2)^2+1.2(2)+3 =0.4(4)+2.4+3 =1.6+2.4+3 =7\text{ m}, $$
$$ s(5)=0.4(5)^2+1.2(5)+3 =0.4(25)+6+3 =10+6+3 =19\text{ m}. $$

Now calculate the output change and input change. A safe calculator entry is \((s(5)-s(2))/(5-2)\), or, after substituting the values, \((19-7)/(5-2)\).

$$ \frac{s(5)-s(2)}{5-2} =\frac{19-7}{5-2} =\frac{12}{3} =4\text{ m/s}. $$

Check: Over \(3\) seconds, an average rate of \(4\text{ m/s}\) corresponds to a change of \(4(3)=12\) meters. The endpoint values differ by \(19-7=12\) meters, so the rate agrees with the original function values.

Using the Calculator Without Losing the Structure

When the function values are not simple, evaluate both first and then form the quotient. Enter the entire numerator in parentheses and the entire denominator in parentheses. This keeps the subtraction grouped correctly and makes the calculation easier to inspect.

Worked Example: Find an Average Rate for a Logarithmic Function

For \(h(x)=\ln(x^2+1)\), find the average rate of change from \(x=1\) to \(x=2\). Both inputs are in the domain because \(x^2+1\) is positive at each one.

Evaluate the first endpoint:

$$ h(1)=\ln(1^2+1)=\ln(2) \approx 0.693147180559945. $$

Evaluate the second endpoint:

$$ h(2)=\ln(2^2+1)=\ln(5) \approx 1.609437912434100. $$

Enter the complete quotient as \((\ln(5)-\ln(2))/(2-1)\). Keeping the full calculator precision through the subtraction and division gives

$$ \frac{h(2)-h(1)}{2-1} = \frac{1.609437912434100-0.693147180559945}{1} \approx 0.916290731874155. $$

To six decimal places, the average rate is approximately \(0.916291\) output units per input unit. Check: Multiplying the reported unrounded quotient by the input change \(2-1=1\) gives the output change, approximately \(0.916290731874155\). The endpoint outputs differ by that same amount.

Parentheses and Order of Operations

A common mistake is to type a correct-looking set of numbers without grouping the intended numerator and denominator. Consider the values \(s(2)=7\) and \(s(5)=19\) from the earlier example. The correct calculator entry is \((19-7)/(5-2)\), which gives \(12/3=4\).

A wrong entry is \(19-7/5-2\). Following the usual order of operations, the calculator first divides \(7\) by \(5\), then subtracts:

$$ 19-\frac{7}{5}-2 =19-1.4-2 =15.6. $$

The result \(15.6\) is not the average rate. The entry did not divide the total output change by the total input change. The correction is to group both differences: \((19-7)/(5-2)=12/3=4\). A result can be numerically displayed to many digits and still answer the wrong question if its grouping is wrong.

Also keep the endpoint order consistent. If the numerator is \(f(b)-f(a)\), the denominator must be \(b-a\). Reversing both differences gives the same rate, since both change signs. Reversing only one gives the negative of the correct rate.

Interpreting and Reporting the Result

Once the calculator has returned a value, connect it to the quantities in the problem. State whether the function value is an output at one input or an average rate across an interval. Include units when the context supplies them, and retain a useful sign interpretation: a positive average rate means the endpoint output increased as the input increased; a negative average rate means it decreased.

For a calculator-based response, show the function values and the quotient rather than writing only a final decimal. This makes clear which endpoints were used and how the result was obtained. Use the requested precision when one is specified; otherwise, keep the calculator’s stored values during intermediate steps and round the reported result at the end.

1
Identify the input or endpoints.
Record the requested value \(a\), or the interval endpoints \(a\) and \(b\), with \(a\ne b\) for an average rate.
2
Substitute with grouping.
Replace every variable occurrence with the input, using parentheses especially for negative inputs and grouped operations.
3
Evaluate and form the quotient.
For an average rate, find both function values, then enter \((f(b)-f(a))/(b-a)\).
4
Check and interpret.
Compare the result with the original expression, verify the endpoint changes, and state the meaning and units of the output.

Check Your Understanding

For each question, write the substituted expression before using a calculator. Keep each quotient grouped.

  1. For \(p(x)=3x^2-2x+1\), evaluate \(p(-2)\). What role do parentheses play when entering the squared input?
  2. For \(q(x)=\ln(x+2)\), find the average rate of change from \(x=0\) to \(x=2\). State the endpoint values and the quotient.
  3. A quantity has values \(r(3)=14\) and \(r(7)=6\). Find its average rate of change from \(3\) to \(7\), and interpret the sign.
  4. Explain why \(f(b)-f(a)/(b-a)\) is not, in general, the same calculator expression as \((f(b)-f(a))/(b-a)\).
  5. If both endpoint differences in an average-rate quotient are reversed, does the value change? Explain using the signs of the numerator and denominator.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon