Sine Function Grapher
Plot y = A·sin(Bx + C) + D and explore amplitude, period and phase shift.
About the Sine Function Grapher
Plot y = A·sin(Bx + C) + D and explore amplitude, period and phase shift.
How to use this calculator
- Enter the values of A, B, C, and D in the function y = A·sin(Bx + C) + D.
- Check the graph to see how the wave moves and stretches.
- Read the displayed amplitude, period, and phase shift to understand the shape of the curve.
- Use the example and the formula to compare your function with a standard sine graph.
The formula explained
The tool graphs functions of the form y = A·sin(Bx + C) + D, which describes a sine curve stretched by A, compressed by B, shifted horizontally by C, and shifted vertically by D. It also helps identify the amplitude |A| and period 2π/|B|.
- A = amplitude factor, controls vertical stretch or reflection
- B = affects the period, since period = 2π/|B|
- C = horizontal shift inside the sine function
- D = vertical shift, moving the graph up or down
- x = input value on the horizontal axis
- y = output value on the vertical axis
Step by step method
- Start with the parent function y = sin(x), which has amplitude 1 and period 2π.
- Apply the vertical changes first: multiply by A to stretch or reflect, then add D to move the graph up or down.
- Use B and C to find the period and phase shift, because the inside of the sine changes how quickly the graph repeats and where it starts.
- Sketch one cycle using key points such as the midline, maximum, and minimum to check your graph.
Worked example
Problem. Graph y = 2·sin(3x - π) + 1 and identify its amplitude, period, and phase shift.
- Amplitude is |2| = 2, so the graph goes 2 units above and below its midline.
- Period is 2π/|3| = 2π/3, so one full cycle repeats every 2π/3 units.
- Phase shift comes from 3x - π = 3(x - π/3), so the graph shifts right by π/3, and the midline is y = 1.
Answer. Amplitude: 2, period: 2π/3, phase shift: right by π/3, vertical shift: up 1.
Tips and common mistakes
- If A is negative, the sine graph is reflected over its midline, not over the x-axis.
- Be careful with phase shift, rewrite Bx + C by factoring out B before identifying the horizontal shift.
Frequently asked questions
What is amplitude?+
Half the distance between the maximum and minimum, |A|.
What is the period of sin(x)?+
2π radians.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Grapher
Plot y = |f(x)| and see the characteristic V-shape and reflections.
Cosine Function Grapher
Plot y = A·cos(Bx + C) + D and compare it with the sine wave.
Tangent Function Grapher
Plot y = tan(x) and see its repeating vertical asymptotes.
Beta Function Calculator
Calculate the beta function B(a,b).
You Might Also Like
Popular tools from other categories
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.