Differentiate #xsinx# using first principles?
2 Answers
Explanation:
Derivation from first principles tells us that for a function
In this case,
We can use the identity
It is known that:
It is also known that:
Proof:
# d/dx xsinx = x cosx +sinx #
Explanation:
Let us define:
# f(x) = xsinx#
Using the limit definition of the derivative, we compute the derivative using:
# f'(x) = lim_(h rarr 0) (f(x+h)-f(x))/h #
# \ \ \ \ \ \ \ \ \ = lim_(h rarr 0) ((x+h)sin(x+h) - xsinx)/h #
# \ \ \ \ \ \ \ \ \ = lim_(h rarr 0) {x((sin(x+h) - sinx))/h +sin(x+h)} #
# \ \ \ \ \ \ \ \ \ = x lim_(h rarr 0) ((sin(x+h) - sinx))/h +lim_(h rarr 0)sin(x+h) #
# \ \ \ \ \ \ \ \ \ = x {lim_(h rarr 0) (sin(x+h) - sinx)/h} +sinx #
So we only need to calculate the limit:
# L = lim_(h rarr 0) (sin(x+h) - sinx)/h #
Which, coincidentally, is the limit arising from the derivative of
# sin(A+B) -= sinA cosB+cosA sinB #
We get:
# L = lim_(h rarr 0) (sin x cos h + cos x sin h - sin x)/h #
# \ \ \ = lim_(h rarr 0) (sin x (cos h -1))/h+ (cos x sin h)/h #
# \ \ \ = sinx \ {lim_(h rarr 0) (cos h -1)/h } + cos x \ {lim_(h rarr 0) ( sin h)/h} #
Both of these limits are standard calculus limits, and providing
# lim_(h rarr 0) (cos h -1)/h =0 \ \ # and# \ \ lim_(h rarr 0) ( sin h)/h = 1 #
With these results, we get the result:
# L = cos x => f'(x) = x cosx +sinx #