4.6.15 · D3 · HinglishOrdinary Differential Equations

Worked examplesNon-homogeneous — variation of parameters

2,659 words12 min read↑ Read in English

4.6.15 · D3 · Maths › Ordinary Differential Equations › Non-homogeneous — variation of parameters

Yeh page ek shooting range hai. Parent note ne machine banayi hai; yahan hum use har tarah ke target pe fire karte hain taaki tum kisi bhi case se anjaane na raho.

Shuru karne se pehle, poori recipe ka ek reminder — taaki neeche ke har example ko same andaaz se padha ja sake:


Scenario matrix

Socho "problem mujhe kya throw kar sakti hai?" ek grid ki tarah. Har row ek case class hai; last column mein us example ka naam hai jo use handle karta hai.

# Case class Tricky kyun hai Handle karta hai
A Distinct real roots, exponential , RHS homogeneous solution se overlap karta hai (resonance) Ex. 1
B Complex roots, RHS undetermined coeff. se undoable () mein genuine singularity hai; domain dekho Ex. 2
C Repeated root, polynomial-ish , "" factor ko change karta hai Ex. 3
D Cauchy–Euler (non-constant coefficients) Pehle se divide karna zaroori; raw RHS nahi hai Ex. 4
E Degenerate: Sanity check — method ko return karna chahiye Ex. 5
F Sign / quadrant care: , log aata hai ko $ x
G Definite-integral form (koi elementary antiderivative nahi) Answer integral ke roop mein rehta hai — yeh allowed hai Ex. 7
H Real-world word problem (forced spring, no damping, off-resonance) Physics → ODE → VoP translate karo Ex. 8

Ab hum har cell ko hit karte hain.


Example 1 — Cell A: distinct roots, resonant exponential

Forecast (pehle andaza lagao): RHS khud ek homogeneous solution hai. Undetermined coefficients ko extra ki zaroorat hoti. Kya tumhe lagta hai VoP automatically woh conjure karega? (Haan — dekho.)

  1. Homogeneous solutions. . Yeh step kyun? sirf inhi do blocks se banta hai.
  2. Standard form. ka coefficient pehle se hai, isliye . Kyun? Formula ka normalized equation ke RHS se aana chahiye.
  3. Wronskian. . Kyun? har denominator mein hota hai.
  4. Derivatives. Kyun? Seedha se aaya.
  5. Integrate karo. . (Constants chhhod do.)
  6. Assemble karo. ek homogeneous piece hai ( mein absorb ho jaata hai). Toh VoP ne resonance factor khud banaya.

General solution: .

Recall Verify

Plug karo : , . . ✓ RHS match karta hai.


Example 2 — Cell B: complex roots,

Forecast: par blow up karta hai — toh solution sirf inhi do deewaaron ke beech valid hai. Guess: answer mein hoga (standard ).

  1. Homogeneous. . Kyun? Complex roots dete hain ; yahan .
  2. Standard form. Pehle se normalized hai, .
  3. Wronskian. .
  4. Derivatives.
  5. Integrate karo. (aasaan). ke liye, likhte hain. Toh Rewrite kyun? standard integral nahi hai; ise split karne par (known) minus (trivial) milta hai.
  6. Assemble karo. terms cancel ho jaate hain.

General: .

Recall Verify

Maano jahan , . . . . ✓


Example 3 — Cell C: repeated root

Forecast: repeated root , toh . undetermined coefficients se impossible hai — VoP ek hi tool hai. Guess: ek aur ek bachenge.

  1. Homogeneous. , double root . Reduction of Order se second solution: .
  2. Standard form. Pehle se normalized hai, .
  3. Wronskian. , .
  4. Derivatives.
  5. Integrate karo (integration by parts):
  6. Assemble karo. Collect karo: terms ; non-log terms . term homogeneous nahi hai ( span mein nahi hai), isliye ise rakhte hain.

General: .

Recall Verify

par numerically check karo: par, , toh . VERIFY block symbolically confirm karta hai ki residual sahi hai.


Example 4 — Cell D: Cauchy–Euler, standard form trap

Forecast: #1 galti raw use karna hai. se divide karne par real milta hai. Guess: aayega.

  1. Homogeneous diya gaya: , .
  2. Standard form — skip mat karo. se divide karo: Kyun? Formula ko leading coefficient chahiye; RHS ko se divide karne par milta hai.
  3. Wronskian. .
  4. Derivatives.
  5. Integrate karo. , .
  6. Assemble karo.

General: .

