Has Mathematica 12 gotten worse at solving simple equations?Why doesn't Mathematica solve $x=cos,x$ properly?How do I solve this equation?Failure message from ReduceDeriving least-squares equations in MathematicaHow do I solve for the roots of $sin(x) - x^2=0$?Exclusions found but Solve and Reduce don't find exclusionsReduce doesn't solve this equations with conditionGetting Solve::nsmet error messageHow to solve a system with GCD?How to solve this system with logarithms?
Why one uses 了 and the other one doesn’t?
How "fast" do astronomical events occur?
Why is Havana covered in 5-digit numbers in Our Man in Havana?
How can I prevent a user from copying files on another hard drive?
In Street Fighter, what does the M stand for in M Bison?
Am I legally required to provide a (GPL licensed) source code even after a project is abandoned?
How to write a nice frame challenge?
Why there is a red color in right side?
Are intrusions within a foreign embassy considered an act of war?
How to modify a string without altering its text properties
How is the idea of "girlfriend material" naturally expressed in Russian?
Is declining an undergraduate award which causes me discomfort appropriate?
Boundaries and Buddhism
Justifying Affordable Bespoke Spaceships
What is that ceiling compartment of a Boeing 737?
Implementation of the Jacobi Symbol in C
Umlaut character order when sorting
How can a warlock learn from a spellbook?
Definition of 'vrit'
How do I find which software is doing an SSH connection?
Print the new site header
The Amazing Sliding Crossword
I calculated that we should be able to see the sun well beyond the observable universe. Where did I go wrong?
How do you transpose samples in cents?
Has Mathematica 12 gotten worse at solving simple equations?
Why doesn't Mathematica solve $x=cos,x$ properly?How do I solve this equation?Failure message from ReduceDeriving least-squares equations in MathematicaHow do I solve for the roots of $sin(x) - x^2=0$?Exclusions found but Solve and Reduce don't find exclusionsReduce doesn't solve this equations with conditionGetting Solve::nsmet error messageHow to solve a system with GCD?How to solve this system with logarithms?
$begingroup$
Mathematica used to be easily able to solve an equation like this:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p]
(I can easily do it myself, at least I can find the solution p = log(k)^2/k
.)
Now in Mathematica 12, all I get is Reduce::nsmet: This system cannot be solved with the methods available to Reduce.
I thought it might be an issue with assumptions, so I tried assuming both k
and p
were sufficiently large, but it didn't help.
Is there a way to get Mathematica 12 to produce useful output on the problem above?
equation-solving
$endgroup$
add a comment |
$begingroup$
Mathematica used to be easily able to solve an equation like this:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p]
(I can easily do it myself, at least I can find the solution p = log(k)^2/k
.)
Now in Mathematica 12, all I get is Reduce::nsmet: This system cannot be solved with the methods available to Reduce.
I thought it might be an issue with assumptions, so I tried assuming both k
and p
were sufficiently large, but it didn't help.
Is there a way to get Mathematica 12 to produce useful output on the problem above?
equation-solving
$endgroup$
1
$begingroup$
Works fine withSolve
instead ofReduce
. A simpler version of this problem isReduce[Sqrt[a x] == b, x]
, which shows how hard this problem is in all generality.
$endgroup$
– Roman
Jun 10 at 13:01
$begingroup$
Fwiw I don't think this is particular to V12. I tried on 11.3 and it gave up there too.
$endgroup$
– 1110101001
Jun 11 at 3:03
$begingroup$
I still keep my version 9.0.1 although I also have the newest version, but in a way 9.0.1 is the last really stable version.
$endgroup$
– Yukterez
Jun 11 at 3:54
1
$begingroup$
Please do not use the bugs tag when posting new questions. See the tag description for why.
$endgroup$
– Szabolcs
Jun 11 at 6:40
$begingroup$
@Roman my version of Mathematica is able to solveSqrt[a x] == b
usingReduce
, though it does complain about the solution containing the "unsolved equation" 0 == b - Sqrt[b^2] as an assumption.
$endgroup$
– Thomas Ahle
13 hours ago
add a comment |
$begingroup$
Mathematica used to be easily able to solve an equation like this:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p]
(I can easily do it myself, at least I can find the solution p = log(k)^2/k
.)
Now in Mathematica 12, all I get is Reduce::nsmet: This system cannot be solved with the methods available to Reduce.
I thought it might be an issue with assumptions, so I tried assuming both k
and p
were sufficiently large, but it didn't help.
Is there a way to get Mathematica 12 to produce useful output on the problem above?
equation-solving
$endgroup$
Mathematica used to be easily able to solve an equation like this:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p]
(I can easily do it myself, at least I can find the solution p = log(k)^2/k
.)
Now in Mathematica 12, all I get is Reduce::nsmet: This system cannot be solved with the methods available to Reduce.
I thought it might be an issue with assumptions, so I tried assuming both k
and p
were sufficiently large, but it didn't help.
Is there a way to get Mathematica 12 to produce useful output on the problem above?
equation-solving
equation-solving
edited Jun 11 at 13:05
user64494
3,96821323
3,96821323
asked Jun 10 at 12:57
Thomas AhleThomas Ahle
18817
18817
1
$begingroup$
Works fine withSolve
instead ofReduce
. A simpler version of this problem isReduce[Sqrt[a x] == b, x]
, which shows how hard this problem is in all generality.
$endgroup$
– Roman
Jun 10 at 13:01
$begingroup$
Fwiw I don't think this is particular to V12. I tried on 11.3 and it gave up there too.
$endgroup$
– 1110101001
Jun 11 at 3:03
$begingroup$
I still keep my version 9.0.1 although I also have the newest version, but in a way 9.0.1 is the last really stable version.
$endgroup$
– Yukterez
Jun 11 at 3:54
1
$begingroup$
Please do not use the bugs tag when posting new questions. See the tag description for why.
$endgroup$
– Szabolcs
Jun 11 at 6:40
$begingroup$
@Roman my version of Mathematica is able to solveSqrt[a x] == b
usingReduce
, though it does complain about the solution containing the "unsolved equation" 0 == b - Sqrt[b^2] as an assumption.
$endgroup$
– Thomas Ahle
13 hours ago
add a comment |
1
$begingroup$
Works fine withSolve
instead ofReduce
. A simpler version of this problem isReduce[Sqrt[a x] == b, x]
, which shows how hard this problem is in all generality.
$endgroup$
– Roman
Jun 10 at 13:01
$begingroup$
Fwiw I don't think this is particular to V12. I tried on 11.3 and it gave up there too.
$endgroup$
– 1110101001
Jun 11 at 3:03
$begingroup$
I still keep my version 9.0.1 although I also have the newest version, but in a way 9.0.1 is the last really stable version.
$endgroup$
– Yukterez
Jun 11 at 3:54
1
$begingroup$
Please do not use the bugs tag when posting new questions. See the tag description for why.
$endgroup$
– Szabolcs
Jun 11 at 6:40
$begingroup$
@Roman my version of Mathematica is able to solveSqrt[a x] == b
usingReduce
, though it does complain about the solution containing the "unsolved equation" 0 == b - Sqrt[b^2] as an assumption.
$endgroup$
– Thomas Ahle
13 hours ago
1
1
$begingroup$
Works fine with
Solve
instead of Reduce
. A simpler version of this problem is Reduce[Sqrt[a x] == b, x]
, which shows how hard this problem is in all generality.$endgroup$
– Roman
Jun 10 at 13:01
$begingroup$
Works fine with
Solve
instead of Reduce
. A simpler version of this problem is Reduce[Sqrt[a x] == b, x]
, which shows how hard this problem is in all generality.$endgroup$
– Roman
Jun 10 at 13:01
$begingroup$
Fwiw I don't think this is particular to V12. I tried on 11.3 and it gave up there too.
$endgroup$
– 1110101001
Jun 11 at 3:03
$begingroup$
Fwiw I don't think this is particular to V12. I tried on 11.3 and it gave up there too.
$endgroup$
– 1110101001
Jun 11 at 3:03
$begingroup$
I still keep my version 9.0.1 although I also have the newest version, but in a way 9.0.1 is the last really stable version.
$endgroup$
– Yukterez
Jun 11 at 3:54
$begingroup$
I still keep my version 9.0.1 although I also have the newest version, but in a way 9.0.1 is the last really stable version.
$endgroup$
– Yukterez
Jun 11 at 3:54
1
1
$begingroup$
Please do not use the bugs tag when posting new questions. See the tag description for why.
$endgroup$
– Szabolcs
Jun 11 at 6:40
$begingroup$
Please do not use the bugs tag when posting new questions. See the tag description for why.
$endgroup$
– Szabolcs
Jun 11 at 6:40
$begingroup$
@Roman my version of Mathematica is able to solve
Sqrt[a x] == b
using Reduce
, though it does complain about the solution containing the "unsolved equation" 0 == b - Sqrt[b^2] as an assumption.$endgroup$
– Thomas Ahle
13 hours ago
$begingroup$
@Roman my version of Mathematica is able to solve
Sqrt[a x] == b
using Reduce
, though it does complain about the solution containing the "unsolved equation" 0 == b - Sqrt[b^2] as an assumption.$endgroup$
– Thomas Ahle
13 hours ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Working only in the real numbers could be a solution:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
(* k > 1 && p == Log[k]^2/k *)
I think the branch cuts of the square root make this problem difficult to solve in all complex generality ($kinmathbbC$). Maybe previous versions of Mathematica were a bit less careful with these branch cuts? From what I hear there has been a lot of work done in Mathematica recently on how to deal with branch cuts.
The given solution $p=fracln^2kk$ is actually valid for any $lvert krvert>1$, not just for the positive real $k>1$:
ComplexPlot3D[Log[Sqrt[k p]/Log[k]] /. p -> Log[k]^2/k,
k, -2 - 2 I, 2 + 2 I, PlotRange -> All, Exclusions -> None]
I guess it would still be nice to find a way to solve/reduce this equation that returns a solution like Abs[k] > 1 && p == Log[k]^2/k
to show the most general solution.
$endgroup$
1
$begingroup$
Interestingly, while your answer works;Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.
$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@Roman Doesn't the assumptionsk > 0 && p > 0
imply that the variables aren't complex? AddingReals
to reduce does the trick though. Thanks!
$endgroup$
– Thomas Ahle
Jun 10 at 14:25
3
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restrictingk > 1
avoids this scenario andReduce
returns a result. TryReduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.
$endgroup$
– Chip Hurst
Jun 10 at 14:41
1
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec ofReduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this meansReduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting tok > 1
.
$endgroup$
– Chip Hurst
Jun 10 at 14:43
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f200059%2fhas-mathematica-12-gotten-worse-at-solving-simple-equations%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Working only in the real numbers could be a solution:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
(* k > 1 && p == Log[k]^2/k *)
I think the branch cuts of the square root make this problem difficult to solve in all complex generality ($kinmathbbC$). Maybe previous versions of Mathematica were a bit less careful with these branch cuts? From what I hear there has been a lot of work done in Mathematica recently on how to deal with branch cuts.
The given solution $p=fracln^2kk$ is actually valid for any $lvert krvert>1$, not just for the positive real $k>1$:
ComplexPlot3D[Log[Sqrt[k p]/Log[k]] /. p -> Log[k]^2/k,
k, -2 - 2 I, 2 + 2 I, PlotRange -> All, Exclusions -> None]
I guess it would still be nice to find a way to solve/reduce this equation that returns a solution like Abs[k] > 1 && p == Log[k]^2/k
to show the most general solution.
$endgroup$
1
$begingroup$
Interestingly, while your answer works;Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.
$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@Roman Doesn't the assumptionsk > 0 && p > 0
imply that the variables aren't complex? AddingReals
to reduce does the trick though. Thanks!
$endgroup$
– Thomas Ahle
Jun 10 at 14:25
3
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restrictingk > 1
avoids this scenario andReduce
returns a result. TryReduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.
$endgroup$
– Chip Hurst
Jun 10 at 14:41
1
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec ofReduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this meansReduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting tok > 1
.
$endgroup$
– Chip Hurst
Jun 10 at 14:43
add a comment |
$begingroup$
Working only in the real numbers could be a solution:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
(* k > 1 && p == Log[k]^2/k *)
I think the branch cuts of the square root make this problem difficult to solve in all complex generality ($kinmathbbC$). Maybe previous versions of Mathematica were a bit less careful with these branch cuts? From what I hear there has been a lot of work done in Mathematica recently on how to deal with branch cuts.
The given solution $p=fracln^2kk$ is actually valid for any $lvert krvert>1$, not just for the positive real $k>1$:
ComplexPlot3D[Log[Sqrt[k p]/Log[k]] /. p -> Log[k]^2/k,
k, -2 - 2 I, 2 + 2 I, PlotRange -> All, Exclusions -> None]
I guess it would still be nice to find a way to solve/reduce this equation that returns a solution like Abs[k] > 1 && p == Log[k]^2/k
to show the most general solution.
$endgroup$
1
$begingroup$
Interestingly, while your answer works;Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.
$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@Roman Doesn't the assumptionsk > 0 && p > 0
imply that the variables aren't complex? AddingReals
to reduce does the trick though. Thanks!
$endgroup$
– Thomas Ahle
Jun 10 at 14:25
3
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restrictingk > 1
avoids this scenario andReduce
returns a result. TryReduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.
$endgroup$
– Chip Hurst
Jun 10 at 14:41
1
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec ofReduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this meansReduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting tok > 1
.
$endgroup$
– Chip Hurst
Jun 10 at 14:43
add a comment |
$begingroup$
Working only in the real numbers could be a solution:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
(* k > 1 && p == Log[k]^2/k *)
I think the branch cuts of the square root make this problem difficult to solve in all complex generality ($kinmathbbC$). Maybe previous versions of Mathematica were a bit less careful with these branch cuts? From what I hear there has been a lot of work done in Mathematica recently on how to deal with branch cuts.
The given solution $p=fracln^2kk$ is actually valid for any $lvert krvert>1$, not just for the positive real $k>1$:
ComplexPlot3D[Log[Sqrt[k p]/Log[k]] /. p -> Log[k]^2/k,
k, -2 - 2 I, 2 + 2 I, PlotRange -> All, Exclusions -> None]
I guess it would still be nice to find a way to solve/reduce this equation that returns a solution like Abs[k] > 1 && p == Log[k]^2/k
to show the most general solution.
$endgroup$
Working only in the real numbers could be a solution:
Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
(* k > 1 && p == Log[k]^2/k *)
I think the branch cuts of the square root make this problem difficult to solve in all complex generality ($kinmathbbC$). Maybe previous versions of Mathematica were a bit less careful with these branch cuts? From what I hear there has been a lot of work done in Mathematica recently on how to deal with branch cuts.
The given solution $p=fracln^2kk$ is actually valid for any $lvert krvert>1$, not just for the positive real $k>1$:
ComplexPlot3D[Log[Sqrt[k p]/Log[k]] /. p -> Log[k]^2/k,
k, -2 - 2 I, 2 + 2 I, PlotRange -> All, Exclusions -> None]
I guess it would still be nice to find a way to solve/reduce this equation that returns a solution like Abs[k] > 1 && p == Log[k]^2/k
to show the most general solution.
edited Jun 10 at 16:30
answered Jun 10 at 13:11
RomanRoman
11.3k11944
11.3k11944
1
$begingroup$
Interestingly, while your answer works;Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.
$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@Roman Doesn't the assumptionsk > 0 && p > 0
imply that the variables aren't complex? AddingReals
to reduce does the trick though. Thanks!
$endgroup$
– Thomas Ahle
Jun 10 at 14:25
3
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restrictingk > 1
avoids this scenario andReduce
returns a result. TryReduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.
$endgroup$
– Chip Hurst
Jun 10 at 14:41
1
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec ofReduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this meansReduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting tok > 1
.
$endgroup$
– Chip Hurst
Jun 10 at 14:43
add a comment |
1
$begingroup$
Interestingly, while your answer works;Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.
$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@Roman Doesn't the assumptionsk > 0 && p > 0
imply that the variables aren't complex? AddingReals
to reduce does the trick though. Thanks!
$endgroup$
– Thomas Ahle
Jun 10 at 14:25
3
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restrictingk > 1
avoids this scenario andReduce
returns a result. TryReduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.
$endgroup$
– Chip Hurst
Jun 10 at 14:41
1
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec ofReduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this meansReduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting tok > 1
.
$endgroup$
– Chip Hurst
Jun 10 at 14:43
1
1
$begingroup$
Interestingly, while your answer works;
Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
Interestingly, while your answer works;
Reduce[Log[Sqrt[k p]/Log[k]] == 0 && Element[p, k, Reals], p]
does not.$endgroup$
– Bob Hanlon
Jun 10 at 13:22
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@BobHanlon Try p>0&&k>0 . The domain Reals means the variables and functions are assumed to be real.
$endgroup$
– Michael E2
Jun 10 at 14:03
$begingroup$
@Roman Doesn't the assumptions
k > 0 && p > 0
imply that the variables aren't complex? Adding Reals
to reduce does the trick though. Thanks!$endgroup$
– Thomas Ahle
Jun 10 at 14:25
$begingroup$
@Roman Doesn't the assumptions
k > 0 && p > 0
imply that the variables aren't complex? Adding Reals
to reduce does the trick though. Thanks!$endgroup$
– Thomas Ahle
Jun 10 at 14:25
3
3
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restricting
k > 1
avoids this scenario and Reduce
returns a result. Try Reduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.$endgroup$
– Chip Hurst
Jun 10 at 14:41
$begingroup$
@ThomasAhle yes, but the term inside the logarithm can still be negative, thereby allowing for cuts. Restricting
k > 1
avoids this scenario and Reduce
returns a result. Try Reduce[Log[Sqrt[k p]/Log[k]] == 0 && k > 1 && p > 0, p]
.$endgroup$
– Chip Hurst
Jun 10 at 14:41
1
1
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec of
Reduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this means Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting to k > 1
.$endgroup$
– Chip Hurst
Jun 10 at 14:43
$begingroup$
Also read the few lines in the docs starting here: reference.wolfram.com/language/ref/Reduce.html#26975. Using the domain spec of
Reduce
(its third argument) restricts all values of all function evaluations to be real. Implicitly this means Reduce[Log[Sqrt[k p]/Log[k]] == 0, p, Reals]
is restricting to k > 1
.$endgroup$
– Chip Hurst
Jun 10 at 14:43
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f200059%2fhas-mathematica-12-gotten-worse-at-solving-simple-equations%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
Works fine with
Solve
instead ofReduce
. A simpler version of this problem isReduce[Sqrt[a x] == b, x]
, which shows how hard this problem is in all generality.$endgroup$
– Roman
Jun 10 at 13:01
$begingroup$
Fwiw I don't think this is particular to V12. I tried on 11.3 and it gave up there too.
$endgroup$
– 1110101001
Jun 11 at 3:03
$begingroup$
I still keep my version 9.0.1 although I also have the newest version, but in a way 9.0.1 is the last really stable version.
$endgroup$
– Yukterez
Jun 11 at 3:54
1
$begingroup$
Please do not use the bugs tag when posting new questions. See the tag description for why.
$endgroup$
– Szabolcs
Jun 11 at 6:40
$begingroup$
@Roman my version of Mathematica is able to solve
Sqrt[a x] == b
usingReduce
, though it does complain about the solution containing the "unsolved equation" 0 == b - Sqrt[b^2] as an assumption.$endgroup$
– Thomas Ahle
13 hours ago