obtain coefficients of a polynomial differential equation
function with respect to which you want to obtain differential coefficients
The purpose of this command is to collect the input expression, expr, with respect to the input indeterminate - say y(x) - and its derivatives, and output a sequence of the coefficients of the collected form. The input expression is necessarily polynomial in the indeterminate and its derivatives.
Unlike coeffs, the coefficient sequence is returned in a specific order. The output is from higher to lower differential order.
If the collected expr is polynomial in y(x) and its derivatives, then the expression is also collected with respect to differing degrees of the same derivative, and the polynomial degree is used to break differential order ties in the ordered output, from higher to lower polynomial degree.
Consider the following expression.
Obtain the coefficients with respect to y(x) and derivatives.
expr ≔ a⁢x⁡t⁢ⅆⅆt⁢y⁡t2+x⁡t⁢ⅆⅆt⁢y⁡t+b⁢y⁡t⁢ⅆⅆt⁢y⁡t+c⁢y⁡t2⁢ⅆⅆt⁢x⁡t
Download Help Document