For me, the math is always easier when I'm writing something myself, than when I'm reading about how someone else did it. Rather than just a description of something that someone else tells you works, you've got lists of approaches that you came up with, your own opinions of positives and negatives of each, and an intuitive grasp of why you do something a specific way.
Work your way into a problem until you don't know the answer to something. Then keep experimenting with half-ideas and hunches. If you're still stuck, read some about how someone else did it; the math will be easier to tie into your own experiences, and you'll get more out of it.
Work your way into a problem until you don't know the answer to something. Then keep experimenting with half-ideas and hunches. If you're still stuck, read some about how someone else did it; the math will be easier to tie into your own experiences, and you'll get more out of it.