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

Last updated: **Mar 09 '12**

AttributeError: 'dict' object has no attribute 'solve'

How to get all (numerical) solutions of an equation?

problem: sage is not able to find solution to an equation.

determine consistency of nonlinear system of equations

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

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

Unexpected Answer for an Equation

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.