Can we sketch the curve y=(x−a)ex/(x−b)?
Question
The curve y=(x−bx−a)ex, where a and b are constants, has two stationary points. Show that a−b<0 or a−b>4.
- Show that, in the case a=0 and b=21, there is one stationary point on either side of the curve’s vertical asymptote, and sketch the curve.
- Sketch the curve in the case a=29 and b=0.
Solution
Let’s find the stationary points of y=(x−bx−a)ex.
We plan to differentiate using the product rule here, so it helps us to find the derivative of x−bx−a first.
If z=x−bx−a, then by the quotient rule, z′=(x−b)2a−b. Returning to our original problem, we have y′=0 when dxdy=(x−bx−a)ex+[(x−b)2a−b]ex=0 ⟹(x−b)2ex(x2−(a+b)x+(a+ab−b))=0.
We know that ex>0 for any x, so we need x2−(a+b)x+(a+ab−b)=0.
This has two solutions as long as the discriminant is positive, which happens if and only if (a+b)2−4(a+ab−b)>0.
Multiplying out and rearranging here gives (a−b)(a−b−4)>0, which holds when a−b<0 or a−b>4.
The vertical asymptote to the curve is at
x=21
. Now let’s substitute in the values of
a
and
b
to find the stationary points:
x2−(a+b)x+ab−b+a=x2−21x−21=0.
Solving this, we find that
x2−21x−21=0⟹2x2−x−1=0⟹(2x+1)(x−1)=0⟹x=1,−21,
which lie on either side of the asymptote x=21.
We can now sketch the graph. We know two stationary points, (−21,2e−1/2) and (1,2e), and by inspection we can see that it also passes through (0,0).
We also have that y→∞ as x→+∞, and y→0 as x→−∞.
Also, as x→21 from the right, y→+∞ and as x→21 from the left y→−∞.
We may now give an approximate sketch of the graph.
Note that the curve is close to y=ex when ∣x∣ is large.
We again find the stationary points of the curve, this time solving
x2−29x+29=0⟹2x2−9x+9=0⟹(2x−3)(x−3)=0⟹x=3,23.
So our two stationary points are (23,−2e3/2) and (3,−2e3).
The vertical asymptote is at x=0. As x→0 from the right, we have that y→−∞, since in this case x−29<0 and the denominator x is positive, so y is negative. As x→0 from the left, we have y→+∞ as x−29<0 again, but this time the denominator x is negative.
The graph crosses the x-axis once, at x=29, and as x→+∞, y→+∞ and as x→−∞, y→0.
GeoGebra applet
This applet shows the curve for different values of a and b.
[interactive embed (geogebra-iframe): //www.geogebratube.org/material/iframe/id/gVxEqSMt/width/627/height/432/border/888888/rc/false/ai/false/sdz/true/smb/false/stb/false/stbh/false/ld/false/sri/true/asb/false/at/html5] — not part of the text import; see the source page.
Download GeoGebra file