How do you find the average rate of change of h(x)=x^2+3x-1h(x)=x2+3x1 over [x, x+h]?

1 Answer
May 22, 2017

For a function ff, the average rate of change of ff over interval [a,b][a,b] is defined to be (f(b)-f(a))/(b-a)f(b)f(a)ba

Explanation:

This question uses hh to mean two different things. To try to avoid confusion, let's rename the function ff.

f(x) = x^2+3x-1f(x)=x2+3x1

f(x+h) = (x+h)^2+3(x+h) -1f(x+h)=(x+h)2+3(x+h)1

The average rate of change is

(f(x+h)-f(x))/((x+h)-x) = (f(x+h)-f(x))/hf(x+h)f(x)(x+h)x=f(x+h)f(x)h

(f(x+h)-f(x))/h = (overbrace([(x+h)^2+3(x+h) -1])^(f(x+h))-overbrace([x^2+3x-1])^(f(x)))/h

expand insude the brackets

= ([x^2+2xh+h^2+3x+3h-1]-[x^2+3x-1])/h

remove the brackets (distribute the - sign)

= (x^2+2xh+h^2+3x+3h-1-x^2-3x+1)/h

Simplify the numerator

= (cancel(color(red)(x^2))+2xh+h^2+cancel(color(green)(3x))+3h-cancel(1)-cancel(color(red)(x^2))-cancel(color(green)(3x))+cancel(1))/h

= (2xh+h^2+3h)/h

factor the h in the numerator and reduce the fraction

= (cancel(h)(2x+h+3))/(cancel(h)1)

Finish writing

= 2x+h+3