Appendix
A-4: Algebraic Expressions and Operations
Example A-4.1
Express 3 x−22 x3+2 x in the form anxn+⋯+a1x+a0, then factor the result.
Solution
Maple Solution - Interactive
Control-drag (or type) the given expression. Press the Enter key.
Context Panel: Expand
Context Panel: Factor
3 x−22 x3+2 x
3⁢x−22⁢x3+2⁢x
= expand
9⁢x5−12⁢x4+22⁢x3−24⁢x2+8⁢x
= factor
3⁢x−22⁢x⁢x2+2
Maple Solution - Stepwise and Annotated
The Student Basics package is available through the Tools≻Load Package menu, with its commands being accessed through the Context Panel.
Table A-4.1(a) illustrates a syntax-free method of obtaining an annotated stepwise expansion of the given expression. The return of the underlying ExpandSteps command supports limited Context Panel operations. Hence, to factor the expanded result, it needs to be dragged into a new Document Block.
Tools≻Load Package: Student Basics
Loading Student:-Basics
Obtain an annotated stepwise expansion of the given expression
Control-drag the given expression.
Context Panel: Student Basics≻Expand Steps
3 x−22 x3+2 x= expand steps 3⋅x−22⋅x3+2⋅x=3⁢x−2⋅3⁢x−2⋅x3+2⋅xRewrite exponentiation as multiplication=3⁢x⋅3⁢x−2−2⋅3⁢x−2⋅x3+2⋅xDistributive multiply=3⁢x⋅3⁢x+3⁢x⋅−2−2⋅3⁢x−2⋅x3+2⋅xDistributive multiply=9⋅x⋅x+3⁢x⋅−2−2⋅3⁢x−2⋅x3+2⋅xMultiply constants=9⋅x2+3⁢x⋅−2−2⋅3⁢x−2⋅x3+2⋅xMultiply terms to exponential form=9⁢x2−6⋅x−2⋅3⁢x−2⋅x3+2⋅xMultiply constants=9⁢x2−6⁢x+−2⋅3⁢x−2⋅−2⋅x3+2⋅xDistributive multiply=9⁢x2−6⁢x+−6⋅x−2⋅−2⋅x3+2⋅xMultiply constants=9⁢x2−6⁢x+−6⁢x+4⋅x3+2⋅xMultiply constants=9⁢x2−6⁢x+4−6⁢x⋅x3+2⋅xReorder terms=9⁢x2−12⁢x+4⋅x3+2⋅xAdd terms=9⁢x2−12⁢x+4⋅x3+9⁢x2−12⁢x+4⋅2⁢xDistributive multiply=x3⋅9⁢x2+x3⋅−12⁢x+x3⋅4+9⁢x2−12⁢x+4⋅2⁢xDistributive multiply=9⋅x5+x3⋅−12⁢x+x3⋅4+9⁢x2−12⁢x+4⋅2⁢xAdd exponents with common base=9⁢x5−12⋅x4+x3⋅4+9⁢x2−12⁢x+4⋅2⁢xAdd exponents with common base=9⁢x5−12⁢x4+4⁢x3+2⁢x⋅9⁢x2+2⁢x⋅−12⁢x+2⁢x⋅4Distributive multiply=9⁢x5−12⁢x4+4⁢x3+18⋅x⋅x2+2⁢x⋅−12⁢x+2⁢x⋅4Multiply constants=9⁢x5−12⁢x4+4⁢x3+18⋅x3+2⁢x⋅−12⁢x+2⁢x⋅4Add exponents with common base=9⁢x5−12⁢x4+4⁢x3+18⁢x3−24⋅x⋅x+2⁢x⋅4Multiply constants=9⁢x5−12⁢x4+4⁢x3+18⁢x3−24⋅x2+2⁢x⋅4Multiply terms to exponential form=9⁢x5−12⁢x4+4⁢x3+18⁢x3−24⁢x2+8⋅xMultiply constants=9⁢x5−12⁢x4+22⁢x3−24⁢x2+8⁢xAdd terms
Factor the expanded form
Control-drag the polynomial resulting from the expansion.
9⁢x5−12⁢x4+22⁢x3−24⁢x2+8⁢x= factor x⁢x2+2⁢3⁢x−22
Table A-10.1(a) Syntax-free annotated stepwise expansion and factoring
Table A-4.1(b) shows how to access an annotated solution via the ExpandSteps command.
Student:-Basics:-ExpandSteps3 x−22 x3+2 x
3⋅x−22⋅x3+2⋅x=3⁢x−2⋅3⁢x−2⋅x3+2⋅xRewrite exponentiation as multiplication=3⁢x⋅3⁢x−2−2⋅3⁢x−2⋅x3+2⋅xDistributive multiply=3⁢x⋅3⁢x+3⁢x⋅−2−2⋅3⁢x−2⋅x3+2⋅xDistributive multiply=9⋅x⋅x+3⁢x⋅−2−2⋅3⁢x−2⋅x3+2⋅xMultiply constants=9⋅x2+3⁢x⋅−2−2⋅3⁢x−2⋅x3+2⋅xMultiply terms to exponential form=9⁢x2−6⋅x−2⋅3⁢x−2⋅x3+2⋅xMultiply constants=9⁢x2−6⁢x+−2⋅3⁢x−2⋅−2⋅x3+2⋅xDistributive multiply=9⁢x2−6⁢x+−6⋅x−2⋅−2⋅x3+2⋅xMultiply constants=9⁢x2−6⁢x+−6⁢x+4⋅x3+2⋅xMultiply constants=9⁢x2−6⁢x+4−6⁢x⋅x3+2⋅xReorder terms=9⁢x2−12⁢x+4⋅x3+2⋅xAdd terms=9⁢x2−12⁢x+4⋅x3+9⁢x2−12⁢x+4⋅2⁢xDistributive multiply=x3⋅9⁢x2+x3⋅−12⁢x+x3⋅4+9⁢x2−12⁢x+4⋅2⁢xDistributive multiply=9⋅x5+x3⋅−12⁢x+x3⋅4+9⁢x2−12⁢x+4⋅2⁢xAdd exponents with common base=9⁢x5−12⋅x4+x3⋅4+9⁢x2−12⁢x+4⋅2⁢xAdd exponents with common base=9⁢x5−12⁢x4+4⁢x3+2⁢x⋅9⁢x2+2⁢x⋅−12⁢x+2⁢x⋅4Distributive multiply=9⁢x5−12⁢x4+4⁢x3+18⋅x⋅x2+2⁢x⋅−12⁢x+2⁢x⋅4Multiply constants=9⁢x5−12⁢x4+4⁢x3+18⋅x3+2⁢x⋅−12⁢x+2⁢x⋅4Add exponents with common base=9⁢x5−12⁢x4+4⁢x3+18⁢x3−24⋅x⋅x+2⁢x⋅4Multiply constants=9⁢x5−12⁢x4+4⁢x3+18⁢x3−24⋅x2+2⁢x⋅4Multiply terms to exponential form=9⁢x5−12⁢x4+4⁢x3+18⁢x3−24⁢x2+8⋅xMultiply constants=9⁢x5−12⁢x4+22⁢x3−24⁢x2+8⁢xAdd terms
Table A-4.1(b) Application of the Student Basics package command ExpandSteps
Maple Solution - Coded
Assign the expression to q1, using an asterisk for multiplication.
q1≔3 x−22⋅x3+2 x
Apply the expand command.
q2≔expandq1
Apply the factor command.
factorq2
<< Previous Section of Appendix 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