Solving Equations
This worksheet contains various commented examples that demonstrate the Maple powerful equation solver, solve.
restart
An Introduction to the solve Command
The first example, which is the canonical example for this algorithm, is the following:
eqns:=xa⁢yb−U,1+μ⁢xa⁢a⁢ybx,1+μ⁢xa⁢yb⁢by
eqns≔1+μ⁢xa⁢a⁢ybx,1+μ⁢xa⁢yb⁢by,xa⁢yb−U
The difficulty here lies on xa and x, and also on yb and y, for which an unknown a and b cannot be related together in a polynomial form.
solve⁡eqns,x,y,μ
x=ⅇ−ln⁡ba⁢b−ln⁡Ub+a,y=ⅇln⁡ba⁢a+ln⁡Ub+a,μ=−ⅇln⁡ba⁢a+ln⁡Ub+aU⁢b
The same equation, even when xa and yb are replaced by arbitrary functions, can still be solved in terms of the inverses of these arbitrary functions.
eqns:=A⁡x⁢B⁡y−U,1+μ⁢A⁡x⁢a⁢B⁡yx,1+μ⁢A⁡x⁢B⁡y⁢by
eqns≔1+μ⁢A⁡x⁢a⁢B⁡yx,1+μ⁢A⁡x⁢B⁡y⁢by,A⁡x⁢B⁡y−U
Solving gives