Analyze the horizontal shift of trigonometric functions based on the equation y = A sin(Bx + F) or y = A cos(Bx + F).
Enter the coefficients B and F from your trigonometric equation to compute the phase shift.
Enter the value of B. You can use 'pi' for π.
Enter the value of F. You can use 'pi' for π.
Explore how phase shift is calculated for different trigonometric equations.
Calculate the phase shift for y = sin(2x - π).
Equation: y = A·sin(2x + -pi)
Coefficient B: 2
Coefficient F (Phase Constant): -pi
Calculate the phase shift for y = 3cos(x + π/2).
Equation: y = A·sin(1x + pi/2)
Coefficient B: 1
Coefficient F (Phase Constant): pi/2
An example where there is no horizontal shift: y = 2sin(4x).
Equation: y = A·sin(4x + 0)
Coefficient B: 4
Coefficient F (Phase Constant): 0
A function with a fractional value for B: y = cos( (π/4)x + 1 ).
Equation: y = A·sin(pi/4x + 1)
Coefficient B: pi/4
Coefficient F (Phase Constant): 1