Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Give exact ways of avoiding loss-of-significance errors in the following computations:

a. $\tan x-\tan y$, with $x\approx y$

b. $\sin x - \sin y$, with $x\approx y$

I don't know how to do a but for b I derived "$\sin(x)-\sin(y)=2\cos\frac{x+y}{2}\sin\frac{x-y}{2}$" is that correct for question b?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

For a)

$$ \tan{x} - \tan{y} = \frac{\sin{(x-y)}}{\cos{x} \cos{y}} \approx \frac{\delta}{\cos^2{x}}$$

where $\delta = x-y$.

For b), you are correct.

share|improve this answer
    
Thank you very much! –  Lays Feb 4 '13 at 1:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.