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

Online Help

All Products    Maple    MapleSim


Solution Steps

Maple 2021 includes numerous new algorithms for showing step-by-step solutions for a variety of problems in mathematics.

 

Long Division

Factoring

Solve

Calculus: Integration, Differentiation, and Limits

Differential Equations

Matrix Inverse

Eigenvalues

Eigenvectors

Gauss Jordan Elimination

Share your solution

Where did I go wrong?

Long Division

The LongDivision command gives a visual solution to an arithmetic or polynomial long division problem, showing all of the intermediate steps.

> 

withStudent:-Basics:

> 

LongDivision⁡48⁢x4+284⁢x3+620⁢x2+593⁢x+210,2⁢x+3

2⁢x+3x2224⁢x3+106⁢x2+151⁢x+70)x2148⁢x41+284⁢x31+620⁢x21+593⁢x1+21048⁢x4+72⁢x3.212⁢x3+620⁢x2212⁢x3+318⁢x2.302⁢x2+593⁢x302⁢x2+453⁢x.140⁢x+210140⁢x+210.0

(1.1)
> 

LongDivision1001,30, 'decimaldigits'=4;

 — — — —3—3—.—3—6—6—6— 30 ) 1001.0000       9—0—       101        9—0—        110         9—0—         200         1—8—0—          200          1—8—0—           200           1—8—0—            20

(1.2)

Factoring

The FactorSteps command shows the steps in factoring a polynomial.

> 

withStudent:-Basics:

> 

FactorSteps⁡x3+6⁢x2+12⁢x+8

x3+6⋅x2+12⋅x+8▫1. Trial Evaluations◦Rewrite in standard formx3+6⁢x2+12⁢x+8◦The factors of the constant coefficient 8 are:C=1,2,4,8◦Trial evaluations of x in ±C find x = −2 satisfies the equation, so x+2 is a factorx3+6⁢x2+12⁢x+8x=−2|x3+6⁢x2+12⁢x+8x=−2=0◦Divide by x+2x+2x22x2+4⁢x+4)x21x31+6⁢x21+12⁢x1+8x3+2⁢x2.4⁢x2+12⁢x4⁢x2+8⁢x.4⁢x+84⁢x+8.0◦Quotient times divisor from long divisionx2+4⁢x+4⋅x+2•2. Examine term:x2+4⁢x+4▫3. Apply the AC Method◦Examine quadraticx2+4⁢x+4◦Look at the coefficients, A⁢x2+B⁢x+CA=1,B=4,C=4◦Find factors of |AC| = |1⋅4| = 41,2,4◦Find pairs of the above factors, which, when multiplied equal 41⋅4,2⋅2◦Which pairs of these factors have a sum of B = 4? Found:2+2=4◦Split the middle term to use above pairx2+2⁢x+2⁢x+4◦Factor x out of the first pairx⋅x+2+2⁢x+4◦Factor 2 out of the second pairx⋅x+2+2⋅x+2◦x+2 is a common factorx⋅x+2+2⋅x+2◦Group common factorx+2⋅x+2This gives:x+2⋅x+2•4. This gives:x+2⋅x+2⋅x+2

(2.1)

Solve

The SolveSteps command shows the steps in solving an equation or system of equations

> 

withStudent:-Basics:

> 

SolveSteps⁡5⁢ⅇ4⁢x=16

Let's solve5⋅ⅇ4⋅x=16▫Convert from exponential equation◦Divide both sides by 55⋅ⅇ4⋅x5=165◦Simplifyⅇ4⋅x=165◦Apply ln to each sideln⁡ⅇ4⁢x=ln⁡165◦Apply ln rule: ln(e^b) = b4⁢x=ln⁡165•Divide both sides by 44⋅x4=ln⁡1654•Exact solutionx=ln⁡1654•Approximate solutionx=0.2907877025

(3.1)
> 

SolveSteps⁡12⁢x+y=18,7⁢x−8⁢y=32

