Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
    • GATE 2024
    • GATE 2024 Question Papers
    • GATE Notes by Jaspal Singh
    • GATE Notes by S K Mondal
    • Downloads
    • GATE 2024 Rank Predictor
    • Notifications
    • MCQs
    • Question Bank
    • Video Lectures
    • Study Materials
    • PSU Recruitment
    • Difference Between
    • Full Forms
    • Exam Tips
    • GATE Books
GATE 2026 Exam Date Announced – Complete Schedule, Syllabus, and Key Details » GATE Study Materials » Civil Engineering » Numerical Integration- Trapezoidal Rule: Formula and Application
Prepare for GATE & ESE

Numerical Integration- Trapezoidal Rule: Formula and Application

Numerical integration through the trapezoidal rule is used for calculating the approximate value of an integral by assuming its graphical representation to be a trapezoid.

Table of Content
  •  

Numerical Integration is an important part of mathematics and the Trapezoidal rule formula helps in deriving this integration through the use of graphs. It is based on the graphical representation of a function, say f(x). The function, when plotted on the graph, takes the shape of a trapezoid, and then under the Trapezoidal rule, we calculate that the graphical area of that trapezoid is so formed.

Earlier, mathematicians visualised the shape of the integral function as a rectangle but they realised that it is not giving accurate results. Then, the trapezoidal rule was formulated to bring accuracy. 

Under the Composite trapezoidal rule, we use a simple formula to find the approximate graphical area rather than drawing the graph.

What is the Trapezoidal rule formula: The meaning and exact formula

Trapezoidal rules are derived from the Newton-Cotes formula. The basic idea behind this formula is to sub-divide the intervals and get the right value of integral.

To use this formula, you have to first divide and find the nth order polynomial. This means that you will first divide the intervals of the function into several equal subintervals, called ‘n’. This n will be provided to you in the question. Using that, you have to estimate the integral value by putting the number in the given formula.

The interval limits of the integral (a and b) are also provided in the question itself.

The formula used for deriving integral value through Trapezoidal rule is:

∫ba f(x)dx = Delta x/2 [ f(x0)+ 2f(x1)+2f(x2)… 2f(xn-1)+f(xn)]

Here, f(x) is the function with a and b are intervals. The value of delta x is obtained by dividing n by (b-a). So, Delta x= (a-b)/n.

Further, Value of xi= a+i(Delta x) i.e.

if i=1, x1= a+Delta x

if i=2, x²= a+ 2(Delta x), and so on.

Once you have got all the values, you can put them in a formula and get the right answer.

Why is the name of the formula so?

One question that comes to mind when we read about the trapezoidal rule is why name it on trapezoid and why not any other shape. So the answer is simple. The name of any formula is mostly based on the mathematical concepts that are used in that formula or the scientist who had discovered this formula.

In the case of the trapezoidal rule, the name is so because the whole area is divided into small trapeziums for calculating the graphical area of the function. Earlier rectangles were used for calculating the area between given intervals. But now this formula devised a new approach based on trapezoids for the area covered by a curve. This is why this formula is called the trapezoidal rule.

Trapezoidal rule examples:

To get more clarity on the application of the Trapezoidal rule, let’s check out some Trapezoidal rule examples.

Ques: If n=4, what would be the value of integral ∫51 f(x)dx if f(x)= square root of (1+x2)

Ans: Here, delta x= (b-a)/n

I.e. Delta x= {5-1}/4

So,  Delta x = 1

This means that we will keep an interval of one and we need to find values of x0, x1, x2, and x3.

Sub intervals will be a=1, 2, 3, 4, and b=5.

X0= a+0(delta x) {refer to the formula section where formula for xi is given}

So x0= 1,

Similarly, x1= 1+1(delta x)= 2, x2= 3, x3=4, x4= 5

Next, we will calculate the function of x1, x2, x3, and x4.

For calculating, f(x0)= square root of x0 =1

F(x1)= (√2 = 1.41)

F(x2) =square root of (10) {because x2=3 and when put in f(x) it equals to square root of 1+32= 10}

F(x3) =square root of 17

F(x4) =square root of 26.

Now we will put all these derived values in the formula ∫ba f(x)dx = Delta x/2 [ f(x0)+ 2f(x1)+2f(x2)… 2f(xn-1)+f(xn)]

And you will get the answer. 

Sometimes, you are given a table in which the values of x, f(x), and n are already given and you have to use the Composite trapezoidal rule for calculating the area of the curve formed by that mathematical function. In that case, most of your work is already done. So, you just need to put the values in the formula and find the area.

