4.6.2 · HinglishOrdinary Differential Equations

Direction fields and Euler's method — visual - numerical intuition first

1,615 words7 min readRead in English

4.6.2 · Maths › Ordinary Differential Equations


1. Direction field kya hota hai?

WHY it works: ODE ek constraint hai — "yahan teri slope ke barabar honi chahiye." Segment us constraint ko sirf visualise karta hai. Solution koi bhi aisi curve hai jo har jagah constraint obey kare.


2. Euler's method — scratch se derive karo

Hum ODE ko formulas se hamesha solve nahi kar sakte. Lekin hum arrows ko numerically follow kar sakte hain.

Derivation (first principles — local linear approximation):

Derivative hi tangent line ki slope hai. ke kareeb, true solution apni tangent se achhi tarah approximate hoti hai:

Yeh sirf first-order Taylor expansion hai:

Lekin ODE hamein deta hai. Substitute karo aur remainder ko drop karo:


3. Worked example: haath se chalao

Figure — Direction fields and Euler's method — visual - numerical intuition first

4. Common mistakes (Steel-man + fix)


5. Active recall

Recall Quick self-test (answers hide karo)
  • Q: mein physically kya deta hai? → par solution ki slope.
  • Q: Euler update formula? → .
  • Q: Global error ka order? → (first order).
  • Q: Euler slope kahan evaluate karta hai? → current/left point par.
Recall Feynman: 12-saal ke bacche ko samjhao

Socho tum fog mein chal rahe ho aur ek magic compass tumhe batata hai ki "neeche ki taraf" exactly kidhar hai jahan tum khade ho. Tum poori pahadi nahi dekh sakte, lekin tum us direction mein ek chota step lete ho, compass se phir poochte ho, ek aur chota step lete ho, aur aage bhi yahi karte rehte ho. Jo path tum trace karte ho woh trail ki tumhari best guess hai. ODE magic compass hai; Euler's method chote steps lena hai. Chote steps = asli trail ke kareeb, lekin zyada kaam.


6. Connections


What does in tell you geometrically?
point par solution curve ki slope.
Define a direction (slope) field.
Har point par slope ka ek chota segment; solutions woh curves hain jo in segments ke har jagah tangent hain.
What is an isocline?
ka locus jahan sab field segments ek hi slope share karte hain.
State Euler's method update.
with .
Derive Euler from Taylor.
; replace karo aur term drop karo.
What is the local truncation error of Euler?
, yaani per step.
What is the global error order of Euler?
— first order; half karne se total error roughly half hoti hai.
Which point's slope does explicit Euler use?
Current (left) point , naye point ki nahi.
Why does Euler undershoot a convex () solution?
Tangent lines ek convex curve ke neeche rehti hain, to har step thoda neeche land karta hai.
Common error: omitting which factor?
Slope ko step se multiply karna; , sirf nahi.

Concept Map

gives

visualised as

parallel dashes build

tangent everywhere

starting point

drop h squared term

supplies f in

initial value for

dropped term is

accumulates over N steps

ODE dy/dx = f of x,y

Slope at every point

Direction field

Isoclines f=m

Solution curve

Initial condition x0,y0

Taylor expansion

Euler's method

Local error O of h squared

Global error O of h