Problem: If derivative of $e^{ax} \cos{bx}$ with respect to $x$ is $re^{ax}\cos(bx + \tan^{-1} \frac {b} {a})$.
Then find $r$ when $a>0,b>0$
Solution: Differentiating $e^{ax} \cos{bx}$ w.r.t $x$ we get
$ ae^{ax} \cos{bx} -be^{ax} \sin{bx} $
But I don't know,how to convert it into $re^{ax}\cos(bx + \tan^{-1} \frac {b} {a})$