Conclusion:

The trapezoidal rule was discovered to make it easy for the mathematicians to find the area of graphical representation of a mathematical function. This formula based on Newton-Cotes formula is helpful when rectangle visualisation fails to give the right result for integration. From an exam perspective, whenever you will be asked about Composite trapezoidal rule, you will mostly have the value of n, a, and b using which you have to find the value of the integral given.

For conceptual clarity, you should solve more and more examples on this formula so that you become thorough with the concept.

faq

Frequently asked questions

Get answers to the most common queries related to the GATE Examination Preparation.

What is the design of an irrigation system?

Ans: In the design of an irrigation system, various factors are taken into consideration, such as the quantit...Read full

Is there an irrigation system that requires less labor?

Ans: Some irrigation systems require less labor once they have been set up, but they require a huge initial c...Read full

How does the evaluation of the irrigation system works?

Ans: In evaluating an irrigation system, many factors must be taken into account, but the most important is t...Read full

How much capital investment does each type of irrigation system require?

Ans: Capital investment for the setup of an irrigation system does not have a predetermined average. This is ...Read full

Ans: In the design of an irrigation system, various factors are taken into consideration, such as the quantity of water needed by the crop and the type of soil in which it grows.

 

Ans: Some irrigation systems require less labor once they have been set up, but they require a huge initial capital investment, such as sprinkler irrigation systems.

Ans: In evaluating an irrigation system, many factors must be taken into account, but the most important is the cost of construction and the location where the irrigation system will be installed. Research is conducted on all these factors, and then an evaluation is conducted.

 

Ans: Capital investment for the setup of an irrigation system does not have a predetermined average. This is because it depends on the location, which is the square foot of the area in which the irrigation system will be set up and the equipment required.

 

Crack GATE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the GATE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Complete Guide to GATE 2025 Syllabus for CSE with Subject-wise Weightage – Quick Guide
GATE 2012 Questions with Answers
GATE 2013 Question with Answers
GATE 2014 Question with Answers
GATE 2015 Questions with Answers
GATE 2016 Questions with Answers
GATE 2017 Questions with Answers
GATE 2018 Questions with Answers
GATE 2019 Questions with Answers
GATE 2020 Question Paper with Answer: Download PDFs
GATE 2021 Questions with Answers
GATE 2022 Rankers Summit
GATE 2023 Admit Card – Release Date, How to Download & Direct Link
GATE 2023 Exam Dates
GATE 2024 Registration – Application Form at gate2024.iisc.ac.in
GATE CS & IT Engineering Previous Year Questions with Answers
GATE Cutoff 2023 – Brach-wise and Category-wise cut-off
GATE Electrical Engineering Previous Year Questions with Answers
GATE Electronics and Communication Engineering (ECE) Previous Year Questions with Answers
GATE Eligibility Criteria 2026: Age Restrictions, Qualifications, and Applicants
GATE Exam Calendar 2023
GATE Exam Pattern 2023 – New Test Structure, Paper Pattern, Marking Scheme for all papers
GATE Mechanical Engineering Previous Year Questions with Answers
GATE Previous Year Question Papers with Solution – Download PDFs
GATE Previous Year Question Papers with Solutions for Civil Engineering
GATE Result 2023 Out – Steps to check GATE Result
GATE Syllabus 2026: Download GATE Syllabus PDF
See all

Related articles

Learn more topics related to Civil Engineering
Weirs and Notches

Weirs and notches are the tools in agricultural engineering that are basically used to measure the flow of the water and also to discharge the extra flow from the water bodies. These are of various type and size which is basically used in water bodies or any device which is made for storing the water

Vector Differentiation

In this article, the Agricultural Engineering topic of differentiation will be carefully analysed. Under this chief topic, the subtopics that will be discussed thoroughly include vector differentiation, differentiation calculator, and partial derivative calculator.

Types of Leveling

This study highlights various levelling in agricultural engineering, some of them are “reciprocal levelling”, “different levelling”, “trigonometric levelling” and others. These types of levelling become integral regarding the measure of the sample in the agricultural points of view.

Total Differentiation

This write-up is based on the introduction of differentiation, differentiation calculator, differentiation example, and partial derivative calculator.

See all
Access more than

10,997+ courses for GATE & ESE

Get subscription

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • Abhyaas : Practice Program Batch for GATE & ESE 2026 – CE
  • Starters Kit for GATE 2027 & 2028 – CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 – ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 – EC
  • Distance Learning Program for GATE – ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY