Question
Question: Find the derivative of the following function. \[y=2\left| -{{\log }_{0.4}}x \right|+7\]...
Find the derivative of the following function. y=2∣−log0.4x∣+7
Solution
Hint: To find the derivative of the function given in the question, one must start by
simplifying the given function using properties of logarithmic function and then differentiating the terms given in the function using sum and product rule of differentiation.
To find the derivative of the functiony=2∣−log0.4x∣+7, we will differentiate it with respect to the variablexusing some logarithmic properties.
We will first simplify the given function.
We know thatlogba=logbloga.
Substitutinga=x,b=0.4, we havey=2∣−log0.4x∣+7=2log0.4−logx+7.
We will remove the modulus depending ifxis greater or less than 0.
We knowlog0.4<0.
Case 1: Ifx>1, we havelogx>0 .Thus, we havey=f(x)=log0.4−2logx−7.
We will use sum rule of differentiation of two functions such that ify=f(x)=g(x)+h(x)thendxdy=dxdg(x)+dxdh(x). ...(1)
We know that differentiation of any function of the formy=alogx+bisdxdy=xa.
Substitutinga=−log0.42,b=0, we havedxdy=dxdg(x)=−xlog0.42. ...(2)
We know that the differentiation of a constant function with respect to any variable is 0.
Thus, we havedxdy=dxdh(x)=0. ...(3)
Substituting equation(2)and(3)in equation(1), we getdxdy=dxdf(x)dxdg(x)+dxdh(x)=−xlog0.42.
Thus, differentiation of the functiony=2∣−log0.4x∣+7isdxdy=−xlog0.42.
Case 2: Ifx<1, we havelogx<0 .Thus, we havey=f(x)=log0.42logx−7.
We will use sum rule of differentiation of two functions such that ify=f(x)=g(x)+h(x)thendxdy=dxdg(x)+dxdh(x). ...(4)
We know that differentiation of any function of the formy=alogx+bisdxdy=xa.
Substitutinga=log0.42,b=0, we havedxdy=dxdg(x)=xlog0.42. ...(5)
We know that the differentiation of a constant function with respect to any variable is 0.
Thus, we havedxdy=dxdh(x)=0. ...(6)
Substituting equation(5)and(6)in equation(4), we getdxdy=dxdf(x)dxdg(x)+dxdh(x)=xlog0.42.
Thus, differentiation of the functiony=2∣−log0.4x∣+7isdxdy=xlog0.42.
Note: The first derivative of any function signifies the slope of the function. Also, we get
different values of derivatives of the function based on different values ofx. Thus, one
should remove modulus carefully considering all the cases.