← Back to learning objective

Average rate of change of sin(x) on [0, pi/2]

Consider the function f(x)=sin⁡(x)f(x) = \sin(x) on the interval [0,π/2][0, \pi/2].

Compute the average rate of change of f(x)=sin⁡(x)f(x) = \sin(x) on the interval [0,π/2][0, \pi/2]. That is, find f(π/2)−f(0)π/2−0\dfrac{f(\pi/2) - f(0)}{\pi/2 - 0}.

Hint

This is just the slope formula for the secant line: f(b)−f(a)b−a\dfrac{f(b)-f(a)}{b-a} with a=0a=0 and b=π/2b=\pi/2. Evaluate sin⁡(0)\sin(0) and sin⁡(π/2)\sin(\pi/2) first.

Step-by-step solution

We need the slope of the secant line joining (0,f(0))(0, f(0)) and (π/2,f(π/2))(\pi/2, f(\pi/2)). Since f(x)=sin⁡(x)f(x) = \sin(x), we have f(0)=sin⁡(0)=0f(0) = \sin(0) = 0 and f(π/2)=sin⁡(π/2)=1f(\pi/2) = \sin(\pi/2) = 1.

The average rate of change is f(π/2)−f(0)π/2−0=1−0π/2=2π\dfrac{f(\pi/2)-f(0)}{\pi/2 - 0} = \dfrac{1 - 0}{\pi/2} = \dfrac{2}{\pi}. This represents the slope of the secant line through the two endpoints on the graph of sin⁡(x)\sin(x).

Instantaneous rate of change of sin(x) at x = pi/4

Using the limit definition of the derivative, f′(a)=lim⁡x→af(x)−f(a)x−a,f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x-a}, set up the limit that gives the instantaneous rate of change of f(x)=sin⁡(x)f(x) = \sin(x) at x=π/4x = \pi/4, and evaluate it using the known derivative formula for sine.

Hint

Write the difference quotient with a=π/4a = \pi/4 and f(x)=sin⁡xf(x) = \sin x; recall that this limit is exactly the definition of f′(π/4)f'(\pi/4), which you may evaluate using the known derivative of sine.

Step-by-step solution

By the limit definition, the instantaneous rate of change at x=π/4x = \pi/4 is f′(π/4)=lim⁡x→π/4sin⁡(x)−sin⁡(π/4)x−π/4.f'(\pi/4) = \lim_{x \to \pi/4} \frac{\sin(x) - \sin(\pi/4)}{x - \pi/4}. This limit represents the slope of the tangent line to the graph of sin⁡(x)\sin(x) at the point where x=π/4x = \pi/4.

Since the derivative of sin⁡(x)\sin(x) is cos⁡(x)\cos(x), this limit evaluates to f′(π/4)=cos⁡(π/4)=22≈0.707f'(\pi/4) = \cos(\pi/4) = \dfrac{\sqrt{2}}{2} \approx 0.707.

Comparing average and instantaneous rates

Compare the value you found for the average rate of change of sin⁡(x)\sin(x) on [0,π/2][0,\pi/2] with the instantaneous rate of change at x=π/4x = \pi/4, the midpoint of the interval. Which one is larger, and what does this tell you about how the slope of the tangent line at the midpoint compares to the slope of the secant line over the whole interval?

Hint

Compare the two numerical values from parts (a) and (b) directly, then think about concavity of sin⁡(x)\sin(x) on [0,π/2][0, \pi/2] and how that affects the tangent slope relative to the secant slope.

Step-by-step solution

From part (a), the average rate of change is 2/π≈0.6372/\pi \approx 0.637, and from part (b), the instantaneous rate of change at x=π/4x=\pi/4 is 2/2≈0.707\sqrt{2}/2 \approx 0.707.

Since 2/2>2/π\sqrt{2}/2 > 2/\pi, the instantaneous rate of change (tangent slope) at the midpoint is larger than the average rate of change (secant slope) over the interval. This is consistent with sin⁡(x)\sin(x) being concave up on [0,π/2][0,\pi/2], so the tangent line at the midpoint is steeper than the chord connecting the endpoints.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap