Understanding Squaring Inequalities

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
2 replies · 1K views
tmt1
Messages
230
Reaction score
0
I have

$$-1 \le \cos\left({2x}\right) \le 1 $$

If everything is squared, it goes to

$$0 \le \cos^2\left({2x}\right) \le 1 $$

and I'm not sure how $(-1)^2$ turns into $0$
 
Mathematics news on Phys.org
tmt said:
I have

$$-1 \le \cos\left({2x}\right) \le 1 $$

If everything is squared, it goes to

$$0 \le \cos^2\left({2x}\right) \le 1 $$

and I'm not sure how $(-1)^2$ turns into $0$
It doesn't. If we squared both sides and did it mechanically we'd get [math]1 \leq cos^2(2x) \leq 1[/math], which is a ridiculous statement. (It is unwise to square both sides of an inequality. Weird things happen.) Instead we set the lower bound by noting that the square of any real quantity is greater than or equal to 0.

-Dan
 
tmt said:
I have: $$-1 \le \cos\left({2x}\right) \le 1 $$

If everything is squared, it goes to: $$0 \le \cos^2\left({2x}\right) \le 1 $$

and I'm not sure how $(-1)^2$ turns into $0$. . . Actually, it doesn't.
In the first statement, we have a small quantity between -1 and +1.
. . (Think of a proper fraction, positive or negative.)

If we square that quantity, we have a positive value (greater than zero).

(Ah, Dan beat me to it.)