I am currently working on a paper on the subject of Probabilistic Turing Machines. To do so, I will be using several print sources, as well as online resources. I have never written a computer science/mathematical paper before, and I am unsure where to place in-text citations (MLA). For example, I am giving a formal definition of a PTM using information from a specific section of a textbook; included in the definition are a couple of equations. This is about one paragraph in my paper. Would I place an in-text citation citing the book at the end of the paragraph?
In general, does every fact need to be cited? For example, if I were to say a PTM is a type of NTM, would this alone need to be cited with an in-text citation?