borchester
New member
- Joined
- Jun 19, 2021
- Messages
- 12
I am probably missing something but this question is driving me nuts. Any help would be much appreciated.
Plot y = 2x+0.5 and y = cos(x) and observe the point of intersection.I am probably missing something but this question is driving me nuts. Any help would be much appreciated.
Or to prove it, prove that [MATH]y=\cos x-2x-\tfrac{1}{2}[/MATH] only cuts the x-axis once. (I.e. [MATH]\cos x-2x-\tfrac{1}{2}=0[/MATH] has only one solution).
Sketch the graph of [MATH]y=\cos x-2x-\tfrac{1}{2}[/MATH]The graph may suggest how to prove it.
You posted this in the Math odds & Ends forum making it hard to know which tools we can work.
If \(f(x)=\cos(x)-2x-0.5\) we can see that \(f(0)=0.5~\&~f\left(\frac{\pi}{2}\right)\sim -3.64\)...............corrected
Because \(f\) is continuous then it must have a zero in \(\left[0,\frac{\pi}{2}\right]\).
If you have calculus as a tool you know that \(f^{\prime}(x)=-\sin(x)-2\).
Because \(|\sin(x)|\le 1\) if follows that \(f^{\prime}(x)<0,~\forall x\). SEE HERE
The negative derivative tells us the function \(f\) is decreasing everywhere. SEE HERE
All of which says there in only one zero.
I think a rigorous proof is quite simple if you know calculus. Essentially, pka and lex have given it.
[MATH]f(x) = 2x + 0.5 \implies f(x) < -1 \text { if } x < - 0.75 \text { and } f(x) > 1 \text { if } x > 0.25.[/MATH]
[MATH]g(x) = cos(x) \implies - 1 \le g(x) \le 1.[/MATH]
[MATH]h(x) = f(x) - g(x).[/MATH]
[MATH]x < - 0.75x \implies h(x) < -1 -(-1) \implies h(x) < 0. \text { And } x > 0.25 \implies h(x) > 1 - 1 \implies h(x) > 0.[/MATH]
[MATH]\text {Both f(x) and g(x) are continuous. Therefore, h(x) is continuous.}[/MATH]
[MATH]\text {Thus, by the Intermediate Value Theorem, } \exists \ a \text { such that } -0.75 \le a \le 0.25 \text { and } h(a) = 0.[/MATH]
[MATH]h(a) = 0 \implies f(a) = g(a).[/MATH]
This proves there is at least one point of intersection. Now we prove it is unique.
[MATH]h’(x) = 2 + sin(x) \implies h’(x) \ge 1.[/MATH]
[MATH]\therefore x > a \implies h(x) > h(a) \implies h(x) > 0 \implies f(x) \ne g(x).[/MATH]
[MATH]\text {And } x < a \implies h(x) < h(a) \implies h(x) < 0 \implies f(x) \ne g(x).[/MATH]
[MATH]x = a \implies f(x) = g(x) \text { and } x \ne a \implies f(x) \ne g(x). \text { Q.E.D.}[/MATH]
@borchester
You are very thorough to look for a rigorous proof.
To add to the above suggestions:
[MATH]f(x)=\cos x - 2x - \tfrac{1}{2}\\ f'(x)=-\sin x -2\\ \text{ }\\ f'(x)≤1-2=-1[/MATH]f'(x) negative [MATH]\rightarrow[/MATH] f is a strictly decreasing function.
Now [MATH]f(0)=\tfrac{1}{2}, \hspace2ex f\left(\tfrac{\pi}{2}\right)=-\pi - \tfrac{1}{2} < 0[/MATH]
f is continuous, therefore f(x)=0 for some [MATH]x \in \left(0,\tfrac{\pi}{2}\right)[/MATH], and the function is strictly decreasing [MATH]\rightarrow[/MATH] there is only one root.
(If there were two roots [MATH]x_1≠x_2[/MATH]: then (wlog) e.g. [MATH]x_1>x_2[/MATH] and [MATH]f(x_1)=0=f(x_2)[/MATH], contradicting the fact that f is strictly decreasing).