# Page 3 model: Cooking spaghetti

Some saucy modelling

You there! Yes—you cooking the spaghetti! How do you tell when it’s cooked? No, don’t throw it against the wall… maths is here for you.

Cooking pasta increases the amount of water it contains until the pasta is fully hydrated, at which point we say it’s cooked. But this means that the pasta is no longer a rigid material—it’s flexible.

Nathaniel Goldberg and Oliver O’Reilly, in their 2020 paper, model the process of spaghetti cooking in a saucepan:

Measure the arclength, $s$, of your spaghetto from $s=0$ to $s=L$ and call the angle to the horizontal at any point $\theta(s)$:

Flexible rod theory tells you that the moment along the spaghetto, $\boldsymbol{m}$, depends on the angle, $\theta$, and the weight force, $\boldsymbol{n}$. For a bent spaghetto, you can write the curvature, $\kappa$, in terms of the intrinsic curvature, $\kappa_0$, and the moment, divided by the rigidity, $EI$: $\frac{\partial\theta}{\partial s} = \kappa = \kappa_0 + \frac{m}{EI}.$

## In the pan!

But the intrinsic curvature changes as water is absorbed. Goldberg & O’Reilly use a model from plant stem growth for the rate of intrinsic curvature change, making it dependent on the amount of time the spaghetto has been in the water for:

$\frac{\partial \kappa_0}{\partial t} = \alpha(t)(\kappa – \kappa_0) \quad \text{where} \quad \alpha(t) = \alpha_{\infty}\frac{1-\mathrm{e}^{-t/\tau}}{1+\mathrm{e}^{-(t-t_0)/\tau}}.$

Want the spaghetti al dente? Better get working out the parameters $\alpha_\infty$ and $\tau$…

## References

1. NN Goldbery & OM O’Reilly Mechanics-based model for the cooking-induced deformation of spaghetti, Physical Review E, 101, 03001, (2020).

Eleanor is a maths PhD student at UCL. She works on biomechanical models of nerves and is interested in the applications of mathematical modelling to biological and medical problems.
@eleanordoman    + More articles by Eleanor

• ### Launch day puzzle hunt

Celebrate the launch of issue 11 by taking part in our puzzle hunt
• ### In conversation with Trachette Jackson

We chat with Trachette about her work in mathematical oncology, her role models, and boosting diversity in mathematics
• ### Prize crossnumber, Issue 11

£100 of MathsGear goodies to be won if you can solve it
• ### What is the shape of you?

Are you a torus? A cone? Ed Spheran? Find out by answering a maximum of five easy questions
• ### Dear Dirichlet, Issue 11

Grant applications, musical media and last-minute Olympics training are the topics readers have sent in to the professor's postbox this issue
• ### Top ten vote issue 11

Vote for your favourite maths-themed day out