dynamic_2d_linear_solve
Solve and classify 2D linear systems X' = A·X + B with constant matrix A; get eigenvalues, nullclines, analytic solution, and trajectories, plus an optional phase portrait.
Instructions
Solve and classify the linear 2D system X' = A·X + B with constant matrix A.
Args: a, b, c, d: entries of A = [[a, b], [c, d]]. e, f: constant forcing vector B = [e, f]. x0, y0, t0, t_fin, h: initial condition and integration grid. x_min..y_max: window for the phase portrait. cantidad_trayectorias: number of sample trajectories. plot: When True, also return a PNG phase portrait.
Returns:
Dict with the classification, eigenvalues, nullclines, analytic solution
and trajectories. With plot=True a list [dict, Image] is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| c | No | ||
| d | No | ||
| e | No | ||
| f | No | ||
| h | No | ||
| t0 | No | ||
| x0 | No | ||
| y0 | No | ||
| plot | No | ||
| t_fin | No | ||
| x_max | No | ||
| x_min | No | ||
| y_max | No | ||
| y_min | No | ||
| cantidad_trayectorias | No |