FactorSteps - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Basics]

  

FactorSteps

  

generate steps in factoring polynomials

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

FactorSteps( expr, variable )

FactorSteps( expr, implicitmultiply = true )

Parameters

expr

-

string or expression

variable

-

(optional) variable to collect the terms by

implicitmultiply

-

(optional) truefalse

output = ...

-

(optional) option to control the return value

displaystyle = ...

-

(optional) option to control the layout of the steps

Description

• 

The FactorSteps command accepts a polynomial and displays the steps required to factor the expression.

• 

If expr is a string, then it is parsed into an expression using InertForm:-Parse so that no automatic simplifications are applied, and thus no steps are missed.  

• 

The implicitmultiply option is only relevant when expr is a string.  This option is passed directly on to the InertForm:-Parse command and will cause things like 2x to be interpreted as 2*x, but also, xyz to be interpreted as x*y*z.

• 

The output and displaystyle options are described in Student:-Basics:-OutputStepsRecord. The return value is controlled by the output option.  

• 

This function is part of the Student:-Basics package.

Examples

withStudent:-Basics:

FactorStepsx3+6x2+12x+8

x3+6x2+12x+81. Factor using Trial EvaluationsRewrite in standard formx3+6x2+12x+8The factors of the constant coefficient8are:C=1,2,4,8Trial evaluations ofxin±Cfindx=−2satisfies the equation, sox+2is a factorx3+6x2+12x+8x=−2|x3+6x2+12x+8x=−2=0Divide byx+2x+2z2PPx2P+4xPP+4)x21x31+6x21+12x1+8x3+2x2.4x2+12x4x2+8x.4x+84x+8.0Quotient times divisor from long divisionx2+4x+4x+22. Examine term:x2+4x+43. Factor using the AC MethodExamine quadraticx2+4x+4Look at the coefficients,Ax2+Bx+CA=1,B=4,C=4Find factors of |AC| = |14| =41,2,4Find pairs of the above factors, which, when multiplied equal414,22Which pairs of ± these factors have asumof B =4? Found:2+2=4Split the middle term to use above pairx2+2x+2x+4Factorxout of the first groupxx+2+2x+4Factor2out of the second groupxx+2+2x+2x+2is a common factorxx+2+2x+2Group common factorx+2x+2This gives:x+224. This gives:x+23

(1)

FactorStepsa2b2

a21b21. This is a difference of squares, in the formA2B2a2b22. Apply difference of squares rule:A2B2=A+BABa+bab

(2)

FactorStepsx2x12

x21x121. Factor using the AC MethodRewrite in standard formx2x12Look at the coefficients,Ax2+Bx+CA=1,B=−1,C=−12Find factors of |AC| = |1−12| =121,2,3,4,6,12Find pairs of the above factors, which, when multiplied equal12112,26,34Which pairs of ± these factors have adifferenceof B =−1? Found:34=−1Split the middle term to use above pairx2+3x4x12Factorxout of the first groupxx+3+4x12Factor−4out of the second groupxx+3+−4x+3x+3is a common factorxx+34x+3Group common factorx4x+3This gives:x4x+3

(3)

FactorSteps2y25+113y5+33

25y2+1135y+331. Remove rationals and common factor152y2+113y+1652. Examine term:2y2+113y+1653. Factor using the AC MethodExamine quadratic2y2+113y+165Look at the coefficients,Ay2+By+CA=2,B=113,C=165Find factors of |AC| = |2165| =3301,2,3,5,6,10,11,15,22,30,33,55,66,110,165,330Find pairs of the above factors, which, when multiplied equal3301330,2165,3110,566,655,1033,1130,1522Which pairs of ± these factors have asumof B =113? Found:3+110=113Split the middle term to use above pair2y2+3y+110y+165Factoryout of the first groupy2y+3+110y+165Factor55out of the second groupy2y+3+552y+32y+3is a common factory2y+3+552y+3Group common factory+552y+3This gives:y+552y+34. This gives:15y+552y+3

(4)

Compatibility

• 

The Student[Basics][FactorSteps] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

Student:-Basics

Student:-Basics:-ExpandSteps

Student:-Basics:-LinearSolveSteps

Student:-Calculus1:-ShowSolution

Student:-Calculus1:-ShowSteps