Message Boards Message Boards

0
|
8033 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How can I solve this simple equation?

Posted 9 years ago

After simplification, I have equation express like below,

Solve[Log[Sqrt[(1 + x + b*x^2)]] == (1 + x + a*x^2), x]

There a and b is known variable and I want to solve x as a function of a and b.

The mathematic always shown the error: "This system cannot be solved with the methods available to Solve." How can I solve it? Thank you a lot!

POSTED BY: Jie Li
2 Replies

There is obviously no closed-form solution. Need to solve numerically after assigning values to a and b, for example

In[10]:= a = 2; b = 3; FindRoot[
 Log[Sqrt[(1 + x + b*x^2)]] == (1 + x + a*x^2), {x, 1}]

During evaluation of In[10]:= FindRoot::lstol: The line search decreased the step size to within tolerance specified by AccuracyGoal and PrecisionGoal but was unable to find a sufficient decrease in the merit function. You may need more than MachinePrecision digits of working precision to meet these tolerances. >>

Out[10]= {x -> -0.422306}
POSTED BY: S M Blinder

I would not describe "This system cannot be solved with the methods available to Solve." as an error message.

POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract