# Analyzing a function

I am having a problem with the following function:

$f(x)=\sin^2(x)-\cos(3x)$

I need to examine the sign of $f'(x)$

I noticed that f is $2\pi$-periodic, therefore we need to analyze f(x) on $[0;2\pi]$

In addition to that $f(x)=-4\cos^3(x)-\cos^2(x)+3\cos(x)+1$

Hence $\forall x \in ]0;2\pi[, f'(x)=(-12\cos^2(x)-2\cos(x)+3)(-\sin(x))$

Let us solve $f'(x)=0$

We have $\forall x \in ]0;2\pi[ -\sin(x)=0 \Leftrightarrow x=\pi$

For the second equation, I know that there are two solution on $]0;2\pi[$ (since I visualized it on the graph), but I am unable to determine them by calculuation.

Thank you in advance

-

## 2 Answers

You forgot to decrement the power of the $\cos^3x$ term. Once you fix that, you should have a quadratic you can solve for $\cos x$.

-

Ah ! Thank you!!! – user43418 Oct 29 '12 at 15:04
I have a question. I determined the 3 out of 5 zeros of $]0;2\pi[$ which are: $\pi$; $Arccos(\frac{-1-\sqrt{37}}{12})$ and $Arccos(\frac{\sqrt{37}-1 }{12})$  However there still exists 2 more which I am unable to determine. In addition to that I know that f' is $\pi$-periodic – user43418 Oct 29 '12 at 16:26
Can someone help me in order to determine the two additional values – user43418 Oct 29 '12 at 16:55
@user43418 $\cos(2\pi-x)=\cos(-x)=\cos x$.  Is this what you're looking for? – Mike Oct 29 '12 at 18:05

$$\begin{align} f'(x)&=2 \cos x\sin x +3 \sin (3x) = 2 \cos x \sin x +3 (3 \sin x - 4 \sin^3 x) \\ &= \sin x \left( 2 \cos x + 9 -12 \sin^2 x \right) = \sin x \left( 2 \cos x + 9 -12 (1-\cos^2 x) \right) \end{align}$$ so that you have $\sin x=0$ and $12 \cos^2 +2 \cos x -3=0$.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 19, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9435010552406311, "perplexity_flag": "head"}