Question
Question: Let $f(x) = a_1 \sin x + a_2 \sin 2x + ... + a_n \sin nx$, where $a_1 \in R$ and $n \in N$. If $|f(x...
Let f(x)=a1sinx+a2sin2x+...+ansinnx, where a1∈R and n∈N. If ∣f(x)∣≤∣sinx∣∀x, then the maximum value of ∣a1+2a2+...+nan∣ is

-1
0
1
2
1
Solution
Let f(x)=a1sinx+a2sin2x+...+ansinnx. We are given that ∣f(x)∣≤∣sinx∣ for all x∈R.
We are interested in the value of S=a1+2a2+...+nan. Let's consider the limit of sinxf(x) as x→0. sinxf(x)=sinxa1sinx+a2sin2x+...+ansinnx=a1sinxsinx+a2sinxsin2x+...+ansinxsinnx. As x→0, sinxsinkx→k. So, limx→0sinxf(x)=a1(1)+a2(2)+...+an(n)=a1+2a2+...+nan=S.
We are given ∣f(x)∣≤∣sinx∣. For x=kπ (where k is an integer), sinx=0. We can divide by ∣sinx∣: sinxf(x)≤1. This inequality holds for all x where sinx=0. In particular, it holds for x in a neighborhood of 0, excluding 0 itself.
By the property of limits, if g(x)≤M for all x in a neighborhood of c (excluding c), and limx→cg(x)=L, then L≤M. Similarly, if g(x)≥m, then L≥m. In our case, let g(x)=sinxf(x) and c=0. We have −1≤sinxf(x)≤1 for x near 0 (but x=0). Taking the limit as x→0: limx→0(−1)≤limx→0sinxf(x)≤limx→01. −1≤S≤1.
This implies ∣S∣≤1. So, ∣a1+2a2+...+nan∣≤1. The maximum value of ∣a1+2a2+...+nan∣ is at most 1.
To show that 1 is achievable, we need to find coefficients a1,...,an such that ∣f(x)∣≤∣sinx∣ for all x and a1+2a2+...+nan=1 or a1+2a2+...+nan=−1. Consider the choice a1=1 and a2=a3=...=an=0. In this case, f(x)=1⋅sinx+0⋅sin2x+...+0⋅sinnx=sinx. The condition ∣f(x)∣≤∣sinx∣ becomes ∣sinx∣≤∣sinx∣, which is true for all x. The sum a1+2a2+...+nan is 1+2(0)+...+n(0)=1. The value of ∣a1+2a2+...+nan∣ is ∣1∣=1.
Since we have shown that the value is at most 1 and that 1 is achievable, the maximum value of ∣a1+2a2+...+nan∣ is 1.