Other Equations
In addition to being able to solve purely algebraic equations, Mathematica
can also solve some equations involving other functions. Solve
can be used in solving radical equations, equations involving
trigonometric or hyperbolic functions and their inverses, as well as
equations involving exponentials and logarithms. As a reminder, its syntax
is NSolve[eqns, vars],
where eqns is your equation or set of equations and vars is the variable(s)
in the equation(s).
Algebraic Solutions
Radical Equations
![[Graphics:../Images/index_gr_25.gif]](../Images/index_gr_25.gif)
![[Graphics:../Images/index_gr_26.gif]](../Images/index_gr_26.gif)
Note that in radical equations, Solve discards parasite
solutions. To see all candidate solutions, including parasites, set
VerifySolutions to False.
![[Graphics:../Images/index_gr_27.gif]](../Images/index_gr_27.gif)
![[Graphics:../Images/index_gr_28.gif]](../Images/index_gr_28.gif)
Equations Involving Trigonometric or Hyperbolic Functions and Their Inverses
![[Graphics:../Images/index_gr_29.gif]](../Images/index_gr_29.gif)
![[Graphics:../Images/index_gr_30.gif]](../Images/index_gr_30.gif)
Equations Involving Exponentials and Logarithms
![[Graphics:../Images/index_gr_31.gif]](../Images/index_gr_31.gif)
![[Graphics:../Images/index_gr_32.gif]](../Images/index_gr_32.gif)
More information on Solve
is available.
Numeric Solutions
If your equations involve only linear functions or polynomials, then you
can use NSolve to get numerical approximations to all the
solutions. However, when your equations involve more complicated
functions, there is, in general, no systematic procedure for finding all
solutions, even numerically. In such cases, you can use FindRoot
to search for solutions. The basic syntax for FindRoot is
FindRoot[eqn, {x, }] where eqn is the equation you
are solving and is the value around which FindRoot starts
its search.
FindRoot[3Cos[x] == Log[x], {x, 1}]
![[Graphics:../Images/index_gr_35.gif]](../Images/index_gr_35.gif)
More information on FindRoot
is available.
| |