# Revision history [back]

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))

False True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?numbers? And why is my code all on one line?

var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))b')

False print(bool(log(a)+log(b)==log(a*b)))

print(bool(log(5)+log(10)==log(5*10)))

False

True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers? And why is my code all on one line?numbers?

var('a b')b')

print(bool(log(a)+log(b)==log(a*b)))

print(bool(log(5)+log(10)==log(5*10)))print(bool(log(5)+log(10)==log(5*10)))

False

True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a b') print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(5
10)))

print(bool(log(a)+log(b)==log(a*b)))

False

print(bool(log(5)+log(10)==log(5*10)))

False

True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a b') print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(5
10)))

False True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a b')

print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))

print(bool(log(a)+log(b)==log(a*b)))

print(bool(log(5)+log(10)==log(5*10)))

False

True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a """var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))

print(bool(log(a)+log(b)==log(a*b)))

print(bool(log(5)+log(10)==log(5*10)))

False

TrueFalse True"""

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

"""var('a var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))

False True"""print(bool(log(a)+log(b)==log(a*b)))

print(bool(log(5)+log(10)==log(5*10)))

False

True

### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))  print(bool(log(a)+log(b)==log(a*b)))  print(bool(log(5)+log(10)==log(5*10)))  False TrueFalse
True


### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?

var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))

False
True


### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers?numbers? var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))

var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))

False
True


### Law of logs false for symbols but true for numbers

Why do I get False for the additive law of logs for symbols, but True for numbers? var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510))) numbers?

var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))

False
True