Appendix
A-4: Algebraic Expressions and Operations
Example A-4.5
Complete the squares in 3 x2−5 y2+7 x+4 y−9.
Solution
Mathematical Solution
3 x2−5 y2+7 x+4 y−9
=3x2+73x−5y2−45y−9
=3x2+272⋅3x+762−762−5y2−45y−9
=3x+762−762−5y2−45y−9
=3x+762−3762−5y2−45y−9
=3x+762−5y2−45y−9−3762
=3x+762−5y2−242⋅5y+4102−4102−15712
=3x+762−5y−252−252−15712
=3x+762−5y−252+5252−15712
=3x+762−5y−252+45−15712
=3x+762−5y−252−73760
Maple Solution - Interactive
Although the Context Panel contains the Complete Square option, it operates on one variable at a time. Hence, it has to be invoked twice. The underlying command, however, admits syntax wherein the square can be completed in more than one variable with but a single call to the function. This more powerful version can be accessed if the Student Precalculus package is first loaded.
Initialize
Tools≻Load Package: Student Precalculus
Loading Student:-Precalculus
Complete the square in both variables
Control-drag (or type) the given expression.
Context Panel: Student Precalculus≻Complete the Square≻All Variables
3 x2−5 y2+7 x+4 y−9→complete square−5⁢y−252+3⁢x+762−73760
Maple Solution - Coded
Assign the polynomial to q.
q≔3 x2−5 y2+7 x+4 y−9
Apply the CompleteSquare command from the Student Precalculus package.
StudentPrecalculusCompleteSquareq,x,y
<< Previous Example Section A-4 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document