Question
Question: How do you find the first and second derivative of \({x^2} - 2x - 3\)?...
How do you find the first and second derivative of x2−2x−3?
Solution
Let f(x)=x2−2x−3. Then f′(x) and f′′(x) are the first and second derivatives respectively. The derivative of a function is the change in the value of the function with respect to the small change in the value of x, i.e. dxdf(x). In this question we will find the derivatives using standard forms.
Complete step by step solution:
The given function is x2−2x−3.
Let f(x)=x2−2x−3
Then we have to find the first derivative, i.e. dxdf(x), and the second derivative, i.e. dx2d2f(x).
The first derivative is f′(x)=dxdf(x)=dxd(x2−2x−3)
We have, if f(x)=g(x)+h(x), then dxdf(x)=dxdg(x)+dxdh(x), i.e. we can find the derivative of each term separately.
Thus,
f′(x)=dxd(x2−2x−3)=dxd(x2)+dxd(−2x)+dxd(−3)
Also we know,
dxd(xn)=nxn−1
dxdcf(x)=cdxdf(x) , where c is any constant number
dxdc=0, where c is any constant number
Thus, we can write the first derivative as,
Thus, the first derivative of the given function is f′(x)=2x−2
Now we have to further differentiate the function that we got as the first derivative to find the second derivative.
f′′(x)=dxdf′(x)=dx2d2f(x) ⇒f′′(x)=dxd(2x−2) ⇒f′′(x)=dxd(2x)+dxd(−2) ⇒f′′(x)=2dxdx+0=2
Thus, the second derivative of the given function is f′′(x)=2
Hence, we got the first derivative of the given function as f′(x)=2x−2 and the second derivative as f′′(x)=2.
Note:
The derivative of a function is the change in the value of the function for a very small change in the value of the variable. The derivative of a function can itself be a function which can be further differentiated. The second derivative is the derivative of the first derivative. We used standard forms of differentiation to find the derivatives. One other way is to find the derivative using first principles.