
268 Measurement and Data Analysis for Engineering and Science
The first term on the right side is the finite-difference representation of
f
0
(x) and the subsequent terms define the discretization error. A finite-
difference representation is termed n-th order when the leading term in the
discretization error is proportional to (∆x)
n
. Thus, Equation 7.70 is known
as the first-order, forward-difference expression for f
0
(x). If the actual f(x)
can be expressed as a polynomial of the first degree, then f
00
(x) = 0, the
finite-difference representation of f
0
(x) exactly equals the actual derivative
and there is no discretization error. In general, an n-th order method is
exact for polynomials of degree n.
Example Problem 7.18
Statement: The velocity profile of a fluid flowing between two parallel plates spaced
a distance 2h apart is given by the expression u(y) = u
o
[1 − (y/h)
2
], where y is the
coordinate perpendicular to the plates. Determine the exact value of u(0.2h)/u
o
and
compare it with the finite-difference values obtained from the Taylor series expansion
that result as each term is included additionally in the series.
Solution: The exact value is found from direct substitution of y = 0.2h into the
velocity profile is u(0.2h)/u
o
|
exact
= 0.96. For the Taylor series given by Equation 7.69,
the derivatives must be computed. The result is u
0
(y) = −2u
o
y/h
2
, u
00
(y) = −2u
o
/h
2
,
and u
000
(y) = 0. Noting that 0.2h = ∆x for this case, substitutions into Equation 7.69
yield u(0.2h)/u
o
|
series
= 1 − 0.08 + 0.04 + 0 + . . .. So, three terms are required in the
series in this case to give the exact result; fewer terms result in a difference between
the exact and series values.
Similarly, the first-order, backward-difference expression for f
0
(x) is
f
0
(x) =
f(x) − f(x − ∆x)
∆x
+
(∆x)
2
f
00
(x) −
(∆x)
2
6
f
000
(x) + . . . . (7.71)
Equation 7.70 can be added to Equation 7.71 to yield
f
0
(x) =
f(x + ∆x) − f (x − ∆x)
2∆x
−
(∆x)
2
6
f
000
(x) + . . . , (7.72)
resulting in a second-order, central-difference expression for f
0
(x). Other
expressions for second-order, central-difference, and central-mixed-difference
second and higher derivatives can be obtained following a similar approach
[22].
Usually second-order accuracy is sufficient for experimental analysis. As-
suming this, the discretization error, e
d
, of the first derivative approximated
by a second-order central-difference estimate using values at two locations
(x − ∆x and x + ∆x) is
e
d
' f
000
(x)
(∆x)
2
6
, (7.73)
where f
000
(x) is evaluated somewhere in the interval, usually at its maximum
value. A problem arises, however, because the value of f
000
(x) is not known.