student
completesquare
complete the square
Calling Sequence
Parameters
Description
Examples
completesquare(f)
completesquare(f, x)
f
-
algebraic expression
x
one or more of the indeterminates occurring in f
Important: The student package has been deprecated. Use the superseding command Student[Precalculus][CompleteSquare] instead.
This function completes the square of polynomials of degree 2 in x by re-writing such polynomials as perfect squares plus a remainder. If more than one variable appears in f, then x must be specified. x can be a name, list or set.
The polynomial may appear as a subexpression of f, so that equations, reciprocals, and in general, parts of expressions, may be simplified. Since the polynomial may occur as an argument to Int this function can be used to help simplify unevaluated integrals.
Terms not involving the indicated variable are treated as constants.
The command with(student,completesquare) allows the use of the abbreviated form of this command.
with⁡student:
completesquare⁡9⁢x2+24⁢x+16
9⁢x+432
completesquare⁡x2−2⁢x⁢a+a2+y2−2⁢y⁢b+b2=23,x
x−a2+b2−2⁢y⁢b+y2=23
completesquare⁡,y
y−b2+x−a2=23
See Also
Student
student(deprecated)[Int]
Student[Precalculus][CompleteSquare]
Download Help Document