Being basically a lazy person, I’ve always tried to dodge having to memorize facts by understanding them. If I understand the reasons these things are together I don’t need much memory support. It’s been partially successful. I switched from Biology where there is an overwhelming amount of raw information to memorize, to science and math where there is more to be understood than there is to be known.
I have never memorized an equation just as raw symbols to be read out of memory and interpreted as one might look up an integral in Schaum’s Mathematics handbook. I basically remember the equation/identity because I understand it as expressing a relationship between various components. I have a narrative in my head which discusses this content. I imagine seeing the formula at this point but it may not be clear. Once I remember what it does, I can recover the general form of the identity. I know it’s a ratio and it’s an inverse square law but I have to remember G in the numerator and I might want the actual value of G. These pesky details are attached with mnemonics. If I find that I am routinely dropping some part, I take that as an indication that I don’t properly understand the equation well enough to see that this detail must be so and I work on my comprehension.