Question: how to get all solutions of an equation?


I want to solve the following equation:

equ := 4*arctan(x)-4*x/(1+x^2) = 0

so I use fsolve(equ,x) to get all solutions of equ, but only get one of the roots:zero. Actually, equ has three roots, as the picture which can be generated by the following commands illustrated.

f1 := arctan(x):

f2 := 4*x/(x^2+1):

p1 := plot(f1, legend = ["arctan(x)"], color = red):

p2 := plot(f2, legend = ["4x/(x^2+1)"], color = blue):


Can you tell me how to get all solutions of equ? Thank you in advance.


Please Wait...