Skip to content
TheChatArchiveThe Chat Archive
Googlegemma-3-27b-it· GoogleHugging Face LMArena Human Preference 140K

19. (17分) 设函数 \( f(x) = 5\cos x - \cos 5x \)。 (1) 求 \( f(x) \) 在 \([0, \frac{\pi}{4}]\)…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-sonnet-4-20250514’s answer.
  1. User

    19. (17分)
    设函数 ( f(x) = 5\cos x - \cos 5x )。

    (1) 求 ( f(x) ) 在 ([0, \frac{\pi}{4}]) 的最大值;

    (2) 给定 ( \theta \in (0, \pi) ),设 ( a ) 为实数,证明:存在 ( y \in [a-\theta, a+\theta] ),使得 ( \cos y \leq \cos \theta );

    (3) 若存在 ( \varphi ) 使得对任意 ( x ),都有 ( 5\cos x - \cos(5x + \varphi) \leq b ),求 ( b ) 的最小值。

  2. Google Assistant

    解答

    1. (1) 求 ( f(x) ) 在 ([0, \frac{\pi}{4}]) 的最大值;

    首先求导: f′(x)=−5sin⁡x+5sin⁡(5x)=5(sin⁡(5x)−sin⁡x)f'(x) = -5\sin x + 5\sin(5x) = 5(\sin(5x) - \sin x) 利用和差公式: f′(x)=5(2cos⁡(5x+x2)sin⁡(5x−x2))=10cos⁡(3x)sin⁡(2x)f'(x) = 5(2\cos(\frac{5x+x}{2})\sin(\frac{5x-x}{2})) = 10\cos(3x)\sin(2x) 令 (f'(x) = 0),则 (\cos(3x) = 0) 或 (\sin(2x) = 0)。 在 ([0, \frac{\pi}{4}]) 上, (\cos(3x) = 0) 时,(3x = \frac{\pi}{2}),(x = \frac{\pi}{6})。 (\sin(2x) = 0) 时,(2x = 0) 或 (2x = \pi),(x = 0) 或 (x = \frac{\pi}{2})。但 (\frac{\pi}{2} > \frac{\pi}{4}),所以 (x = 0)。

    因此,在 ([0, \frac{\pi}{4}]) 上,(f'(x) = 0) 的解为 (x = 0) 和 (x = \frac{\pi}{6})。 计算端点和临界点的值: (f(0) = 5\cos 0 - \cos 0 = 5 - 1 = 4) (f(\frac{\pi}{6}) = 5\cos(\frac{\pi}{6}) - \cos(\frac{5\pi}{6}) = 5\frac{\sqrt{3}}{2} - (-\frac{\sqrt{3}}{2}) = 3\sqrt{3} \approx 5.196) (f(\frac{\pi}{4}) = 5\cos(\frac{\pi}{4}) - \cos(\frac{5\pi}{4}) = 5\frac{\sqrt{2}}{2} - (-\frac{\sqrt{2}}{2}) = 3\sqrt{2} \approx 4.243)

    因此,(f(x)) 在 ([0, \frac{\pi}{4}]) 上的最大值为 (3\sqrt{3})。

    2. 给定 ( \theta \in (0, \pi) ),设 ( a ) 为实数,证明:存在 ( y \in [a-\theta, a+\theta] ),使得 ( \cos y \leq \cos \theta );

    考虑函数 (g(x) = \cos x),它在 ([a-\theta, a+\theta]) 上连续。 如果 (\cos(a-\theta) \leq \cos \theta) 或 (\cos(a+\theta) \leq \cos \theta),则结论成立。 否则,(\cos(a-\theta) > \cos \theta) 且 (\cos(a+\theta) > \cos \theta)。 由于 (\theta \in (0, \pi)),(\cos x) 在 ([0, \pi]) 上单调递减。 因此,(\cos(a-\theta) > \cos \theta) 意味着 (a-\theta < \theta),即 (a < 2\theta)。 (\cos(a+\theta) > \cos \theta) 意味着 (a+\theta < \theta),即 (a < 0)。 如果 (a < 0),则 (a+\theta < \theta < \pi),所以 (\cos(a+\theta) > \cos \theta) 是可能的。 如果 (a < 2\theta),则 (a-\theta < \theta < \pi),所以 (\cos(a-\theta) > \cos \theta) 是可能的。

    由于 (\cos x) 在 ([a-\theta, a+\theta]) 上连续,且 (\cos \theta) 是一个常数, 如果 (\cos(a-\theta) > \cos \theta) 且 (\cos(a+\theta) > \cos \theta), 那么存在 (y \in (a-\theta, a+\theta)) 使得 (\cos y = \cos \theta)。 但是,我们要求 (\cos y \leq \cos \theta)。

    考虑区间 ([a-\theta, a+\theta])。由于 (\cos x) 在 ([0, \pi]) 上单调递减, 如果 (a-\theta \geq \theta),则 (a \geq 2\theta),那么 (\cos(a-\theta) \leq \cos \theta)。 如果 (a+\theta \leq \theta),则 (a \leq 0),那么 (\cos(a+\theta) \leq \cos \theta)。 如果 (a-\theta < \theta < a+\theta),则 (\cos(a-\theta) > \cos \theta) 且 (\cos(a+\theta) > \cos \theta)。 由于 (\cos x) 在 ([a-\theta, a+\theta]) 上连续,根据介值定理,存在 (y \in [a-\theta, a+\theta]) 使得 (\cos y = \cos \theta)。 但是,我们要求 (\cos y \leq \cos \theta)。

    考虑 (g(x) = \cos x)。由于 (g(x)) 在 ([a-\theta, a+\theta]) 上连续,且 (\cos \theta) 是一个常数, 如果 (\cos(a-\theta) > \cos \theta) 且 (\cos(a+\theta) > \cos \theta), 那么存在 (y \in (a-\theta, a+\theta)) 使得 (\cos y = \cos \theta)。 由于 (\cos x) 在 ([a-\theta, a+\theta]) 上连续,根据介值定理,存在 (y \in [a-\theta, a+\theta]) 使得 (\cos y = \cos \theta)。 如果 (\cos(a-\theta) \leq \cos \theta) 或 (\cos(a+\theta) \leq \cos \theta),则结论成立。

    3. 若存在 ( \varphi ) 使得对任意 ( x ),都有 ( 5\cos x - \cos(5x + \varphi) \leq b ),求 ( b ) 的最小值。

    令 (f(x) = 5\cos x - \cos(5x + \varphi))。 要求 (f(x) \leq b) 对任意 (x) 成立,即 (b) 是 (f(x)) 的上确界。 求 (f(x)) 的最大值。 f′(x)=−5sin⁡x+5sin⁡(5x+φ)=5(sin⁡(5x+φ)−sin⁡x)f'(x) = -5\sin x + 5\sin(5x + \varphi) = 5(\sin(5x + \varphi) - \sin x) f′(x)=5(2cos⁡(5x+φ+x2)sin⁡(5x+φ−x2))=10cos⁡(3x+φ2)sin⁡(2x+φ2)f'(x) = 5(2\cos(\frac{5x+\varphi+x}{2})\sin(\frac{5x+\varphi-x}{2})) = 10\cos(3x+\frac{\varphi}{2})\sin(2x+\frac{\varphi}{2}) 令 (f'(x) = 0),则 (\cos(3x+\frac{\varphi}{2}) = 0) 或 (\sin(2x+\frac{\varphi}{2}) = 0)。 (\cos(3x+\frac{\varphi}{2}) = 0) 时,(3x+\frac{\varphi}{2} = \frac{\pi}{2} + k\pi),(x = \frac{\pi}{6} - \frac{\varphi}{6} + \frac{k\pi}{3})。 (\sin(2x+\frac{\varphi}{2}) = 0) 时,(2x+\frac{\varphi}{2} = k\pi),(x = \frac{k\pi}{2} - \frac{\varphi}{4})。

    当 (x = 0) 时,(f(0) = 5\cos 0 - \cos \varphi = 5 - \cos \varphi)。 当 (\varphi = 0) 时,(f(x) = 5\cos x - \cos 5x)。 (f'(x) = -5\sin x + 5\sin 5x = 5(\sin 5x - \sin x))。 (f'(x) = 0) 时,(\sin 5x = \sin x),(5x = x + 2k\pi) 或 (5x = \pi - x + 2k\pi)。 (4x = 2k\pi),(x = \frac{k\pi}{2})。 (6x = \pi + 2k\pi),(x = \frac{\pi}{6} + \frac{k\pi}{3})。 当 (x = 0) 时,(f(0) = 5 - 1 = 4)。 当 (x = \frac{\pi}{6}) 时,(f(\frac{\pi}{6}) = 5\cos(\frac{\pi}{6}) - \cos(\frac{5\pi}{6}) = 5\frac{\sqrt{3}}{2} - (-\frac{\sqrt{3}}{2}) = 3\sqrt{3} \approx 5.196)。

    当 (\varphi = 0) 时,(b \geq 3\sqrt{3})。 考虑 (f(x) = 5\cos x - \cos(5x + \varphi))。 (f(x) = 5\cos x - (\cos 5x \cos \varphi - \sin 5x \sin \varphi)) (f(x) = 5\cos x - \cos 5x \cos \varphi + \sin 5x \sin \varphi) 当 (\varphi = \pi) 时,(f(x) = 5\cos x + \cos 5x)。 (f'(x) = -5\sin x + 5\sin 5x = 5(\sin 5x - \sin x))。 (f'(x) = 0) 时,(\sin 5x = \sin x)。 (x = 0) 时,(f(0) = 5 + 1 = 6)。

    当 (\varphi = 0) 时,(b = 6)。

    Final Answer: The final answer is 6\boxed{6}

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.