Evaluate f(x+h)-f(x)/h and simplify if f(x)=x^2-2x
Ok so first write f(x+h)
K got it
What did you get?
I wrote that down?
I just wrote down f(x+h) like you said ha
Oh, no I mean evaluate it. Sorry f(x+h) = ?
So where there is an x in f(x) put an x+h.
Okay so it's f(x+h)=(x+h)^2-2(x+h)?
Right! Now multiply all that out
So it's -2(x+h)^3?
Nope..\[f(x+h) = (x+h)^2 - 2(x+h)\] \(=(x+h)(x+h) - 2(x+h)\) \(=(x+h)(x+h) - 2(x+h)\) \(=x^2 + 2xh + h^2 - 2(x+h)\) \(=x^2 + 2xh + h^2 - 2x-2h\)
You have to foil out the (x+h)^2
Oh goodness
It's not as scary as it looks
So now we want to know what \(f(x+h) - f(x)\) is because we want to divide it by h
So what is -f(x) ?
Okay hold on uno momento, I dont' understand where you got the last part of the foiled equation?? How did it turn into x^2+2xh+h^2?
Ok. \[(x+h)^2\]\[=(x+h)(x+h)\]If you know FOIL you take ther First, Outer, Inner, and Last terms and multiply them, then sum the results. \(=(x\cdot x) + (x\cdot h) + (h \cdot x) + (h\cdot h)\) first outer inner last \[=x^2 + hx + hx + h^2\]\[= x^2 + 2hx + h^2\]
Okay so it was two different steps? It was (x+h)(x+h)-2(x+h)+(x+h)(x+h)-2(x+h) and then x\[^{2}\]+2xh+h\[^{2}\]=x\[^{2}\]+2xh+h\[^{2}\]-2x-2h?
Whoa that was weird...
I'm not sure I follow all that.
Hold on
So it was two different steps? (x+h)(x+h)-2(x+h)=(x+h)(x+h)-2(x+h) and then x^2+2xh+h^2-2(x+h)=x^2+2xh+h^2-2x-2h?
Yes, those are separate steps
So now we have an expression for f(x+h) now from that we must subtract f(x)
So subtract all of the f(x+h) from the equation?
\[f(x+h) = x^2 + 2xh + h^2 - 2x - 2h\]\[f(x) = x^2 - 2x\] \[\implies f(x+h) - f(x) = [x^2 + 2xh + h^2 - 2x - 2h] - [x^2 - 2x]\] ^This is f(x+h) ^This is f(x)
So what do we have left after we subtract?
(2xh+h^2-2h)?
f(x+h)-F(x)=(2xh+h^2-2h)
That's exactly right. Sorry someone called.
So now we divide that by h (cancelling one factor of h from each term)
Oh it's alright!
So it's f(x+h)-f(x)=(2x+h-2)?
(f(x+h)-f(x))/h=2x+h-2
So I'm right then myininaya?
with that one little correct yes
correction*
Okay but why is it divided by h?
you want to find \[\frac{f(x+h)-f(x)}{h}\]
Because you had it that way in the original problem
Right, duh. Sorry my mind is kinda trashed
We found that \[f(x+h) - f(x) = 2xh + h^2 - 2h\] Therefore \[\frac{f(x+h) - f(x)}{h} = \frac{2xh + h^2 - 2h}{h}=2x + h - 2\]
Excellent! Thank you so much
Join our real-time social learning platform and learn together with your friends!