student(deprecated)/completesquare - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : student(deprecated)/completesquare

student

  

completesquare

  

complete the square

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

completesquare(f)

completesquare(f, x)

Parameters

f

-

algebraic expression

x

-

one or more of the indeterminates occurring in f

Description

• 

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.

Examples

Important: The student package has been deprecated. Use the superseding command Student[Precalculus][CompleteSquare] instead.

withstudent:

completesquare9x2+24x+16

9x+432

(1)

completesquarex22xa+a2+y22yb+b2=23,x

xa2+b22yb+y2=23

(2)

completesquare,y

yb2+xa2=23

(3)

See Also

Student

student(deprecated)[Int]

Student[Precalculus][CompleteSquare]