solve/identity - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Factorization and Solving Equations : solve : solve/identity

solve/identity

solve expressions involving identities

 Calling Sequence solve(identity(eqn, x), vars)

Parameters

 eqn - equation, or expression (equated to 0) x - identity variable vars - variables to be determined (as for solve)

Description

 • The expression (or equation) eqn is considered an identity in terms of the variable x, and solve attempts to find a solution in terms of vars which satisfies the equation eqn for any value of x.
 • This is a one-dimensional case of a generalized pattern matching.
 • x should not be one of the vars.

Examples

 > $\mathrm{solve}\left(\mathrm{identity}\left(\mathrm{sin}\left(x\right)=\mathrm{cos}\left(ax+b\right),x\right),\left[a,b\right]\right)$
 $\left[\left[{a}{=}{-}{1}{,}{b}{=}\frac{{1}}{{2}}{}{\mathrm{π}}\right]{,}\left[{a}{=}{1}{,}{b}{=}{-}\frac{{1}}{{2}}{}{\mathrm{π}}\right]\right]$ (1)
 > $\mathrm{solve}\left(\mathrm{identity}\left(\frac{3}{{x}^{2}+4x+4}=A{\left(x+B\right)}^{P},x\right),\left[A,B,P\right]\right)$
 $\left[\left[{A}{=}{3}{,}{B}{=}{2}{,}{P}{=}{-}{2}\right]\right]$ (2)
 > $\mathrm{solve}\left(\mathrm{identity}\left(\frac{y}{x}=a{\left(x+c\right)}^{b},x\right),\left[a,b,c\right]\right)$
 $\left[\left[{a}{=}{y}{,}{b}{=}{-}{1}{,}{c}{=}{0}\right]\right]$ (3)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam