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

Online Help

Student[Calculus1]

  

ShowSolution

  

show all the steps in the solution of a specified problem

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ShowSolution(p, opts)

Parameters

p

-

(optional) posint or a calculus1 problem; the problem to solve

opts

-

(optional) options of the form keyword=value, where keyword is one of maxsteps, searchoptimal, showrules, output, displaystyle.

Description

• 

The ShowSolution command is used to show the solution steps for a Calculus1 problem, that is, a limit, differentiation or integration problem such as can be expected to be encountered in a single-variable calculus course.

• 

For solution steps to an implicit differentiation problem, see ImplicitDiffSolution.

• 

If p is omitted, the current (most recently referenced) problem is solved.  Otherwise, the problem referenced by p is solved.  A problem can be referenced either by its problem number (see GetProblem and ShowIncomplete) or by the problem itself, for example via a label.

• 

These options can be used to control how the problem is solved:

– 

maxsteps = posint (default: 25)

This puts a limit on the number of rules which can be applied to solve a problem.

– 

simplify = truefalse (default: deduce)

By setting simplify=true, the simplify command is applied to the function inside the integral, limit, or derivative before proceeding to the given calculus operation.  The default behavior is conservative; it uses the simplified expression only when it is much simpler (in terms of size).  Setting simplify=false avoids simplification, which is useful when a specific rule is intended to be applied, and cannot be used on the simplified version of the same input.

– 

searchoptimal = truefalse (default: true)

The default behavior is to try to determine the shortest solution sequence. If this option is given as searchoptimal = false, the first solution discovered is displayed.

• 

These options can be used to control how the problem is displayed:

– 

showrules = truefalse (default: true)

Normally, the rule applied at each step of the solution is displayed; if this option is given as showrules=false, the rules are not shown, and the displaystyle is brief.

– 

output = canvas,script,record,list,print,printf,typeset,link (default: typeset)

The output options are described in Student:-Basics:-OutputStepsRecord

– 

displaystyle= columns,compact,linear,brief (default: linear)

The displaystyle options are described in Student:-Basics:-OutputStepsRecord.  Setting displaystyle = brief shows the steps in a compact form with one or two words at each step to describe the rule being applied.

• 

If you set infolevel[Student] := 1 or infolevel[Student[Calculus1]] := 1 (see infolevel), Maple may display some additional, useful information about the state of the problem and its solution.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

Compatibility

• 

The output and displaystyle options were introduced in Maple 2021.

• 

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

• 

The Student:-Calculus1:-ShowSolution command was updated in Maple 2023.

• 

The simplify option was introduced in Maple 2023.

• 

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

See Also

Calculus1

GetProblem

ImplicitDiffSolution

infolevel

label

ShowIncomplete

ShowSteps

 


Download Help Document