Question
Question: Differentiate \(x{{e}^{x}}\) from first principle....
Differentiate xex from first principle.
Solution
Hint: First, here we will consider the function f(x)=xex . Then we will differentiate this using the formula of first principle i.e. given as f′(x)=h→0limhf(x+h)−f(x) . Then, we will substitute the value of limit at the end. Thus, we will get the required answer.
Complete step-by-step solution -
First principle is also known as the delta method. Now, we will consider the function f(x)=xex . So, we will use the formula of first principle given as f′(x)=h→0limhf(x+h)−f(x) . So, finding the value we get,
f(x+h)=(x+h)ex+h , f(x)=xex
On substituting in the formula, we get
f′(x)=h→0limh(x+h)ex+h−xex
On multiplying the brackets, we get
f′(x)=h→0limh(xex+h+hex+h)−xex
On taking xex common, we get
f′(x)=h→0limxexh(eh−1)+hhex+h
On further simplification, we get
f′(x)=h→0lim(xexh(eh−1)+ex+h)
Now taking limit individually, we get
f′(x)=xexh→0limh(eh−1)+h→0limex+h
On putting the value of h as zero, we get the bracket term as 1. So, we get
f′(x)=xexh(e0−1)+ex+0=xex+ex
f′(x)=ex(x+1)
Thus, the answer of function after differentiation using the first principle is f′(x)=ex(x+1) .
Note: Be careful while doing limit problems. It is very tricky to understand when to put a value of limit. Not knowing this can change the whole answer. Suppose from the above solution we take f′(x)=h→0limh(xex+h+hex+h)−xex as f′(x)=h→0limhxex+h+h→0limhhex+h−h→0limhxex and putting value of h as 0, we get answer as f′(x)=0xex+0+ex+0−0xex=∞+ex−∞ . So, we cannot write any specific answer here and this is the wrong answer. So, please be careful while putting the value of limit.