# 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

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]
```

1

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

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2012-03-09 12:36:53 +0100 **

Seen: **974 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.