# 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: **445 times**

Last updated: **Mar 09 '12**

How to make solve to use certain variables on the right side

Trigonometric Equation Solving: Not Terminating

Solve system of equations with additional conditions in sage

solve equation with double sum

Why can Sage solve one log equation, but not another with only different values?

Not understandable error when solving polynomial equation

Can someone help in finding code for solve function

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.