Recall Verify

Plug karo : . . ✓


Example 5 — Cell E: degenerate check,

Forecast: jab system ko force karne wala kuch nahi, absorb karne ke liye bhi kuch nahi. Guess: .

  1. Homogeneous. , .
  2. Standard form. .
  3. Derivatives. , .
  4. Integrate karo. const, const — jo hum drop karte hain.
  5. Assemble karo. . Yeh kyun matter karta hai: yeh prove karta hai ki VoP consistent hai — jab koi forcing nahi hoti toh yeh koi spurious particular solution invent nahi karta. Yeh "sanity anchor" hai jo har method ko pass karna chahiye.
Recall Verify

trivially satisfy karta hai. ✓ (neeche check kiya)


Example 6 — Cell F: sign care, aur absolute value

Forecast: ka antiderivative hai — absolute value matter karta hai, aur yahi reason hai ki solution ke sign se split hoti hai. Saath hi ek non-elementary integral hai (exponential integral), toh honest answer mein integral sign rakhna padega.

  1. Homogeneous. , toh .
  2. Standard form. .
  3. Wronskian. .
  4. Derivatives.
  5. Integrate karo — elementary form mein ho nahi sakta. Integrals ke roop mein rakhte hain: Yahan kyun ruka? ka koi elementary antiderivative nahi hai (yeh hai). Sahi answer yahan ruk jaata hai — clean definite-integral packaging ke liye Cell G dekho.
  6. ka sign. Integrals sirf wahan defined hain jahan continuous hai: alag-alag aur par. cross karne wala koi solution nahi hai kyunki wahan infinite discontinuity rakhta hai. Isliye hi interval batana zaroori hai.

General (kisi bhi side par): .


Example 7 — Cell G: definite-integral (Green's-function) packaging

Forecast: do alag indefinite integrals ki jagah, hum inhe ek integral mein fuse kar sakte hain jisme aur ek kernel ho. Guess: kernel hoga.

  1. Ingredients. , .
  2. VoP as definite integrals. Definite kyun? ko lower limit rakhne se constants fix ho jaate hain taaki — ek clean, unambiguous particular solution.
  3. Assemble karo & fuse karo. Sine-subtraction identity se : Kernel is operator ka Green's function hai.

Yeh itna powerful kyun hai: ek formula har ke liye ek saath equation solve karta hai — bas apna integrand mein daal do. Yeh Cell A–F sab packaged hai.

Recall Verify

Maano , : . Do baar differentiate karne par (Leibniz rule) milta hai ; aur yeh parent note ke example ko homogeneous pieces tak reproduce karta hai. par numeric spot-check VERIFY mein hai.


Example 8 — Cell H: real-world forced oscillator

Forecast: kyunki drive frequency () natural frequency (), koi resonance nahi — response ek bounded combination honi chahiye aur ki. part ka amplitude guess karo.

  1. Homogeneous. , toh .
  2. Standard form. .
  3. Wronskian. .
  4. Derivatives.
  5. Integrate karo product-to-sum use karke (, ):
  6. Assemble karo. Sum identities se group karo: ; . Total .
  7. Initial conditions apply karo. General . . ; .

Units sanity: har term pattern mein dimensionless hai lekin metres represent karta hai; dono cosines se bounded hain, toh m — bounded, jaise off-resonance ke liye forecast kiya tha. Figure beat-like superposition dikhata hai.

Figure — Non-homogeneous — variation of parameters
Recall Verify

: . . ✓ Aur , . ✓


Matrix, revisited

Recall Kis example ne kaun sa cell fill kiya?

A resonant-exponential ::: Ex. 1 B complex roots + ::: Ex. 2 C repeated root + ::: Ex. 3 D Cauchy–Euler standard-form trap ::: Ex. 4 E degenerate ::: Ex. 5 F sign/quadrant aur ::: Ex. 6 G definite-integral / Green's kernel ::: Ex. 7 H real-world forced spring with initial conditions ::: Ex. 8


Connections

  • Wronskian jo har denominator mein hai; non-zero hona guarantee karta hai ki linear system Cramer's Rule se solvable hai.
  • Cramer's Rule — isse system se extract kiye gaye.
  • Method of Undetermined Coefficients — woh shortcut jo Ex. 2, 3, 6, 7 par fail hota hai.
  • Second-order linear homogeneous ODE ka source.
  • Reduction of Order — Ex. 3 mein repeated-root aise milta hai.
  • Green's function — Ex. 7 ka fused kernel .