Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

$\cos x = 0.3x$ has three solutions. $\cos x = 0.4x$ has one solution. How to find $k$ so that $\cos x = kx$ has two solutions?

share|cite|improve this question
I suggest you draw the graphs of the functions $kx$ and $\cos(x)$. I think it gives a good intuition. – Gardel Nov 4 '11 at 18:13
up vote 11 down vote accepted

For a certain value of $k$ (I am assuming $k$ here is nonnegative), the line $kx$ will be tangent to the cosine curve. If you find that critical value of $k$ (call it $k^\ast$), any value of $k$ within the interval $[0,k^\ast)$ will yield a line that intersects the cosine more than twice.

Assembling the equation of the tangent line at $x=u$ gives


We thus need the value of $u$ that zeroes the $y$-intercept; i.e., the value of $u$ that satisfies the equation


Unfortunately, there is no closed form expression for $u$. Numerical computations indicate that $u\approx -2.79838604578388713672024890314$, corresponding to the critical slope $k^\ast=-\sin\,u\approx 0.33650841691839529161631981441$.

tangent to the cosine

share|cite|improve this answer

By symmetry we can assume $a>0$.

By IVT there is a solution between $0$ and $\frac{\pi}{2}$. You want a second solution $x_0$.

This means that $ax$ will be tangent to $\cos(x)$ at $x_0$, otherwise you can prove there is another solution.

Thus $\cos(x_0)=ax_0$ and $-\sin(x_0)=a$. Hence $a^2(x_0^1+1)=1$. Which means that

$$x_0$ must be the solution to

$$\cos(x_0)= \frac{x_0}{\sqrt{x_0^2+1}}$$, between $\frac{3\pi}{2}$ and $2\pi$.

Then $a=\frac{1}{\sqrt{x_0+1}}$.

Geometrically, this is the point so that $ax$ is tangent to the second "mountain" of $\cos(x)$.

The equation unfortunately seems to be impossible to solve exactly, but you can approximate the solution.

share|cite|improve this answer
Since $k$ is bracketed between $0.3$ and $0.4$, it will be easy to solve numerically. – Ross Millikan Nov 4 '11 at 18:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.