Analyzing the Anatomy of the Function
To begin our journey, we observe the structure of the function:
f(x)=x⋅ex−x2
This is a classic product of two distinct entities: a linear function u(x)=x and an exponential function v(x)=ex−x2.
Whenever you see a product, your mind should immediately jump to the
Product Rule. It is the fundamental law of differentiation for products, defined as:
f′(x)=u′(x)v(x)+u(x)v′(x)
Think of it as a dance where each term takes a turn being differentiated while the other remains constant.
The Calculus Surgery
Let us perform the surgery. We know u(x)=x, so its derivative u′(x) is simply 1.
Now, consider v(x)=ex−x2. This requires the Chain Rule, where the derivative of eg(x) is eg(x)⋅g′(x).
Since the derivative of
x−x2 is
1−2x, we find:
v′(x)=ex−x2(1−2x)
Assembling these pieces into our Product Rule formula, we get:
f′(x)=(1)⋅ex−x2+(x)⋅[ex−x2(1−2x)]
At this stage, we identify the common factor,
ex−x2, and factor it out:
f′(x)=ex−x2[1+x(1−2x)]
The Algebraic Cleanup
Now, let us focus on the bracketed expression: 1+x(1−2x). Expanding this, we obtain 1+x−2x2.
To make this easier to factor, we rearrange it into standard quadratic form:
−2x2+x+1. Factoring out a negative sign gives us:
−(2x2−x−1)
We factor the quadratic
2x2−x−1 by splitting the middle term. This results in:
−(2x+1)(x−1)
Putting it all together, our derivative reaches its final, compact form:
f′(x)=−ex−x2(2x+1)(x−1)
The Wavy Curve Analysis
To determine where the function is increasing, we set the condition
f′(x)>0:
−ex−x2(2x+1)(x−1)>0
The term
ex−x2 is always positive and does not affect the sign. However, because we have a negative sign in front, dividing by
−ex−x2 flips the inequality:
(2x+1)(x−1)<0
Using the Wavy Curve method, we identify the critical points at x=−21 and x=1.
Testing the intervals, we find that the expression is negative between these two points. Thus, the function is increasing in the interval:
(−21,1)