Let's solve12⋅x+y=18,7⋅x−8⋅y=32•Pick the 2nd equation to solve for y7⋅x−8⋅y=32▫A: isolate for y◦Subtract 7⋅x from both sides7⋅x−8⋅y−7⋅x=32−7⋅x◦Simplify−8⋅y=32−7⋅x◦Divide both sides by −8−8⋅y−8=32−7⋅x−8◦Simplifyy=−4+7⁢x8◦Solutiony=−4+7⁢x8•Substitute the value of y=−4+7⁢x8 into the 1st equation of the system12⋅x+−4+7⁢x8=18▫Solve for x◦Evaluate subtraction and addition103⁢x8−4=18◦Add 4 to both sides1038⋅x−4+4=18+4◦Simplify1038⋅x=22◦Divide both sides by 1038x⋅10381038=221038◦Simplifyx=221038◦Rewrite division as multiplication by reciprocalx=22⋅8103◦Multiply fraction and reduce by gcdx=176103•Substitute x=176103 into equation A y=−4+78⋅176103▫Solve for y◦Evaluate multiplication and divisiony=−4+154103◦Evaluate subtraction and additiony=−258103•Solutionx=176103,y=−258103

(3.2)

Calculus: Integration, Differentiation, and Limits

The ShowSolution command has been improved to show more detailed steps when solving integration, differentiation, and limit problems.

> 

with Student:-Calculus1 :

> 

ShowSolution∫sinx2ⅆx

Integration Steps∫sin⁡x2ⅆx▫1. Rewrite◦Equivalent expressionsin⁡x2=12−cos⁡2⁢x2This gives:∫12−cos⁡2⁢x2ⅆx▫2. Apply the sum rule◦Recall the definition of the sum rule∫f⁡x+g⁡xⅆx=∫f⁡xⅆx+∫g⁡xⅆxf⁡x=12g⁡x=−cos⁡2⁢x2This gives:∫12ⅆx+∫−cos⁡2⁢x2ⅆx▫3. Apply the constant rule to the term ∫12ⅆx◦Recall the definition of the constant rule∫Cⅆx=C⁢x◦This means∫12ⅆx=x2We can now rewrite the integral as:x2+∫−cos⁡2⁢x2ⅆx▫4. Apply the constant multiple rule to the term ∫−cos⁡2⁢x2ⅆx◦Recall the definition of the constant multiple rule∫C⁢f⁡xⅆx=C⁢∫f⁡xⅆx◦This means:∫−cos⁡2⁢x2ⅆx=−∫cos⁡2⁢xⅆx2We can rewrite the integral as:x2−∫cos⁡2⁢xⅆx2▫5. Apply a change of variables to rewrite the integral in terms of u◦Let u beu=2⁢x◦Isolate equation for xx=u2◦Differentiate both sidesdx=du2◦Substitute the values for x and dx back into the original∫cos⁡2⁢xⅆx=∫cos⁡u2ⅆuThis gives:x2−∫cos⁡u2ⅆu2▫6. Apply the constant multiple rule to the term ∫cos⁡u2ⅆu◦Recall the definition of the constant multiple rule∫C⁢f⁡uⅆu=C⁢∫f⁡uⅆu◦This means:∫cos⁡u2ⅆu=∫cos⁡uⅆu2We can rewrite the integral as:x2−∫cos⁡uⅆu4▫7. Evaluate the integral of cos(u)◦Recall the definition of the cos rule∫cos⁡uⅆu=sin⁡uThis gives:x2−sin⁡u4▫8. Revert change of variable◦Variable we defined in step 5u=2⁢xThis gives:x2−sin⁡2⁢x4

(4.1)
> 

ShowSolution Limit sinxx, x=0  

 

 

 

 

 

 

 

 

> 

Diffx2⋅ sinx, x

ⅆⅆxx2⁢sin⁡x

(4.2)
> 

ShowSolution  

 

 

 

 

 

 

 

 

 

 

Differential Equations

The ODESteps command provides detailed steps when solving ordinary differential equations and systems of ODEs.

> 

with Student:-ODEs :

> 

ode1≔t2⁢z⁡t+1+z⁡t2⁢t−1⁢ⅆⅆtz⁡t=0

ode1≔t2⁢z⁡t+1+z⁡t2⁢t−1⁢ⅆⅆtz⁡t=0

(5.1)
> 

ODESteps ode1 

Let's solvet2⁢z⁡t+1+z⁡t2⁢t−1⁢ⅆⅆtz⁡t=0•Highest derivative means the order of the ODE is 1ⅆⅆtz⁡t•Separate variablesⅆⅆtz⁡t⁢z⁡t2z⁡t+1=−t2t−1•Integrate both sides with respect to t∫ⅆⅆtz⁡t⁢z⁡t2z⁡t+1ⅆt=∫−t2t−1ⅆt+_C1•Evaluate integralz⁡t22−z⁡t+ln⁡z⁡t+1=−t22−t−ln⁡t−1+_C1

(5.2)
> 

ivp2≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−x⁢ⅇx=0,ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=0,y⁡0=1

ivp2≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−x⁢ⅇx=0,ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=0,y⁡0=1

(5.3)
> 

ODEStepsivp2 

Let's solveⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−x⁢ⅇx=0,ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=0,y⁡0=1•Isolate 2nd derivativeⅆ2ⅆx2y⁡x=ⅆⅆxy⁡x+x⁢ⅇx•Group terms with y⁡x on the lhs of the ODE and the rest on the rhs of the ODE, ODE is linearⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x=x⁢ⅇx•Characteristic polynomial of homogeneous ODEr2−r=0•Factor the characteristic polynomialr⁢r−1=0•Roots of the characteristic polynomialr=0,1•1st solution of the homogeneous ODEy1⁡x=1•2nd solution of the homogeneous ODEy2⁡x=ⅇx•General solution of the ODEy⁡x=_C1⁢y1⁡x+_C2⁢y2⁡x+yp⁡x•Substitute in solutions of the homogeneous ODEy⁡x=_C1+_C2⁢ⅇx+yp⁡x▫Find a particular solution yp⁡x of the ODE◦Use variation of paramaters to find yp here f⁡x is the forcing functionyp⁡x=−y1⁡x⁢∫y2⁡x⁢f⁡xW⁡y1⁡x,y2⁡xⅆx+y2⁡x⁢∫y1⁡x⁢f⁡xW⁡y1⁡x,y2⁡xⅆx,f⁡x=x⁢ⅇx◦Wronskian of solutions of the homogeneous equationW⁡y1⁡x,y2⁡x=1ⅇx0ⅇx◦Compute WronskianW⁡y1⁡x,y2⁡x=ⅇx◦Substitute functions into equation for yp⁡xyp⁡x=−∫x⁢ⅇxⅆx+ⅇx⁢∫xⅆx◦Compute integralsyp⁡x=ⅇx⁢x2−2⁢x+22•Substitute particular solution into general solution to ODEy⁡x=_C1+_C2⁢ⅇx+ⅇx⁢x2−2⁢x+22•Use initial condition y⁡0=11=_C1+_C2+1•Compute derivative of the solutionⅆⅆxy⁡x=_C2⁢ⅇx+ⅇx⁢x2−2⁢x+22+ⅇx⁢2⁢x−22•Use the initial condition ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=00=_C2•Solve for _C1 and _C2_C1=0,_C2=0•Solution to the IVPy⁡x=ⅇx⁢x2−2⁢x+22

(5.4)

Matrix Inverse

The InverseTutor command now has an option to return detailed steps for finding the matrix inverse.

> 

withStudent:-LinearAlgebra:

> 

M ≔ 3−37248−2−46:

> 

InverseTutor M, output=steps 

Compute the inverse of this matrix3−37248−2−46•Matrix augmented with identity3−37100248010−2−46001• Multiply row 1 by 1/31−1731300248010−2−46001• Add -2 times row 1 to row 21−173130006103−2310−2−46001• Add 2 times row 1 to row 31−173130006103−23100−63232301• Multiply row 2 by 1/61−17313000159−191600−63232301• Add 1 times row 2 to row 110269291600159−191600−63232301• Add 6 times row 2 to row 310269291600159−191600014011• Multiply row 3 by 1/1410269291600159−191600010114114• Add -26/9 times row 3 to row 110029−5126−13630159−191600010114114• Add -5/9 times row 3 to row 210029−5126−1363010−19863−51260010114114•We have found the inverse29−5126−1363−19863−51260114114

(6.1)

Eigenvalues

The EigenvaluesTutor command now has an option to return detailed steps for finding Eigenvalues.

> 

withStudent:-LinearAlgebra:

> 

M ≔ 120232021:

> 

EigenvaluesTutor M, output=steps 

Compute the Eigenvalues120232021•Calculate A=M-t*Id1−t2023−t2021−t•Find the determinant; this is also called the characteristic polynomial of M.−t3+5⁢t2+t−5•Solve; the eigenvalues are the roots of the characteristic polynomial.51−1

(7.1)

Eigenvectors

The EigenvectorsTutorcommand now has an option to return detailed steps for finding Eigenvectors.

> 

withStudent:-LinearAlgebra:

> 

M ≔ 120232021:

> 

EigenvectorsTutor M, output=steps 

Gauss Jordan Elimination

The GaussJordanEliminationTutor command now has an option to return detailed steps for finding Eigenvalues.

> 

withStudent:-LinearAlgebra:

> 

M ≔ 120323250215:

> 

GaussJordanEliminationTutor M, output=steps 

Gauss-Jordan Reduce120323250215• Add -2 times row 1 to row 212030−12−10215• Multiply row 2 by -1120301−210215• Add -2 times row 2 to row 1104101−210215• Add -2 times row 2 to row 3104101−210053• Multiply row 3 by 1/5104101−2100135• Add -4 times row 3 to row 1100−7501−2100135• Add 2 times row 3 to row 2100−7501011500135

(9.1)

Share your solution

There's a connection to the new product Maple Learn as well.  These commands can output a link to a Maple Learn document containing the solution steps.  Maple Learn is a dynamic online environment for teaching and learning math, focused on high-school to second year university.  For more about Maple Learn, visit https://www.maplesoft.com/products/learn/

> 

with Student:-Calculus1 :

> 

cv ≔ ShowSolution Int sinx2, x, output=canvas:

> 

DocumentTools:-Canvas:-ShareCanvas cv 

https://learn.maplesoft.com/#/?d=COOROFHKHLBHPMHSIOFJCGHPPSARFJMSNQPFCRKKPSNQILITKLDMKNESLUCFNRDKFTELLNIKLMDREJDFFJKJDGMSJUOMPKHKIRJR

> 

withStudent:-LinearAlgebra:

> 

M ≔ 120232021:

> 

EigenvectorsTutor M, output=link

https://learn.maplesoft.com/#/?d=HTNRCGNJBSDQKOCNLFFPKFAGANHOHILKPSIOLTPPGPHSBROQBGNPLFDJFFPJEMCMMGKLOHHJGODRNIKUESCIOMIIJTEFOHNUFFNG

 

Where did I go wrong?

In Maple 2021, students can now solve an equation by entering the step-by-step solution to the problem themselves, and then asking Maple for feedback.  The responsive feedback lets the student know whether or not the solution is correct, and if not, where they went wrong. The SolvePractice command generates an interactive application where a student can type in the steps to solve a given problem. Then, the student clicks the button, and the application analyzes their steps and provides feedback.  

> 

with⁡Grading:

> 

SolvePractice⁡3⋅x3+20⋅x2 = x⋅−3⋅x2−9⋅x−13,x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

These practice-with-feedback sheets can be deployed to the web via Maple Learn:

> 

SolvePractice3⋅x3+20⋅x2 = x⋅−3⋅x2−9⋅x−13,x, output=link

https://learn.maplesoft.com/#/?d=BHPKHJMJLGDJJHFTPQKRMLDKAULUCTBPPRHFDOEIANLUCIBOGRATCOHNAQKGMGLULONLAPLKENFUBUFIBMGGHUIJDNJSGFDJBSFK