2340 Reputation

19 Badges

4 years, 305 days

MaplePrimes Activity

These are questions asked by C_R

In the positive range Maple confirms that this is true.
In the real range Maple fails to provide an answer (see attachments).

Is this identity correct?



`Maple 2022.0, X86 64 WINDOWS, Mar 8 2022, Build ID 1599809`



is(arctan(-x) = -arctan(x))



`assuming`([is(arctan(x, y) = -arctan(-x, y))], [x::real, y::real])



`assuming`([is(arctan(x, y) = -arctan(-x, y))], [x::positive, y::positive])



`assuming`([simplify(arctan(-x, y)+arctan(x, y), trig)], [x::real, y::real])

arctan(-x, y)+arctan(x, y)



plot3d([arctan(-x, y)+arctan(x, y)], x = -1000000 .. 1000000, y = -1000000 .. 1000000, title = arctan(-x, y)+arctan(x, y))


On a unit circle

x = cos(alpha), y = sin(alpha)

x = cos(alpha), y = sin(alpha)


subs(x = cos(alpha), y = sin(alpha), arctan(-x, y)+arctan(x, y))

arctan(-cos(alpha), sin(alpha))+arctan(cos(alpha), sin(alpha))


`assuming`([simplify(%)], [alpha::real])

arctan(-cos(alpha), sin(alpha))+arctan(cos(alpha), sin(alpha))


`assuming`([simplify(%)], [alpha::positive])

arctan(-cos(alpha), sin(alpha))+arctan(cos(alpha), sin(alpha))


`assuming`([simplify(%)], [-Pi < alpha and alpha < Pi])

arctan(-cos(alpha), sin(alpha))+arctan(cos(alpha), sin(alpha))


plot(arctan(-cos(alpha), sin(alpha))+arctan(cos(alpha), sin(alpha)), alpha = -2*Pi .. 2*Pi, axes = boxed, color = red)



Download arctan_xy_simplify.mw

and another maybe related case where simplification does not work


Solve produces different output in the attachment depending on how it is used. Why is that and how can simplification to arctan(y/z) be avoided? Arctan(y/z) only gives correct angles for positive y and z.  I prefer arctan(y,z) output that I can subsequently simplify to the y and z ranges of interest (if possible). Imagine “wrong” simplification of complex algebraic output (e.g., from inverse kinematics).


I got a solution to use D as a symbol that prints well in italic. For convienience I like to have it in my favorite palette.
When I drag `&D;` from a Maple Input line to the favorites palette, the ampersand and the statement operator are removed. Copy and paste have the same effect on the pasted selection. If  these characters are removed, `&D;` becomes the differential operator D. That's not what I want.
Is it possible at all to get `&D;` or simliar expressions using special characters within left single quotes into the favorite palette?

Many formulas use a capital D to define parameters. A popular example is the second moment of area "I" of a tube. In Maple we get

Both I and D are protected symbols in Maple and are therefore printed in roman. With the "local" command, I and D can be used as unprotected symbols. However, only the unprotected "I" is printed in italic (like other symbols or names do). D is still printed in roman, which spoils Maple's excellent printout (a bit).

I hope this inconsistency can be improved one day. For the time being, I am looking for better alternatives than my workaround with a fat white space in the attachment. Are there better workarounds?


In a multibody assembly I have three instances of identically connected prismatic joints (flanges not conneted and identical componets at the frames)

In the simulation results the joints are listed with the following variables:

Why are the variables not the same for three identical components and what do the Fi and Mi stand for?

Is there any documentation on variables listed in the simulation results? It seems that more variables can be available than listed in the component documentation.

First 23 24 25 26 27 28 29 Page 25 of 29