This is the basic and conceptual question from trigonometry in which we have given If tan theta = a/b, and we asked to show that {(a sin theta) -(b cos theta )}/{(a sin theta) +(b cos theta )}=( a²-b²)/(a²+b²)
RS Aggarwal, Class 10, chapter 10, question no 19.
Hope it helps you