Cosine = Contraction? (Banach)

AI Thread Summary
The discussion centers on whether the cosine function is a strict contraction across the entire real line, particularly near pi/2, where issues arise. It is clarified that cosine can be considered a contraction mapping when restricted to intervals of the form [-π/2 + ε, π/2 - ε], where ε is a small positive value. The behavior of sine near zero supports the conclusion that the contraction factor is less than one within this interval. The proof demonstrates that despite challenges near pi/2, the Banach fixed-point theorem still applies, ensuring convergence to a fixed point. Overall, the cosine function's contraction properties are affirmed within specific bounds.
nonequilibrium
Messages
1,412
Reaction score
2
So in Analysis I we explained the convergence of cos to a fixed value by Banach's contraction theorem. But is the cos a strict contraction? Is that obvious? (What is its contraction factor?)
 
Mathematics news on Phys.org
It's not obvious to me that cosine is a strict contraction on the whole real line. In fact, I'm not sure it's even true. For instance, around pi/2 seems to pose many problems. Was the contraction restricted to an interval?
 
As Tedjn mentioned you need to restrict cosine to a small enough interval due to the behavior near pi/2 (and kpi+pi/2 for all integers k). In fact it's a well-known trigonometric identity that \sin(h)/h \to 1 as h\to 0 so this gives us:
\left|\frac{\cos(\pi/2-h) -\cos(\pi/2)}{\pi/2-h-\pi/2}\right| = \frac{\cos(\pi/2-h)}{h} = \frac{\sin(h)}{h} \to 1
for h \to 0. This shows in particular:
d(\cos(\pi/2),\cos(x)) \to d(\pi/2,x) \qquad \mbox{for }x \to \pi/2
so if you choose a contraction factor k < 1 it would result in a contradiction for x close enough to \pi/2.

However it's possible to show that cos is a contraction mapping defined on any set of the form [-\pi/2+\epsilon,\pi/2-\epsilon] where 0 &lt; \epsilon &lt; \pi/2. In fact we know |sin h| &lt; |h| for all h in [-\pi/2,\pi/2]. Let k=\sin(\pi/2-\epsilon) &lt; 1. Using the identity:
\cos y - \cos x = 2\sin\left(\frac{x+y}{2}\right)\sin\left(\frac{x-y}{2}\right)
we have:
\begin{align*}<br /> f(x,y) = \left|\frac{\cos y - \cos x}{y - x}\right| &amp;= \left|2\sin\left(\frac{x+y}{2}\right)\frac{\sin\left(\frac{x-y}{2}\right)}{x-y}\right| \\<br /> &amp;= \left|\sin\left(\frac{x+y}{2}\right)\frac{\sin\left(\frac{x-y}{2}\right)}{\frac{x-y}{2}}\right|<br /> \end{align*}
Clearly a least upper bound for f(x,y) is equivalent to a contraction factor. We can fix x=pi/2-\epsilon and let y approach x from below. Then the first term of f(x,y) approaches \sin(\pi/2-\epsilon) and the second approaches 1, so f(x,y) will approach k=sin(\pi/2-\epsilon). This shows that the contraction factor must at least be k. On the other hand we have:
\left|\frac{\sin\left(\frac{x-y}{2}\right)}{\frac{x-y}{2}}\right| \leq 1
so
|f(x,y)| \leq \left|sin\left(\frac{x+y}{2}\right)\right| \leq \sin(\pi/2-\epsilon) = k
which shows that k is actually the contraction factor for cos defined on [-\pi/2+\epsilon,\pi/2-\epsilon].

This should however be sufficient as |cos(x)| \leq 1 so clearly any fixed point will lie in [-1,1] and \pi/2 &gt; 1.
 
Last edited:
A very nice proof that it fails near pi/2. Another way I've seen the second part proved is using the mean value theorem.
 
Ramshop, that's the second time you've made a very informative post, thank you.

Also thank you to Tedjn for posting :)

Having seen the proof, it's logical the fixed-point theorem of Banach still applies, as no matter where you start, you'll eventually end up in the strict contraction "zone".
 
One button calculator, cos, cos, cos,...
Code:
     _________________________________
    |    _   _  _  _  _  _  _     _   |
    |   | |   | _||_|| ||_||_   | _|  |
    |   |_|.  | _| _||_||_| _|  | _|  |
    |                             rad |
    +---------------------------------+
    |                                 |
    |                                 |
    |           +--------+            |
    |           | cosine |            |
    |           +--------+            |
    |                                 |
    |                                 |
    ._________________________________.
 
Last edited:
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Back
Top