The range of the function $f:\mathbb{R}\to \mathbb{R}$ given by $f(x)=\frac{3+2 \sin x}{\sqrt{1+ \cos x}+\sqrt{1- \cos x}}$

292 Views Asked by At

The range of the function $f:\mathbb{R}\to \mathbb{R}$ given by $f(x)=\frac{3+2 \sin x}{\sqrt{1+ \cos x}+\sqrt{1- \cos x}}$ contains $N$ integers. Find the value of $10N$.

I tried to find the minimum and maximum value of the function.First i simplified the function.

$f(x)=\frac{3+2 \sin x}{\sqrt{1+ \cos x}+\sqrt{1- \cos x}}=\frac{1+4\sin^2\left(\frac{x}{2}+\frac{\pi}{4}\right)}{2\sin \left(\frac{x}{2}+\frac{\pi}{4}\right)}$

Then i differentiated the function and equate it to zero to get the critical points.

Critical point equations are $\cos\left(\frac{x}{2}+\frac{\pi}{4}\right)=0$

$\sin\left(\frac{x}{2}+\frac{\pi}{4}\right)=\frac{1}{2},\sin\left(\frac{x}{2}+\frac{\pi}{4}\right)=\frac{-1}{2}$

When i checked plotted the function on desmos.com graphing calculator,i found minimum value to be $0.5$ and maximum value to be $2.5$.

Which i cannot get by my critical points.Where have i gone wrong?Please help me.

3

There are 3 best solutions below

3
On

Hint:

The minimum value of the function is $1/2$ and the maximum is $2.5$. The function is clearly continuous. So it takes every value between these numbers, specifically 1 and 2. So $N=2$ which gives $10N$. Can you show that these are indeed the minimum and maximums. I have outlined the general approach

1
On

Put $\sqrt{1+\cos x}$ +$\sqrt{1-\cos x} = A$

$A^2 = 2\pm 2 \sin x ,\quad A^2 - 2 =\pm 2 \sin x$

$ -2\leq A^2 - 2\leq 2,\quad -2\leq A\leq2$

So $f(x) = \frac{5 - A^2}{A}$ or $\frac{A^2 + 1}{A}$

Find the minimum and maximum of $f(x)$ in the two conditions with $-2\leq A\leq 2$

0
On

Your simplified equation is correct only for $0 \leq x \leq \pi$. During your derivation be sure to consider both positive and negative square roots in the denominator. The result is an alternate version of your simplified equation

$f(x)=\frac{3+2 \sin x}{\sqrt{1+ \cos x}+\sqrt{1- \cos x}}=\frac{5-4\sin^2\left(\frac{x}{2}-\frac{\pi}{4}\right)}{2\sin \left(\frac{x}{2}-\frac{\pi}{4}\right)}$

valid for $\pi < x < 2\pi$. When you work this through you will get another critical point at $\cos(x/2 - \pi/4)=0$.