Whether root should be positive or negative

  • Context: Undergrad 
  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Negative Positive Root
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
Mr Davis 97
Messages
1,461
Reaction score
44
I'm trying to find ##\sin (\arccos x)##. I let ##\theta = \arccos x## and then use ##\sin ^2 \theta + \cos ^2 \theta = 1##, I get ##\sin (\arccos x) = \pm \sqrt{1 - x^2}##. I'm not sure whether to take the positive or negative root. On Wolfram Alpha is shows that the result is the positive root, but I'm not sure why...
 
Physics news on Phys.org
mfb said:
For x>0 you have arccos(x)<pi/2, which means the sine is positive. For x<0 you have arccos(x)>pi/2, which means the sine is negative.
Pick the sign depending on the sign of x.
What if I want a general expression and don't know the sign of x? For example, I am trying to find the antiderivative of ##\arcsin x##, and I found that ##\int \arcsin x dx = x \arcsin x + \cos (\arcsin x) + c##. So can I not simplify this further, since I don't know the sign of ##x## beforehand?
 
Forget that old post, I thought about cos instead of sin. I fixed it.

If you need a range where the sign changes then treat the cases separately. Or see where the expression comes from, sometimes the inverse functions are not even what you actually want.
 
mfb said:
Forget that old post, I thought about cos instead of sin. I fixed it.

If you need a range where the sign changes then treat the cases separately. Or see where the expression comes from, sometimes the inverse functions are not even what you actually want.
I'm still confused... On various tables of integrals I see that ##\int \arcsin x dx = x \arcsin x + \sqrt{1-x^2}+ c##, which means that ##\cos (\arcsin x) = \sqrt{1-x^2}##. I don't see why they're choosing the positive root over the negative root...
 
There is not reliable rule of which sign to use. You must always consider both and only rule one out when there is a step where it does not fit with other known facts. You may have to carry both along a long way and sometimes to the end. In that case, you need to check both answers in the original problem. Both may be correct. In fact, one sign may be correct for some values of x and the other may be correct for other values of x.

In the example of your post, arccos is formally defined to range from ##\pi## to 0 as x goes from -1 to 1. For those inputs, sin() is always positive. That rules out the final answer of the negative root for every value of x.
 
Last edited:
The arcsine goes from -pi/2 to +pi/2, in this range the cosine is positive. Just check the ranges to see which sign is necessary.
 
  • Like
Likes   Reactions: Mr Davis 97