# Differentiating e to the kx

The function , where k is a constant, can be found using the chain rule. It is useful to remember the following:

For k=1, this says that at each point on the graph of y, the gradient matches that of the y coordinate:

**Example 1** – *Differentiate .*

**Example 2** – *Given that*

.

*Find h'(x).*

h(x) can be written as

We can differentiate more simply when h is written in this format:

**Example 3** –* After time t seconds, the temperature, T degrees, of a heated metal ball that is dropped into a liquid is given by*

*Find the temperature of the ball at the instant it is dropped into the liquid. Find the rate at which the ball is cooling after 10 seconds.*

Substituting t=0 into T gives the intial temperature as 377 degrees. The rate of cooling is given by the derivative of T:

At time t=10 seconds, the rate of cooling is

to 2 decimal places. This means that the ball is cooling by 12.88 degrees per second but this is only true at the instant 10 seconds after the ball is dropped into the liquid.

See more on Growth & Decay.