How this calculation works
Evaluate a bounded Lie-bracket family of driftless control fields and produce an exact full-rank local controllability certificate when one is found.
[X,Y]=D Y·X−D X·Y; span{X_i,[X_i,X_j],...} at x0A worked example
For X1=(1,0,−y/2) and X2=(0,1,x/2), their bracket is (0,0,1). At the origin the two input fields and that bracket span three dimensions, giving rank three at bracket length two.
Good to know
Two or three state variables, one to three rational polynomial vector fields initially degree≤3, rational point, nested brackets through length4 and explicit monomial/field-count caps. Return exact bracket formulas, rank by bracket length and a full-rank minor when found. For driftless controls with an open neighborhood of zero, full rank supplies a local Chow-type controllability certificate. Failure to reach full rank at the cap is not proof of uncontrollability. No systems with drift, obstacle avoidance or trajectory planner.
Reference: LaValle Planning Algorithms: controllability of driftless systems (opens in a new tab) ↗
Driftless controls and local motion directions
The supported dynamics are a sum of input coefficients times vector fields, with no autonomous drift term. The control set is assumed to contain an open neighborhood of zero, so sufficiently small motions in both signs of each input direction are admissible. These assumptions are part of the controllability interpretation rather than consequences of a matrix-rank calculation.
At a point, the directly available field values may span fewer directions than the state dimension. Composing small motions can nevertheless create additional effective directions. Lie brackets describe the leading-order displacement generated by such noncommuting motion sequences, which is why a pointwise rank test on only the original input fields can miss local controllability.
Compare this with the Lie algebra calculator from structure constants. Generate spatial Lie brackets of supplied polynomial control vector fields and test their evaluated span at a chosen state. The existing abstract finite-dimensional Lie-algebra page starts with structure constants; it does not differentiate vector fields or give pointwise control-accessibility certificates.
The bracket convention and its derivatives
This page uses the bracket D Y times X minus D X times Y. Each Jacobian differentiates the field components with respect to the state variables. Reversing the convention changes bracket signs but not the span of a complete family. State the convention so displayed formulas can be checked without an artificial sign disagreement.
Polynomial fields permit exact symbolic differentiation and rational evaluation. A bracket must be formed as a vector field before it is evaluated at the point. Taking a bracket of the already evaluated constant vectors would always give zero and would erase precisely the derivative information that creates the additional motion directions.
Building a bounded bracket family
Start with the original fields, then generate nested brackets through the declared maximum length. Track their formulas, lengths and provenance. Exact zero polynomial fields can be removed, and safe symbolic linear-dependence reductions can control repetition. However, a field that happens to vanish or be dependent at the evaluation point cannot necessarily be discarded before further bracketing.
Differentiation of such a field may still reveal a nonzero higher-order direction. Therefore, pruning based only on the current pointwise rank can invalidate the search. The supported implementation uses explicit field-count and monomial-growth caps. If these stop the closure early, the output must preserve that limitation instead of suggesting that every possible Lie direction has been examined.
The Heisenberg field example
For the default fields, the first component of X1 is one and the second component of X2 is one. The third component of X2 differentiates to one half with respect to x, while the third component of X1 differentiates to minus one half with respect to y. Their bracket therefore has third component one and its other components zero.
At the origin, X1 and X2 reduce to the first and second coordinate vectors. Adding the bracket gives the third coordinate vector, so the resulting three-by-three minor has determinant one. The direct rank is two at length one, and the bracket family reaches rank three at length two. No numerical near-zero threshold is needed for this rational certificate.
What a full-rank certificate establishes
For smooth driftless fields under the stated two-sided control assumption, a Lie-bracket family spanning the tangent space at the point supplies a local Chow-type controllability certificate. Continuity of the nonzero determinant also gives a neighborhood where that selected minor remains nonzero, although this calculator need not compute the largest such neighborhood.
The certificate concerns local ability to generate motion directions. It is not a trajectory planner, and it does not produce a shortest path, a minimum-energy maneuver or a collision-free sequence. A drawing of the bracket loop is an explanation of the mechanism, not a validated finite-amplitude control program for a physical device.
Why failure at the cap is inconclusive
A system may require brackets longer than the chosen bound before an additional independent direction appears. Thus a rank below the state dimension after a finite truncated search does not prove uncontrollability. The proper conclusion is that no full-rank certificate was found within the displayed bracket and resource limits.
An exact obstruction requires additional reasoning, such as a proved invariant or an integrable distribution containing all reachable directions. This page does not infer such an obstruction from a capped rank table. Keeping a positive certificate separate from a negative noncertificate prevents an educational finite computation from overstating a general theorem about the entire nonlinear system.
Interpreting point dependence and assumptions
Lie-bracket rank can change across the state space. A full-rank result at one point does not imply a global statement at every state, and a singular point may need separate analysis. The exact evaluation point should therefore be retained in the report along with the selected bracket formulas and full-rank minor.
Systems with drift, one-sided inputs, state constraints or obstacles require different controllability conditions. In particular, an always-positive actuator cannot automatically execute the reversed motions used in the usual driftless bracket argument. Use this calculator only for its declared local mathematical model, and verify those control and domain assumptions before transferring the certificate to an application.
A few questions, answered
Why not just rank the original input vectors?
Their derivatives and noncommuting compositions can create extra Lie-bracket directions.
Does a rank deficiency at length four prove uncontrollability?
No. Longer brackets or another argument may be needed; the bounded search is inconclusive.
Can I evaluate fields before bracketing?
No. Form the symbolic bracket first, then evaluate it at the point.
Does the result give a collision-free control path?
No. It is a local rank certificate, not a motion planner or global reachability proof.