4.7.6 · D4 · HinglishPartial Differential Equations

ExercisesHalf-range sine and cosine series

2,854 words13 min read↑ Read in English

4.7.6 · D4 · Maths › Partial Differential Equations › Half-range sine and cosine series

Shuru karne se pehle, do master tools ka ek reminder, taaki koi symbol bina wajah use na ho.

Yahan known interval ki length hai, count karta hai ki hum kaunsa "wiggle" measure kar rahe hain (1 = ek hump, 2 = do humps, …), aur woh angle hai jo / ko exactly half-waves ke across complete karata hai. Number (ya ) batata hai ki us particular wiggle ka mein kitna hissa hai.


Level 1 — Recognition

Yahan tum integrals nahi compute kar rahe. Tum sahi tool choose kar rahe ho boundary conditions ya required symmetry padh ke.

Recall Solution 1.1

Answer: half-range sine series. Sine series ke building blocks hain . Neeche wali figure dekho (Figure s01 — teen sine curves black mein par draw ki gayi hain, red dots se dono endpoints mark kiye gaye hain jahan har curve zero cross karti hai): har aisi curve par zero par pin hoti hai (kyunki ) aur par (kyunki ).

Figure — Half-range sine and cosine series
Figure s01 — Har sine block height par start aur end hota hai (red dots); isliye unka koi bhi sum automatically dono walls par hota hai.

Kyunki har term dono ends par automatically zero ho jaati hai, poora sum automatically dono walls par satisfy karta hai — exactly Dirichlet condition. Cosine series generally wahan non-zero hoti hai, isliye woh boundary rule nahi maan sakti. Dekho Heat Equation — separation of variables.

Recall Solution 1.2

Answer: half-range cosine series. Blocks ke dono ends par zero slope hota hai: unka derivative aur par zero hota hai (wahi wali wajah). Zero slope = koi heat flux nahi = insulated. Yeh Neumann Boundary Conditions pairing hai. Sine blocks ke ends par maximum slope hota hai, isliye woh heat ko force karenge bahar — galat hai.

Recall Solution 1.3

False. par dono ko reproduce karti hain. Lekin bahar yeh alag-alag inventions hain:

  • Sine series odd extension hai (origin se flip karo), period .
  • Cosine series even extension hai (-axis ke across mirror), period . par same data, par do alag-alag fantasies. Dekho Even and Odd Functions.

Level 2 — Application

Ab crank ghumao: formula mein plug karo aur integrate karo.

Recall Solution 2.1

KYA: compute karo. YEH INTEGRAL KYUN: ke saath sine formula deta hai. Toh . Yeh hota hai jab even ho aur jab odd ho. Matlab: constant ka odd extension ek square wave hai (+1 phir −1), aur uski Fourier series exactly yeh classic odd-harmonics-only sum hai.

Recall Solution 2.2

Shortcut: pehle se hi even hai. Uska even extension bas har jagah constant hai. , aur ke liye: Ek constant ko koi wiggle nahi chahiye — poori function apna average khud hai. Yeh sabse clean sanity check hai ki term sach mein mean value hai.

Recall Solution 2.3

Product-to-sum identity kyun? Integrand do alag trig functions ka product hai, aur ka. Hmare paas koi rule nahi hai product ko directly integrate karne ka, aur yahan integration by parts sines aur cosines ke beech bounce karta rehta hai. Lekin sum of single sines ko term by term integrate karna trivial hai. Toh hum product ko sum se replace karte hain using jo ke saath deta hai.n\ne1\int_0^\pi\sin(mx),dx=\frac{1-(-1)^m}{m}m=n\pm1nke opposite parity ke): $$b_n=\frac1\pi\left[\frac{1-(-1)^{n+1}}{n+1}+\frac{1-(-1)^{n-1}}{n-1}\right].$$(-1)^{n\pm1}=-(-1)^n1-(-1)^{n\pm1}=1+(-1)^nn0n2nb_n=\frac1\pi\left[\frac{2}{n+1}+\frac{2}{n-1}\right]=\frac{4n}{\pi(n^2-1)}.n\ge3b_n=0n=1\int_0^\pi\cos x\sin x,dx=\frac12\int_0^\pi\sin 2x,dx=0b_1=0$.


Level 3 — Analysis

Ab explain karo kyun numbers aisa behave karte hain.

Recall Solution 3.1

Do extensions dekho (Figure s02 par black "V" curve even extension hai, red straight sawtooth line odd extension hai, red dot par jump mark karta hai):

Figure — Half-range sine and cosine series
Figure s02 — ka odd extension ek sawtooth hai jisme par size ka jump hai (red); even extension continuous "V" tent hai (black). Jump → coefficients ; sirf corner → coefficients .

  • ka odd extension = ek sawtooth: yeh har period boundary par se tak jump karta hai. Ek jump (discontinuity) "expensive" hai — ek vertical cliff banane ke liye tumhe bahut saare high harmonics chahiye, isliye coefficients sirf ki tarah die karte hain.
  • ka even extension = , ek continuous "V" tent. Koi jump nahi, sirf ek corner. Continuous functions ko kam high harmonics chahiye; coefficients zyada tez die karte hain, ki tarah. Rule of thumb: periodic extension jitni smooth hogi, decay utni tez hogi. Sawtooth ke cliffs sine partial sums ko spikier banate hain (Gibbs overshoot jump par). Dekho Dirichlet Conditions.
Recall Solution 3.2

par: har term mein hai, toh series sum karta hai. Lekin . Koi contradiction nahi: odd (sawtooth) extension ka ek jump point hai — yeh (neeche se approach karte hue) se (agla period) tak leap karta hai. Dirichlet's theorem ke anusaar series jump ke midpoint par converge karti hai: . ✓ Isliye hum equality hamesha open interval ke liye likhte hain.

Recall Solution 3.3

Sine series odd extension par converge karti hai, jiska value ends par forced hoti hai (odd ; par jump midpoint). Toh agar ya , toh series un endpoint heights ko reproduce nahi karti — woh unhe par snap karti hai. Physically yeh ek Wave Equation on a finite string ke liye theek hai jiske fixed ends hain, kyunki ek real string wahan par pin hoti hai. Claim sirf "galat" hai agar tumne expect kiya tha ki series ek nonzero endpoint value honour karegi jo woh kabhi represent nahi kar sakti.


Level 4 — Synthesis

Ek problem mein kai ideas combine karo.

Recall Solution 4.1

Coefficients rederive karo (self-contained). Yahan , toh hum aur use karte hain.

  • Constant term: ( par ki average height — sanity check ✓).
  • integration by parts se (IBP kyun? polynomial × trig; IBP polynomial power ghata deta hai): ke saath, Bracket hai kyunki . Remaining integral hai jiske aage minus sign hai, giving . Hence jo even ke liye aur odd ke liye hai. Toh Ab par evaluate karo (even extension ka continuity point, toh equality exact hai): Cross-check: yeh famous odd-square sum hai; ke saath combine karne par even part deta hai, aur sach mein . ✓
Recall Solution 4.2

Humein aisi blocks chahiye jo par zero hon (toh use karo, kyunki ) aur par zero slope hon. ka slope hai; yeh par zero hota hai jab , yani , giving . Yeh half-integer frequencies hain. "Quarter-range" ka matlab: ek ordinary half-range series ko par jaanti hai = ek period ka aadha hissa, aur dono ends ek hi type ki boundary hoti hain. Jab do ends alag type ki hoti hain (ek fixed, ek insulated), resulting waves ki natural period ki jagah hoti hai — known piece ab ek full period ka sirf quarter hai, isliye ise quarter-range expansion kehte hain. Concretely, length par ek full cycle complete karta hai, yani ke saath period . Na pure sine na pure cosine of integer harmonics kaam karta hai; mixed BC yeh nayi family force karta hai. (Wahi separation-of-variables machinery jaise Heat Equation — separation of variables.)


Level 5 — Mastery

Ek complete result end-to-end build aur justify karo.

Recall Solution 5.1

Step 1 — variables separate karo (KYU: ek PDE ko do ODEs mein convert karta hai). try karo. Tab (constant). Fixed-end BCs ko dono ends par kill karte hain, toh humein aisi chahiye jo wahan vanish kare → sine blocks with (period- half-range, ). Step 2 — time factor. . Step 3 — superpose aur initial shape match karo. , aur par yeh ke barabar hona chahiye. Yeh exactly ki half-range sine series hai (parent Example 1): Answer: BCs verify karo: har term mein hai → . ✓ IC verify karo: par exponential hai aur sum ki sine series hai, par ke barabar. ✓ Physical picture: jaise-jaise badhta hai, factor high harmonics ko sabse tez crush karta hai, toh sharp sawtooth smooth hota jaata hai aur poora rod ki taraf cool hota hai.

Recall Solution 5.2

Parseval kyun, aur yeh kya kehta hai. Parseval's identity energy conservation ka statement hai: ki "total squared size" seedhe measure ki jaaye (by integrating ) toh woh harmonic-by-harmonic measured total squared size ke barabar honi chahiye (by adding up ). Kyunki sine blocks par mutually orthogonal hain, saare cross terms integrate hokar zero ho jaate hain aur sirf squares bachte hain. par half-range sine series ke liye identity yeh hai: Yeh yahan perfect tool hai: yeh ka ek integral (aasaan) ko ki infinite sum mein convert karta hai (jisme woh hai jo hum chahte hain). Left side: Right side: Dono equal set karo aur solve karo: ✓ Basel sum, ek rod-temperature expansion se recover kiya!


Wrap-up Recall

Recall One-line self-test

Fixed ends → sine; insulated ends → cosine; mixed ends → half-integer frequencies. Series ke barabar hai open interval par; jumps par yeh midpoint deti hai.


Connections