# HP Forums

Full Version: Weird answer for d(sin(sin(x)))/dx
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Prime 2.0.0.13865 gives a bizarre form of the derivative of sin(sin(x)): I get (1/2)*cos(sin(x)+x) + (1/2)*cos(-sin(x)+x). OK it's correct but I'd expect cos(sin(x))*cos(x) (straightforward chain rule). Getting to that form doesn't work with simplify() and I've not played around with the other trig-rewrite functions.
I am guessing you have simplified to "maximum"? "Maximum" is equivalent to just tapping the "simplify" button on each result.

I'd highly recommend not doing that if you are and leave the default "minimum" - it has a tendency to mess things up and we will probably remove that option completely at some point before too much longer.
Ah yes. It seems cos(x)*cos(sin(x)) is one of those cases where simplify() makes things more complicated.

Going the other way, the HP 50g's SIMPLIFY does get from the long form back to cos(x)*sin(cos(x)), so there's a sort-of "regression" here. (Well, assuming the Prime represents a functional continuation... which probably isn't entirely fair!)
It's not "more complicated", it's different, the product of cosines has been replaced by a sum. There is no way to magically "simplify" because there is no simpler form.
(07-29-2018 01:11 PM)ettlz Wrote: [ -> ]Prime 2.0.0.13865 gives a bizarre form of the derivative of sin(sin(x)): I get (1/2)*cos(sin(x)+x) + (1/2)*cos(-sin(x)+x). OK it's correct but I'd expect cos(sin(x))*cos(x) (straightforward chain rule). Getting to that form doesn't work with simplify() and I've not played around with the other trig-rewrite functions.

immagini su internet

Best,

Aries
Yes, which is exactly what Prime gives in it's default state.
(07-29-2018 02:21 PM)Aries Wrote: [ -> ]
(07-29-2018 01:11 PM)ettlz Wrote: [ -> ]Prime 2.0.0.13865 gives a bizarre form of the derivative of sin(sin(x)): I get (1/2)*cos(sin(x)+x) + (1/2)*cos(-sin(x)+x). OK it's correct but I'd expect cos(sin(x))*cos(x) (straightforward chain rule). Getting to that form doesn't work with simplify() and I've not played around with the other trig-rewrite functions.

immagini su internet

Best,

Aries

Hp prime gives the same result.
(07-29-2018 03:57 PM)Tim Wessman Wrote: [ -> ]Yes, which is exactly what Prime gives in it's default state.

diff(sin(sin(x))) always gives : cos(x)*cos(sin(x)) independently of the simplification mode in cas settings!
(07-29-2018 04:12 PM)Komanguy Wrote: [ -> ]diff(sin(sin(x))) always gives : cos(x)*cos(sin(x)) independently of the simplification mode in cas settings!

Now try it on the physical prime!
(07-29-2018 04:19 PM)DrD Wrote: [ -> ]
(07-29-2018 04:12 PM)Komanguy Wrote: [ -> ]diff(sin(sin(x))) always gives : cos(x)*cos(sin(x)) independently of the simplification mode in cas settings!

Now try it on the physical prime!

I have the physical one. I donâ€™t use the emulator.
Results from the various Simplify options:
{Maximum, Minimum, None}
[attachment=6167]
Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :