Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Plotting sin(1/x)

Writer Matthew Barrera
$\begingroup$

I am trying to learn how to plot sin and cos functions, and with this assingment: $$ \sin{\frac{1}{x}} $$

I am stuck, because I dont know how to calculate period(or is it even possible), because the period is always changing.

My question is, is it possible to calculate the period, I dont want to calculate every zero point for every period, so is it possible to calculate the rate of change of the length of the period.

Thanks.

$\endgroup$

2 Answers

$\begingroup$

It is good to note that $|f(x)|\leq1$ so it is bounded by $y=-1,~y=+1$. In fact, because of its nature, while $x$ approaches the origin, the function undergoes more and more oscillations between $+1,-1$. Also it doesn't have a limit at $x=0$. I think the rest is to find some points in $xy-$ plane and make a plot. Here, it a plot done by Maple:

enter image description here

$\endgroup$ 4 $\begingroup$

Since near $x=0$ the function goes wild, you can't hope that it is periodic... Take the sequences $a_n=\frac{1}{\pi/2+2\pi k}, b_n=\frac{1}{3\pi/2+2\pi k}$ and watch what happens.

For plotting graphs, it is always useful to consult W|A: .

$\endgroup$ 4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy