Quarry School

Rates of change and behavior of graphs: crash course

about 27 min to listen10 lessons18 questions to tryUnit 3 of 17

Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.

1 Rate of change and average rate of change

about 4 minOpen the full lessonOnly this lesson

The rule

Average rate of change =ΔyΔx=y2−y1x2−x1=f(x2)−f(x1)x2−x1, with x2≠x1 and both outputs defined.

Use the same endpoint order on top and bottom. Units are output units per input unit.

How

  1. Name the input and output, including their units.
  2. For a left-to-right calculation, call the smaller input x1 and the larger input x2; keep each output with its input.
  3. Find Δy = y2 − y1 and Δx = x2 − x1, using the same order.
  4. Check Δx ≠ 0, then divide Δy by Δx.
  5. Attach output units per input unit. With inputs in increasing order, positive means a net rise and negative a net fall.

Worked example

Worked example

Average rate of change of a regional gas price, 2014 to 2021

A regional energy office records the average price of one gallon of regular gasoline each year. Let P(t) be the price in dollars per gallon in year t. The table gives these values.

Year t: 2014, 2016, 2019, 2021
Price P(t) ($/gal): 3.36, 2.14, 2.60, 3.01

(a) Find the average rate of change of the gas price from 2014 to 2021. Give units and say what the sign means.
(b) Find the average rate of change from 2016 to 2021. Explain why the signs in (a) and (b) differ, even though both intervals end in 2021.

input yearoutput price ($ per gallon)20143.3620162.1420192.620213.01
A table of 4 values of price ($ per gallon), for year from 2014 to 2021.
Show the steps and the answer
input yearoutput price ($ per gallon)20143.3620162.1420192.620213.01↓ evaluate: input given, read the output below it
Average regional gas price P(t) in dollars per gallon for the years 2014, 2016, 2019 and 2021.
  1. Input: t, the year, in years. Output: P(t), the price, in dollars per gallon ($/gal).The units of the answer are output units per input unit, so both units are needed first.
  2. (a) Let x1=2014 with y1=P(2014)=3.36, and x2=2021 with y2=P(2021)=3.01.For a left-to-right calculation the smaller input is x1. Each price stays paired with its own year.
  3. Δy=3.01−3.36=−0.35 and Δx=2021−2014=7.Both differences use the same order, the later value minus the earlier value.
  4. Δx=7≠0, so the average rate of change is −0.357=−0.05.Average rate of change = ΔyΔx. Division is allowed because Δx is not zero.
  5. (a) The rate is −0.05 dollars per gallon per year. The price fell by a net 5 cents per gallon per year from 2014 to 2021.The inputs are in increasing order, so a negative rate means a net fall. The price did not fall every year: it rose from 2016 to 2021. The rate describes only the overall change between the endpoints.
  6. (b) Let x1=2016 with y1=2.14, and x2=2021 with y2=3.01. Then Δy=3.01−2.14=0.87 and Δx=2021−2016=5.This is the same left-to-right method on the new interval, keeping each price with its year.
  7. Δx=5≠0, so the rate is 0.875=0.174 dollars per gallon per year, a net rise of about 17.4 cents per gallon per year.The rate is positive with the inputs in increasing order, so the price rose overall on [2016, 2021].
  8. The signs differ because the starting prices differ. The 2014 price of $3.36 is above the 2021 price of $3.01. The 2016 price of $2.14 is below it.An average rate of change depends only on the two endpoint values, not on the values in between.
Answer
(a) 3.01−3.362021−2014 = −0.357 = −0.05 dollars per gallon per year, a net fall of 5 cents per gallon per year from 2014 to 2021. (b) 3.01−2.142021−2016 = 0.875 = 0.174 dollars per gallon per year, a net rise of about 17.4 cents per gallon per year from 2016 to 2021.
Double-check Start at the first endpoint price and add the rate times the number of years. (a) 3.36 + 7(−0.05) = 3.36 − 0.35 = 3.01 = P(2021) ✓. (b) 2.14 + 5(0.174) = 2.14 + 0.87 = 3.01 = P(2021) ✓. Reversing the endpoint order in (a) gives 3.36−3.012014−2021 = 0.35−7 = −0.05, the same result, as it should be.

Work to write

  1. Input t in years; output P(t) in dollars per gallon
  2. (a)x1=2014,y1=3.36;x2=2021,y2=3.01
  3. Δy=3.01−3.36=−0.35,Δx=2021−2014=7
  4. −0.357 = −0.05 dollars per gallon per year
  5. Negative: net fall of 5 cents per gallon per year from 2014 to 2021
  6. (b) 3.01−2.142021−2016 = 0.875 = 0.174 dollars per gallon per year, a net rise
  7. The signs differ because P(2014) > P(2021) but P(2016) < P(2021)

The trap

Subtracting in different orders on top and bottom flips the sign. Point 2 minus point 1 must be used for both output and input changes.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Average rate of change of a fuel price from 2015 to 2019

A small delivery company keeps a fuel log of the average price it paid for one gallon of regular gasoline each year. Let P(t) be the price in dollars per gallon in year t. The table gives these values.

Year t: 2015, 2017, 2018, 2019
Price P(t) ($/gal): 2.62, 2.48, 2.71, 3.02

Find the average rate of change of P over the four years from 2015 to 2019. Give units and say what the sign means.

input yearoutput price ($ per gallon)20152.6220172.4820182.7120193.02
A table of 4 values of price ($ per gallon), for year from 2015 to 2019.
Show the steps and the answer
input yearoutput price ($ per gallon)20152.6220172.4820182.7120193.02↓ evaluate: input given, read the output below it
The company's fuel-log prices for 2015, 2017, 2018 and 2019.
  1. Input: t, the year (years). Output: P(t), the price of gasoline (dollars per gallon).The units of the rate of change are output units per input unit, so both must be named first.
  2. Let x1=2015 with y1=P(2015)=2.62. Let x2=2019 with y2=P(2019)=3.02.For a left-to-right calculation the smaller input is x1. Each output stays with its own input. The 2017 and 2018 values are not endpoints of the interval, so they are not used.
  3. Δy=y2−y1=3.02−2.62=0.40 dollars per gallon. Δx=x2−x1=2019−2015=4 years.The same endpoint order (2019 first, then 2015) is used on top and bottom, so the signs are consistent.
  4. Δx=4≠0, so the average rate of change =ΔyΔx=0.404=0.10.The rule ΔyΔx is defined only when the inputs differ. Here they do.
  5. Average rate of change =0.10 dollars per gallon per year. It is positive.The inputs are in increasing order, so a positive rate means a net rise in price from 2015 to 2019. The dip in 2017 does not change the net result, because only the endpoints enter the calculation.
Answer
The average rate of change of P from 2015 to 2019 is 0.10 dollars per gallon per year. On average the price rose by 10 cents per gallon each year. The positive sign means a net increase over the four years.
Double-check Start at 2.62 and add 0.10 for each of the 4 years: 2.62 + 0.10 · 4 = 2.62 + 0.40 = 3.02, which matches P(2019).

