If the gradient is x(1−x2)e−x2 can we find the stationary points?
Question
The curve C1 passes through the origin in the x-y plane and its gradient is given by dxdy=x(1−x2)e−x2. Show that C1 has a minimum point at the origin and a maximum point at (1,21e−1). Find the coordinates of the other stationary point. Give a rough sketch of C1.
The curve C2 passes through the origin in the x-y plane and its gradient is given by dxdy=x(1−x2)e−x3. Show that C2 has a minimum point at the origin and a maximum point at (1,k), where k>21e−1. (You need not find k.)
Suggestion
What condition is required for a stationary point, and how do we classify them?
To find the coordinates of the maxima, we need to know y as a function of x. What form do you think the function will take?
Other things to consider when sketching this function:
- what happens as x→±∞?
- is this function even or odd (or neither)?
Can we find the x coordinates of the stationary points? Can we classify them?
Can we prove the inequality involving k by comparing with the function C1?
Solution
dxdy=x(1−x2)e−x2.
This is zero when
x=0,±1
. To classify these stationary points we need the second derivative:
dx2d2y=(1−x2)e−x2+x(−2x)e−x2−2x2(1−x2)e−x2=(1−5x2+2x4)e−x2.
Thus
y′′(0)y′′(−1)=y′′(1)=1>0⟹this is a minimum point,=(1−5+2)e−1=−e2<0⟹these are maximum points.
Since we know the curve passes through the origin, (0,0) must be a minimum point.
To find the coordinates of the other stationary points we need to know the values of y(±1) which requires us to integrate the given expression. There are (at least) two different ways of doing this.
Method 1: integration by parts
Let’s try to integrate
x(1−x2)e−x2
by parts.
Remember that the formula for integration by parts is ∫udxdvdx=uv−∫vdxdudx
Notice that xe−x2 is the derivative of −21e−x2. So let’s set dxdv=xe−x2,⟹v=−21e−x2, and u=1−x2,⟹dxdu=−2x.
So we have that
y=∫x(1−x2)e−x2dx=−21(1−x2)e−x2−∫xe−x2dx=−21(1−x2)e−x2+21e−x2=21x2e−x2.
Notice that we don’t need to add a constant because the curve passes though the origin (or we could say the constant of integration is 0).
Method 2: trial solution
We’ll guess at a solution of the form
y=(ax2+bx+c)e−x2
.
From the work above finding dx2d2y we can see that differentiating an expression of this form tends to increase the degree of the leading polynomial by one. So when integrating, we expect the leading cubic to become a quadratic.
dxdy=(2ax+b)e−x2−2x(ax2+bx+c)e−x2=(−2ax3−2bx2+2(a−c)x+b)e−x2
Comparing coefficients with dxdy=x(1−x2)e−x2, we find that
b−2a2(21−c)=0,=−1,⟹a=21,=1⟹c=0
Thus y=21x2e−x2, which we can see satisfies the boundary condition x=0,y=0.
Our maxima are therefore found at (±1,2e1). Furthermore, the function is even, that is f(−x)=f(x) for all x; and as x→±∞, y→0.
So now dxdy=x(1−x2)e−x3.
Note the change from −x2 to −x3 in the power of e means this becomes a really hard differential equation to solve.
The methods we used above both fail. Fortunately we can complete the question without directly solving this equation.
The stationary points are again at
x=0,±1
. Classifying these:
dx2d2y=(1−x2)e−x3−2x2e−x3−3x3(1−x2)e−x3=(1−3x2−3x3+3x5)e−x3.
Thus
y′′(0)y′′(±1)=1>0⟹this is a minimum point,=(1−3∓3±3)e−1=−e2<0⟹these are maximum points.
Now we need to show the maximum point at (1,k) satisfies k>21e−1. We cannot evaluate the function directly, but we know that the curve passes through the origin, like C1, and that C1 has a maximum at (1,21e−1). So we know C1 reaches this point, and we want to show C2 goes above it. For 0<x<1, we have:
x2⟹−x2⟹x(1−x2)e−x2>x3<−x3<x(1−x2)e−x3.
So the derivative of C2 is greater than that of C1 in this range. That means that C2’s y value is “growing” faster than C1’s between the origin and the maximum point at x=1, so its maximum point will have greater y-coordinate, that is to say, the maximum occurs at (1,k), where
k>21e−1