We were asked in our Calculus class to prove that,
$f(x+y) - f(x) = \frac {\sec^2(x) \tan(y)} {1 - \tan(x) \tan(y)}$ given that $f(x) = \tan(x)$
I have gotten so far as:
$$f(x+y) - f(x)$$
$$\tan(x+y) - \tan(x)$$
$$\frac{\tan(x)+\tan(y)}{1-\tan(x)\tan(y)} - \tan(x)$$
$$\frac{\tan(x)+\tan(y)}{1-\tan(x)\tan(y)} + \frac{-\tan(x)+\tan^2(x)\tan(y)}{1-\tan(x)\tan(y)}$$
$$\frac{\tan(y) + \tan^2(x)\tan(y)}{1-\tan(x)\tan(y)}$$
$$\frac{\tan(y) [1+\tan^2(x)]}{1-\tan(x)\tan(y)}$$
Substituting the pythagorean identity, $$1+\tan^2(x) = \sec^2(x)$$
$$\frac{\tan(y) \sec^2(x)}{1-\tan(x)\tan(y)} = \boxed{\frac{\sec^2(x)\tan(y)}{1-\tan(x)\tan(y)}}$$
I don't quite understand how $f(x+y)$ became $\tan(x+y)$. I've had a few search results stating that $f(x+y) = f(x)+f(y)$ but it does not quite fit the bill.
I got the idea for my solution above because of a textbook example I've read, where:
Given $f(x)=x^2-4x+7$, find $\frac {f(x+h)-f(x)}{h}$
$\frac{[(x+h)^2 - 4(x+h) + 7] - (x^2 - 4x + 7)}{h} = \frac{h(2x+h-4)}{h} = 2x+h-4$
...but the book did not describe what property was used in order to 'insert' the value of $f(x)$ into $f(x+h)$, and by extension the $f(x)$ into the $f(x+y)$ of my problem. They feel... similar.
Is there a name for this mathematical property? Thank you very much.
It's simply substitution of the argument to $f$.
On the other hand: $f(x+y)=f(x)+f(y)$ that you claim to have found several sources for, is not generally true.