how can i draw a graph of mod(y)=cosx ???

hello high

well, mod(y)=cosx is really two separate graphs (well, the same graph, but there are two distinct parts.)

i think itll look like bubbles

am not so sure...

Are you sure that's a correct problem? What is `mod'?

modulus..

!y!

Yeah sorry. I've never seen mod used that way :)

So you're right if you mean bubbles as in just the parts where cos is above the x axis.

Because the absolute value (or modulus) of y must be positive, by definition, this function isn't defined if y < 0. Since cos(x) is sometimes negative, those parts of the cos(x) plot are not valid for this particular function, because they don't make any sense.

I am wrong!

i think so

Ah, I see what you mean about bubbles now. Yes, I think you're correct.

Because negative values of y will mirror the positive values.

will you please explain?

Well, basically, what the above function means is really two different functions: \[y = \left\{\begin{align}\cos x\text{ when }y >= 0\\\cos y\text{ when }y < 0\end{align}\right.\]

Hm. Sorry: \[y = \left\{\begin{matrix}\cos x\text{ when }y >= 0\\\cos x\text{ when }y < 0\end{matrix}\right.\]

The function only exists for cos x > 0, because absolute values cannot be negative. There will be two functions: y = cos x -y = cos x so for each x (when cos x >0), you will have two values - one positive and other negative, both having the same absolute numerical value

take an example: let x be \[\frac{\pi}{2}\] now, y = \[\frac{1}{\sqrt(2)}\] and -y = \[\frac{1}{\sqrt(2)}\] So, we put those two together in the same graph.

Join our real-time social learning platform and learn together with your friends!