<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mtext>hazard</mtext>
    <mfenced>
      <mrow>
        <mi>x</mi>
      </mrow>
    </mfenced>
    <mspace width="1em"/>
    <mo>=</mo>
    <mspace width="1em"/>
    <mi>h</mi>
    <mfenced>
      <mrow>
        <mi>x</mi>
      </mrow>
    </mfenced>
    <mspace width="1em"/>
    <mo>=</mo>
    <mspace width="1em"/>
    <mfrac>
      <mrow>
        <mtext>pdf</mtext>
        <mfenced>
          <mrow>
            <mi>x</mi>
          </mrow>
        </mfenced>
      </mrow>
      <mrow>
        <mn>1</mn>
        <mo>&#x2212;</mo>
        <mtext>cdf</mtext>
        <mfenced>
          <mrow>
            <mi>x</mi>
          </mrow>
        </mfenced>
      </mrow>
    </mfrac>
  </mrow>
</math>

