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 Calculator
Calculate the absolute value of any number. Use this free calculator for fast, accurate answers, complete with the formula and a worked example.
Absolute Value Equation Solver
Solve equations of the form |ax + b| = c.
Adding Fractions Calculator
Add two fractions with step-by-step simplification.
One-Way ANOVA Calculator
Perform one-way ANOVA on multiple groups.
You Might Also Like
Popular tools from other categories
AC to DC Converter Calculator
Convert AC voltage to DC voltage for different rectifier configurations. Free online calculator with instant, step-by-step results.
Acid-Base Titration Calculator
Calculate concentration from titration data. Get quick, accurate results with this free online calculator, including formulas and worked examples.
ABV Calculator
Calculate alcohol by volume from original and final gravity. Free calculator with instant calculations, the underlying formula, and an easy-to-follow example.
Amortization Schedule Calculator - Free Online
Free Generate a complete amortization schedule. Step-by-step solutions and formulas included. Free, accurate results with step-by-step explanations.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.