Question
Question: If a function is given \(f(x) = x{e^{x(1 - x)}}\), then \(f(x)\) is \( {\text{A}}{\text{. inc...
If a function is given f(x)=xex(1−x), then f(x) is
A. increasing on [−21,1] B. decrease on R C. increase on R D. decrease on [−21,1]
Solution
Hint:- In this question first we need to find the derivative of xex(1−x) using derivative formulas. Then equate f′(x)=0 to find the local extremum points of given function. After this we have to check between these local extremum points f′(x) is increasing or decreasing.
Complete step-by-step answer:
Given: f(x)=xex(1−x) ---- eq.1
We know, the derivative formula of dxd(u.v)=u.dxdv+vdxdu. ---- eq.2
⇒dxdx=1 ----eq.3
And
⇒dxdex=ex ---eq.4
Now, differentiate f(x)with respect to x and use above derivative formulas, we get
⇒dxdf(x)=dxdxex(1−x)
⇒f′(x)=ex(1−x)+xex(1−x)(1−2x)
Now, take ex(1−x) common in RHS, we get
⇒f′(x)=ex(1−x)1+x(1−2x)
Now, we make a quadratic equation on RHS.
⇒f′(x)=ex(1−x)1+x−2x2
Now, take negative sign from 1+x−2x2 to make coefficient of x2 positive, we get
⇒f′(x)=−ex(1−x)2x2−x−1
Now, factorise the quadratic equation 2x2−x−1, we get
⇒f′(x)=−ex(1−x)2x2−2x+x−1 ⇒f′(x)=−ex(1−x)(x−1)(2x+1) —- eq.5
Now, for finding the increasing or decreasing of function f(x).
We have to put f′(x)=0.
⇒−ex(1−x)(x−1)(2x+1)=0
We know, exponential function (ex(1−x)) can never be zero. So
⇒(x−1)(2x+1)=0
Above equation gives us the condition f′(x)=0. On equating each factor equal to zero , we get
⇒x=1,2−1
Now, we know if f′(x)is positive then f(x)is increasing and if f′(x) is negative then f(x)is decreasing.
We know, exponential function ex(1−x) can never be negative. So we have to check for (x−1)(2x+1) to when it is greater or less than to zero.
f’(x) > 0 i.e. f(x) is increasing −21⩽ x⩽1 f’(x) < 0 i.e. f(x) is decreasing otherwise
Therefore, f(x) is greater than zero i.e. increasing between the range −21⩽ x⩽1 and f(x) is less than zero i.e. decreasing for all x other than range −21⩽ x⩽1. So, f(x)=xex(1−x) is increasing [−21,1].
Hence, option A is correct.
Note:-Whenever you get this type of question the key concept to solve this is to learn the all basics derivative formulas. Using these formulas find the derivative of a given function (f′(x)). And then put f′(x)=0 to get local extreme points. Then check where it is increasing if f′(x)>0 and decreasing f′(x)<0. And remember one more thing that exponential function can never be negative.