solve/identity
solve expressions involving identities
Calling Sequence
Parameters
Description
Examples
solve(identity(eqn, x), vars)
eqn
-
equation, or expression (equated to 0)
x
identity variable
vars
variables to be determined (as for solve)
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.
solve⁡identity⁡sin⁡x=cos⁡a⁢x+b,x,a,b
a=−1,b=π2,a=1,b=−π2
solve⁡identity⁡3x2+4⁢x+4=A⁢x+BP,x,A,B,P
A=3,B=2,P=−2
solve⁡identity⁡yx=a⁢x+cb,x,a,b,c
a=y,b=−1,c=0
See Also
match
solve
Download Help Document