Question
Question: How do you find the derivative of \(\log {{x}^{2}}\)?...
How do you find the derivative of logx2?
Solution
We recall the definition of composite function gof(x)=g(f(x)). We recall the chain rule of differentiation dxdy=dudy×dxdu where y=gof and u=f(x). We first find u=f(x) as the function inside the bracket and y as the given function and then differentiate using chain rule. We then solve alternatively using the first principle as dxdf(x)=h→0limhf(x+h)−f(x).
Complete step-by-step solution:
If the functions f(x),g(x) are defined within sets f:A→B and g:B→C then the composite function from A to C is defend as g(f(x)) within sets gof:A→C. If we denote g(f(x))=y and f(x)=u then we can differentiate the composite function using chain rule as
dxdg(f(x))=dxdy=dudy×dxdu
We are asked to differentiate the function logx=log(x2). We see that it is a composite function which is made by a polynomial function that is x2 and a logarithmic function that is logx. Let us assign the function within the bracket as f(x)=x2=u and g(x)=logx. So we have g(f(x))=g(x2)=log(x2)=y. We differentiate using chain rule to have;