Let’s apply what we learned in Calculus 1 to the first question of this homework. Given a function f(x)=x3 and x0=100, we want to estimate the relative error of f(x0+Δx), given that the relative error Δxx0 is less than 1%. What we need to do here is to estimate

f(x0+Δx)f(x0)f(x0).

By expanding f(x0+Δx), we obtain x03+3x02Δx+3x0Δx2+Δx3. If we ignore the terms involving Δx2 and Δx3, the equation simplifies to x03+3x02Δx. This represents the linear approximation of f at x0. Therefore, the relative error of f is

3x02Δxx03=3Δxx0=3

The concepts we learn in Calculus 1 can be generalized to higher dimensions. Suppose we need to calculate the relative error of f(x,y,z), given relative errors for x, y, and z. If we closely follow the definition of the relative error of f and ignore all nonlinear terms of Δx, Δy, and Δz, then we obtain

linear approximation of ff.

Then, you will use Δxx0, Δyy0, and Δzz0 to estimate the relative error of f.