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

Online Help

All Products    Maple    MapleSim


Student[Calculus1]

  

Hint

  

ask for a hint for a Calculus1 problem

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Hint(expr, opn)

Parameters

expr

-

algebraic or algebraic equation; specify the problem

opn

-

(optional) name; specify problem type: one of Diff, Int, and Limit

Description

• 

The Hint(expr) command returns a hint for the problem matching expr.  If no problem in the Calculus1 table of problems for the current session matches expr, a new problem is created for this expression.  The parameter expr must be a(n):

1. 

New problem (typically an expression of the form Diff(...), Int(...), or Limit(...))

2. 

Output from a previous invocation of Rule

3. 

Output from a call to GetProblem

4. 

Subproblem label, as displayed by a call to ShowIncomplete (Note: Treat subproblem labels as temporary objects because the application of a rule to a problem can change the underlying problem representation, and hence the subproblem labels.  It is recommended that you call ShowIncomplete to verify the value of a label before passing it to Hint.)

• 

This command can be applied interactively by using the DiffTutor, IntTutor, or LimitTutor.

• 

Use the Hint(expr, opn) command if expr does not match a problem in the Calculus1 table of problems for the current session and expr includes more than one Calculus1 operation, for example, ⅆⅆxx+fx+xⅆx.  The opn parameter specifies the operation type. If expr matches a problem in the Calculus1 table of problems for the current session, the opn parameter is ignored (that is, you cannot change the operation type of an existing problem).

• 

The output from a call to Hint is a list containing a rule, or an expression sequence of rules, if more than one rule can be applied to the problem.  If Hint is unable to find a rule to suggest, it returns the empty list, .

• 

The output from Hint can be used directly as the index (specifying the rule to apply) to Rule.  That is, if expr is valid input to Hint, the construct Rule[Hint(expr)](expr) is also valid.  In the case that Hint returns multiple suggestions, this construct applies the first hint to Rule. You can, of course, request that the second, for example, suggestion be applied by using a construct such as Hint(expr); Rule[%[2]](expr);.

• 

It is recommended that you use the Maple userinfo system, by setting infolevel[Student] := 1 or infolevel[Student[Calculus1]] := 1. This displays informative messages in the form of userinfo output from Calculus1 routines as you solve complicated problems.

Examples

withStudentCalculus1:

infolevelStudentCalculus11:

Diffx2+x,x

ⅆⅆxx2+x

(1)

Hint

Creating problem #1

sum

(2)

Rule

ⅆⅆxx2+x=ⅆⅆxx2+ⅆxⅆx

(3)

Intxsinx,x

xsinxⅆx

(4)

Hint

Creating problem #2

parts,x,cosx,1,sinx,x

(5)

Rule

xsinxⅆx=xcosxcosxⅆx

(6)

If the first reference to a problem is as the expr argument to Hint, you must use GetProblem to retrieve the problem to pass to Rule.

HintLimitxlnx,x=0,right

Creating problem #3

lhopital,lnx,lhopital,x

(7)

RuleGetProbleminternal

limx0+xlnx=limx0+x

(8)

Inttt+1sqrtt2+t+1,t

tt+1t2+t+1ⅆt

(9)

Hint

Creating problem #4

Hints:

1. Complete the square and make a change of variable.

2. Convert the rational part of the integrand to partial fractions and split integrand into a sum of simpler expressions.

change,u=t+12,u,rewrite,tt+1t2+t+1=1t2+t+11t+1t2+t+1

(10)

Rule2

tt+1t2+t+1ⅆt=1t2+t+11t+1t2+t+1ⅆt

(11)

If the operation type is ambiguous, Maple returns an error

HintIntx+Diffx2,x,x

Error, (in Student:-Calculus1:-Hint) unable to determine which calculus operation is being applied in this problem; you can provide this information as the 2nd argument on your call to Rule or Hint

HintIntx+Diffx2,x,x,Diff

Creating problem #5

power

(12)

See Also

Diff

DiffTutor

Int

IntTutor

Limit

LimitTutor

Student

Student[Calculus1]

Student[Calculus1][SingleStepOverview]