Group Abstract Group Abstract

Message Boards Message Boards

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

Why the following expression of a logarithm of a product is not True?

Why isn't the first expression True ... ?

In[1]:= Log[a b] == Log[a] + Log[b]

Out[1]= Log[a b] == Log[a] + Log[b]

In[2]:= a = 10; b = 100;

In[3]:= Log[a b] == Log[a] + Log[b]

Out[3]= True

What am I missing? Is this a Type problem? Is there a Type for which the identity is not True?

POSTED BY: Mark Tuttle
2 Replies
POSTED BY: Mark Tuttle

Only true for positive a,b. If a<0 and b<0 then a b > 0 and the left side evaluates.

Reduce[Log[a b] == Log[a] + Log[b], {a, b}, Reals]

shows the condition

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