Back to Symbolic Mathematics
assume
Set assumption on symbolic variable
Syntax
assume(x, prop) assume x prop
Description
Sets an assumption on a symbolic variable. Assumptions affect simplification and solving. Common assumptions: positive, negative, real, integer, rational
Parameters
| Name | Description |
|---|---|
| x | Symbolic variable |
| prop | Property to assume (e.g., 'positive', 'real', 'integer') |
Returns
Nothing (modifies variable in place)