Work to write

  1. Input t in years; output P(t) in dollars per gallon
  2. x1=2015,y1=2.62;x2=2019,y2=3.02
  3. Δy=3.02−2.62=0.40
  4. Δx=2019−2015=4
  5. ΔyΔx=0.404=0.10
  6. 0.10 dollars per gallon per year
  7. Positive: the price rose overall from 2015 to 2019

2 On a graph, the average rate of change is a slope

about 2 minOpen the full lessonOnly this lesson

The rule

For [a,b]= [left end, right end], with a < b and both outputs defined, average rate =f(b)−f(a)b−a.

This is the slope of the straight ruler through (a, f(a)) and (b, f(b)).

How

  1. Locate both interval endpoints on the horizontal axis.
  2. At each input, move vertically to the solid graph and read its height. Count grid steps; estimate if it lies between lines.
  3. Subtract right height minus left height, then right input minus left input.
  4. Divide rise by run and interpret the sign.

Worked example

Worked example

Average rate of change of a parabola from its graph on [−1, 3]

The graph of f(x) = x2 − 1 is drawn on a grid where each square is 1 unit. Read the graph to find the average rate of change of f over [−1, 3]. Say what the sign means.

(−1, 0)(3, 8)−224−22468
Graph of f(x) = x2 − 1 with the interval endpoints (−1, 0) and (3, 8) marked.
Show the steps and the answer
  1. Locate the endpoints on the horizontal axis: a=−1 on the left and b=3 on the right.The interval [a, b] runs from the left end to the right end, so a = −1 and b = 3 with a < b.
  2. From x=−1, move vertically to the graph. It meets the curve on the x-axis, so f(−1)=0. The point is (−1,0).The output is the height of the graph above the input. Here the height lands exactly on a grid line, so no estimate is needed.
  3. From x=3, move vertically to the graph. Count up 8 grid steps, so f(3)=8. The point is (3, 8).Counting whole grid squares gives the exact height. Check with the formula: 32 − 1 = 8.
  4. Rise =f(3)−f(−1)=8−0=8. Run =3−(−1)=4.Use right minus left in both the numerator and the denominator. Subtracting −1 is the same as adding 1.
  5. Average rate =84=2. The sign is positive.The rate is rise divided by run. A positive slope means the ruler through the two points goes up from left to right.
Answer
Average rate of change = f(3)−f(−1)3−(−1) = 84 = 2. On average, f increases by 2 units for each 1-unit increase in x over [−1, 3].
Double-check The line through (−1, 0) with slope 2 is y = 2x + 2. At x = 3 it gives 2(3) + 2 = 8, which is f(3). So the ruler joins both endpoints and its slope is 2. The graph also dips below 0 near x = 0, which shows that the average rate describes only the ruler between the two endpoints, not the shape of the curve between them.

Work to write

  1. a=−1,b=3
  2. f(−1)=0,f(3)=8
  3. rise = 8 − 0 = 8, run = 3 − (−1) = 4
  4. average rate = 84 = 2
  5. Positive: f rises 2 units per unit of x on average over [−1, 3]

The trap

Putting right-minus-left on top and left-minus-right on the bottom reverses the sign. Keep each input paired with its output and use one order twice.

Quick check

Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.

Try it · level 2 of 4

A straight line has the same average rate on any interval

The graph of the straight line f(x) = −12x + 2 is drawn on a grid where each square is 1 unit in both directions. The line passes exactly through the grid points (−4, 4), (0, 2) and (2, 1). Read the graph to find the average rate of change of f over [−4, 2]. Then find it over [0, 2] and compare the two results. Say what the sign means.

(−4, 4)(0, 2)(2, 1)−6−4−2246−2246
The line f(x) = −12x + 2 on a 1-unit grid.
Show the steps and the answer
  1. For [−4,2], locate x=−4 (left end) and x=2 (right end) on the horizontal axis.The rule uses a = −4 as the left input and b = 2 as the right input, with a < b.
  2. From x=−4, move vertically to the line. It meets the line 4 squares above the axis, so f(−4)=4. From x=2, the line is 1 square above the axis, so f(2)=1.The height of the graph at each input is the output we need. Both points sit exactly on gridlines, so no estimate is needed.
  3. Rise =f(2)−f(−4)=1−4=−3. Run =2−(−4)=6.Subtract right minus left in both the outputs and the inputs, so the signs stay consistent.
  4. Average rate =−36=−12.The average rate is rise divided by run. This is the slope of the ruler through (−4, 4) and (2, 1).
  5. For [0, 2], read f(0)=2 and f(2)=1. Then rise =1−2=−1, run =2−0=2, and the average rate =−12=−12.Use the same steps on a different interval. This tests whether the rate depends on where we measure.
  6. Compare: both intervals give −12. The rate is negative, so f decreases. On average, it falls 12 unit for every 1 unit increase in x.A straight line has a single, constant slope. Every ruler through two of its points lies along the line itself, so every interval gives the same average rate.
Answer
The average rate of change over [−4, 2] is −12, and over [0, 2] it is also −12. The negative sign means f decreases by 12 unit per unit increase in x on each interval.
Double-check From the formula, f(−4) = −12(−4) + 2 = 4, f(0) = 2 and f(2) = −12(2) + 2 = 1. These match the graph readings. The slope m in f(x) = −12x + 2 is −12, which agrees with both average rates.

Work to write

  1. f(−4)=4,f(2)=1
  2. f(2)−f(−4)2−(−4)=1−46=−36=−12
  3. f(0) = 2, so f(2)−f(0)2−0 = −12 = −12
  4. Same rate on both intervals because the graph is a straight line; negative means f is decreasing

3 Average rate of change from a formula

Open the full lessonOnly this lesson

The rule

On [a,b]= [left end, right end], with a < b and both outputs defined, average rate =f(b)−f(a)b−a.

Evaluate the two endpoint outputs first, then subtract and divide. Preserve all nonzero-bottom and square-root restrictions.

How

  1. Check that both inputs are allowed: no bottom may be zero, and a real square root needs a nonnegative inside.
  2. Evaluate f(a), placing the whole input in parentheses at every variable position.
  3. Evaluate f(b) the same way.
  4. Subtract f(b) − f(a). If fractions occur, make their bottoms match first.
  5. Divide by b − a. Simplify exact fractions and attach units.

Worked example

Worked example

Average rate of change of the electric force as two charges move apart

Two small charged spheres repel each other. The size of the force between them is F(r) = 36r2 newtons, where r is the distance between the spheres in meters. Find the average rate of change of F on the interval [2, 4]. Give an exact answer with units.

Show the steps and the answer
input distance r (m)output force F (N)293442.25↓ evaluate: input given, read the output below it
Values of F(r) = 36/r2 at r = 2, 3 and 4 m.
  1. Check the inputs. For r=2,r2=4≠0. For r=4,r2=16≠0. There is no square root, and 2 < 4.Both endpoint outputs must be defined, and the bottom of a fraction may not be zero.
  2. Evaluate F(2)=36(2)2=364=9.Putting the input in parentheses gives the left-end output.
  3. Evaluate F(4)=36(4)2=3616=94.The right-end output is found the same way and simplified.
  4. Subtract: F(4)−F(2)=94−9=94−364=−274.Fractions can be subtracted only after their bottoms match. Here 9 is rewritten as 364.
  5. Divide by 4−2=2: −27/42=−278 N per m.The average rate is the change in output divided by the change in input. Its units are newtons per meter.
