# Crime + Mathematics = Crimatics

Fighting crime — perhaps not the first thing that springs to mind when you think of maths. Ask someone on the street what they think about maths and unfortunately their answer may as well be: “Maths is boring”, “Maths is exact”, “Maths is irrelevant”, or even “Maths is scary”.

Does this scare you?

Apart from the last point, maths may seem very different and world apart from the confusing, unpredictable and highly relevant business of fighting crime. But, in fact, maths is very relevant. It is integral to many of the methods police use to solve crime, including dealing with fingerprints, accident and number-plate reconstruction and tracking down poison.

Challenges facing the police:

Police are faced with many challenges while tackling a crime. They must find out what happened at the scene of the crime or accident. They need to interpret confusing data which also needs to be stored and mined for information. And in the interests of justice, the evidence-both physical and electronic, must be kept secure.

Mathematics can help with all of these. Data can be stored and interpreted using wavelets, probability and statistics. It can be securely transmitted using prime numbers and cryptography. But first of all, the police must get at the information underlying the data. They must look at all the evidence left at the crime scene and work backwards to deduce exactly what happened.

Often, the evidence is a result of a physical process that is well understood — like a speeding car causing skid marks. So to find out the exact cause of the evidence — the speed of the car — the maths that describes the physics needs to be run backwards. This is called solving an inverse problem, and in this blog we will explore three examples of how it is done.

What happened at a crime or accident scene given the evidence?

Inverse problems are mathematical detective problems. An example of an inverse problem is trying to find the shape of an object only knowing its shadows. Is it possible to do this at all? What sort of errors are we likely to make, and how much extra information is needed?

To solve an inverse problem, we need a physical model of the event — we need to understand what causes lead to what effects. Then, given the known effects, we can use maths to give the possible causes, such as deciding what shaped objects cast the shadows in this photo.

We also use maths in this situation to establish the limitations of the model and accuracy of the answer. In the example of shadows cast by objects, different causes (different shaped objects) may give very similar effects (cast similar shadows)!

Other examples of inverse problems are remote sensing of the land or sea from satellite images, using medical images for diagnosing tumours, and interpreting seismographs to prospect for oil.

Mechanics fight CRIME

Let’s step into an ordinary day in the life of a police unit and see how mathematics can help fight crime. First up, we are investigating a car accident and need to answer the question: was the car speeding?

The evidence available is the collision damage on the vehicles involved, witness reports, and tyre skid marks. Just like on television, examining the skid marks can help reconstruct the accident. The marks are caused by the speed of the car as well as other factors such as braking force, friction with the road and impacts with other vehicles.

Mathematically we can use mechanics to model this event in terms of ‘s’, the length of the skid, ‘u’, the speed of the vehicle, ‘g’, the acceleration due to gravity and ‘µ’, the coefficient of friction times braking efficiency. The model links the cause (the speed of the car) to the effect (the distance of the skid):

This can be rearranged so that given the skid distance we can mathematically determine the speed of the car, usually giving a lower bound:

But for this to work, we need to have an accurate estimate of µ, the value describing friction and braking efficiency!

Where is the poison?

Meanwhile, somewhere a contaminant has been illegally released into the water network. Some time later, when the police have been alerted of the contamination. Can we find where it was released?

To find where the contaminant was released, we need to model how the water and contaminant flow through the network. The contaminant is  diluted by the flow of water through the pipes. It reacts with the material of the pipe walls and decays due to other chemical reactions. All these processes cause the concentration ‘c’ of the contaminant to decrease, and this decrease can be described by a negative quantity –KC. What kind of things does -KC depend upon?

Well, obviously there is a time factor; the concentration of the contaminant changes with time, and we call this change C_T. But the contaminant also reacts to the space it is in — the pipe — and this reaction is influenced by the volume and flow of the water. Writing Q for the water flow and C_X for changes in the concentration effected by the surrounding space, we get a mathematical model for the overall loss in the concentration of the contaminant:

Also, at each junction, the different solutions flowing through the two pipes get mixed together:

To reconstruct what is happening in the water network, we need to find the flow rates in the pipes and measure the present contaminant concentrations at the junctions. Then we can make a guess at the initial contaminant concentrations (at each junction), and flow the model forward in time and compare it with what we measure now in the real network. Using a process called nonlinear optimization, we can adjust the initial concentrations until the present concentrations predicted by the model agree with our measurements.

For a simple pipe network we can solve the model for a single possible cause — and find exactly where in the network the poison was released. However, for more complex networks where there are circulation paths, we may come up with several possibilities for how the network was contaminated.

Catching the getaway car

Meanwhile, across the other side of town, someone has robbed a bank. Although he escaped in a getaway car, he was pursued by police. The good news is the police managed to take a photo of the number plate of the car, but the bad news is that the photo is blurred.

But never fear, mathematics to the rescue again! We can mathematically model the blurring process and remove some of the blur to get a clearer picture of the plate. The model involves a blurring function, g, that is applied to the original image to give the blurred image.

A formula that describes the process of blurring looks like

Here, the variable x describes the various pixels in the image. Each pixel has its own number, called the pixel value, which gives information on its colour and brightness. The function f(x) gives the pixel value of each pixel x before blurring, and h(x) is the pixel value after blurring. Running the formula above backwards will give us the unblurred image given by f(x) from the blurred image h(x).

But as in the other examples we need to understand the model well, and we can only deblur the image if we know the blurring function g.

Crime might not pay, but maths does!

So the neat tricks TV cops use, such as deblurring number plates and reconstructing accidents from skid marks, are not as far fetched as they seem. In the fight against crime for both TV cops and the real police force, the secret weapon is mathematics.

REFERENCES:

http://www.researchgate.net/publication/225344454_inverse_problem_in_hydrology

http://www.plus.math.org

https://s3-eu-west-1.amazonaws.com/content.gresham.ac.uk/data/binary/1854/mathsandcrime1.ppt