- 15,524
- 769
Still off course. So let's get back on course. You are trying to find solutions to
x=\tan x
using a fixed point iteration approach. That technique won't work with the above because tan'(x)>=1. Taking the inverse tangent function of both sides doesn't quite work, either, because atan(tan(x)) is only equal to x if x lies in the principal domain of atan.
You have already written x as x=n\pi + \theta. Substituting this on both sides of the above equation yields
n\pi + \theta=\tan(n\pi + \theta) = \tan\theta
By design, \theta\,\in\,(0,\pi/2)\,\forall n>0 In other words, theta is in the principal domain of atan, so you now can take the inverse tangent of both sides of the above. Do that.
x=\tan x
using a fixed point iteration approach. That technique won't work with the above because tan'(x)>=1. Taking the inverse tangent function of both sides doesn't quite work, either, because atan(tan(x)) is only equal to x if x lies in the principal domain of atan.
You have already written x as x=n\pi + \theta. Substituting this on both sides of the above equation yields
n\pi + \theta=\tan(n\pi + \theta) = \tan\theta
By design, \theta\,\in\,(0,\pi/2)\,\forall n>0 In other words, theta is in the principal domain of atan, so you now can take the inverse tangent of both sides of the above. Do that.