Analyzing the Setup
Welcome, future engineers! Today, we are not just solving a problem; we are dissecting the behavior of a function. We are looking at f(x)=(x+2)e−x.
When you look at this function, I want you to see a story. You have a linear term, (x+2), which wants to grow to infinity, and an exponential decay term, e−x, which wants to crush everything down to zero.
The result of this interaction is a curve that climbs, peaks, and then slides away. Our mission is to find exactly where that transition happens.
The Master Key
The First Derivative
In the world of calculus, the first derivative, f′(x), is our compass. It tells us the direction of the slope.
If f′(x)>0, the function is climbing (increasing). If f′(x)<0, the function is sliding (decreasing).
To find this, we must apply the Product Rule. We have u=(x+2) and v=e−x. The rule states that the derivative is u′v+uv′. Let us execute this with precision:
f′(x)=dxd(x+2)⋅e−x+(x+2)⋅dxd(e−x)
Calculating the individual parts, the derivative of (x+2) is simply 1. The derivative of e−x (using the Chain Rule) is −e−x. Putting it all together, we get:
The Elegance of Simplification
Now, do not rush the algebra. This is where many students stumble. We have a common factor of e−x. Let us pull it out:
Simplifying the terms inside the bracket, we get 1−x−2, which simplifies to −x−1. Thus, our derivative is:
This expression is the heart of our problem. Because e−x is always strictly positive for all real x, it does not affect the sign of the derivative. The sign of f′(x) is entirely dictated by the term −(x+1).
The Critical Moment
We set f′(x)=0 to find our critical point. Since $e^{-x}
eq 0$, we must have −(x+1)=0, which gives us x=−1.
This is the peak of our mountain. To the left of x=−1, let us test a value like x=−2.
The term −(x+1) becomes −(−2+1)=−(−1)=1, which is positive. Thus, the function is increasing on (−∞,−1).
To the right of x=−1, let us test x=0. The term −(x+1) becomes −(0+1)=−1, which is negative.
Thus, the function is decreasing on (−1,∞).
Conclusion
We have successfully mapped the terrain. The function climbs until it hits x=−1 and then descends forever.
This rigorous analysis confirms that the function is increasing in (−∞,−1) and decreasing in (−1,∞). Keep this logical process in your toolkit, and no function will ever be able to hide its secrets from you!