# Incompatibility between ideal gas equations of state

• Portuga
Portuga
Homework Statement
Derive the equation of state for an ideal gas that relates pressure, density, and temperature.
Relevant Equations
PV = nRT
To solve this problem I used two equations:
$$PV=nRT,$$
where ##P## is the pressure, ##V##the volume, ##R##the gas constant, ##T##for temperature and is##n##the number of moles, related to the
mass ##m## and molar mass ##M## by
$$n=\frac{m}{M}.$$
It will be also necessary consider the density ##\rho## as
$$\rho=\frac{m}{V}.$$

So,
\begin{align}
& PV=\frac{m}{M}RT\nonumber \\
\Rightarrow & \frac{P}{\frac{m}{V}}=\frac{RT}{M}\nonumber \\
\Rightarrow & \frac{P}{\rho}=\frac{RT}{M}.\nonumber
\end{align}
When I checked the answer, to my surprise I found
$$\frac{P}{\rho}=RT.$$
I am so confused because this is so simple and I have no idea about
what to do with the molar mass##M##to get the answer provided by the author.

Mentor
Homework Statement:: Derive the equation of state for an ideal gas that relates pressure, density, and temperature.
Relevant Equations:: PV = nRT

To solve this problem I used two equations:
$$PV=nRT,$$
where ##P## is the pressure, ##V##the volume, ##R##the gas constant, ##T##for temperature and is##n##the number of moles, related to the
mass ##m## and molar mass ##M## by
$$n=\frac{m}{M}.$$
It will be also necessary consider the density ##\rho## as
$$\rho=\frac{m}{V}.$$

So,
\begin{align}
& PV=\frac{m}{M}RT\nonumber \\
\Rightarrow & \frac{P}{\frac{m}{V}}=\frac{RT}{M}\nonumber \\
\Rightarrow & \frac{P}{\rho}=\frac{RT}{M}.\nonumber
\end{align}
When I checked the answer, to my surprise I found
$$\frac{P}{\rho}=RT.$$
I am so confused because this is so simple and I have no idea about
what to do with the molar mass##M##to get the answer provided by the author.
In that final equation, ##\rho## is the molar density n/V, not the mass density m/V.

• • MatinSAR and Portuga
Portuga
Thank u very much!
{"ft_lang_label":"__label__en","ft_lang_prob":0.6892203,"math_prob":0.9952637,"size":1585,"snap":"2023-14-2023-23","text_gpt3_token_len":532,"char_repetition_ratio":0.1258697,"word_repetition_ratio":0.80833334,"special_character_ratio":0.33880126,"punctuation_ratio":0.08945687,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9998753,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-04-01T21:21:09Z\",\"WARC-Record-ID\":\"<urn:uuid:af65733e-b695-42fc-b9d0-d1912557a0c3>\",\"Content-Length\":\"67267\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:27be9556-9d56-4b77-9edd-b271ebe5b9fd>\",\"WARC-Concurrent-To\":\"<urn:uuid:a4d28c91-fa8c-44fd-8644-a71333fc2963>\",\"WARC-IP-Address\":\"104.26.14.132\",\"WARC-Target-URI\":\"https://www.physicsforums.com/threads/incompatibility-between-ideal-gas-equations-of-state.1049791/\",\"WARC-Payload-Digest\":\"sha1:XG3GOVLJNGJJ325MQWLY5DSR657CSOPJ\",\"WARC-Block-Digest\":\"sha1:G5KCOJMQRGOGZBERGAP4JTN3EOFP5Y2C\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296950247.65_warc_CC-MAIN-20230401191131-20230401221131-00686.warc.gz\"}"}