Answer
The average rate of change is −278 N per m, which is −3.375 N/m. On average, the force drops by 278 newtons for each meter of extra separation.
Double-check Start at F(2) = 9. Add the rate times the change in input: 9 + (−278)(2) = 9 − 274 = 94. This equals F(4). The negative sign also makes sense, because the force weakens as the spheres move apart.

Work to write

  1. r = 2 and r = 4 both give a nonzero bottom
  2. F(2)=36(2)2=9
  3. F(4)=36(4)2=94
  4. F(4)−F(2)=94−364=−274
  5. Average rate = −27/44−2 = −278 N per m

The trap

Stopping after subtracting gives only the output change. Divide by the input change to get the average rate.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Parentheses for a negative endpoint

This asks for the average output change per input unit, using one negative input. Find the average rate of f(x) = 2 − x2 on [−3, 1].

Show the steps and the answer
(−3, −7)(1, 1)−2−8−6−4−22
The same picture, shown 4 times now: y = −x2 + 2, solid, beside y = 2x − 1, dashed.
  1. f(−3)=2−(−3)2=2−9=−7.The whole input is −3. Squaring (−3) gives (−3)(−3) = 9; the outside subtraction stays outside.
  2. f(1)=2−12=2−1=1.Evaluate the other endpoint in the same formula.
  3. Output change: 1−(−7)=1+7=8.Subtract the whole starting output; taking away a negative adds its opposite.
  4. Input change: 1−(−3)=1+3=4.The endpoint order must match the output subtraction.
  5. 84=2.Dividing the net change 8 by the span 4 gives the change per input unit.
Answer
2.
Double-check The starting output −7 plus 4 · 2 reaches −7 + 8 = 1, the ending output.

4 When an endpoint is a letter, the answer is an expression

about 3 minOpen the full lessonOnly this lesson

The rule

For a fixed input 5 and an endpoint a, rate =f(a)−f(5)a−5, with a≠5 and both outputs defined.

On [5, a], a > 5; if a < 5, use the sorted interval [a, 5]. Factor a polynomial numerator before canceling a matching whole factor.

How

  1. Evaluate the fixed numerical endpoint.
  2. Substitute the endpoint letter to write the other output.
  3. Subtract the outputs and write the matching input difference.
  4. For a polynomial, factor the numerator and verify by multiplying back.
  5. Cancel only a matching factor multiplying the whole numerator, preserving the original restrictions.
  6. If the rate is given, set the simplified rate expression equal to that number, solve, and check the endpoint in the original quotient.

Worked example

Worked example

Average rate of change from 5 to a letter endpoint, then solving for the endpoint

Let f(x) = x2 − 2x − 2. (a) Write the average rate of change of f between the inputs 5 and a, where a ≠ 5, as a simplified expression in a. (b) The average rate of change of f between 5 and a equals 7. Find a and state the interval.

Show the steps and the answer
(4, 6)(5, 13)−2246−44812
The graph of f(x) = (x − 1)2 − 3 = x2 − 2x − 2, marking the points (4, 6) and (5, 13).
  1. f(5)=52−2(5)−2=25−10−2=13.The fixed numerical endpoint gives a number, so evaluate it first.
  2. f(a)=a2−2a−2.Replace every x with the endpoint letter a to get the other output.
  3. rate =f(a)−f(5)a−5=(a2−2a−2)−13a−5=a2−2a−15a−5, with a≠5.The average rate is the change in output over the matching change in input, in the same order. a = 5 would make the denominator zero.
  4. a2 − 2a − 15 = (a − 5)(a + 3). Check: (a−5)(a+3)=a2+3a−5a−15=a2−2a−15.Factor the polynomial numerator so that any factor matching the denominator becomes visible. Multiplying back confirms the factoring.
  5. rate =(a−5)(a+3)a−5=a+3, for a≠5.(a − 5) multiplies the whole numerator and equals the denominator, so it cancels. The restriction a ≠ 5 from the original quotient still holds.
  6. Set a+3=7, so a=4.The given rate equals the simplified expression, so solve that equation for the endpoint.
  7. Check a=4 in the original quotient: f(4)=16−8−2=6, and 6−134−5=−7−1=7. Since 4 < 5, the sorted interval is [4, 5].The endpoint must satisfy a ≠ 5 and give the stated rate in the unsimplified quotient. An interval is written with its smaller endpoint first.
Answer
(a) The rate is a + 3, for a ≠ 5. (b) a = 4, and the interval is [4, 5].
Double-check Use a = 6 in part (a): f(6) = 36 − 12 − 2 = 22, and 22−136−5 = 9. The formula gives 6 + 3 = 9, so the expression agrees. For part (b), the points (4, 6) and (5, 13) give a slope of 13−65−4 = 7.

Work to write

  1. f(5) = 13
  2. f(a)=a2−2a−2
  3. a2−2a−15a−5,a≠5
  4. a2−2a−15=(a−5)(a+3)
  5. rate = a + 3, a ≠ 5
  6. a + 3 = 7 ⇒ a = 4
  7. Check: 6−134−5 = 7; interval [4, 5]

The trap

Canceling pieces of sums instead of whole multiplied factors, or forgetting the excluded endpoint after cancellation.

Quick check

Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 7

A coefficient and a difference of squares

This asks for a rate expression rather than one rate number. Find the average rate of f(x) = 3x2 − 5 on [2, b], with b > 2.

Show the steps and the answer

3b2−12

=3(b−2)(b+2)

rate = 3b + 6

  1. f(2)=3(2)2−5=3(4)−5=7; f(b)=3b2−5.Evaluate the fixed input 2 and then substitute the endpoint b.
  2. f(b)−f(2)=(3b2−5)−7=3b2−12.Subtract the whole starting output; −5 − 7 = −12.
  3. 3b2−12=3(b2−4).Both terms contain a factor of 3.
  4. b2−4=(b−2)(b+2).Multiplying back gives b2 + 2b − 2b − 4 = b2 − 4.
  5. 3(b−2)(b+2)b−2=3(b+2)=3b+6, with b≠2.The input difference b − 2 is a nonzero factor of the entire top.
Answer
  • 3b + 6, for b ≠ 2. The stated interval [2, b] uses b > 2
  • for b < 2 use [b, 2].
Double-check The original check b = 3 gives f(3) = 22 and 22−73−2 = 15 = 3(3) + 6. With b = 5, f(5) = 70 and 70−75−2 = 633 = 21.

5 The difference quotient: average rate of change from x to x + h

about 3 minOpen the full lessonOnly this lesson

The rule

Difference quotient =f(x+h)−f(x)h, with h≠0 and both outputs defined.

It is the average rate on [x,x+h] if h > 0, and on the sorted interval [x+h,x] if h < 0.

How

  1. Plug in: replace every x in the formula by the whole input (x + h); multiply out the needed products.
  2. Subtract: write −(f(x)) with parentheses, then let that minus reach every term.
  3. Simplify: combine like terms; for a fully expanded polynomial, the terms independent of h cancel.
  4. Cancel h: when h multiplies the entire numerator, divide that nonzero factor out; keep every original restriction.

