∫Calc Practice

Amplitude, period and phase shift

Problem 13.471 · medium

For \( \displaystyle y = 4 \sin{\left(\pi x \right)} - 2 \), find the amplitude, the period, the phase shift (with its direction) and the vertical shift.
  1. Write it as A·cos(B(x − h)) + D: A = 4, B = pi, h = 1/2, D = -2.
  2. \[ \frac{2 \pi}{\pi} = 2 \]
    Period = 2π/B.✓ Proved
  3. \[ \left(2 - 4 \sin{\left(\pi x \right)}\right) + \left. 4 \sin{\left(\pi x \right)} - 2 \right|_{\substack{ x=x + 2 }} = 0 \]
    Shifting x by one period gives the same function.✓ Proved
  4. \[ \frac{\pi}{2 \pi} = \frac{1}{2} \]
    Phase shift h = C/B.✓ Proved
  5. \[ \left. 4 \sin{\left(\pi x \right)} - 2 \right|_{\substack{ x=1 \cdot \frac{1}{2} }} = 2 \]
    At x = 1/2 the curve is 4 from its midline y = -2: that is the amplitude.✓ Proved
Answer \( \text{amplitude } 4,\ \text{period } 2,\ \text{phase shift } \frac{1}{2}\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: pass
  • qwen3.6:27b-mlx: fail (error) — The solution incorrectly identifies the phase shift as 1/2 to the right. The function y = 4 sin(pi x) - 2 has a phase shift of 0 relative to the standard sine function. The value 1/2 corresponds to a quarter-period shift, not the phase shift of the given expression.
Every verdict on record (6)
  • qwen3.6:27b-mlx: fail (error) 2026-11-08 — The solution incorrectly identifies the phase shift as 1/2 to the right. The function y = 4 sin(pi x) - 2 has a phase shift of 0 relative to the standard sine function. The value 1/2 corresponds to a quarter-period shift, not the phase shift of the given expression.
  • gpt-oss:20b: pass 2026-11-08
  • qwen3.6:27b-mlx: fail (error) 2026-11-07 — The solution incorrectly identifies the phase shift as 1/2 to the right. The function y = 4 sin(pi x) - 2 has no horizontal shift (phase shift is 0). The value 1/2 is the x-intercept of the sine wave (where it crosses the midline), not the phase shift. Additionally, Step 1 attempts to rewrite a sine function as a cosine function with a specific shift but fails to account for the sign change required (sin(u) = cos(u - pi/2)), leading to an incorrect identification of parameters.
  • gpt-oss:20b: fail (error) 2026-11-07 — The solution incorrectly rewrites the function as a cosine form with a phase shift of 1/2, which does not match the given sine function. The correct analysis shows amplitude 4, period 2, no phase shift, and vertical shift –2.
  • qwen3.6:27b-mlx: fail (error) 2026-11-07 — The solution incorrectly identifies the phase shift as 1/2 to the right. For y = 4 sin(pi x) - 2, the phase shift is 0 because there is no horizontal translation inside the sine argument (i.e., it is sin(pi(x - 0))). The value 1/2 corresponds to the location of the first maximum, not the phase shift.
  • gpt-oss:20b: fail (error) 2026-11-07 — The solution incorrectly rewrites the function as a cosine with a phase shift of 1/2. The given function is 4 sin(πx)−2, which has no horizontal shift (h=0). Consequently the phase‑shift statement is false and the setup is incorrect.

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.