# Yet another ! Missing $error [duplicate] This question already has an answer here: I want to convert a mathematics document to pdf, but I am getting missing$ errors.

Here is my code:

\documentclass{article}
\begin{document}
1. All prime numbers are odd

Universal Statement:
For all x \in \mathbb{N} such that for any a,b \in \mathbb{N}
x = ab where a or b must be equal to 1 and for any k \in \mathbb{N}, x = 2k + 1

Counterexample will comprise of:
A counterexample will be an x \in \mathbb{N} such that there exists a k \in \mathbb{N}
such that x = 2k

Counterexample:
2

6. For all real numbers x, we have x^2-2x+2 > 1

Universal Statement:
For all x \in \mathbb{R}, we have x^2-2x+2 > 1

Counterexample will comprise of:
A counterexample will be an x such that x^2-2x+2 < 1

Counterexample:
1

14. For all functions f : \mathbb{R} \rightarrow \mathbb{R}, if f is not increasing,
then it must be decreasing.

Universal Statement:
For all functions f : \mathbb{R} \rightarrow \mathbb{R} for all x_1, x_2 if
x_1 < x_2 and f(x_1) \ngeq f(x_2) then f(x_1) \leq f(x_2)

Counterexample will comprise of:
A counterexample will be a function f such that for all x_1, x_2 if x_1 < x_2 and
f(x_1) \ngeq f(x_2) then f(x_1) \nleq f(x_2)

Counterexample:
None, the statement is true

\end{document}


## marked as duplicate by David Carlisle, Zarko, TeXnician, Kurt, user36296Sep 24 '17 at 14:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

• surely it is clear that all the mathematics such as x \in \mathbb{N} should be in math mode? so $x \in \mathbb{N}$ and $x^2-2x+2 > 1$ etc – David Carlisle Sep 24 '17 at 13:54

## 1 Answer

What's the doubt? You never use $in this document. For instance, insted of x \in \mathbb{N}, you should have written $x \in \mathbb{N}$ and instead of x^2-2x+2 > 1, you should have written $x^2-2x+2 > 1\$.
{"ft_lang_label":"__label__en","ft_lang_prob":0.53794736,"math_prob":0.9879523,"size":1410,"snap":"2019-13-2019-22","text_gpt3_token_len":490,"char_repetition_ratio":0.16998577,"word_repetition_ratio":0.20883535,"special_character_ratio":0.32553193,"punctuation_ratio":0.10130719,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99913925,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-05-26T15:11:29Z\",\"WARC-Record-ID\":\"<urn:uuid:a382aeff-11df-436c-a81e-c1fd5938a812>\",\"Content-Length\":\"114213\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4739b3af-e21e-4c79-9aea-e32e0859845f>\",\"WARC-Concurrent-To\":\"<urn:uuid:b04e500d-a61e-4a4f-89ed-32124fa28dbe>\",\"WARC-IP-Address\":\"151.101.65.69\",\"WARC-Target-URI\":\"https://tex.stackexchange.com/questions/393000/yet-another-missing-error\",\"WARC-Payload-Digest\":\"sha1:L3XT5SHUDQULMOSTBN4QQRTICYW5CWZ4\",\"WARC-Block-Digest\":\"sha1:6MXJYCLBX62DXE53ZYYZKQN5LTP5S5L3\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-22/CC-MAIN-2019-22_segments_1558232259316.74_warc_CC-MAIN-20190526145334-20190526171334-00032.warc.gz\"}"}