Worked example

Worked example

Difference quotient of a line

This asks for the average rate over any nonzero input step h starting at any input x. Find g(x+h)−g(x)h for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.

Show the steps and the answer
(x, g(x))(x + h, g(x + h))check startcheck endrun 1rise −224−448
The same picture again: y = −2x + 6.
  1. Require h≠0. Write g(x+h)=6−2(x+h).x + h is one whole input. The −2 must multiply all of it; writing 6 − 2x + h would multiply only x.
  2. g(x+h)=6−2x−2h.The distributive property means the multiplier reaches each term: (−2) · x = −2x and (−2) · h = −2h.
  3. Write the output change as (6−2x−2h)−(6−2x).Subtract the entire starting output, not one selected term.
  4. −(6−2x)=−6+2x, so the output change is 6−2x−2h−6+2x.The hidden sign on 6 is +. Multiplying the whole starting expression by −1 changes +6 to −6 and −2x to +2x.
  5. 6−2x−2h−6+2x=−2h.The +6 and −6 cancel, and −2x and +2x cancel. The expanded polynomial contains a copy of g(x), removed by subtraction.
  6. −2hh=−2·hh=−2·1=−2.The nonzero factor h divides by itself to give 1.
Answer
  • −2, with h ≠ 0.
  • For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.
Double-check Use x = 2 and h = 3: g(2) = 6 − 4 = 2 and g(5) = 6 − 10 = −4, so −4−23 = −63 = −2. Also g(0) = 6 and g(1) = 4 show a drop of 2 for a move of 1 right.

The trap

Adding h to the old output, treating f as a multiplier, or allowing a zero input step. Substitute x + h into the whole function formula and keep h ≠ 0.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

Multiplication changes the whole input

This asks for a rate formula for every start and every nonzero step. Find the difference quotient of f(x) = 4x.

Show the steps and the answer
startendrun 1rise 42462610141822
This line rises 4 for each unit right.
  1. f(x+h)=4(x+h)=4x+4h.The whole new input replaces x, and 4 multiplies each piece.
  2. Output change: (4x+4h)−(4x)=4x+4h−4x=4h.Subtract the entire original output; +4x and −4x cancel.
  3. 4hh=4·hh=4, with h≠0.A common nonzero multiplier h divides out.
Answer
4, with h ≠ 0.
Double-check At x = 2 and h = 3, f(5) = 20 and f(2) = 8, so 20−83 = 123 = 4.

6 Difference quotient of a quadratic

about 3 minOpen the full lessonOnly this lesson

The rule

(x+h)2=x2+2xh +h2.

For f(x)=x2, the difference quotient is 2x+h, with h≠0. Multiply any outside coefficient into every expanded term, subtract all of f(x), then factor the whole numerator before canceling h.

How

  1. Plug in: replace every x by (x + h), multiply out the square, and apply each outside multiplier.
  2. Subtract: keep all of f(x) in parentheses after a minus, then flip every term's sign.
  3. Simplify: combine matching polynomial terms; the terms independent of h cancel.
  4. Cancel h: write every remaining term as h times something, factor h from the whole numerator, and cancel only for h ≠ 0.

Worked example

Worked example

Difference quotient for a garden plot with a compost corner

A rectangular garden plot is x meters wide and 2x meters long. A 2 square-meter corner is set aside for a compost bin, so the planted area is A(x) = 2x2 − 2 square meters. The graph of y = 2x2 − 2 passes through (2, 6) and (3, 16), and its lowest point is (0, −2). (a) Find and simplify the difference quotient A(x+h)−A(x)h for h ≠ 0. (b) Use your result with x = 2 and h = 1 to find the average rate of change of the planted area as the width grows from 2 m to 3 m.

Show the steps and the answer
(2, 6)(3, 16)(0, −2)24481216
Graph of the planted area A(x) = 2x2 − 2, with lowest point (0, −2) and the points (2, 6) and (3, 16) that…
  1. A(x+h)=2(x+h)2−2=2(x2+2xh +h2) −2=2x2+4xh +2h2−2Replace every x by (x + h), expand with (x + h)2 = x2 + 2xh + h2, and multiply the outside coefficient 2 into every expanded term.
  2. A(x+h)−A(x)= (2x2+4xh +2h2−2) −(2x2−2)=2x2+4xh +2h2−2−2x2+2Keep all of A(x) in parentheses after the minus, then flip the sign of each of its terms. The −2 becomes +2.
  3. 2x2−2x2=0 and −2+2=0, so the numerator is 4xh +2h2.Combine matching terms. The terms that do not contain h cancel.
  4. 4xh+2h2h=h(4x+2h)h=4x+2h, for h≠0Every remaining term contains h. Factor h from the whole numerator, then cancel it, which is allowed only because h ≠ 0.
  5. With x = 2 and h = 1: 4(2)+2(1)=8+2=10Substitute into the simplified difference quotient. The result is the average rate of change of A on [2, 3].
Answer
(a) A(x+h)−A(x)h = 4x + 2h, for h ≠ 0. (b) 10 square meters per meter. The planted area grows by 10 m2 for each meter of added width, on average, from 2 m to 3 m.
Double-check From the graph points, A(2) = 2(4) − 2 = 6 and A(3) = 2(9) − 2 = 16. So 16−63−2 = 10, which matches 4(2) + 2(1) = 10.

Work to write

  1. A(x + h) = 2x2 + 4xh + 2h2 − 2
  2. A(x + h) − A(x) = (2x2 + 4xh + 2h2 − 2) − (2x2 − 2) = 4xh + 2h2
  3. h(4x+2h)h=4x+2h,h≠0
  4. x = 2, h = 1: 4(2) + 2(1) = 10 m2 per m
  5. Check: 16−63−2 = 10

The trap

Losing the middle term, squaring an outside coefficient, or forgetting that h2 ÷ h = h. Show the full square expansion before subtracting.

Quick check

Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 7

A coefficient, a linear term, and a constant

This asks for the average-rate formula for a quadratic with three terms. Find f(x+h)−f(x)h for f(x) = 3x2 − 4x + 1.

Show the steps and the answer
(1, 0)(2, 5)2261014
The same picture, shown 4 times now: y = 3(x − 0.6667)2 − 0.3333, solid, beside y = 5x − 5, dashed.
  1. f(x+h)=3(x+h)2−4(x+h)+1.The new input replaces every x position, including the linear term.
  2. f(x+h)=3(x2+2xh +h2) −4x−4h+1.Multiply out the square first, then let −4 multiply both terms of x + h.
  3. f(x+h)=3x2+6xh +3h2−4x−4h+1.The coefficient 3 multiplies x2, 2xh, and h2 separately.
  4. Output change: (3x2+6xh +3h2−4x−4h+1) −(3x2−4x+1).The whole original output stays in parentheses until its minus sign is distributed.
  5. =3x2+6xh +3h2−4x−4h+1−3x2+4x−1.The outside −1 changes +3x2 to −3x2, −4x to +4x, and +1 to −1.
  6. =6xh +3h2−4h.The explicit matching pairs are +3x2 with −3x2, −4x with +4x, and +1 with −1.
  7. 6xh =h·6x,3h2=h·3h, and −4h=h·(−4). Therefore the output change is h(6x+3h−4).Each remaining term contains the same multiplier h.
  8. h(6x+3h−4)h=6x+3h−4, with h≠0.A nonzero h multiplying the whole top cancels with h on the bottom.
