function - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


solve/functions

for a variable which is used as a function name

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

solve(eqn, fcnname)

Parameters

eqn

-

single equation (as for solve)

fcnname

-

single variable (as for solve)

Description

• 

When the unknown is a name which is only used as a function in the equation, the solver constructs a function or procedure which solves the equation.

Examples

> 

solve⁡f⁡x−x+2,f

x↦x−2

(1)

This is more or less equivalent to:

> 

solve⁡f⁡x−x+2,f⁡x

x−2

(2)
> 

unapply⁡,x

x↦x−2

(3)

This in turn is more or less equivalent to:

> 

solve⁡y−x+2,y

x−2

(4)
> 

unapply⁡,x

x↦x−2

(5)

More complicated inputs will generally return answers involving RootOfs

> 

solve⁡f⁡x4−f⁡x3+x+1,f

x↦RootOf⁡_Z4−_Z3+x+1

(6)

See Also

operators[functional]

unapply