Chalk−1

Math · Calculus I · Worked example

Differentiate e to the power −x²

Differentiate y=e−x2, then use the derivative to find where the curve rises and falls.

y=e−x2

Try one — Chalk checks each line

Name the layers

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. −x2 means −(x2). You square first and then negate, so the exponent is never positive.

u=−x2,y=eu

Differentiate the outside

eu is its own derivative, so d⁢y⁢/⁢d⁢u=eu. The exponent is copied unchanged.

d⁢yd⁢u=eu

Differentiate the inside

The derivative of −x2 is −2⁢x.

d⁢ud⁢x=−2⁢x

Multiply, then put the inside back

Multiply the rates, replace u with −x2, and write the factor −2⁢x in front.

d⁢yd⁢x=e−x2⋅(−2⁢x)=−2⁢xe−x2

Read the sign of the derivative

e−x2 is positive for every x, so the derivative has the same sign as −2⁢x. 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

d⁢y⁢/⁢d⁢x=−2⁢x e−x2. The curve rises for x<0, levels off at its peak (0,1) and falls for x>0.

d⁢yd⁢x=−2⁢xe−x2

Your turn

1. One like the example

Differentiate y=e−3x2.

Show the answer and explanation

d⁢y⁢/⁢d⁢x=−6⁢x e−3x2.

The inside is −3x2, with derivative −6⁢x. The outside eu is its own derivative, so it copies e−3x2 unchanged. Multiply and write the factor in front to get −6⁢x e−3x2.

y=e−3x2d⁢yd⁢x=e−3x2⋅(−6⁢x)d⁢yd⁢x=−6⁢xe−3x2

2. A variation

Differentiate y=ln(x2+1).

Show the answer and explanation

d⁢y⁢/⁢d⁢x=2⁢x⁢/⁢(x2+1).

The inside is u=x2+1 and the outside is lnu, whose derivative is 1⁢/⁢u. Multiplying by the inside’s derivative, 2⁢x, gives 2⁢x⁢/⁢(x2+1). Because x2+1 is positive for every x, the logarithm and its derivative are defined everywhere.

y=ln(x2+1)d⁢yd⁢x=1x2+1⋅2⁢xd⁢yd⁢x=2⁢xx2+1

3. Somewhere new

A town’s population t years from now is modelled as P⁢(t)=500e0.02⁢t. 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.02⁢t, whose derivative is 0.02. The outside eu copies itself, so P′(t) =500e0.02⁢t⋅0.02 =10e0.02⁢t. At t=10 this is 10e0.2, about 12.2 people per year.

P⁢(t)=500e0.02⁢tP′(t)=500e0.02⁢t⋅0.02P′(t)=10e0.02⁢tP′(10)=10e0.2

Keep exploring

Open the curve and its derivative in Graph: g⁡(x)=−2⁢xe−x2 is positive left of 0, crosses zero at the peak x=0 and is negative to the right.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the derivative in Math See the curve and its derivative in Graph Study the 4 key terms Open worked example on a board Chain rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.