# Optimising life model

Optimising life can be represented as an optimisation function over your time spend on all areas of your life. Finding the optimal amount of hours to spend on each part of your life to achieve the optimum can be expressed as mathematical equation:

$$(t_g, t_h, t_w, t_l) = \underset{{ {t_g, t_h, t_w, t_l \in [0,24]\ |\ t_g + t_h + t_w + t_l = 24} }}{argmax} g(t_g) * h(t_h) * w(t_w) * l(t_l)$$

where $g$, $h$, $w$, $l$ are functions contributing to the greatness payoff. $g(t)$ is the direct payoff you get from investing time, particularly in a particular area of your life.

• $h(t)$, $w(t)$, $l(t)$, are the products that have to be satisfied to enable linear growth of greatness. Not being satisfied limits your slope of growth.

The value of greateness is defined by function $g$ linear to time spend in a state of growth:

$$g(t) = t * r(t)$$

where:

• $r : [0,1]$ is a function representing the state of growth—the higher, the better utilisation of a time spent. It’s modeled as $r(t) = c(t) s(t)$ and reaches maximum (called flow state) when high challenge matches with high skill.

• $c(t)=\frac{1}{1+e^{-\frac{c}{t}}}$ is a function representing challenges you are facing, the bigger challenges the more you grow. Challenges’ values decrease over time—once you have achieved something it, achieving it for the second time doesn’t stimulate your growth, you need to find something more challenging.

• $s(t)=\frac{1}{1+e^{-\frac{s}{t}}}$ is a function representing skills you have, the higher skills the more you grow. Skill decreases the stimulation over time—after you have learned walking, it doesn’t stimulate your growth, you have to learn something more challenging like running or dancing.

To maximise the state of growth, you must constantly calibrate your skills and challenges to match the optimal ratio—flow state.

Health $h$, wealth $w$, and love $l$ are defined as logistic functions as spending more than relieve point doesn’t bring any benefit to greateness:

$h(t) = w(t) = l(t) = \frac{1}{1+e^{-t}}$

We have to define our relieve points to calculate concrete values. Relieve points are values at which you stop thinking about a particular need. This value is subjective, and everyone has different values. The lower the better.