Confusing derivative(sqrt(1-sinx)) result Bug? [SOLVED]
|
05-05-2018, 12:43 PM
(This post was last modified: 05-05-2018 12:47 PM by parisse.)
Post: #6
|
|||
|
|||
RE: Wrong derivative(sqrt(1-sinx)) result Bug?
sqrt(1-sin(x)) is auto-simplified to sqrt(2)*abs(sin(-pi/4+x/2)), because it's much better not to deal with "false" sqrt, for example if you want to integrate sqrt(1-sin(x)).
The derivative is sqrt(2)*cos(x/2-pi/4)*abs(sin(x/2-pi/4))/(2*sin(x/2-pi/4)), it looks complicated but it is not: it's the product of a cos by a sign. If you make assumptions on x like assume(x>0 && x<pi/2), you will not get absolute values, and the derivative is simpler -sqrt(2)*cos(x/2-pi/4)/2 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Confusing derivative(sqrt(1-sinx)) result Bug? [SOLVED] - vvolkan - 05-04-2018, 09:12 PM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - Arno K - 05-05-2018, 07:48 AM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - vvolkan - 05-05-2018, 09:24 AM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - DrD - 05-05-2018, 10:15 AM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - vvolkan - 05-05-2018, 07:24 PM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - Aries - 05-05-2018, 10:45 AM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - parisse - 05-05-2018 12:43 PM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - vvolkan - 05-05-2018, 01:43 PM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - Arno K - 05-05-2018, 09:15 PM
RE: Wrong derivative(sqrt(1-sinx)) result Bug? - parisse - 05-06-2018, 06:40 AM
|
User(s) browsing this thread: 2 Guest(s)