Question
Question: How do you differentiate the function \(f(x)=\dfrac{{{x}^{2}}+2x}{{{x}^{2}}-4}\)?...
How do you differentiate the function f(x)=x2−4x2+2x?
Solution
In this question we have the given function in the form of a fraction therefore, we will use the form of derivative of vu which is dxdvu=v2vdxdu−udxdv. we will also use the formula of a2−b2=(a+b)(a−b) in the denominator of the expression. We will then multiply and simplify the terms to get the required solution.
Complete step-by-step solution:
We have the given expression as:
⇒f(x)=x2−4x2+2x
We have to find the derivative of the expression therefore; we can write as:
⇒f′(x)=dxdx2−4x2+2x
Now since it is in the form of vu, we will use the formula dxdvu=v2vdxdu−udxdv by considering u=x2+2x and v=x2−4.
On using the formula, we get:
⇒f′(x)=(x2−4)2(x2−4)dxd(x2+2x)−(x2+2x)dxd(x2−4)
Now the term x2−4 can be written as x2−22 and since it is in the form of a2−b2, we will expand it as (a+b)(a−b).
⇒f′(x)=((x−2)(x+2))2(x2−4)dxd(x2+2x)−(x2+2x)dxd(x2−4)
On splitting the square in the denominator, we get:
⇒f′(x)=(x−2)2(x+2)2(x2−4)dxd(x2+2x)−(x2+2x)dxd(x2−4)
Now we know that dxdxn=nxn−1 therefore dxdx2=2x and dxdx=1 . we also know that dxdk=0 therefore on using these formulas and substituting, we get:
⇒f′(x)=(x−2)2(x+2)2(x2−4)(2x+2)−(x2+2x)(2x)
On multiplying the terms, we get:
⇒f′(x)=(x−2)2(x+2)2(2x3+2x2−8x−8)−(2x3+4x2)
On removing the brackets, we get:
⇒f′(x)=(x−2)2(x+2)22x3+2x2−8x−8−2x3−4x2
On simplifying, we get:
⇒f′(x)=(x−2)2(x+2)22x2−8x−8−4x2
On further simplifying, we get:
⇒f′(x)=(x−2)2(x+2)2−2x2−8x−8
Now on taking −2 common from the numerator, we get:
⇒f′(x)=(x−2)2(x+2)2−2(x2+4x+4)
Now the term x2+4x+4 is in the form of the expansion of (x+2)2, on substituting, we get:
⇒f′(x)=(x−2)2(x+2)2−2(x+2)2
On cancelling the terms, we get:
⇒f′(x)=(x−2)2−2, which is the required solution.
Note: In this question we have used the dxdvu formula which is for two terms which are in division. There also exists the formula for two terms in division which can be denoted as dxduv and the formula is written as dxduv=udxdv+vdxdu. It is to be also remembered that differentiation is the reverse of integration.