Work out e−x2 for x=2:first −x2=−(22)=−4, then e−4. The exponent is worked out first, so it is the inside, and raising e to that power is the outside. −x2means −(x2). You square first and then negate, so the exponent is never positive.
u=−x2,y=eu
2
Differentiate the outside
eu is its own derivative, so dy/du=eu. The exponent is copied unchanged.
dudy=eu
3
Differentiate the inside
The derivative of −x2is −2x.
dxdu=−2x
4
Multiply, then put the inside back
Multiply the rates, replace uwith −x2, and write the factor −2x in front.
dxdy=e−x2⋅(−2x)=−2xe−x2
5
Read the sign of the derivative
e−x2 is positive for every x, so the derivative has the same sign as −2x. For x<0 the derivative is positive and the curve rises. At x=0 it is 0, the flat top of the bell at y=1. For x>0 it is negative and the curve falls.
Result
dy/dx=−2xe−x2. The curve rises for x<0, levels off at its peak (0,1) and falls for x>0.
dxdy=−2xe−x2
Your turn
1. One like the example
Differentiate y=e−3x2.
Show the answer and explanation
dy/dx=−6xe−3x2.
The inside is −3x2, with derivative −6x. The outside eu is its own derivative, so it copies e−3x2 unchanged. Multiply and write the factor in front to get −6xe−3x2.
y=e−3x2dxdy=e−3x2⋅(−6x)dxdy=−6xe−3x2
2. A variation
Differentiate y=ln(x2+1).
Show the answer and explanation
dy/dx=2x/(x2+1).
The inside is u=x2+1 and the outside is lnu, whose derivative is 1/u. Multiplying by the inside’s derivative, 2x, gives 2x/(x2+1). Because x2+1 is positive for every x, the logarithm and its derivative are defined everywhere.
y=ln(x2+1)dxdy=x2+11⋅2xdxdy=x2+12x
3. Somewhere new
A town’s population t years from now is modelled as P(t)=500e0.02t. How fast is it growing after 10 years?
Show the answer and explanation
P′(10)=10e0.2, about 12.2 people per year.
The inside is 0.02t, whose derivative is 0.02. The outside eu copies itself, so P′(t)=500e0.02t⋅0.02=10e0.02t. At t=10 this is 10e0.2, about 12.2 people per year.