∫Calc Practice

Amplitude, period and phase shift

Problem 13.474 · medium

For \( \displaystyle y = 2 - 2 \cos{\left(x + \frac{\pi}{4} \right)} \), find the amplitude, the period, the phase shift (with its direction) and the vertical shift.
  1. Write it as A·sin(B(x − h)) + D: A = 2, B = 1, h = pi/4, D = 2.
  2. \[ \frac{2 \pi}{1} = 2 \pi \]
    Period = 2π/B.✓ Proved
  3. \[ \left(2 \cos{\left(x + \frac{\pi}{4} \right)} - 2\right) + \left. 2 - 2 \cos{\left(x + \frac{\pi}{4} \right)} \right|_{\substack{ x=x + 2 \pi }} = 0 \]
    Shifting x by one period gives the same function.✓ Proved
  4. \[ \frac{\pi}{1 \cdot 4} = \frac{\pi}{4} \]
    Phase shift h = C/B.✓ Proved
  5. \[ \left. 2 - 2 \cos{\left(x + \frac{\pi}{4} \right)} \right|_{\substack{ x=\frac{3 \pi}{4} }} = 4 \]
    At x = 3*pi/4 the curve is 2 from its midline y = 2: that is the amplitude.✓ Proved
Answer \( \text{amplitude } 2,\ \text{period } 2 \pi,\ \text{phase shift } \frac{\pi}{4}\text{ to the right},\ \text{vertical shift } 2 \)

Lines: 4 proved, 1 not checked. The answer was also checked a second way, without looking at the solution. The reviewers disagree about how one step is explained; every verdict is in the receipt. How we verify

The full receipt
LineStatusChecked byDetail
1Not checked—a sentence; read, not computed
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
5✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0max and min over 16000 samples give the amplitude and midline; f(x + p) = f(x) for the period and not half of it

Reviewers

  • gpt-oss:20b: fail (style) — [domain objection, downgraded to style] Sentence 1 incorrectly rewrites the function as a sine form with A=2, B=1, h=π/4, D=2; the correct form is 2-2cos(x+π/4) which has a phase shift of π/4 to the left, not to the right. Additionally, the statement “h = C/B” uses an undefined variable C, making the reasoning unclear.
  • qwen3.6:27b-mlx: fail (error) — The solution incorrectly identifies the phase shift direction. The term (x + pi/4) corresponds to a shift of pi/4 to the left, not the right. Additionally, the setup in step 1 claims the form is A*sin(B(x-h)), but the function is cosine, and the sign of h is handled inconsistently with the final answer.
Every verdict on record (6)
  • qwen3.6:27b-mlx: fail (error) 2026-11-08 — The solution incorrectly identifies the phase shift direction. The term (x + pi/4) corresponds to a shift of pi/4 to the left, not the right. Additionally, the setup in step 1 claims the form is A*sin(B(x-h)), but the function is cosine, and the sign of h is handled inconsistently with the final answer.
  • gpt-oss:20b: fail (style) 2026-11-08 — [domain objection, downgraded to style] Sentence 1 incorrectly rewrites the function as a sine form with A=2, B=1, h=π/4, D=2; the correct form is 2-2cos(x+π/4) which has a phase shift of π/4 to the left, not to the right. Additionally, the statement “h = C/B” uses an undefined variable C, making the reasoning unclear.
  • qwen3.6:27b-mlx: fail (error) 2026-11-07 — The solution incorrectly identifies the phase shift direction. For y = 2 - 2cos(x + pi/4), the term (x + pi/4) indicates a shift of pi/4 to the left, not to the right. Additionally, the setup in step 1 claims the form is A*sin(B(x-h)), but the function is a cosine, and the sign of the shift is handled incorrectly relative to the standard form y = A cos(B(x - h)) + D where h = -pi/4.
  • gpt-oss:20b: fail (error) 2026-11-07 — The solution incorrectly rewrites the function as A·sin(B(x−h))+D with h=π/4. The given function 2−2cos(x+π/4) actually corresponds to y=2+2sin(x+3π/4), so the phase shift is 3π/4 to the left, not π/4 to the right. The period and vertical shift are correct, but the phase shift statement is wrong.
  • qwen3.6:27b-mlx: fail (error) 2026-11-07 — The solution incorrectly identifies the phase shift direction. The term (x + \pi/4) corresponds to a shift of \pi/4 to the left, not the right. Additionally, the setup in step 1 is inconsistent, claiming the form is A·sin(...) while the function is a cosine, and incorrectly assigning signs for the phase shift parameter h.
  • gpt-oss:20b: fail (error) 2026-11-07 — The solution incorrectly rewrites the function as A·sin(B(x−h))+D with h=π/4. The given function is 2−2cos(x+π/4), which is not in the sine form used; the correct phase shift is 3π/4 to the left (or equivalently π/4 to the right for a cosine form). Thus the setup and subsequent conclusions are wrong.

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by generator:structured/sinusoid_features, checked 2026-11-08 with SymPy 1.14.0.