1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help with equation format

  1. Aug 21, 2015 #1
    1. The problem statement, all variables and given/known data
    Trying to create an equation to calculate the expected bicarbonate level given a respiratory acidosis or alkalosis (this is purely a math question, though).

    I am not sure if my equations are in the right format in terms of the order of operations and use of brackets, etc.

    2. Relevant equations

    The laws are:


    The [HCO3-] will increase by 4 mmol/l for every 10 mmHg increase in PaCO2 above 40mmHg.
    The [HCO3-] will decrease by 5 mmol/l for every 10 mmHg decrease in pCO2 below 40 mmHg.

    By the way "24" comes from the midpoint of the normal value of HCO3-.

    3. The attempt at a solution
    upload_2015-8-21_15-12-2.png


    Do these equations look correct to you given the rules outlined? Particularly the subtraction for alkalosis (24- and 40 - PaCO2 as opposed to PaCO2 - 40 in the above example).
     
  2. jcsd
  3. Aug 21, 2015 #2

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Yes, that's fine. Alternatively, you could make the signs in the second equation the same as in the first, i.e. ##24+\left[5\times\frac{(PaCO_2-40)}{10}\right]##, so that the only difference is the 5. It comes to the same thing, but you would need to be careful with signs when using it to calculate.
     
  4. Aug 21, 2015 #3

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    Yes, your expressions look correct, as written. However, it would be better to put the restrictions right in the equation(s) themselves:
    [tex] \text{Expected HCO}_3^{-} = 24 + \begin{cases} \;\;(4/10) (\text{PaCO}_2 - 40) &, \text{PaCO}_2 > 40\\
    - (5/10) ( 40 - \text{PaCO}_2) &, \text{PaCO}_2 < 40
    \end{cases} [/tex]

    It would also work if you wrote
    [tex] \text{Expected HCO}_3^{-} = 24 + \begin{cases} (4/10) (\text{PaCO}_2 - 40) &, \text{PaCO}_2 > 40\\
    (5/10) ( \text{PaCO}_2 - 40) &, \text{PaCO}_2 < 40
    \end{cases}
    [/tex]
    The reason the latter works is that when ##\text{PaCO}_2 > 40## the quantity ##\text{PaCO}_2 - 40## is ##>0## and so we are adding, but when ##\text{PaCO}_2 < 40## the quantity ##\text{PaCO}_2 - 40## is ##< 0##, and so we are subtracting. This is exactly what you want to do.

    Note: the equations above were written using "LaTeX" and employing the " \ begin{cases} ... \ end{cases}" construction. (Remove the space between the '\' and 'begin'; I put it in just to prevent LaTeX from trying to process the explanation.)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Help with equation format
  1. Help with equation (Replies: 2)

  2. Help with an equation (Replies: 2)

Loading...