Question
Question: If \(f(x) = x{e^{x(1 - x)}}\) then \(f(x)\) is: A. increasing on \(\left[ { - \dfrac{1}{2},1} \rig...
If f(x)=xex(1−x) then f(x) is:
A. increasing on [−21,1]
B. decreasing on R
C. increasing on R
D. decreasing on [−21,1]
Solution
For the increasing function it is that f′(x) must be greater than zero and if it is less than zero then it would be the decreasing function. So first of all we need to find what the value of f′(x) is.
Complete step by step solution:
Here we are given the function which is denoted by f(x)=xex(1−x) and we need to find which interval it is increasing or decreasing. First of all we need to find the meaning of what is increasing and decreasing function. So let us explain it through an example like here we have the graph which is shown in the figure below.
Here from A to C we see that the graph is increasing that is g(x1)<g(x0) so we can say that in the interval (x1,x0) graph of the function g(x) is increasing but from the range between x0 to x1 it starts decreasing as the graph here now starts to fall downwards. So we can say that in the interval (x0,x1) the function is decreasing. Now the basic point to know whether the graph is increasing or decreasing is that we first of all we need to find the derivative of that function. Then if it comes out to be positive then it is an increasing function but if it is negative then it is a decrease in that part of the range.
So here we are given the function which is
f(x)=xex(1−x)
So upon differentiating we will get that
Here f(x) is given in the form of g(x)h(x)
So we get that f′(x)=g′(x)h(x)+h′(x)g(x)
Here we get that
⇒g(x)=x ⇒h(x)=ex(1−x)=ex−x2 ⇒g′(x)=1 ⇒h′(x)=ex−x2.dxd(x−x2)=ex−x2(1−2x)
So we can write that
⇒f′(x)=1.ex−x2+x(1−2x)ex−x2 ⇒f′(x)=(1+x−2x2)ex−x2
We can write it as
f′(x)=−ex−x2(2x2−x+1) =−ex(1−x)(2x2−2x+x+1) =−ex(1−x)(2x(x−1)+1(x−1)) =−ex(1−x)(2x+1)(x−1)
So we need to point out where f′(x)=0
⇒2x+1=0 ⇒x=−21 ⇒x−1=0 ⇒x=1
Case 1
For x<\-21
Let us put x=−1
f′(−1)=−e−2(−2+1)(−2)=negative
So it is decreasing at x<\-21
For −21<x<1
Let us take x=0
f′(0)=−e0(0+1)(0−1)=1=positive
Hence it is increasing here for −21<x<1
So we can say that it is increasing in the interval [−21,1]
Note:
f′(x) for any function represents to us the slope of that function at that point. If the slope is greater than 90∘ then it will be negative and if slope is less than 90∘ then value will be positive.