How to Write Trigonometric Equation of a Graph

"Physics & Astronomy"
21 followers
7 Video Views·Dec 19, 2025
Equation of a graph | Trigonometry | Calculus | Functions and Relations | Series | Differentiation | Integration | Limits | Composite Functions | Crazy Trick to Solve Quadratic Equation in 3 Seconds | Find Square root of a Number | Math Olympiad | Harvard University Entrance Exam | Hard Geometry Exam Question | Only 1% of Students Got this Math Question Correct | Math Tricks
In this video, we will be learning how to write the trigonometric equation of a graph using sine or cos,
just by reading the information directly from the graph itself.
The equation is of the form y equals a sine of b times the x minus c plus d,
or the same form with cos instead of sine.
Every step we follow is simply about finding the correct values of a, b, c and d
and then placing them into this form.
The letter y represents the vertical output of the graph,
while x represents the horizontal input.
Sine or cos tells us the shape of the wave.
Whether we use sine or cos depends entirely on how the graph starts and what pattern it follows.
The constant d is the easiest to find, so we always begin there.
d represents the vertical shift of the graph.
In other words, it tells us where the sinusoidal axis is located.
The sinusoidal axis is the horizontal middle line of the wave.
On the graph, this is the line that lies exactly halfway between the maximum and the minimum.
If it is not obvious by just looking at the graph,
then we can find it by adding the minimum value and maximum value and dividing it by two.
Once we know this middle height, that value becomes d in the equation,
because adding d moves the entire graph up or down to the correct vertical position.
For example, we know that y equals the sine of x looks like this,
so y equals the sine of x plus 3,
where d equals 3 simply means that this value moves the entire graph up by 3.
Next, we focus on a.
The constant a controls the amplitude of the graph.
Amplitude measures how far the graph stretches above and below the sinusoidal axis.
Visually, it is the distance from the sinusoidal axis to a maximum
or from the sinusoidal axis to a minimum.
This distance is always positive, but the sine of a matters.
If a is positive, the graph follows the usual pattern of sine or cos.
If a is negative, the graph is flipped vertically.
So the size of a tells us how tall the wave is,
and the sine of a tells us whether the wave is upside down.
For example, we know that y equals the sine of x has a fixed height of 1
above and below the centerline or the sinusoidal axis.
So its amplitude or a equals 1.
Now if we write y equals 2 times the sine of x, where a equals 2,
this means the graph is stretched vertically,
so every peak and valley is twice as far from the middle line as before.
If instead we write y equals minus 2 times the sine of x,
the height is still the same, but the entire wave is flipped upside down.
Noise
Now, after amplitude, we move to b.
The constant b controls the horizontal stretch or compression of the graph.
This is connected directly to the period.
The period is the horizontal length of one complete cycle of the wave.
On the graph, we find the period by measuring from one maximum to the next maximum
or from one minimum to the next minimum.
Once the period is known, we use the standard relationship between the period and b.
The period is equal to 2 pi divided by b.
By rearranging this relationship, we can solve for b.
For example, we know that y equals the sine of x completes one full cycle
over a horizontal distance of 2 pi, so its period is 2 pi.
Now, using this relationship, we get b equals 1.
We can see this is true because x is not being multiplied by anything inside the sine function,
and thus b is 1.
Now, if we write y equals the sine of 2 times x,
the same cycle is completed faster over a horizontal distance of pi,
so its period is pi.
Now, using this relationship, we get b equals 2.
We can see this is true because now x is being multiplied by 2 inside the sine function,
and thus b is 2.
Finally, we have c, which controls the horizontal shift.
The value of c tells us where the graph starts its pattern.
To find c, we choose a clear starting point on the graph,
such as an intercept, a maximum, or a minimum.
For example, in the graph of y equals the sine of x,
the point at x equals 0 is a convenient reference point
where the graph crosses the sinusoidal axis.
So we choose this location as the starting point, and the value of c is 0.
Now, if we write y equals the sine of the quantity x minus 2,
where c equals 2,
the entire graph is shifted 2 units to the right,
meaning every point of the wave occurs 2 units later along the horizontal axis.
At this stage, we also decide whether to use sine or cos.
This decision comes from the starting behavior of the graph.
If the graph starts at an intercept on the sinusoidal axis, we usually use the sine.
Then we look at whether the graph goes upward toward a maximum
or downward toward a minimum to decide the sine of a.
Now, if the graph starts at a maximum or minimum, we usually use cos.
Consider this graph.
Its maximum is at y equals 7, and minimum is at y equals minus 3.
So the average of two values is this or 2.
Therefore, the sinusoidal axis is at y equals 2 or d equals 2.
Now, the distance between the sinusoidal axis and the maximum is 5.
Therefore, a or the amplitude is 5.
The next thing we need is the period.
We will look at the distance between the two minimums, which is 8 in this case.
So the period is 8.
Therefore, using this relationship, we get b equals pi over 4.
Now, here comes the crucial part.
First, we will write the sine equation of this curve,
and later we will write the cos equation.
For the sine equation, consider this point on the sinusoidal axis where x is 0.
So c equals 0.
Now, from this point, the graph goes downward toward a minimum,
and thus a will be negative 5.
Thus, the equation of this graph will be y equals minus 5 times sine of pi over 4 times x,
minus 0 plus 2.
Excellent!
Now, if we choose this point on the sinusoidal axis where x is 4,
so c equals 4.
Now, from this point, the graph goes upward toward a maximum,
and thus a will be plus 5.
Thus, the equation of this graph will be y equals 5 times sine of pi over 4 times x,
minus 4 plus 2.
Great!
Now, let us write the cosine equation of this same graph.
For that, choose a point on the minimum of this graph which is at x equals 2.
As it is a minimum, therefore a will be minus 5.
So the equation of this graph will be y equals minus 5 times cos of pi over 4 times x,
minus 2 plus 2.
Finally, choose a point on the maximum of this graph which is at x equals 6.
As it is a maximum, therefore a will be plus 5.
So the equation of this graph will be y equals 5 times cos of pi over 4 times x,
minus 6 plus 2, and that's it.
This is how we can write the trigonometric equation of a graph using sine or cos.
Making such videos requires a lot of time, effort, and planning.
So if this explanation helped you, please like the video
and share it with others who might benefit.
Also, subscribe to the channel to support this work
and to keep learning in a clear and intuitive way.
So good!
Thank you.