Answer
6x + 3h − 4, with h ≠ 0.
Double-check Use x = 2 and h = 3. f(5) = 75 − 20 + 1 = 56 and f(2) = 12 − 8 + 1 = 5, so 56−53 = 513 = 17. The result gives 6(2) + 3(3) − 4 = 17. The wrong expression 6x + 3h2 − 4 gives 35, so this check catches the power error.

7 Difference quotient of a fraction

about 4 minOpen the full lessonOnly this lesson

The rule

For f(x)=2x, combine the output difference over x(x+h), then divide by h to obtain −2x(x+h).

Require h≠0,x≠0, and x+h≠0. Other fraction bottoms need their own product as the common bottom.

How

  1. Plug in: replace every input occurrence, including those below a fraction bar, by the whole new input.
  2. Subtract: use the product of the original bottoms as a common bottom, multiply each top by its missing factor, and keep the second top grouped.
  3. Simplify: distribute the outside minus and combine the numerator terms.
  4. Cancel a valid h factor: multiply by 1h, cancel only a whole nonzero factor, and keep all original restrictions.

Worked example

Worked example

Difference quotient with x in the denominator

This asks for a reusable average-rate formula when the input is in a fraction bottom. Find f(x+h)−f(x)h for f(x) = 2x.

Show the steps and the answer
(1, 2)(2, 1)2412345
The same picture a third time: y = 2/x, solid, beside y = −x + 3, dashed.
  1. Require h≠0,x≠0, and x+h≠0. Write f(x+h)=2x+h and f(x)=2x.The outer division by h and both original function outputs need nonzero denominators.
  2. The output change is 2x+h−2x. Use common bottom x(x+h).The two bottoms are different, so both fractions must be renamed using the same-sized pieces before subtracting.
  3. 2x+h=2xx(x+h).Multiply the first top and bottom by x; since x ≠ 0, this multiplies the value by xx = 1.
  4. 2x=2(x+h)x(x+h).Multiply the second top and bottom by x + h; its nonzero condition makes this multiplication by 1.
  5. Subtract the tops: 2x−2(x+h)x(x+h).The common bottom stays fixed. Keep the whole second top grouped so the minus reaches both pieces.
  6. 2x−(2x+2h)x(x+h)=2x−2x−2hx(x+h)=−2hx(x+h).Distribute 2 inside the second top, then distribute the outside minus to +2x and +2h. The +2x and −2x cancel.
  7. Divide by the input change h: −2hx(x+h)÷h=−2hx(x+h)·1h.Dividing by nonzero h is multiplying by its reciprocal, so this multiplication compares the output change with the input step.
  8. −2hx(x+h)·1h=−2hh·x(x+h)=−2x(x+h).Multiply tops and bottoms. The whole numerator −2h and denominator both contain the nonzero factor h, which cancels.
Answer
−2x(x+h), with h ≠ 0, x ≠ 0, and x + h ≠ 0.
Double-check Use x = 2 and h = 3. f(5) = 25 and f(2) = 1, so the direct rate is (25 − 1) ÷ 3 = −35 · 13 = −15. The result gives −22·5 = −15.

The trap

Subtracting bottoms, splitting a denominator sum, or losing the minus on the second numerator. Use a common bottom, subtract the whole second top, then divide by h.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Difference quotient when the bottom is x + 2

Let f(x) = 3x+2. Find and simplify the difference quotient f(x+h)−f(x)h. State every restriction on x and h.

Show the steps and the answer
  1. Plug in: f(x+h)=3(x+h)+2=3x+h+2, so the difference quotient is 3x+h+2−3x+2h.Every x, including the one inside the bottom x + 2, is replaced by the whole new input x + h.
  2. Subtract using the common bottom (x + h + 2)(x + 2): 3x+h+2−3x+2=3(x+2)−3(x+h+2)(x+h+2)(x+2).The common bottom is the product of the two original bottoms. Each top is multiplied by the factor its bottom is missing. The second top, 3(x + h + 2), stays grouped so the minus applies to all of it.
  3. Simplify the top: 3(x+2)−3(x+h+2)=3x+6−3x−3h−6=−3h. The difference is −3h(x+h+2)(x+2).Distributing the outside minus changes the sign of every term in the second group. The 3x terms cancel and the 6 terms cancel, leaving only −3h.
  4. Divide by h: −3h(x+h+2)(x+2)·1h=−3(x+2)(x+h+2).Dividing by h is multiplying by 1h. h is a whole factor of the top, and h ≠ 0, so it cancels. The original restrictions still hold after the cancellation.
  5. Record the restrictions: h≠0,x≠−2, and x+h≠−2.h ≠ 0 because we divided by h. The bottom x + 2 cannot be 0, so x ≠ −2. The bottom x + h + 2 cannot be 0, so x + h ≠ −2.
Answer
f(x+h)−f(x)h = −3(x+2)(x+h+2), with h ≠ 0, x ≠ −2, and x + h ≠ −2.
Double-check Take x = 1 and h = 1. Directly: f(2) = 34 and f(1) = 33 = 1, so f(2)−f(1)1 = 34 − 1 = −14. From the formula: −3(1+2)(1+1+2) = −33·4 = −14. The two values match.

Work to write

  1. f(x+h)=3x+h+2
  2. 3(x+2)−3(x+h+2)(x+h+2)(x+2)
  3. 3x+6−3x−3h−6=−3h
  4. −3h(x+h+2)(x+2)·1h
  5. −3(x+2)(x+h+2)
  6. h≠0,x≠−2,x+h≠−2

8 Increasing, decreasing, and constant

about 3 minOpen the full lessonOnly this lesson

The rule

On an interval, whenever a < b: increasing means f(a) < f(b); decreasing means f(a) > f(b); constant means f(a)=f(b).

This course reports intervals of behavior with open endpoints. These are comparisons between inputs, not a direction assigned to one point.

How

  1. Begin at the left of the whole given graph. Read the horizontal-axis label: the input might be x or t.
  2. Mark turning inputs, flat boundaries, and breaks.
  3. Mark actual domain ends. A finite end dot gives a finite boundary; arrows or stated continuation can justify infinity.
  4. Move right within each separate stretch. Name it increasing, decreasing, or constant.
  5. Write open intervals of inputs. Keep pieces on opposite sides of a break separate.
  6. Give each requested behavior on its own line. Say 'and' between stretches; ∪ joins the listed stretches piece by piece.

Worked example

Worked example

Reading increasing and decreasing intervals from a downward parabola

The graph shows y = f(x), where f(x) = -(x - 2)2 + 3. The horizontal axis is labeled x. The graph is a parabola that opens downward. Its highest point (turning point) is at (2, 3). It also passes through (0, -1), (1, 2), (3, 2) and (4, -1). Arrows on both ends show that the graph continues forever to the left and to the right, so the domain is all real numbers. State the open interval(s) on which f is increasing, the open interval(s) on which it is decreasing, and any interval on which it is constant.

