Question
Question: Related to the numerical method, what is the formula by the trapezoidal rule?...
Related to the numerical method, what is the formula by the trapezoidal rule?
Solution
Hint: For answering this we will understand how we integrate any function from the lower limit to the upper limit and how this integration can be calculated using the trapezoidal rule.
Complete step-by-step answer:
Given:
We have to give the formula of the definite integral of any function as per the trapezoidal rule.
Now, first, we will understand the geometrical meaning of x=a∫x=bf(x)dx . If there is any function y=f(x) then, x=a∫x=bf(x)dx represents the algebraic sum of the area between y=f(x) and x−axis from x=a to x=b and the area above x−axis will be treated as positive and area below x−axis will be treated as negative. For more clarity look at the below figure:
Now, for any function, there are many methods to find this area and out of them, an important integration rule is a “Trapezoidal Rule”, which is used for approximating the definite integrals by using the linear approximation of y=f(x) . However, it gives the exact result in the case of linear functions.
Trapezoidal Rule:
Trapezoidal rule is a rule that evaluates the area under the curve by dividing the total area into smaller strips of trapezium shape. Then the area of each strip is found separately. Then the area under the curve and the x−axis from x=a to x=b is approximately equal to the area of these trapeziums. For better understanding look at the picture given below:
Trapezoidal Rule Formula:
Let, y=f(x) be any function and x=x0=a , x=xn=b then, the area between the curve y=f(x) and the x−axis from x=a to x=b will be x=a∫x=bf(x)dx . According to Trapezoidal rule:
x=a∫x=bf(x)dx=2h[(f(x0)+f(xn))+2(f(x1)+f(x2)+f(x3)+................+f(xn−1))]
Where, h=nxn−x0 and h is called as step-size and n is the number of steps.
Note: Here, the geometrical meaning of x=a∫x=bf(x)dx should be clear to the student. And the concept which is involved in the derivation of the Trapezoidal rule formula should be used without any mistake and clarity to understand the result. Moreover, we should try to visualize the concepts of calculus and try to understand it with more clarity.