complete the square - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[Precalculus]

  

CompleteSquare

  

transform quadratic expressions to completed square form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CompleteSquare(f, x, ...)

Parameters

f

-

algebraic expression, equation, or an inequality involving algebraic terms

x

-

(optional) name, function, list, or set

...

-

(optional) name or function

Description

• 

The CompleteSquare(f, x) command, where f is a quadratic expression, equation, or an inequality in x, completes the square of f.  If f is not itself quadratic in x, its subexpressions are examined, and any which are quadratic in x are transformed to completed square form.

• 

If x is a list or set, the operation of completing the square is applied successively to each component of x.  These components can be names, such as u and v, or functions, such as sin⁡t and ⅆⅆwh⁡w.

• 

The CompleteSquare(f) command is equivalent to CompleteSquare(f, indets(f,name)).

• 

The command CompleteSquare(f, [x, y]) is equivalent to the command CompleteSquare(f, x, y).

• 

The completed square form of the general quadratic expression a⁢x2+b⁢x+c is a⁢x+b2⁢a2+c−b24⁢a.

• 

For a step-by-step solution that completes the square, see CompleteSquareSteps.

Examples

> 

with⁡StudentPrecalculus:

> 

CompleteSquare⁡3⁢x2+2⁢x,x

3⁢x+132−13

(1)
> 

CompleteSquare⁡x2⁢1−y3+2⁢y2⁢x−y,x

1−y3⁢x+y21−y32−y−y41−y3

(2)
> 

CompleteSquare⁡1sin⁡t2+2⁢sin⁡t+1,sin⁡t

1sin⁡t+12

(3)
> 

CompleteSquare⁡a2+b2+a+b,a,b

b+122+a+122−12

(4)
> 

CompleteSquare⁡x2−x=y2+2⁢y+3

x−122−14=y+12+2

(5)
> 

CompleteSquare⁡Int⁡Int⁡u2+2⁢uv2−3⁢v,v,u,u,v

∫∫u+12v−322−94−1v−322−94ⅆvⅆu

(6)

See Also

indets

Student[Precalculus]

Student[Precalculus][ComputationOverview]