# 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 -0500
**

Seen: **371 times**

Last updated: **Mar 09 '12**

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.