MATLAB: Empty sym: 0-by-1 Log

0-by-1loglog 10

Hello
My syntax:
clear clc
clc
syms x y
expr = log10(x*y)-log10(x)+log10(y);
solve(expr)
has the result: Empty sym: 0-by-1
The sult should be 2*log10(y)
How do I need to change my syntax?
Thank you

Best Answer

Your equation is
Your equation does not have a unique solution for each 'x'.