In deriving the optimal launch angle for an ICBM on a nonrotating airless spherical planet (physics - at least it’s not a cow!), I followed the typical steps that a student would and ended up with this function:
Well the simplified solution is straightorward! Thanks for replying. I don’t have access to those other tools. I had a go with Symbolab and it could not simplify the original expression.
That’s a nice example, thank you, and one of the things they did (and I did) was a series expansion, which gives the equivalent simple linear expression with higher order terms zero (at least as far as one wants to set the order!). They also evaluated the derivative and showed how simple it was - neat trick.
Next stop - let’s see how grok3 AI does.
(Edited). grok3 solved it after a number of tries and a few screenfuls of test functions, It found that
( 1-Sin[A] ) / Cos[A] is the same as Tan[Pi/4 -A/2] and used that.
If you’re truly interested in why FullSimplify[] fails, I can offer some hints. I don’t know for sure, in fact, but its occasional failures like this seem understandable to me, and I can share my understanding.
FullSimplify[] has an extensive set of transformations. But it’s finite. I’m not sure what it is in it and what is not. Somewhat relevant here is that it has a general addition/subtraction identity for tangent for a general angle a but not for the specific angle Pi/4:
FullSimplify[] is a minimizer. I don’t think the above is the snag that stops it. FullSimplify[] will take a step if a transformation results in an expression that is less complex. If it is more complex, it may try a couple of more steps to see if it gets over a hump to a less complex expression. If it takes several complicated steps before one gets to the desired form, FullSimplify[] may stop before it gets there, even if the required transformations are in its toolbox. I think this is probably what happens.
FullSimplify has plug-in capabilities to enhance its performance. See the options TransformationFunctions and ComplexityFunction.
FTC = Fundamental Theorem of Calculus not Federal Trade Commission! (For interested readers.) Thank you Michael Rogers for your detailed explanation and suggestions. I shall play with FullSimplify[] options to understand them better. grok3 AI was able to simplify my expression to a linear function by trial-and-error, and scarily was able to make an educated guess at what problem I was solving! (Although I used my Google account to log in, so it may have accessed my web search history - also scary!)