# Math Help - Where to take square root "positive, negative" and where to take it only "positive"??

1. ## Where to take square root "positive, negative" and where to take it only "positive"??

I wrote in my Notebook a few days ago..

cos(x)= [1-sin^(2)x]^(1/2) {derived from "cos^(2)x + sin^(2)x = 1 ")

But the teacher said i was wrong cuz i shoud have written it like this....

cos(x)= +[1-sin^(2)x]^(1/2) , cos(x)= -[1-sin^(2)x]^(1/2)

__________________________________________________ ___

Today we came across an equation

y= cos(x)
and the teacher wrote..

y= [cos^(2)x]^1/2

and then he wrote...

y= [1-sin^(2)x]^(1/2) (since cos^(2)x= 1 - sin^(2)x)

now im really confused....i dont know where to take square root positive and where to take it both positive and negative at the same time.

2. If you start from $\cos^{2}(x)+\sin^{2}(x)=1,$ then I agree with your teacher that $\cos(x)=\pm\sqrt{1-\sin^{2}(x)}.$ However, if you start from $y=\cos(x),$ then you can't say that $y=\sqrt{\cos^{2}(x)}$ unless, in addition, you know that $y$ is always positive.

The rules come down to context. From where do you start? Is there some physical principle involved that allows you to rule out one sign possibility? In general, if you have the equation $a^{2}=b^{2},$ then without any other context, you must always allow the solutions $a=\pm b.$ However, if you know ahead of time, say, that $a>0$ and $b>0,$ then you can rule out the negative solution and say that $a=b.$

Hope that helps.

3. Strictly speaking, a square root is always positive. $\sqrt{4}= 2$ only but the equation $x^2= 4$ has two solutions, x= 2 and x= -2. Solving an equation is different from "taking the square root".

In general, the solution to $x^2= a$ is $x= \pm\sqrt{a}$. We need the " $\pm$" there because just " $x= \sqrt{a}$" is not enough- it gives only the positive solution to the equation.

Once again, solving the equation $x^2= a$ is different from just taking the square root, $\sqrt{a}$. The square root, like any real valued function, has only one value but an equation may have many solutions.

4. I still dont get it... is , cos(x)= +[1-sin^(2)x]^(1/2) ?? or is it also equal to cos(x)= -[1-sin^(2)x]^(1/2)

I was reading an article on wikipedia and they have also say that... cos(x) is only equal to "+[1-sin^(2)x]^(1/2)".....

They have used it in getting the differential of inverse trignometric function.

Differentiation of trigonometric functions - Wikipedia, the free encyclopedia

I am still confused in where i should take it "only positive" and where i should take it "positive and negative at the same time"

5. The equation $\cos(x)=\sqrt{1-\sin^{2}(x)}$ does not hold if

$\dfrac{\pi}{2}

because the LHS is negative, whereas the RHS is always positive.

In the link to which you referred, the wiki was restricting the domain of the cos function to $-\pi/2\le y\le\pi/2.$ In this region, it is true that $\cos(y)=\sqrt{1-\sin^{2}(y)}$. So they are justified in their substitution.

Like I said, you have to know by the context. That's usually stated, but if it's not, you can either leave both solutions in to be safe, or you can try to clarify the question. Make sense?