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


Trigonometric identities

See Also

Complete the square






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.





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.




# 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);





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.






angle reduction identity



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



add sin(a) to both sides



divide both sides by sin(a)



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



divide both sides by 4



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




See Also

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