← 2014 Paper 2
UPSC 2014 Maths Optional Paper 2 Q5c — Step-by-Step Solution
10 marks · Section B
Trapezoidal rule (composite; error) · Numerical Analysis · asked 3× in 13 yrs · Read the full method →
Question
Use five subintervals to integrate ∫011+x2dx using trapezoidal rule.
Technique
Composite trapezoidal rule with equal subintervals.
Solution
Setup. h=51−0=0.2. Points xi=0,0.2,0.4,0.6,0.8,1.0.
Step 1 — Tabulate f(xi) where f(x)=1+x21
| i | xi | f(xi)=1/(1+xi2) |
|---|
| 0 | 0.0 | 1.000000 |
| 1 | 0.2 | 1/1.04=0.961538 |
| 2 | 0.4 | 1/1.16=0.862069 |
| 3 | 0.6 | 1/1.36=0.735294 |
| 4 | 0.8 | 1/1.64=0.609756 |
| 5 | 1.0 | 1/2=0.500000 |
Step 2 — Apply composite trapezoidal rule
T=2h[f0+f5+2(f1+f2+f3+f4)].
Sum of interior values: f1+f2+f3+f4=0.961538+0.862069+0.735294+0.609756=3.168657.
T=20.2[1.000000+0.500000+2(3.168657)]=0.1⋅[1.500000+6.337314]=0.1⋅7.837314=0.7837.
Answer
∫011+x2dx≈0.7837.