I have no rigorous training in mathematics - I'm not quite sure what constitutes a proof and what doesn't.
How can I properly use Mathematica to prove some theorems like this one? Well, what you can do is use Mathematica to help visualise the function as well as computing derivatives, integrals or limits. My approach is a bit hacky :)
The function
Okay, so we're dealing with
x Sin[Pi/x]
which is, obviously, a periodic function. It is also even (its plot is symmetric and
x Sin[Pi/x] == -x Sin[Pi/-x]
evaluates to True
). The fact that the function is even is interesting if you want to generalize your "proof".
From the plot of Sin[x]
,
you can get a good idea of what the plot of x Sin[Pi/x]
will look like, even before asking Mathematica to generate it. The fact that Sin[x]
has a value between 0 and 1 while $ 0\lt x \leq \pi$ is obvious from the graph. What is also obvious is that the function's value has negative sign from $\pi \leq x \leq 2\pi$.
What are we expecting?
We're expecting a sinusoidal with ascending amplitude and frequency (the x
multiplying Sin[Pi/x]
). We can guess that because at values of x
below 1, we will be evaluating the sine of a number larger than $\pi$, this trend being reversed at x=1
. What happens after x=1
? Let's ask Mathematica.
Plotting the functions
It turns out we were right about the amplitude and frequency. Right up to a point, at x=1
- past this point, there are no more zeros. There's no need to go further, because it is obvious that our function has an asymptote. But what if we had our PlotRange
wrong, and the (presumably more complicated) function really does have zeros after x=1
? Let's again ask Mathematica.
It turns out that the limit of our function
Limit[x Sin[Pi/x], x -> \[Infinity]]
is $\pi$. Confirmation of asymptotic behaviour.
What about $\pi \cos (\frac{\pi}{x})$?
You could take a guess like we did before, or simply not bother and ask Mathematica right away.
It is clear from this image that the inequality $x \sin (\frac{\pi}{x})\geq \pi \cos (\frac{\pi}{x})$ can be valid for $x \geq 1$. To confirm, we need to check the limit of the cosine function with
Limit[Pi Cos[Pi/x], x -> \[Infinity]]
which also evaluates to $\pi$. Good news.
But how can I prove it's increasing?
As halirutan said, you can use derivatives. As a non-mathematician, I would be convinced by the plots of the functions, and their limits. If you want to know how fast each function converges to $\pi$, then go ahead and take a look at each function's first/second derivative plot.
This approach might not qualify as rigorous, but I think it shows how you can use Mathematica to walk through math problems.
11.3
:{AsymptoticGreaterEqual[x*Sin[Pi/x] , Pi Cos[Pi/x], x -> 2], AsymptoticGreaterEqual[x*Sin[Pi/x] , Pi Cos[Pi/x], x -> Infinity]}
$\endgroup$