To find the smallest positive integer n such that ∣fn′′(0)∣>2023, let's first find an expression for fn′′(x), the second derivative of fn(x).
fn(x)=cos(x)cos(2x)cos(3x)⋯cos
When we differentiate fn(x) once with respect to x, by using the product rule, we get that each term where one of the cos(kx) functions is differentiated while the others remain unchanged. The derivative of with respect to is . Since we're ultimately interested in evaluating the derivative at , we'll note that evaluated at is for all .
So the first derivative of the function will have a lot of terms, many of which will contain sin(kx) terms, and when evaluated at x=0, all these terms will be zero. Thus, fn′ evaluated at is .
Now let's differentiate the function a second time. Again by using the product rule, the second derivative will involve terms where two cosines are differentiated (k2sin(kx)sin(lx) for some k and l), and terms where all but one cosine is undifferentiated (). At , the terms will again be zero, but the terms will contribute since evaluated at is .
Hence, at x=0 we have:
fn′′(0)=−
The sum of squares of the first n positive integers is given by the formula:
k=1∑nk2=
Thus we have:
fn′′(0)=−6n
Now we need to find the smallest n such that the absolute value of this is greater than 2023. Therefore:
6n(n+1)(2n+1)>2023
We can start by simplifying the inequality:
n(n+1)(2n+1)>12138
To find the smallest n, we could iteratively try integer values of n starting from n=1 upwards until the inequality is satisfied, or we can estimate roughly when this will be the case and then fine-tune our guess.
Rough approximation: Let's assume n is large enough that n + 1 ≈ n and 2n + 1 ≈ 2n. The inequality becomes:
2n3>12138n3>6069
Taking the cube root of both sides gives us an initial estimate of n:
n>36069
Now we can perform the exact calculation or iterative testing around the cube root of 6069 to find the smallest integer n that satisfies the inequality.
For exact calculation:
n>36069≈18.2
We should test n=19 first because it's the smallest integer greater than 18.2:
19⋅20⋅39>12138740⋅39>1213828860>12138
The inequality is satisfied for n=19. We don't need to check n=18 because 36069, and it is obvious that the inequality won't be fulfilled for . Thus, the smallest integer such that is .