Solving Equations
This worksheet contains various commented examples that demonstrate the Maple powerful equation solver, solve.
An Introduction to the solve Command
The first example, which is the canonical example for this algorithm, is the following:
The difficulty here lies on and x, and also on and y, for which an unknown a and b cannot be related together in a polynomial form.
The same equation, even when and are replaced by arbitrary functions, can still be solved in terms of the inverses of these arbitrary functions.
Solving gives
Carefully Solving Equations
These problems require the correct treatment of trigonometrics and exponentials, because the determinant is zero and no solutions exist.
Equations and Inequalities Involving Exponentials, Logarithms, and Powers
The following examples involve exponentials or logarithms (where the answer can be expressed as rational expressions), and the use of the LambertW function. For example,;
The following problem stems from an exponential data fit.
Here are some examples of exponentials mixed in inequalities.
You can also solve equations involving powers.
abs, signum, and csgn
Some of these examples may cause ranges to be returned.
The following example is verified for six different intervals in x.
Linear Programming and Simplex Problems
Other Modes of Solving
Special Functions
Trigonometric Functions
This particular problem describes the positioning of a simple two-part robot arm. The answer is a little concentrated and has a degree-2 algebraic function.
This problem was posed by H. Melenk.
Inverse Trigonometric Functions
The following examples involve inverse trigonometrics, and some were originally proposed by H. Melenk.
Equations Requiring Branch Selection
The following examples require branch selection and generally involve ln, radicals, LambertW, inverse trig, and so on.
Equations Requiring Expansion of Linear Operators
The rational solution is found. (Other solutions cannot be expressed in closed form.)
Mixtures of Exponentials, Trigonometrics, and Radicals
The following examples involve solving equations with mixtures of exponential, trigonometrics, radicals, and so on.
For more information, see the solve help page. See also the help pages on LambertW and on ln.
Return to Index for Example Worksheets
Download Help Document