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
Interactive Solution
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.
Control-drag (or type) the given expression. Press the Enter key.
Context Panel: Complete Square≻y
Context Panel: Complete Square≻x
3⁢x2−5⁢y2+7⁢x+4⁢y−9
= complete square
−5⁢y−252+3⁢x2+7⁢x−415
−5⁢y−252+3⁢x+762−73760
Coded Solution
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