Sketch a product of a line and an exponential
Unit 3 Topic 3: Further applications of differentiation
The question
Sketch the graph of \(y=(x-1)e^{x}\). Show the exact coordinates of any stationary points, points of inflection and axis intercepts, and the equation of any asymptote.
The idea. The product rule gives \(\frac{dy}{dx} = xe^{x}\). Because \(e^{x}\) is always positive, the sign of each derivative comes from its other factor, which makes the nature of each point quick to read.
The answer, one mark at a time
-
Use the product rule with \(u = x - 1\) and \(v = e^{x}\). Since \(e^{x} > 0\), the gradient is zero only at \(x = 0\), and it has the same sign as \(x\).
\[\frac{dy}{dx} = 1 \times e^{x} + (x - 1)e^{x} = xe^{x}\]\[xe^{x} = 0 \Rightarrow x = 0, \quad y = (0 - 1)e^{0} = -1\]\[x < 0: \ \frac{dy}{dx} < 0, \quad x > 0: \ \frac{dy}{dx} > 0\]\[(0, -1) \text{ is a minimum}\]correctly applies the product rule [1 mark]
determines the stationary point and its nature [1 mark]
-
Differentiate \(xe^{x}\) with the product rule again and set it to zero. The factor \(x + 1\) changes sign at \(x = -1\), so the concavity changes there.
\[\frac{d^{2}y}{dx^{2}} = e^{x} + xe^{x} = (x + 1)e^{x}\]\[(x + 1)e^{x} = 0 \Rightarrow x = -1\]\[y = (-1 - 1)e^{-1} = -\frac{2}{e}\]\[\text{Point of inflection: } \left(-1, -\frac{2}{e}\right)\]determines the point of inflection [1 mark]
-
For the intercepts, set \(y = 0\), then \(x = 0\). For the asymptote, think about very negative \(x\): \(e^{x}\) shrinks to 0 faster than \(x - 1\) grows, and \(x - 1\) is negative.
\[y = 0: \ (x - 1)e^{x} = 0 \Rightarrow x = 1\]\[x = 0: \ y = -1\]\[x \to -\infty: \ x - 1 < 0, \ e^{x} \to 0, \ \text{so } y \to 0^{-}\]\[\text{Asymptote: } y = 0\]determines the intercepts and asymptote [1 mark]
-
Join the features. The curve hugs \(y = 0\) from below on the left, is concave down until \(x = -1\), then concave up through the minimum, and rises steeply through \((1, 0)\).
\[\text{concave down for } x < -1,\]\[\text{concave up for } x > -1\]\[\text{min } (0, -1),\]\[\text{inflection } \left(-1, -\frac{2}{e}\right),\]\[\text{intercept } (1, 0)\]sketches the correct shape with all features [1 mark]
Answer
Watch for. The asymptote is on the left only. As \(x\) grows, \((x - 1)e^{x}\) grows without limit, so don't draw the curve levelling off on the right.