The equation is basically Bellman equation essential to the Q-learning algorithm. If there's any way to include the notes below (such as "New Q-Value") aswell that'd be even better!
[Tex/LaTex] How to properly write this equation in Latex
algorithmsequations
Best Answer
My welcome to TeX.SE and you here have a my proposal done as pure LaTeX. There is a bit of difference from your image because there is much text in a specific part of the formula (Maximum predicted reward, given new state and all possible actions).
Some small suggestions:
\max
that is not written in italics (max
) like each letter is a variable. The same discussion for "New
", which I wrote as text into a formula\text{New}
, not in italics.\mkern-30mu
(for example).