Problem: Find the minimum value of $ f(x)=x^{2}-4x+3+3\cos\left(\frac{\pi x}{4}\right)$
At first, I found the minimum value of each functions $g(x)=x^{2}-4x+3$ and $h(x)=3\cos\left(\frac{\pi x}{4}\right)$ but they do not happen at the same value of $x$.
Then, I use the derivation of $f(x)$ to find the exact value of $x$.
$f'(x)=2x-4-3\frac{\pi }{4}\sin\left(\frac{\pi x}{4}\right)$.
At this step, i found it difficult to solve it because of the complicated function.
Although I mean to use the graph of the derivation, I think it is still hard.
Please help me to find some approaches that are suitable to high school's curricula. Thank you!
The derivative of the function is
$$2x-4-\frac{3\pi}4\sin\frac{\pi x}4.$$
This is indeed a transcendental function for which there is no "easy" root, and you can bet that that it cannot be solved analytically.
Numerically, $x\approx2.8973954310014$ is the only solution, corresponding to a minimum.