Worked examples — Riemann sums — left, right, midpoint; formal definition of definite integral
4.2.3 · D3· Maths › Calculus II — Integration › Riemann sums — left, right, midpoint; formal definition of d
Yeh Riemann sums & the formal definite integral ka ek Deep Dive child hai. Parent note ne machinery banayi thi (partitions, sample points, limit). Yahan hum use stress-test karte hain har us tarah ke input ke against jo is topic mein aa sakta hai — positive area, negative area, mixed signs, ek degenerate zero-width case, ek limit jo scratch se compute ki gayi, ek word problem with units, aur ek exam twist. Steps padhne se pehle guess karo.
The scenario matrix
Kuch bhi work karne se pehle, yeh ek map hai har case class ka jo is topic mein aa sakti hai. Neeche har worked example us cell(s) ke saath tagged hai jo woh cover karta hai. Agar tum har row handle kar sako, toh exam mein koi cheez surprise nahi kar sakti.
| # | Case class | Isme kya khaas hai | Covered by |
|---|---|---|---|
| A | Positive function, definition limit | , area sach mein "area under curve" hai | Ex 1 |
| B | Increasing | Left underestimate karta hai, Right overestimate | Ex 2 |
| C | Decreasing | Left overestimate karta hai, Right underestimate | Ex 3 |
| D | Negative function | Height ⇒ signed area, integral negative | Ex 4 |
| E | Sign change inside | Positive aur negative areas partially cancel ho jaate hain | Ex 5 |
| F | Degenerate: (zero width) | Har ; integral zaroori hoga | Ex 6 |
| G | Exact-for-linear midpoint | Midpoint ka error straight line par zero hota hai | Ex 7 |
| H | Word problem with units | Riemann sum = accumulated real quantity | Ex 8 |
| I | Exam twist: ek limit ko integral ke roop mein pehchanna | Sum ko ulta padhke mein convert karo | Ex 9 |
Do ideas baar baar aate hain, toh pehle unhe plain words mein nail karte hain:

Example 1 — Positive function, from the definition (cell A)
Forecast: parent ne nikala tha. tak stretch karna ko scale karta hai, toh kuch ke paas guess karo. Yeh yaad rakho.
- Mesh set up karo. , aur . Yeh step kyun? Right rule right edge sample karta hai; hume isko sum karne se pehle aur mein formula ke roop mein chahiye.
- Sum likho. Yeh step kyun? Har constant (, aur ) bahar nikalo, ek clean sum of squares bachta hai.
- Closed form insert karo : Yeh step kyun? Ek finite sum jiska limit nahi le sakte; ek rational function of jiska le sakte hain.
- Limit lo (top aur bottom ko se divide karo): Yeh step kyun? Strips ko infinitely thin banana () integral ki definition hai; terms vanish ho jaate hain.
Verify: Fundamental Theorem of Calculus deta hai . Forecast se match karta hai. ✓
Example 2 — Increasing : Left under, Right over (cell B)
Forecast: par rise karta hai, toh Left undershoot karna chahiye, Right overshoot.
- Mesh. ; nodes . Kyun? Char equal strips; dono rules ke liye shared edge list chahiye.
- Left sample karta hai: Kyun? Left rule har strip ka left edge use karta hai — rising curve ka chhota side.
- Right sample karta hai: Kyun? Right rule right edge use karta hai — rising curve ka lamba side.
Verify: . Bilkul predicted straddle. Yeh bhi note karo ki — total error gap equals width height-jump, ek handy check. ✓
Example 3 — Decreasing : ordering ulta ho jaata hai (cell C)
Forecast: fall karta hai, toh ab Left tall side hai (over) aur Right short side (under) — Ex 2 ka mirror.
- Mesh. ; nodes ; midpoints . Kyun? Do strips; edges aur centres chahiye.
- Left (): . Kyun? Falling curve ke left edges true height se upar baithe hain ⇒ overestimate.
- Right (): . Kyun? Falling curve ke right edges neeche baithe hain ⇒ underestimate.
- Midpoint (): . Kyun? Centre sample karne se over-hang aur under-hang roughly cancel ho jaate hain.
Verify: ✓, aur dono edge errors se kaafi chhota hai — midpoint jeet jaata hai, jaise promise tha. ✓
Example 4 — Negative function ⇒ negative integral (cell D)
Forecast: curve poori tarah axis ke neeche hai, toh iska "area" negative aana chahiye — precisely .
- Ex 1 ka skeleton reuse karo. , , lekin ab . Kyun? Sirf ek global minus sign har height par hai; widths positive rehti hain.
- Sum. Kyun? Linearity: bahar nikalna sirf Ex 1 result ko negate karta hai.
- Limit. . Kyun? Ex 1 jaisi hi limit sign carry karke.
Verify: ek region ka signed area jo poori tarah axis ke neeche hai zaroori negative hona chahiye; magnitude Ex 1 ke positive twin se match karta hai. FTC: . ✓ Figure dekho: poora shaded region white axis ke neeche baitha hai, toh har rectangle ek minus sign carry karta hai — isliye total hai, nahi.

