Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.6K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

[?] Solve an equation and restrict solution to real numbers?

Posted 6 years ago

When performing Solve[30000 == 25000 E^(k 10),k] I am getting a complex number as an answer. However when I enter Log[30000/25000]/10 I get the expected answer, which does not include a complex number and can not understand why - see attached?

Could someone please give me some clarification as to why the difference in results.

Attachments:
POSTED BY: Mitchell Sandlin
Posted 6 years ago

Hi Mitchell,

Unless specified otherwise, Solve does not restrict the domain of the solution. There are infinitely many solutions in the complex domain for any integer value of C[1].

k -> ConditionalExpression[1/10 (2 I ? C[1] + Log[6/5]), C[1] ? Integers]

If you want to restrict the solution to Reals

Solve[30000 == 25000  E^(k  10), k, Reals]
(* {{k -> 0.0182322}} *)
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard