# General Engineering Introduction/Error Analysis/Calculus of Error

Error accumulates through calculations like toxins in the food chain. For example suppose one was to measure the width of a room with a ruler. Suppose each ruler measurement is 1 foot ± .1 foot. Suppose the room is about 10 feet wide. This would require 10 measurements. Each measurement would have an error of .1 foot. The accumulated error that occurred while measuring 10 times would be 10*.1 = 1 foot or 10 feet ± 1 foot. It could be anywhere between 9 and 11 feet wide. A tape measure could measure the width of the same room more accurately.

The goal of this section is to show how to compute error accumulation for all equations. This is most easily done with calculus, but some parts of this can be done with algebra and even intuition.

This is a starting point. The techniques should generate questions such as how do I deal with non-symmetric error? What if the error is negative? This will lead to future classes. The techniques below predict maximum, symmetrical error. That is it. Future analysis classes can reduce the error based upon more detailed knowledge of the experiment or project.

Symbols used:

- independent variables: x, t and z
- dependent variable: y
- error:
- constant: C

## Contents

## +-*/^ trig functions[edit]

Associated with each error analysis below is a proof.

### Multiplying by a Constant[edit]

- if then proof

### Adding & Subtracting[edit]

- if or then proof

### Multiplying & Dividing[edit]

- if then
- if then proof

### Raising to a power[edit]

- if then proof

### Trig[edit]

- if then
- if then
- if then
*x in radians*

## In General[edit]

In general partial differentials () have to be used which involves squaring every term and then taking the square root (see propagation of uncertainty):

- if then

For example suppose then

Evaluating the differentials:

Can substitute :

Dividing through by puts the entire equation into a final form of percentages:

.. which is not exactly the multiplication error performed twice

## Error Analysis Rounding[edit]

Typically your instructor will choose which rounding rules to follow. None of these rules tells you which digit or decimal place to round to. Error analysis tells you which digit to round to.

Suppose your answer is 3.263 ± .2244. The extra digits make you feel like you are doing extra work. In reality they will upset any engineer or scientist reading your work. The extra decimal places are meaningless. Do not leave your answer in this form. There is no way to develop intuition about the results.

The error determines the decimal place that is important. First round the error to one digit.

.2244 → .2

This sets the digit that the answer needs to be rounded to. In this case:

3.263 → 3.3

So the answer would be 3.3 ± .2