Solve Trigonometry Challenge: $\cos^k x-\sin^k x=1$

In summary, the only solutions to the equation $\cos^k x-\sin^k x=1$, where $k$ is a given positive integer, are when $x=\frac\pi4$.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Solve the equation $\cos^k x-\sin^k x=1$, where $k$ is a given positive integer.
 
Mathematics news on Phys.org
  • #2
anemone said:
Solve the equation $\cos^k x-\sin^k x=1$, where $k$ is a given positive integer.

partial solution easy part(there is a difficult part also)

for k even.

only solution

$\cos^k x=1$
$\sin^k x=0$

so
$\sin\, x=0$ and $\cos\, x=\pm 1$ hence $x = n\pi$

k is odd

there are 3 cases

case 1)
$\cos\ x=1$
$\sin\ x=0$

this case is a subset of above case $x = 2n\pi$

case 2)
$\cos\ x=0$
$\sin\ x=-1$

giving $x = (2n-\dfrac{1}{2})\pi$

case 3)
$\cos\ x$, $\sin\ x$ are non integers

This is the difficult part(remaining )
 
Last edited:
  • #3
anemone said:
Solve the equation $\cos^k x-\sin^k x=1$, where $k$ is a given positive integer.
[sp]
Let $f_k(x) = \cos^k x-\sin^k x$. This is periodic, with period $2\pi$, so it will be sufficient to find solutions of $f_k(x) = 1$ in the interval $x\in [0,2\pi).$

If $k=1$ then $f_1(x) = \cos x - \sin x = \sqrt2\cos\bigl(x + \frac\pi4\bigr)$. That takes the value $1$ when $\cos\bigl(x + \frac\pi4\bigr) = \frac1{\sqrt2}$, in other words $x + \frac\pi4 = \frac\pi4 \text{ or }\frac{7\pi}4.$ Thus the solutions to $f_1(x) = 1$ are $x=0,\frac{3\pi}2.$

The case $k=1$ is anomalous, because that is the only value of $k$ for which $|\,f_k(x)|$ can ever be greater than $1$. One way to see this is by calculus, using the method of Lagrange multipliers. Suppose that $k\geqslant2$. If we let $u = \cos x$ and $v = \sin x$, then we want to find the extreme values of $u^k - v^k$ subject to the constraint $u^2+v^2 = 1$. The Lagrange method gives the equations $$ku^{k-1} - 2\lambda u = 0, \qquad -kv^{k-1} - 2\lambda v = 0.$$ Therefore either $u=0$ or $u^{k-2} = \frac{2\lambda}k$, and similarly either $v=0$ or $v^{k-2} = -\frac{2\lambda}k$. Combining those values with the fact that $u^2+v^2=1$, it follows that if $u=0$ then $v = \pm1$, and if $v=0$ then $u = \pm1$. If both $u$ and $v$ are nonzero then $u^{k-2} = -v^{k-2}$. In the case when $k$ is odd, the $(k-2)$-th roots are unique and it follows that $u=-v$, so that $(u,v) = \pm\bigl(\frac1{\sqrt2},-\frac1{\sqrt2}\bigr)$. But when $k$ is even there are two (real) $(k-2)$-th roots, so there is the additional possibility that $u=v=\pm\frac1{\sqrt2}$.

This shows that the only possible extreme values of $(u,v)$ are $(\pm1,0)$, $(0,\pm1)$ and $\bigl(\pm\frac1{\sqrt2}, \pm\frac1{\sqrt2}\bigr)$. In terms of $x$, with $(u,v) = (\cos x,\sin x)$, this means that the only extreme values of $f_k(x)$ must occur when $x$ is a multiple of $\frac\pi4$. It is easy to check that $|\,f_k(x)| \leqslant1$ at all those points (and hence everywhere), and that the only points in $[0,2\pi)$ where $f_k(x) =1$ are $x=0$, together with $x=\pi$ (if $k$ is even) and $x = \frac{3\pi}2$ (if $k$ is odd). So the solutions found by kaliprasad are the only ones.
[/sp]
 
Last edited:
  • #4
Thank you Kali (for your partial solution) and Opalg for your solution that complements Kali's!

I can't wait any longer to share the other solution that I found somewhere online and I certainly hope you like the method used to solve it as much as I do:

For $k\ge 2$, we have

$1=\cos^k x-\sin^k x \le |cos^k x-\sin^k x|\le |\cos^k x|+|\sin^k x| \le \cos ^2 x+\sin^2 x=1$

Hence, $\sin^2 x=|\sin^k x|$ and $\cos^2 x=|\cos^k x|$, from which it follows that $\sin x,\,\cos x\in\{1,\,0,\,-1\}\implies x\in\dfrac{\pi Z}{2}$. By inspection one obtains the set of solutions

$\{n\pi,\, n\in Z\}$ for even $k$ and $\{2n\pi,\,2n\pi-\dfrac{\pi}{2},\,n\in Z\}$ for odd $k$.

For $k=1$, we have $1=\cos x-\sin x=-\sqrt{2}\sin\left(x-\dfrac{\pi}{4}\right)$ which yields the set of solutions $\{2n\pi,\,2n\pi-\dfrac{\pi}{2},\,n\in Z\}$.

Therefore, the solutions to the given equation is $\{n\pi,\,2n\pi-\dfrac{\pi}{2},\,n\in Z\}$.
 

FAQ: Solve Trigonometry Challenge: $\cos^k x-\sin^k x=1$

What is trigonometry?

Trigonometry is a branch of mathematics that studies the relationships between angles and sides of triangles. It involves using trigonometric functions such as sine, cosine, and tangent to solve for unknown angles or sides.

What is the Pythagorean identity?

The Pythagorean identity is a fundamental trigonometric identity which states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides.

What is the difference between sine and cosine?

Sine and cosine are both trigonometric functions, but they have different definitions and characteristics. Sine (sin) is defined as the ratio of the length of the side opposite the angle to the length of the hypotenuse in a right triangle. Cosine (cos) is defined as the ratio of the length of the adjacent side to the length of the hypotenuse in a right triangle.

How do you solve a trigonometric equation?

To solve a trigonometric equation, you need to use the properties and identities of trigonometric functions. This involves manipulating the equation to isolate the trigonometric function, using inverse trigonometric functions to find the angle measure, and applying the Pythagorean identity when needed.

What is a trigonometric challenge?

A trigonometric challenge is a problem or equation that requires the use of trigonometric functions and identities to solve. These challenges can range from simple equations to complex problems involving multiple trigonometric functions and identities.

Similar threads

Replies
1
Views
972
Replies
5
Views
1K
Replies
2
Views
1K
Replies
3
Views
1K
Replies
2
Views
2K
Back
Top