Smart Popups and Drag to Solve - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 17 : Smart Popups and Drag to Solve

Smart Pop-ups and Drag-to-Solve

 

The Smart Pop-ups facility is a convenient Clickable Math mechanism for suggesting common operations, algebraic manipulations, and graphs of 2D Math expressions. The menu items are particularly suitable for students, and can be used to demonstrate mathematical identities without having to manually type in commands.

 

These menus are available by selecting either an entire expression or just a portion of an expression with the mouse pointer. The pop-up menu is generated and displayed automatically, and disappear when you click anywhere off of the pop-up menu.

 

The Smart Pop-ups menus have been augmented in Maple 17 with new choices such as completion of the square and simplification based on expression size. The suggestions offered in the pop-up menu are now computed with time limits to avoid lengthy delays.

 

Various other aspects of the mechanism which generates and labels the suggestions have been fine-tuned. A displayed suggested result of applying the simplify command will now visually match the result of applying the current binding of simplify. For example, if the RealDomain package has been loaded then a suggested result due to applying simplify will now match the result that RealDomain:-simplify would produce.

 

 

Complete the square

Simplify,size

Trigonometric identities

See Also

Complete the square

 

expandA+B+C2

A2+2AB+2AC+B2+2BC+C2

(1.1)

 

Selecting the output expression above produces the Smart Pop-up menu after a brief pause. Completing the square on the given example may be done in terms of one or several of the variables. If the mouse pointer hovers over the appropriate item then the relevant submenu appears. For individual action items (choices within that submenu) a tooltip will further describe the suggested operation.

 

Below is a screenshot of the Smart Pop-up menu produced for the previous output.

 

 

Simplify,size

 

For some expressions the concept of simplification may depend on context or preference. Simplification in a mathematical sense may not naturally be the same as simplification according to expression length. The menu suggestions will offer the results from the simplify command both with and without its size option.

 

Note that duplicate results should be removed. If multiple mechanisms would normally compute the same result then the menu suggestions attempt to show the action which would usually be more efficient. For example, a suggestion to apply the normal command would take precedence over a suggestion to apply the simplify command.

 

For the following example, the result of applying simplify differs from that of applying simplify,size.

 

In a Standard Maple Document, selecting a suggested item from the Smart Pop-up menu inserts an arrow followed by the new result. In a Standard Maple Worksheet, the command which produces the result, and the result itself, will be both inserted into a new Execution Group following the current cursor position.

1ⅇ1x24214x324+1ⅇ1x24234xπerf12x28+1ⅇ1x24234x52πerf12x28

14ⅇ14x221/4x3/2+18ⅇ14x223/4xπerf122x+18ⅇ14x223/4x5/2πerf122x

(2.1)

# simplify, size 1/4*exp(-1/4*x^2)*2^(1/4)*x^(3/2)+1/8*exp(1/4*x^2)*2^(3/4)*sqrt(x)*sqrt(Pi)*erf(1/2*sqrt(2)*x)+1/8*exp(1/4*x^2)*2^(3/4)*x^(5/2)*sqrt(Pi)*erf(1/2*sqrt(2)*x) SubexpressionMenu:-simplify(1/4*exp(-1/4*x^2)*2^(1/4)*x^(3/2)+1/8*exp(1/4*x^2)*2^(3/4)*sqrt(x)*sqrt(Pi)*erf(1/2*sqrt(2)*x)+1/8*exp(1/4*x^2)*2^(3/4)*x^(5/2)*sqrt(Pi)*erf(1/2*sqrt(2)*x),size);

1821/4x2πerf122x1+x2ⅇ14x2+2ⅇ14x2x

(2.2)

 

 

Trigonometric identities

 

The Smart Pop-up menus provide an easy way for students to prove trigonometric identities in a self-documenting step-by-step manner.

 

The following operations are all achieved by suggestions in the Smart Pop-up menus. This example was executed in a Standard Maple Document, using default 2-D Math input and the self-documenting feature of context-sensitive menu actions.

 

 

sin3a=3sina4sina3

sin3a=3sina4sina3

(3.1)

angle reduction identity

2cosasin2asina=3sina4sina3

(3.2)

double angle identity: sin(2*a)=2*sin(a)*cos(a)

4cosa2sinasina=3sina4sina3

(3.3)

add sin(a) to both sides

4cosa2sina=4sina4sina3

(3.4)

divide both sides by sin(a)

4cosa2=4sina4sina3sina

(3.5)

normal 1/sin(a)*(4*sin(a)-4*sin(a)^3)

4cosa2=44sina2

(3.6)

divide both sides by 4

cosa2=1sina2

(3.7)

Pythagoras identity: cos(a)^2=1-sin(a)^2

1sina2=1sina2

(3.8)

 

See Also

Clickable Math: Smart Pop-ups and Drag-to-Solve