Q: For the mass–spring–damper with m=1,k=1,c=0 (no damping), predict the eigenvalues of A and the motion.
Forecast:A=[0−110], det(λI−A)=λ2+1=0⇒λ=±i.
Purely imaginary → undamped oscillation at ω=1 rad/s. ✅ Matches physics: no damping ⇒ it rings forever.
The minimal set of variables needed with future inputs to fully predict future behavior.
What does the A matrix represent physically?
The internal dynamics — how the state feeds back on itself; its eigenvalues set stability.
What does B do?
Maps control inputs u into rates of change of the state.
What does C do?
Selects/combines states into measured outputs y.
When is D nonzero?
When an input instantly (algebraically) affects an output — direct feedthrough.
How do you convert an n-th order ODE to state-space?
Define states as the function and its first n−1 derivatives, giving n coupled first-order equations.
What is the full solution of x˙=Ax+Bu?
x(t)=eAtx(0)+∫0teA(t−τ)Bu(τ)dτ.
Condition for stability in state-space?
All eigenvalues of A have negative real part.
Transfer function from state-space?
G(s)=C(sI−A)−1B+D.
Why is state-space not unique?
A coordinate change x~=Tx gives (TAT−1,TB,CT−1,D) describing the same system.
What determines the system order n?
The dimension of the state vector = number of independent energy-storing / memory elements.
Recall Feynman: explain to a 12-year-old
Imagine a toy car with a spring. To know where it'll go next, you only need two things right now:
where it is and how fast it's moving. That's its "state." A push is your input.
The rule "position and speed + push → how they change in a tiny moment" is the whole physics.
We just write that rule as boxes of numbers (matrices) so a computer can play the movie forward.
The C box says which of those two things the car's little sensor can actually read out.
Dekho, state-space ka basic idea ekdum simple hai: kisi bhi system ka future sirf do cheezon pe depend karta hai — uska abhi ka state (yaani uski memory) aur aap jo input de rahe ho. Jaise ek spring pe laga mass — usse predict karna ho to bas position aur velocity chahiye. Yahi do variable "state" ban jaate hain, aur inhe hum ek vector x me daal dete hain.
Ab magic yeh hai: koi bhi bada ODE (jaise mq¨+cq˙+kq=F) ko hum kaat kar chhote-chhote first-order equations me tod dete hain. Har derivative ko naya state naam de do, aur sab kuch matrix form me aa jaata hai: x˙=Ax+Bu. Yahan A system ka apna behaviour (andar ka dynamics) batata hai, B batata hai input kaise push karta hai, C batata hai sensor kya measure karta hai, aur D direct shortcut hai (mostly zero).
GNC me yeh isliye important hai kyunki rocket ya aircraft me bahut saare inputs (thrust, fins, gimbal) aur bahut saare outputs (attitude, position) hote hain — transfer function ek-ek karke handle nahi kar sakta, par state-space sab ek saath matrices me pakadta hai. Aur sabse mast baat: stability ka pura raaz A matrix ke eigenvalues me chhupa hai. Agar sab eigenvalues ka real part negative hai, system stable hai; warna wobble ya blow-up. Isi foundation pe LQR aur Kalman filter jaise sabhi advanced controllers khade hote hain, isliye ise achhe se samajhna 80/20 wala kaam hai.