Question
Question: Find the second derivative of the following function. \[y={{e}^{\sqrt{x}}}\sqrt{{{x}^{2}}-1}\]...
Find the second derivative of the following function. y=exx2−1
Solution
- Hint: Use product rule and chain rule of composition of two functions to differentiate the given function twice. Use the fact that differentiation of function y=ex is dxdy=ex and y=axn+b is dxdy=anxn−1.
Complete step-by-step solution -
To find the second derivative of the functiony=exx2−1, we will differentiate it twice with respect to the variablex.
To find the first derivative, we will differentiate the functionywith respect tox.
We will use the product rule of differentiation of product of two functions which states thatdxda(x)=dxd(u(x)×v(x))=v(x)×dxdu(x)+u(x)dxdv(x).
Substitutingu(x)=ex,v(x)=x2−1in the above equation, we havedxda(x)=dxd(exx2−1)=x2−1×dxd(ex)+exdxd(x2−1)....(1)
To find the value ofdxd(ex), let’s assumeu(x)=exas a composition of two functions such thatu(x)=f(g(x))wheref(x)=ex,g(x)=x.
We will use chain rule of differentiation of composition of two functions to find the derivative which states that ifyis a composition of two functionsf(x)andg(x)such thaty=f(g(x)), thendxdy=dg(x)df(g(x))×dxdg(x).
Substitutingf(x)=ex,g(x)=xin the above equation, we getdxdu(x)=dg(x)df(g(x))×dxdg(x)=d(x)dex×dxd(x). ...(2)
To find the value ofd(x)dex, let’s assumet=x.
Thus, we haved(x)dex=dtd(et).
We know that differentiation of any function of the formy=exisdxdy=ex.
So, we haved(x)dex=dtd(et)=et=ex. ...(3)
We know that differentiation of any function of the formy=axn+bisdxdy=anxn−1.
Substitutinga=1,n=21,b=0in the above equation, we havedxd(x)=2x1. ...(4)
Substituting equation(3)and(4)in equation(2), we getdxdu(x)=d(x)dex×dxd(x)=ex×2x1=2xex. ...(5)
To find the value ofdxd(x2−1), let’s assumev(x)=x2−1 as a composition of two functions such thatv(x)=α(β(x)) whereα(x)=x,β(x)=x2−1.
We will use chain rule of differentiation of composition of two functions to find the derivative which states that ifyis a composition of two functionsα(x)andβ(x)such thaty=α(β(x)), thendxdy=dβ(x)dα(β(x))×dxdβ(x).
Substitutingα(x)=x,β(x)=x2−1in the above equation, we havedxdy=dβ(x)dα(β(x))×dxdβ(x)=d(x2−1)d(x2−1)×dxd(x2−1). ...(6)
To find the value ofd(x2−1)d(x2−1), let’s assumez=x2−1.
Thus, we haved(x2−1)d(x2−1)=dzd(z).
We know that differentiation of any function of the formy=axn+bisdxdy=anxn−1.
Substitutinga=1,n=21,b=0in the above equation, we havedxd(x)=2x1.
So, we haved(x2−1)d(x2−1)=dzd(z)=2z1=2x2−11. ...(7)
To find the value ofdxd(x2−1), substitutea=1,n=2,b=−1in the differentiation of any function of the formy=axn+bisdxdy=anxn−1.
Thus, we havedxd(x2−1)=2x. ...(8)
Substituting equation(7)and(8)in equation(6), we getdxdy=d(x2−1)d(x2−1)×dxd(x2−1)=2x2−11×2x=x2−1x. ...(9)
Substituting equation(5)and(9)in equation(1), we getdxda(x)=dxd(exx2−1)=x2−1×dxd(ex)+exdxd(x2−1)=x2−1×2xex+ex×x2−1x
Solving the above equation, we getdxda(x)=ex(2xx2−1+x2−1x). ...(10)
Thus, we havedxdy=ex(2xx2−1+x2−1x)as the first derivative of the given function.
Now, to find the second derivative, we will again differentiate the functiondxdyasdx2d2y=dxd(dxdy).
Let’s assumeh(x)=dxdy=ex(2xx2−1+x2−1x).
So, we havedx2d2y=dxdh(x).
We can writeh(x)as a product of two functions of the formh(x)=u(x)×γ(x)whereu(x)=exandγ(x)=2xx2−1+x2−1x.
We will use the product rule of differentiation of product of two functions which states thatdxdh(x)=dxd(u(x)×γ(x))=γ(x)×dxdu(x)+u(x)dxdγ(x).
Substitutingu(x)=ex,γ(x)=2xx2−1+x2−1xin the above equation, we havedxdh(x)=γ(x)×dxdu(x)+u(x)dxdγ(x)=(2xx2−1+x2−1x)×dxd(ex)+ex×dxd(2xx2−1+x2−1x)
...(11)
To find the value ofdxd(2xx2−1+x2−1x), we can writeγ(x)=2xx2−1+x2−1xas sum of two functionsα1(x)andα2(x).
We can use sum rule of differentiation of two functions which states that ify=α1(x)+α2(x), thendxdy=dxdα1(x)+dxdα2(x).
So, we havedxdγ(x)=dxdα1(x)+dxdα2(x)=dxd(2xx2−1)+dxd(x2−1x) ...(12)
To find the value ofdxd(2xx2−1), we will assume it as a quotient of two functionsβ1(x)v(x)wherev(x)=x2−1,β1(x)=2x.
We will use quotient rule of differentiation which states that ify=β1(x)v(x)then, we havedxdy=β12(x)β1(x)dxdv(x)−v(x)dxdβ1(x).
Substitutingv(x)=x2−1,β1(x)=2xin the above equation, we havedxdα1(x)=β12(x)β1(x)dxdv(x)−v(x)dxdβ1(x)=(2x)22x×dxd(x2−1)−(x2−1)×dxd(2x) ...(13)
To find the value ofdxdβ1(x), substitutea=2,n=21,b=0in the differentiation of any function of the formy=axn+bisdxdy=anxn−1.
Thus, we havedxdβ1(x)=dxd(2x)=x1. ...(14)
Substituting equation(9)and(14)in equation(13), we havedxdα1(x)=(2x)22x×dxd(x2−1)−(x2−1)×dxd(2x)=4x2x×x2−1x−x1×x2−1.
Solving the above equation by taking LCM, we getdxdα1(x)=4x23x2−1x2+1. ...(15)
To find the value ofdxd(x2−1x), we will assume it as a quotient of two functionsv(x)β2(x)wherev(x)=x2−1,β2(x)=x.
We will use quotient rule of differentiation which states that ify=v(x)β2(x)then, we havedxdy=v2(x)v(x)dxdβ2(x)−β2(x)dxdv(x).
Substitutingv(x)=x2−1,β2(x)=xin the above equation, we getdxdy=v2(x)v(x)dxdβ2(x)−β2(x)dxdv(x)=(x2−1)2x2−1×dxd(x)−x×dxd(x2−1). ...(16)
To find the value ofdxdβ2(x), substitutea=1,n=1,b=0in the differentiation of any function of the formy=axn+bisdxdy=anxn−1.
Thus, we havedxdβ2(x)=dxd(x)=1. ...(17)
Substituting equation(9)and(17)in equation(16), we havedxdα2(x)=(x2−1)2x2−1×dxd(x)−x×dxd(x2−1)=x2−1x2−1×1−x×x2−1x.
Solving the above equation by taking LCM, we getdxdα2(x)=(x2−1)23−1. ...(18)
Substituting equation(15)and(18)in equation(12), we getdxdγ(x)=dxd(2xx2−1)+dxd(x2−1x)=4x23x2−1x2+1+(x2−1)23−1. ...(19)
Substituting equation(5)and(19)in equation(11), we getdxdh(x)=(2xx2−1+x2−1x)×dxd(ex)+ex×dxd(2xx2−1+x2−1x)=(2xx2−1+x2−1x)×2xex+ex×4x23x2−1x2+1+(x2−1)23−1
Solving the above equation, we getdxdh(x)=(4xx2−1+2x2−1x)×ex+ex×4x23x2−1x2+1+(x2−1)23−1.
Further simplifying the equation, we getdxdh(x)=4xx2−1+2x2−1x+4x23x2−1x2+1+(x2−1)23−1×ex.
Thus, we havedx2d2y=dxdh(x)=4xx2−1+2x2−1x+4x23x2−1x2+1+(x2−1)23−1×ex.
Hence, the second derivative of y=exx2−1is4xx2−1+2x2−1x+4x23x2−1x2+1+(x2−1)23−1×ex.
Note: It is necessary to use the chain rule of differentiation for composition of two functions. Otherwise, we won’t be able to find the second derivative of the given function. Also, one must know that the first derivative of any function is the slope of the function.