Understanding a calculator: what does "sign" mean?

3.1k Views Asked by At

I put the following input into a ti-nspire cx CAS:

enter image description here

and it returned:

enter image description here

What does "sign" mean?

2

There are 2 best solutions below

4
On BEST ANSWER

It is the sign of $t$, which is $+1$ if $t$ is positive, $0$ if $t$ is $0$, and $-1$ if $t$ is negative.

0
On

$\operatorname{sign}:\mathbb R \to \{-1, 0 , 1\}$.

$$\operatorname{sign}(x) = \begin{cases}-1& \text{if }x < 0\\0&\text{if }x =0\\1&\text{ if } x > 0.\end{cases}$$

Basically, it returns the "sign of $x$".

What this is saying is that if $t > 0$ then we get in the numerator $\pi\cos(\pi t) - \pi|t|\sin(\pi t) = \pi\cos(\pi t) - \pi t\sin(\pi t)$

But if $t < 0$ then we get in the numerator $-\pi\cos(\pi-t) -\pi|t|\sin(\pi t)=-\pi\cos(\pi t) + \pi t\sin(\pi t)$

I guess if I weren't a machine I'd put this as $\pm(\pi\cos(\pi t) - \pi t\sin(\pi t))$ where the $\pm$ is determined by the sign of $t$.

Or simply: $\operatorname{sign}(t)\cdot[\pi\cos(\pi t) - \pi t\sin(\pi t)]$.