substitute for factors of an expression
equation s1=s2 specifying the substitution to be made
expression with s1 as an algebraic factor of a subexpression
Important: The student package has been deprecated. Use the superseding package Student instead.
The function powsubs differs from subs in that it is defined in terms of algebraic factors rather than in terms of an underlying data structure. Each sub-expression is examined and if s1 occurs as a factor of that sub-expression, the substitution is carried out. However, powsubs cannot find expressions which only occur as part of a sum.
If more than one substitution is specified they are processed in order from left to right. powsubs does not carry out simultaneous substitutions.
The command with(student,powsubs) allows the use of the abbreviated form of this command.
p ≔ x+23+1x+2+sin⁡x+2
q ≔ x2+y2+f⁡x2+y2+∫x2+y2ⅆx
Download Help Document