For those who still haven't found the usefulness/beauty of math (and in particular calculus) I propose a small real-life application inspired by a CSI episode: estimating the time of death.

### The problem

Let's suppose that you are a crime investigator and you've found a dead body (it could be anything from a fish to a human being or anything else that comprises of atoms). You are asked to tell the estimated time of death. If you made your calculus and physics homeworks you should already know that Newton's law of cooling should come in rescue:

The rate of heat loss of a body is proportional to the temperature difference between the body and its surroundings (source: Wikipedia).

We can solve this problem if we measure the initial temperature of the body T at the time we found it then if we let it to emit/radiate some heat for a short period of time (t) then we measure again it's final temperature (f) such that we can determine the rate of heat loss by that body. Knowing that it's normal temperature was 37C we determine how long time (t) it took to cool down till (T) degrees Celsius.

Let's call the rate of heat loss of a body with where *dT* is the change of temperature with respect to time and *dt* is the change of time.

Let's call the temperature of the dead body and the temperature of the surrounding . Note that the difference between the body and its surroundings will be where T_{s} is just a constant.

Because each type of body (eq. fish body vs. human body) has a specific heat capacity, also the capacity to absorb and/or to emit the heat from/to surroundings, the rate of heat loss must also depend on that. Let me explain what I mean: each body absorbs/emits heat at different rate because each body is composed of different elements in different ratio. For instance, did you know that the human body contains 65% oxygen (O), 18.5% carbon (C), 9.5% hydrogen (H), 3.2% nitrogen (N), 1% phosphor (P),...., and less the 0.1% are small traces of boron (B), copper (Cu), fluorine(F),iodine(I), iron (Fe),manganese (Mn), tin (Sn) and zinc (Zn)? Because each of these elements have different number of electrons and orbitals they absorb/emit different amount of energy (like heat). When the heat is absorbed the atom's electrons jump to a higher energy level and when they emit the heat back to surroundings they jump back to the their ground energy level (the energy absorbed earlier is released back as a photon, which we can call it light; light is a wide spectrum, it can be visible for our eyes or invisible: for instance heat which is just infrared light; there is also UV-light, microwaves, radio waves, x-rays, gamma-rays; also light is just a electromagnetic wave that transports energy, it oscillates at different rate and has different wave length depending on its 'colour').

Let's name that property (which is a constant) that depends on the body composition with .

**Summary**

where:

- dT/dt is the rate of heat loss of a body
- T
_{s}is the surrounding temperature - T is the body temperature
- k is a proportionality constant that depends on the body

### The solution

So, now we can create a mathematical model that describes the Newton's law of cooling:

. This is what we call an differential equation, also an equation that contains both a function and its derivative. The solution of a differential equation is one or more functions. In our case the solution will be the function that will give us the temperature of the body at any time. Let's solve this equation!We multiply both sides with so that the equation rewrites like this:

. We are looking for that function T which by deriving we'll get the dT/dt. If such a function exists then it is the primitive of our derivative function dT/dt. So we take the integral from both sides (any operation is allowed as long as we do it on both sides) so that it becomes: where*i*is the temperature of the body when we found it and

*f*is the final body temperature. If we solve this integral we get the following: <=>

We rise both sides to the base *e* (Euler's constant) so that the equation rewrites like:

with k>0 |

### Let's take an example

Suppose we found a dead body at midnight and we measure its temperature right away. The thermometer shows that the body has T_{i}=26C. The surrounding temperature is T_{s}=15C. When did the (Warrick Brown) body died? Well, the first thing we have to do is to wait for a while (like t-hours) and then measure again the temperature T(t). Let's suppose that we decide to wait t=2 hours in order to let the body emitting some heat such that it lowers its temperature till T(2)=24C.

Now that we have our function we can just simply plug in all the data and get the k-variable, which works/corresponds for/to that body only:

<=> <=>We take natural logarithm of both sides and we get =>

Let's rewrite the function for the body in our problem using the newly found proportionality constant *k*:

So when did the body died anyway? This question can be rephrased like this: what was the time *t* when the body has the temperature T(t)=37C ? Let's see:

So the body died about 6.9 hours before midnight, that means that the time was 14:04 when the body died. We can state that we've just became a certified CSI-calculus investigator ðŸ™‚

Final note: this method can be even used to track the time when someone left a footprint on the ground (an animal in the forest, someone in your house, etc) or at what time someone put the fire off on a camp. The range of application is virtually unlimited.

Now, if you think that this article was interesting don't forget to rate it. It shows me that you care and thus I will continue write about these things.

#### Eugen Mihailescu

#### Latest posts by Eugen Mihailescu (see all)

- Dual monitor setup in Xfce - January 9, 2019
- Gentoo AMD Ryzen stabilizator - April 29, 2018
- Symfony Compile Error Failed opening required Proxies - January 22, 2018