# Solve log equations problem

Input

```
var('x')
solve((log((x**2 - x), 6) - log((6*x - 10), 6) == 0), x)
```

Output

```
[log(x^2 - x) == log(6*x - 10)]
```

But real roots are 5 and 2. What I doing wrong?

Solve log equations problem

Input

```
var('x')
solve((log((x**2 - x), 6) - log((6*x - 10), 6) == 0), x)
```

Output

```
[log(x^2 - x) == log(6*x - 10)]
```

But real roots are 5 and 2. What I doing wrong?

add a comment

1

solve((log((x**2 - x), 6) - log((6*x - 10), 6) == 0), x,to_poly_solve=True)

1

I have no problems with 5:

```
sage: solve((log((x**2 - x), 6) - log((6*x - 10), 6) == 0), x,to_poly_solve=True)
[x == 2, x == 5]
```

Asked: **
2012-03-09 05:36:53 -0600
**

Seen: **451 times**

Last updated: **Mar 09 '12**

why can't sage solve the equation x^n == 2*x ?

solve an equation in terms of an expression?

Not understandable error when solving polynomial equation

strange behaviour when solving equations symbolically

Sage says equation isn't true while Mathematica says it is

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.