(2, 3)(0, -1)(4, -1)−2246−6−4−224
Graph of f(x) = -(x - 2)2 + 3, a downward parabola with its highest point at (2, 3), passing through (0, -1)…
Show the steps and the answer
  1. Start at the far left of the graph and read the horizontal-axis label. It is x, so every interval is written in terms of x-values.Intervals of behavior describe inputs, so we must know which variable is the input.
  2. Mark the turning input x=2, where the graph changes from rising to falling at (2, 3). There are no flat stretches and no breaks.Behavior can only change at turning inputs, flat boundaries or breaks, so these split the domain into stretches.
  3. Mark the domain ends. Both ends carry arrows, so the graph continues without end in both directions. The left boundary is -∞ and the right boundary is ∞.Arrows show the graph continues, which justifies using infinity instead of a finite endpoint.
  4. Move right through the stretch from -∞ to 2. Here the graph rises. For example, at 0 < 1 we have f(0)=-1<f(1)=2. This stretch is increasing.Increasing means that whenever a < b on the interval, f(a) < f(b).
  5. Move right through the stretch from 2 to ∞. Here the graph falls. For example, at 3 < 4 we have f(3)=2>f(4)=-1. This stretch is decreasing.Decreasing means that whenever a < b on the interval, f(a) > f(b).
  6. Look for a stretch where the output stays the same. There is none, because the curve never runs level over an interval.Constant requires f(a) = f(b) for all a < b in an interval. A single highest point is not an interval.
  7. Write each behavior on its own line, using open intervals of x: increasing on (-∞,2), decreasing on (2,∞), constant on no interval.This course reports intervals with open endpoints. The turning input x = 2 belongs to neither stretch.
Answer
Increasing on (-∞, 2). Decreasing on (2, ∞). Constant on no interval.
Double-check Compare inputs on each side of x = 2 using the formula f(x) = -(x - 2)2 + 3. On the left, f(-1) = -(-3)2 + 3 = -6 and f(0) = -1. Since -1 < 0 and -6 < -1, the function is increasing. On the right, f(4) = -1 and f(5) = -(3)2 + 3 = -6. Since 4 < 5 and -1 > -6, the function is decreasing. Both results agree with the answer.

Work to write

  1. Turning input: x = 2 (highest point at (2, 3)); arrows on both ends, so the domain is (-∞, ∞)
  2. Increasing on (-∞, 2)
  3. Decreasing on (2, ∞)
  4. Constant: on no interval

The trap

Writing the intervals in y-values, for example 'increasing from −2 to 5' because the heights run from −2 to 5. Intervals of increase and decrease are always inputs (x-values or t-values), read along the horizontal axis.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

A parabola that stops at two solid end dots

The graph shows y = p(t), where p(t) = (t - 1)2 - 4, drawn only for -2 ≤ t ≤ 3. The horizontal axis is labeled t. The graph is a parabola that opens upward. It starts at a solid (filled) dot at (-2, 5) and ends at a solid (filled) dot at (3, 0). There are no arrows. Its lowest point (turning point) is at (1, -4). It also passes through (-1, 0), (0, -3) and (2, -3). State the open intervals on which p is increasing, decreasing, and constant.

(-2, 5)(1, -4)(3, 0)(-1, 0)(0, -3)(2, -3)−4−224−44
The graph of p(t) = (t - 1)2 - 4 for -2 ≤ t ≤ 3.
Show the steps and the answer
  1. Start at the left end of the graph and read the horizontal axis. It is labeled t, so every interval is an interval of t-values.Intervals of behavior describe inputs, and the input variable here is t, not x.
  2. Mark the turning input t=1, where the lowest point (1,-4) is. There are no flat pieces and no breaks.Behavior can change only at turning inputs, at the ends of flat pieces, or at breaks.
  3. Mark the domain ends t=-2 and t=3. Both are solid end dots and there are no arrows.A finite end dot gives a finite boundary. Without arrows the graph does not continue, so -∞ and ∞ are not used.
  4. Move right from t=-2 to t=1. The heights go 5, 0, -3,-4, so this stretch is decreasing.For a < b in this stretch, p(a) > p(b). For example, p(-1) = 0 > p(0) = -3.
  5. Move right from t=1 to t=3. The heights go -4,-3, 0, so this stretch is increasing.For a < b in this stretch, p(a) < p(b). For example, p(2) = -3 < p(3) = 0.
  6. Write each stretch as an open interval of t: decreasing on (-2,1) and increasing on (1, 3). No stretch is constant.This course reports intervals of behavior with open endpoints, even when the end dots are solid. No two inputs in any stretch give equal outputs, so p is never constant.
Answer
  • Increasing: (1, 3)
  • Decreasing: (-2, 1)
  • Constant: none
Double-check Test two inputs inside each interval. On (-2, 1): p(-1.5) = 6.25 - 4 = 2.25 and p(0.5) = 0.25 - 4 = -3.75. Since 2.25 > -3.75, p is decreasing there. On (1, 3): p(1.5) = 0.25 - 4 = -3.75 and p(2.5) = 2.25 - 4 = -1.75. Since -3.75 < -1.75, p is increasing there. Both intervals stop at the finite ends -2 and 3, with no ∞.

Work to write

  1. Input variable: t
  2. Turning input: t = 1; domain ends: t = -2 and t = 3 (solid dots, no arrows)
  3. Increasing on (1, 3)
  4. Decreasing on (-2, 1)
  5. Constant: none

9 Local maxima and minima

about 3 minOpen the full lessonOnly this lesson

The rule

A local maximum at input b has f(b)≥f(x) for every x in some open interval around b contained in the domain.

A local minimum has f(b)≤f(x) there. Its value is f(b); its location is b; its point is (b, f(b)). Equal nearby heights are allowed by these nonstrict inequalities. A strict local extremum uses > or < for every nearby x≠b.

How

  1. Scan the given graph for changes from rising to falling or falling to rising.
  2. Rising then falling identifies an isolated local maximum; falling then rising identifies an isolated local minimum.
  3. Also inspect flat stretches and shoulders when applying the formal nonstrict rule. Compare both sides, including any equal heights.
  4. Require a domain neighborhood on both sides. An end of the graph is considered separately for absolute extrema.
  5. Read the horizontal input as the location and the vertical output as the value.
  6. Give value and location in a full sentence; give the ordered pair if the question asks for the point.

Worked example

Worked example

Reading a local maximum from a downward-opening parabola

The graph shows f(x) = -(x - 2)2 + 5, defined for all real numbers. Points read from the graph are (0, 1), (1, 4), (2, 5), (3, 4) and (4, 1). The curve keeps falling to the left of (0, 1) and to the right of (4, 1). Find every local maximum and local minimum of f. Give each value and location in a sentence, and give the point.

(0, 1)(1, 4)(2, 5)(3, 4)(4, 1)−2246−4−2246
Graph of f(x) = -(x - 2)2 + 5 through (0, 1), (1, 4), (2, 5), (3, 4) and (4, 1).
Show the steps and the answer
  1. Scan the graph from left to right. Through (0, 1) and (1, 4) up to (2, 5) the heights increase: 1, 4, 5. After x=2 they decrease: 5, 4, 1.A local extremum shows up where the graph changes from rising to falling or from falling to rising.
  2. The graph rises and then falls at x=2, so x=2 is an isolated local maximum. Nowhere does the graph fall and then rise, so there is no isolated local minimum.Rising then falling marks a local maximum. Falling then rising would mark a local minimum.
  3. Check for flat stretches or shoulders. There are none. The curve is never level over an interval, and the points on each side of x=2 are lower: f(1)=4<5 and f(3)=4<5. In general f(x)=5-(x-2)2<5 for every x≠2.The nonstrict rule asks us to compare both sides, including equal heights. Here every nearby height is strictly smaller, so the maximum is strict.
  4. Confirm the domain. f is defined for all real numbers, so an open interval such as (1, 3) lies around x=2 inside the domain. The graph has no endpoints.A local extremum needs domain values on both sides. Ends of a graph are considered separately, for absolute extrema.
  5. Read the coordinates of the turning point. The horizontal input is 2, which is the location. The vertical output is f(2)=5, which is the value.The location of an extremum is its input b, its value is f(b), and its point is (b, f(b)).
  6. State the result: f has a local maximum value of 5 at x=2, at the point (2, 5). f has no local minimum.The answer must give the value and the location in a full sentence, plus the ordered pair the question asks for.
Answer
f has a local maximum value of 5 at x = 2. The point is (2, 5). f has no local minimum.
Double-check f(2) = -(0)2 + 5 = 5. On the open interval (1, 3), f(x) = 5 - (x - 2)2 ≤ 5, with equality only at x = 2. For example, f(1.5) = 4.75 and f(2.5) = 4.75, and both are less than 5. Since f rises for x < 2 and falls for x > 2, it never falls and then rises, so there is no local minimum.

Work to write

  1. The graph rises up to x = 2 and falls after it.
  2. f(x) ≤ f(2) = 5 for every x in the open interval (1, 3).
  3. Local maximum value 5 at x = 2, point (2, 5).
  4. There is no local minimum.

The trap

Saying 'the maximum is x = 1'. The maximum is the output, 2; x = 1 is where it happens. On the exam write both: 'local maximum of 2 at x = 1'.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Reading a local maximum from a downward parabola with its vertex left of the y-axis

The graph shows h(x) = −(x + 1)2 + 3, defined for all real numbers. Points read from the graph are (−3, −1), (−2, 2), (−1, 3), (0, 2) and (1, −1). The curve keeps falling to the left of (−3, −1) and to the right of (1, −1). Find every local maximum and every local minimum of h. For each local maximum, state its value and its location, and give the point.

(−3, −1)(−2, 2)(−1, 3)(0, 2)(1, −1)−4−22−6−4−224
Downward parabola h(x) = −(x + 1)2 + 3 with the marked points (−3, −1), (−2, 2), (−1, 3), (0, 2) and (1, −1).
Show the steps and the answer
  1. Scan the listed points from left to right: −1, 2, 3, 2, −1. The heights rise from x=−3 to x=−1 and fall from x=−1 to x=1.A local extremum shows up where the graph changes direction, so the first job is to find where rising turns into falling or falling turns into rising.
  2. The only change of direction is at x=−1, where the graph goes from rising to falling. This marks a local maximum at x=−1.Rising then falling identifies an isolated local maximum.
  3. Look for flat stretches or shoulders. There are none: the heights on the left of x=−1 (for example h(−2)=2) and on the right (for example h(0)=2) are both below 3, and the curve keeps falling beyond the listed points.The nonstrict rule h(b) ≥ h(x) must be checked on both sides of b, and any equal nearby heights would also need attention.
  4. Confirm with the formula: h(x)=−(x+1)2+3≤3=h(−1) for every x, because (x+1)2≥0. Equality holds only at x=−1, so the open interval (−2,0) works, and the maximum is strict.The formal definition needs h(b) ≥ h(x) for all x in some open interval around b. It is strict when the inequality is > for every nearby x ≠ b.
  5. Check for a local minimum. The graph never changes from falling to rising, and the domain is all real numbers, so there are no endpoints to consider. h has no local minimum.A local minimum needs falling then rising, with domain on both sides of the point. There is no such place.
  6. Read the location from the horizontal axis, x=−1, and the value from the vertical axis, h(−1)=3. The point is (−1,3).The location is the input b, the value is the output h(b), and the point is (b, h(b)).
Answer
h has a local maximum value of 3, located at x = −1, so the point is (−1, 3). This local maximum is strict. h has no local minimum.
Double-check Substitute x = −1: h(−1) = −(0)2 + 3 = 3. Neighbors: h(−1.5) = −0.25 + 3 = 2.75 and h(−0.5) = −0.25 + 3 = 2.75. Both are less than 3, which agrees with a strict local maximum at x = −1. A downward parabola (leading coefficient −1) has exactly one turning point, its vertex (−1, 3), so no local minimum is missing.

Work to write

  1. The graph rises up to x = −1 and falls after x = −1.
  2. h(x) = −(x + 1)2 + 3 ≤ 3 = h(−1) for all x, so h(−1) ≥ h(x) on an open interval around −1.
  3. h has a local maximum value of 3 at x = −1.
  4. The point is (−1, 3).
  5. h has no local minimum.

10 Toolkit behavior, then absolute maximum and minimum

about 2 minOpen the full lessonOnly this lesson

The rule

The absolute maximum is f(c) when c is in the domain and f(c)≥f(x) for every domain input x.

The absolute minimum is f(d) when d is in the domain and f(d)≤f(x) for every domain input x. The value must be attained, meaning reached at an accepted input.

How

  1. Review the nine toolkit shapes and their domain restrictions before using the summary table.
  2. Look at the whole stated domain, including included endpoint dots and any arrows or stated continuation.
  3. If outputs rise without bound, there is no absolute maximum; if they fall without bound, there is no absolute minimum.
  4. A height approached but never reached is not an absolute extremum. Check excluded hollow dots and unattained levels.
  5. Compare the remaining reached heights with every domain piece. Find the greatest and least reached outputs and every input producing each.
  6. Answer with the value and location on separate lines. A viewing-window edge does not establish a domain endpoint.

Worked example

Worked example

Showing that a highest point exists

Find the absolute maximum and absolute minimum of f(x) = 4 − x2 on its whole real-number domain, if they exist.

Show the steps and the answer
(0, 4)absolute max 4−22−8−44
The same picture again: y = −x2 + 4.
input xoutput 4 − x²−20−1304132010−96
x:−2,−1,0,1,2,10;4−x2:0,3,4,3,0,−96.
  1. x2≥0 for every real input x.Positive and negative numbers have positive squares, and 02 = 0.
  2. Thus f(x)=4−x2≤4 for every input.Subtracting a nonnegative number leaves 4 or less.
  3. f(0)=4−02=4.Input 0 is accepted and is the only input making the square zero.
  4. The absolute maximum is 4 at x=0.No output is greater and this value is attained.
  5. f(10)=−96 and f(100)=−9,996; larger input sizes make the output fall without bound.x2 grows without bound and is subtracted from 4.
  6. There is no absolute minimum.Every candidate low height is eventually beaten by subtracting a still larger square.
