Skip to main content

Registration is now open for this year's LibreFest! Join us virtually the week of July 13.

Register here
Engineering LibreTexts

3.2: Combining Uncertainty in Function

  • Page ID
    121538
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    1. Total combined uncertainty
      1. Many results are a function of multiple measurands and variables with variety of units: \[ r = f(x_{1}, x_{2}, x_{3}, \ldots, x_{n}) \]
      2. Example scenarios:
        1. Strain: \( \varepsilon = \frac{P}{AE_m} \)
        2. Density: \( \rho = \frac{m}{\pi R^{2} L} \)
        3. Natural frequency: \( f = \sqrt{\frac{L}{g}} \)
      3. Cannot combine dissimilar units directly via root sum square: \[ u_{\varepsilon} \neq \pm \sqrt{u_{P}^{2} + u_{A}^{2} + u_{E_{m}}^{2}} \] since the measurands each have unique dimensions
      4. Variance of result is defined: \[ \sigma_{r}^{2} = \lim_{N\rightarrow \infty} \left(\frac{1}{N}\sum_{i=1}^{N} [r_{i} - r']^{2}\right) \]
      5. Use Taylor Series to expand arguments: \[ r_{i} - r' = \sum (x_{k,i} - x_{k}') \frac{\partial r}{\partial x_{k}} + \sum (x_{k,i} - x_{k}')^{2} \frac{\partial^{2} r}{\partial x_{k}^{2}} \ldots \]
      6. Assuming first first order of expansion and substitute variance definitions: \[ \sigma_{x_{k}}^{2} = \lim_{N\to\infty} \frac{1}{N} \sum (x_{k,i} - x_{k}')^{2} \] \[ \text{Covariance: } \sigma_{x_1x_2} = \lim_{N\to\infty} \frac{1}{N} \sum (x_{1,i} - x_{1}')(x_{2,i} - x_{2}') \]
      7. Combined result variance: \[ \sigma_{r}^{2} = \sum \left(\frac{\partial r}{\partial x_{i}}\right)^{2} \sigma_{x_{i}}^{2} + 2\sum \frac{\partial r}{\partial x_{i}} \frac{\partial r}{\partial x_{j}} \sigma_{x_{i}x_{j}} \]
      8. Replacing variance with uncertainty: \[ u_{r}^{2} = \sum \left(\frac{\partial r}{\partial x_{i}}\right)^{2} u_{x_{i}}^{2} + 2\sum \frac{\partial r}{\partial x_{i}} \frac{\partial r}{\partial x_{j}} u_{x_{i}} u_{x_{j}} \]
      9. Total Combined Uncertainty: \[ u_{r}^{2} = \sum_{i=1}^{J} \theta_{i}^{2} u_{i}^{2} + 2 \sum_{i=1}^{J-1}\sum_{j=i+1}^{J} \theta_{i}\theta_{j} u_{i} u_{j} \]

        Where senstivity coefficient is \( \theta_{i} = \frac{\partial r}{\partial x_{i}} \) in order to scale the measurand to the dimension of the result \(r\)

      10. Magnitude of contribution is product of both \( \theta_{i} u_{i} \)
      11. When independent sensors are used, no covariance exists making product of uncertainties: \( u_{i} u_{j} = 0 \)
    2. Exercise \(\PageIndex{1}\)

      A project team was estimating major head loss along a pipe length using the fundamental equation: \[  h_{L} = \left(\mathcal{F}\frac{L}{D}\right)\frac{v^{2}}{2g} \] where the velocity was measured from a volumetric flow meter \(Q = v\frac{\pi D^{2}}{4}\). The following measurements and resolutions were collected:

      • Diameter \(D=0.75\) in with \(\frac{1}{16}\)inch resolution
      • Volume flow rate of \(Q = 65\) L/min with resolution of 5 L/min (necessary conversion 1 L = 61in\(^{3}\))
      • Gravity is estimated with resolution at 32.2 ft/sec\(^{2}\)
      • Pipe length was \(L=40.25\) in with same \(\frac{1}{16}\) inch resolution
      • Reynolds limit was reached so friction coefficient \(\mathcal{F} = 0.012\) was assumed a constant with no uncertainty

      Determine the head loss in inches and an estimate of the uncertainty. Which measurand has the least impact on the uncertainty?       

      Answer

      One could substitute for velocity right away or calculate uncertainty of \(Q\) separately; either way both will result in the same conclusion: \[ h_{L} = \left(\mathcal{F}\frac{L}{D}\right)\frac{8Q^{2}}{\pi^{2}D^{4}g} \]

      The uncertainty from each of the measurands is only the resolution:

      • \( u_{D}=u_{L} = \pm 1/32\) in
      • \(u_{Q} = \pm 2.5\) L/min
      • \(u_{g} = \pm 0.05 \) ft/sec\(^{2} \)

      The partial derivatives are then:

      • \(\frac{\partial h_{L}}{\partial L} = \left(\mathcal{F}\frac{1}{D^{5}}\right)\frac{8Q^{2}}{\pi^{2}g} = \frac{h_{L}}{L} \hspace{0.5in}\) 
      • \(\frac{\partial h_{L}}{\partial D} = -5\left(\mathcal{F}\frac{L}{D^{6}}\right)\frac{8Q^{2}}{\pi^{2}g} = 5\frac{h_{L}}{D} \) 
      • \(\frac{\partial h_{L}}{\partial Q} = 2\left(\mathcal{F}\frac{L}{D^{5}}\right)\frac{8Q}{\pi^{2}g} = 2\frac{h_{L}}{Q}\)
      • \(\frac{\partial h_{L}}{\partial g} = -\left(\mathcal{F}\frac{L}{D^{5}}\right)\frac{8Q^{2}}{\pi^{2}g^{2}} = -\frac{h_{L}}{g} \)

      After some conversion from liters to inches, etc, the total combined uncertainty then would be \[ u_{h_{L}} = \sqrt{\left(\frac{h_{L}}{L} u_{L}\right)^{2}+\left(5\frac{h_{L}}{D} u_{D}\right)^{2}+ \left(2\frac{h_{L}}{Q} u_{Q}\right)^{2} + \left(-\frac{h_{L}}{g} u_{g}\right)^{2}} \] with a numerical calculation of \[ u_{h_{L}} =  \sqrt{(0.014476)^{2}+(3.8845)^{2} + (1.4343)^{2}+(-0.028953)^{2}} \] with a final result of \(h_{L} = 18.6\pm 4.14\) in.


    3.2: Combining Uncertainty in Function is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?