Question
Question: Using the limit definition, how do you find the derivative of \(f\left( x \right) = 4 - 2x - {x^2}\)...
Using the limit definition, how do you find the derivative of f(x)=4−2x−x2?
Solution
We need to plug this function into the definition of the derivative and do some algebra. First plug the function into the definition of the derivative. Next, multiply everything out and distribute the minus sign through on the second term. Notice that every term in the numerator that didn’t have an h in it cancelled out and we can now factor an h out of the numerator which will cancel against the h in the denominator. After that we can compute the limit.
Formula used:
Definition of the Derivative
The derivative of f(x) with respect to x is the function f′(x) and is defined as,
f′(x)=h→0limhf(x+h)−f(x)…(1)
Complete step by step solution:
So, all we really need to do is to plug this function into the definition of the derivative, (1), and do some algebra.
First plug the function into the definition of the derivative.
f′(x)=h→0limhf(x+h)−f(x)
⇒f′(x)=h→0limh4−2(x+h)−(x+h)2−(4−2x−x2)
Be careful and make sure that you properly deal with parenthesis when doing the subtracting.
Now, we know that we can’t just plug in h=0 since this will give us a division by zero error. So, we are going to have to do some work. In this case that means multiplying everything out and distributing the minus sign through on the second term. Doing this gives,
⇒f′(x)=h→0limh4−2x−2h−x2−h2−2xh−4+2x+x2
⇒f′(x)=h→0limh−2h−h2−2xh
Notice that every term in the numerator that didn’t have an h in it cancelled out and we can now factor an h out of the numerator which will cancel against the h in the denominator. After that we can compute the limit.
⇒f′(x)=h→0limhh(−2−h−2x)
⇒f′(x)=h→0lim(−2−h−2x)
⇒f′(x)=−2−2x
Therefore, the derivative is, f′(x)=−2−2x.
Note: We can directly find the derivative of given function using dxdxn=nxn−1,n=−1, dxd[kf(x)]=kdxdf(x) and dxd[f(x)±g(x)]=dxdf(x)±dxdg(x).
So, differentiating f with respect to x.
f′(x)=dxd(4−2x−x2)
Now, use property dxd[f(x)±g(x)]=dxdf(x)±dxdg(x).
⇒f′(x)=dxd(4)−dxd(2x)−dxd(x2)
Now, use property dxd[kf(x)]=kdxdf(x).
⇒f′(x)=4dxd(x0)−2dxd(x)−dxd(x2)
Now, use property dxdxn=nxn−1,n=−1.
⇒f′(x)=−2−2x
Therefore, the derivative is, f′(x)=−2−2x.