Answer
  • Absolute maximum: 4 at x = 0.
  • Absolute minimum: none.
Double-check The fntable columns under −2 and 2 both show output 0, the columns under −1 and 1 show 3, and the column under 0 shows the vertex height 4. The column under 10 drops to −96. These samples support the picture; the square bound and unbounded-square argument prove the full-domain result.

The trap

Calling the highest point visible in a picture the absolute maximum when an arrow shows the graph keeps rising beyond the window. Check how the graph behaves at its ends before you name an absolute maximum or minimum.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

Absolute extrema of a parabola on a closed interval with a tied maximum

The function f(x) = (x - 2)2 - 1 is defined only on the domain -1 ≤ x ≤ 5. Its graph is an upward-opening parabola with vertex (2, -1). Both ends are included. There is a closed (filled) dot at (-1, 8) and a closed (filled) dot at (5, 8). Find the absolute maximum and the absolute minimum of f, if they exist. Give each value and every input where it occurs.

(-1, 8)(2, -1)(5, 8)−224648
Graph of f(x) = (x - 2)2 - 1.
Show the steps and the answer
  1. Identify the toolkit shape. f(x)=(x-2)2-1 is the squaring function shifted right 2 and down 1. It opens upward and its vertex is (2,-1).The squaring toolkit function x2 has a lowest point at its vertex and rises on both sides. A shift moves the vertex but does not change that behavior.
  2. Read the whole stated domain: -1≤x≤5. Both endpoints use ≤, so x=-1 and x=5 are accepted inputs. The graph has no arrows.The domain is fixed by the problem statement. It is not set by any viewing window. Included ends shown with filled dots are candidates for extrema.
  3. Check for unbounded behavior. The domain is a closed, bounded interval, so the outputs cannot rise or fall without bound.Unbounded outputs would rule out an extremum. Here the graph stops at two filled dots.
  4. Check for heights that are approached but never reached. There are no hollow dots, and every height on the curve from x=-1 to x=5 is reached.Only attained values can be absolute extrema. With both ends closed, no endpoint height is excluded.
  5. List the candidates. The interior vertex is at x=2, with f(2)=(0)2-1=-1. The left end is at x=-1, with f(-1)=(-3)2-1=9-1=8. The right end is at x=5, with f(5)=(3)2-1=9-1=8.On a closed interval, an absolute extremum of this parabola can occur only at the vertex or at an included endpoint.
  6. Compare the reached heights: -1, 8 and 8. The greatest is 8, reached at both x=-1 and x=5. The least is -1, reached only at x=2.The absolute maximum must be at least as large as every output, and the absolute minimum must be at most as small as every output. Every input that produces the extreme value must be reported.
Answer
  • Absolute maximum: 8, at x = -1 and x = 5.
  • Absolute minimum: -1, at x = 2.
Double-check Test an interior input such as x = 0: f(0) = 4 - 1 = 3, which lies between -1 and 8. Test x = 4: f(4) = 4 - 1 = 3, which also lies between them. The two ends are each 3 units from the vertex at x = 2, so by symmetry they share the height 8. No point in the domain is lower than the vertex, because (x - 2)2 ≥ 0 means f(x) ≥ -1.

Work to write

  1. f(2) = -1 (vertex, interior)
  2. f(-1) = 8 (included left end)
  3. f(5) = 8 (included right end)
  4. Absolute maximum: 8
  5. occurs at x = -1 and x = 5
  6. Absolute minimum: -1
  7. occurs at x = 2

11 Quick checks for the whole unit

8 questions

Quick check 1 of 8

Find the average rates: (a) f(x) = 2x + 5 from 1 to 5; (b) g(x) = x2 from 1 to 3.

Show the steps and the answer
leftright2426101418
The line adds 2 output units per input unit on every interval.
leftright224681012
The dashed ruler line measures only the two endpoint outputs on the curve.
Answer
  • (a) 15−75−1 = 84 = 2. The line rises 2 per step: f(0) = 5 and f(1) = 7.
  • (b) 9−13−1 = 82 = 4, because the endpoint output change is 8 and the input change is 2.

Quick check 2 of 8

From this graph of f(x) = −x3 + 3x, read the local maximum value and the input where it occurs.

x = −1−22−8−448
The dots sample the smooth curve y = −x3 + 3x, whose arms continue beyond the window; the local maximum is below points farther left.
Show the steps and the answer
Answer
Local maximum: 2 at x = 1, because the graph rises toward that point and falls after it. It is a comparison with nearby heights on both sides.

Quick check 3 of 8

Find the difference quotient of f(x) = 5x − 2 for h ≠ 0.

Show the steps and the answer
one inputone step later24812
The line gains 5 per unit of input, matching its difference quotient.
Answer
(5x + 5h − 2 − 5x + 2) ÷ h = 5h ÷ h = 5, because subtracting the starting output leaves the step contribution and h ÷ h = 1.

Quick check 4 of 8

Let f(x) = 3x2 − 5x + 2. Find and simplify the difference quotient f(x+h)−f(x)h, where h ≠ 0.

Show the steps and the answer
Answer
f(x + h) − f(x) = 6xh + 3h2 − 5h, so f(x+h)−f(x)h = 6x + 3h − 5, with h ≠ 0.

Quick check 5 of 8

A car is at mile marker 30 at 1:00 p.m. and mile marker 150 at 3:00 p.m. the same day. What is the average rate of change of its marker number?

Show the steps and the answer
input t (hours after noon)output mile marker1303150↓ evaluate: input given, read the output below it
Subtract the marker numbers and the times in the same order.
Answer
(150 − 30) ÷ (3 − 1) = 120 ÷ 2 = 60 miles per hour, because the marker increases 120 miles during 2 hours.

Quick check 6 of 8

A college account drops from $20,000 to $8,000 over 3 quarters. A quarter here is a three-month time period. Find its average rate of change.

Show the steps and the answer
input elapsed quartersoutput balance ($)02000038000↓ evaluate: input given, read the output below it
The output falls while elapsed quarters increase, so the rate is negative.
Answer
(8,000 − 20,000) ÷ 3 = −4,000 dollars per quarter, because the balance fell $12,000 across three equal time periods.

Quick check 7 of 8

On which interval is f(x) = |x| decreasing?

Show the steps and the answer
left sidecloser to 0−4−22424
On the negative-input side, moving right lowers |x| until input 0.
Answer
(−∞, 0): left of 0 the V-shaped graph drops as you move right.

Quick check 8 of 8

Let f(x) = |x − 1| + 2 with domain −3 ≤ x < 4 (x = −3 included, x = 4 excluded). Find the absolute maximum and absolute minimum of f, if they exist, and every input where each occurs.

Show the steps and the answer
Answer
  • Absolute maximum: 6 at x = −3, since f(−3) = 6 and the height 5 near x = 4 is never reached.
  • Absolute minimum: 2 at x = 1, the vertex.