Example 5 — Interval ke andar sign change (cell E)
Forecast: par negative hai aur par positive, equal size ke mirror-image triangles ke through. Guess karo dono signed areas cancel hokar denge.
- Do regions identify karo. par below-axis triangle jiske legs aur hain; par above-axis triangle jiske legs aur hain. Kyun? at ; woh root positive aur negative area ko alag karta hai.
- Har piece ka signed area. Below piece: . Above piece: . Kyun? Right triangle ka area hota hai; left wala minus carry karta hai kyunki wahan hai.
- Add karo. . Kyun? Integral signed pieces ka algebraic total hai, total geometric area nahi.
Verify: FTC . ✓ Dhyan raho: total geometric area (agar paint chahiye ho) hai — ek classic trap. Figure dekho: red triangle (left, below axis) aur green triangle (right, above axis) congruent hain, toh unke signed contributions aur annihilate ho jaate hain.

Example 6 — Degenerate zero-width interval (cell F)
Forecast: koi width nahi matlab koi rectangle nahi matlab koi area nahi. Guess .
- Mesh dekho. ke saath: har ke liye. Kyun? Interval ki length hai; har subinterval ek point par collapse ho jaata hai.
- Har term khatam ho jaata hai. heights ki parwah kiye bina. Kyun? Height × zero width = zero, chahe kitni bhi tall ho.
- Zeros ki limit zero hai. . Kyun? Ek constant sequence us constant par converge karti hai.
Verify: FTC se consistent, kisi bhi antiderivative ke liye. Yeh degenerate rule hi hai jo ko tab bhi hold karwata hai jab ho. ✓
Example 7 — Midpoint straight line ke liye exact hai (cell G)
Forecast: midpoint lines ke liye exact hota hai, toh ek strip kaafi honi chahiye. Exact answer guess karo.
- Ek strip. ; single subinterval hai; midpoint . Kyun? ⇒ poora interval ek strip hai; uska centre hai.
- Evaluate karo. . Kyun? Riemann term = height at midpoint × width.
Verify: FTC . ✓ Exact kyun: ek straight line par woh triangle jo midpoint rectangle ke upar nikalta hai exactly us triangle ke barabar hai jo neeche miss hota hai — perfect cancellation, kisi bhi ke liye. Figure dekho.

Example 8 — Word problem with units (cell H)
Forecast: distance = speed-vs-time graph ke neeche area. Speed badhti hai, toh right sum true distance ko thoda overshoot karna chahiye.
- Integral kyun? Distance = accumulated speed ; har rectangle hai, toh sum metres carry karta hai. Kyun? Units audit: height width woh quantity dena chahiye jo hum chahte hain.
- Right sum. s; right nodes : Kyun? Right rule har 1-second strip ka right edge sample karta hai.
- Exact. Kyun? ka antiderivative hai; ends par evaluate karo.
Verify: — overshoot, jaisa increasing speed ke liye forecast tha. Units: poore mein metres. ✓ (Yahan midpoint sum exact dega kyunki linear hai — phir cell G.)
Example 9 — Exam twist: ek limit ko integral ke roop mein padhna (cell I)
Forecast: yeh ek right Riemann sum jaisa lagta hai jisme length ke interval par hai. Ise decode karo, sum mat karo.
- Template match karo . Yahan , toh ; lo. Kyun? ; match karna interval width ko force karta hai.
- padhao. Sample point hai, aur height hai. Toh on . Kyun? ko continuous variable se replace karo; yahi limit exactly karta hai.
- Integral evaluate karo. Kyun? ka antiderivative hai; ends par evaluate karo.
Verify: numerically ; large ke saath ek coarse numeric sum isko confirm karta hai. ✓ Yeh "backwards" reading ek favourite exam device hai.
Recall Kaun rule over/under-estimate karta hai? (test yourself)
Increasing : Left ::: underestimate (short left edge) Increasing : Right ::: overestimate (tall right edge) Decreasing : Left ::: overestimate Decreasing : Right ::: underestimate Koi bhi linear , midpoint ::: har ke liye exact