Where to use MLA in-text citations for Computer Science paper 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?
Would I place an in-text citation citing the book at the end of the paragraph?


Right after the paraphase. If it took a whole paragraph, so at the end of it.


  ... does every fact need to be cited? 


Generally, you do not need to cite information that is considered common knowledge. For instance, facts found in many sources or facts easily observed.


  if I were to say a PTM is a type of NTM, would this alone need to be cited with an in-text citation?


I would say no. Even Wikipedia is already aware of such. But be aware that it is an arbitrary choice. Expert audience will have different expectations of what constitutes common knowledge. If you have an adviser ask for his help.

Further, your argument might be stronger by using supporting evidence from other sources. Additional information related to the topic you're discussing would help to verify your claims. Hence, cite others work if such statement is crucial to your argumentation.