completeSquare()
Catalog >
completeSquare(ExprOrEqn, Var) → expression or equation
completeSquare(ExprOrEqn, Var^Power) → expression or equation
completeSquare(ExprOrEqn, Var1 Var2 [ ...]) → expression or equation
completeSquare(ExprOrEqn, {Var1 Var2 [ ...]}) → expression or equation
Converts a quadratic polynomial expression of the form a·x2+b·x+c into the form a·(x-h)2+k
- or -
Converts a quadratic equation of the form a·x2+b·x+c=d into the form a·(x-h)2=k
The first argument must be a quadratic expression or equation in standard form with respect to the second argument.
The Second argument must be a single univariate term or a single univariate term raised to a rational power, for example x, y2, or z(1/3).
The third and fourth syntax attempt to complete the square with respect to variables Var1, Var2 [,… ]).
completeSquare()
Catalog >
completeSquare(ExprOrEqn, Var) → expression or equation
completeSquare(ExprOrEqn, Var^Power) → expression or equation
completeSquare(ExprOrEqn, Var1 Var2 [ ...]) → expression or equation
completeSquare(ExprOrEqn, {Var1 Var2 [ ...]}) → expression or equation
Converts a quadratic polynomial expression of the form a·x2+b·x+c into the form a·(x-h)2+k
- or -
Converts a quadratic equation of the form a·x2+b·x+c=d into the form a·(x-h)2=k
The first argument must be a quadratic expression or equation in standard form with respect to the second argument.
The Second argument must be a single univariate term or a single univariate term raised to a rational power, for example x, y2, or z(1/3).
The third and fourth syntax attempt to complete the square with respect to variables Var1, Var2 [,… ]).