Question
Question: Differentiate the given function with respect to \(x\): \({x^{{x^2} - 3}} + {\left( {x - 3} \right)^...
Differentiate the given function with respect to x: xx2−3+(x−3)x2 , for x>3
Solution
The given equation xx2−3+(x−3)x2 can be divided as sum of two separate functions xx2−3 and (x−3)x2. The differentiation of these terms can be calculated separately. The differentiation is done by taking log on both sides of the equation. The result for the two functions can be then added to form the solution.
Complete step-by-step answer:
Let the given function in the question xx2−3+(x−3)x2 be represented by y . The given function can be written as sum of two functions xx2−3 and (x−3)x2.
Let the function xx2−3 be represented by p, and the function (x−3)x2 represented by r .
Thus the given function y is sum of p and r.
The differentiation of p with respect to xcan be evaluated after taking log on both sides of the equation p=xx2−3.
logp=log(xx2−3)
On simplifying the above equation using the property log(ab)=bloga, we get
logp=(x2−3)logx
Differentiating both sides with respect to x to solve for dxdp, we get
dxdlogp=dxd((x2−3)logx) ⇒p1dxdp=(x2−3)dxd(logx)+logxdxd(x2−3) ⇒p1dxdp=x2−3(x1)+logx(2x) ⇒p1dxdp=xx2−3+2xlogx ⇒dxdp=p(xx2−3+2xlogx)
Substituting the value p=xx2−3 in the above equation, we get
dxdp=xx2−3(xx2−3+2xlogx)
Similarly, taking log and solving for dxdr in the equation r=(x−3)x2, we get
logr=log((x−3)x2) ⇒logr=x2log(x−3) ⇒dxdlogr=dxd(x2log(x−3)) ⇒r1dxdr=x2dxd(log(x−3))+log(x−3)dxdx2 ⇒r1dxdr=x2(x−31)+2xlog(x−3) ⇒dxdr=r(x2(x−31)+2xlog(x−3)) ⇒dxdr=(x−3)x2(x−3x2+2xlog(x−3))
For the known equation y=p+r, differentiating the equation w.r.t. x, we get
dxdy=dxdp+dxdr
Substituting the value for the dxdp and dxdr in the equation dxdy=dxdp+dxdr, we get
dxdy=xx2−3(xx2−3+2xlogx)+(x−3)x2(x−3x2+2xlog(x−3))
The differentiation of xx2−3+(x−3)x2 with respect to x is xx2−3(xx2−3+2xlogx)+(x−3)x2(x−3x2+2xlog(x−3))
Note: The calculation must be carried out separately for the two functions to avoid complexity. Taking log on both sides of the equation of p and r to find its derivative quickly. The differentiation can also be done by using the known formula dxdfg=(f)gdxd(ln(f).g), where f and g are both function of x.