Cosine = Contraction? (Banach)

In summary, the conversation discusses the convergence of cosine to a fixed value and whether it is a strict contraction. The contraction factor is not obvious and must be restricted to a small interval to avoid problems near pi/2. It is possible to show that cosine is a contraction mapping on any set of the form [-pi/2+epsilon, pi/2-epsilon], where 0 < epsilon < pi/2, with a contraction factor of sin(pi/2-epsilon). This proof also shows that any fixed point of cosine must lie in the interval [-1,1]. The conversation also mentions a one button calculator for cosine and acknowledges informative posts by Ramshop and Tedjn.
  • #1
nonequilibrium
1,439
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
  • #2
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?
 
  • #3
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 [itex]\sin(h)/h \to 1[/itex] as [itex]h\to 0[/itex] so this gives us:
[tex]\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[/tex]
for [itex]h \to 0[/itex]. This shows in particular:
[tex]d(\cos(\pi/2),\cos(x)) \to d(\pi/2,x) \qquad \mbox{for }x \to \pi/2[/tex]
so if you choose a contraction factor k < 1 it would result in a contradiction for x close enough to [itex]\pi/2[/itex].

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

This should however be sufficient as [itex]|cos(x)| \leq 1[/itex] so clearly any fixed point will lie in [itex][-1,1][/itex] and [itex]\pi/2 > 1[/itex].
 
Last edited:
  • #4
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.
 
  • #5
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".
 
  • #6
One button calculator, cos, cos, cos,...
Code:
     _________________________________
    |    _   _  _  _  _  _  _     _   |
    |   | |   | _||_|| ||_||_   | _|  |
    |   |_|.  | _| _||_||_| _|  | _|  |
    |                             rad |
    +---------------------------------+
    |                                 |
    |                                 |
    |           +--------+            |
    |           | cosine |            |
    |           +--------+            |
    |                                 |
    |                                 |
    ._________________________________.
 
Last edited:

1. What is cosine contraction in Banach spaces?

Cosine contraction is a property of operators in Banach spaces, which are complete, normed vector spaces. It means that the operator contracts the distance between any two points in the space, similar to how cosine values decrease as the angle between two vectors increases.

2. How is cosine contraction related to the Banach fixed point theorem?

The Banach fixed point theorem states that any contraction mapping on a complete metric space has a unique fixed point. In Banach spaces, an operator that satisfies the cosine contraction property is a contraction mapping, allowing the theorem to be applied.

3. What are the applications of cosine contraction in mathematics?

Cosine contraction is used in various fields of mathematics, such as functional analysis, dynamical systems, and optimization. It is particularly useful in proving the existence and uniqueness of fixed points for certain operators.

4. Can cosine contraction be extended to other types of spaces?

Yes, cosine contraction can also be applied to other types of spaces, such as Hilbert spaces and normed linear spaces. However, in these spaces, the operator needs to satisfy a stronger contraction condition, known as Lipschitz contraction, for the Banach fixed point theorem to hold.

5. Is cosine contraction a necessary condition for the Banach fixed point theorem to hold?

No, cosine contraction is not a necessary condition for the Banach fixed point theorem to hold. It is only one of the many types of contraction conditions that can be applied to operators in various types of spaces. However, it is a convenient and commonly used condition in Banach spaces due to its simplicity and applicability.

Similar threads

Replies
26
Views
3K
  • Special and General Relativity
Replies
14
Views
366
Replies
63
Views
3K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Special and General Relativity
3
Replies
72
Views
4K
Replies
2
Views
1K
Replies
4
Views
344
  • Special and General Relativity
Replies
12
Views
806
  • Special and General Relativity
3
Replies
78
Views
3K
  • Special and General Relativity
2
Replies
54
Views
730
Back
Top