RTUComputer ScienceYr 2023 · Sem 32023

Q1Advanced Engineering Mathematics

Question

10 marks

From the following table of values of x and y find dy/dx and d²y/dx² at x = 1.2 :

Differentiation Table

Answer

A rigorous derivation and application of numerical differentiation using Newton's Forward Difference interpolation formula for uniformly spaced data.

In engineering applications, we frequently encounter experimental data presented as discrete sets of points rather than continuous analytical functions. When the objective is to analyze the rate of change (velocity) or acceleration of the underlying physical process, we must perform numerical differentiation. The choice of mathematical algorithm is strictly governed by the location of the point of interest relative to the entire dataset and the spacing of the independent variables. When the data is equally spaced and the point of interest lies near the beginning (upper region) of the tabulated data, Newton's Forward Difference Interpolation formula provides the most robust and theoretically sound basis for differentiation.

1. Theoretical Foundation of the Forward Formula

Consider a rigorous dataset of distinct points: , where the independent variable increments by a strictly constant step size . Therefore, for any integer index . Newton's Forward Difference formula constructs an interpolating polynomial that perfectly passes through all these discrete points.

To formulate this polynomial, we introduce a dimensionless parameter , defined as the normalized distance from the starting node: . The continuous continuous polynomial is mathematically expressed in terms of forward differences ():

2. Deriving the First Derivative (Velocity)

To extract the derivative , we must apply the chain rule of differential calculus. Since our polynomial is expressed entirely in terms of the parameter , the chain rule dictates that .

From our precise definition , differentiating with respect to yields the constant scaling factor: .

Next, we meticulously differentiate the interpolating polynomial with respect to term by term:

  • The derivative of the constant is exactly 0.
  • The derivative of is simply .
  • The term . Its derivative is .
  • The term . Its derivative is .

Combining these derived components via the chain rule yields the general, continuous numerical first derivative formula valid for any point within the interpolation interval:

Crucially, if we need to evaluate the derivative exactly at the starting data point , the parameter becomes exactly zero. Substituting into the general equation simplifies it remarkably into the standard pointwise formula:

3. Deriving the Second Derivative (Acceleration)

The second derivative is obtained by strictly applying the chain rule a second time to the first derivative equation: .

We differentiate the bracketed expression of the first derivative with respect to :

  • The term is constant with respect to , so its derivative is 0.
  • The term differentiates to exactly .
  • The term differentiates to .

Multiplying by the second factor from the chain rule yields the general second derivative:

Evaluating this explicitly at the base point (where ) results in the final formula:

4. Methodological Execution

To solve the specific problem requiring the derivatives at , the procedure is as follows: First, mathematically confirm the uniform step size . Second, construct a comprehensive forward difference table calculating all successive differences . Third, select as the base node, identifying the specific diagonal row of forward differences () corresponding to this exact starting point. Finally, substitute these precise numerical values into the derived theoretical formulas to compute both the gradient and concavity at .

Back to Paper