Graphing Sine and Cosine
A free Trigonometry lesson from the “Graphs of Trig Functions” unit, with a worked example and practice problems including step-by-step solutions.
The basic graph of y = sin(x) starts at the origin (0, 0), rises to a maximum of 1 at x = pi/2, returns to 0 at pi, drops to a minimum of -1 at 3pi/2, and returns to 0 at 2pi. The graph of y = cos(x) has the same wave shape but starts at its maximum (0, 1), so it leads sine by a quarter cycle. Multiplying by a (as in y = a*sin(x)) stretches the wave vertically so the max becomes a and the min becomes -a, while the zeros stay in the same x-locations.
What you'll learn
- Plot the key points (zeros, max, min) of y = a*sin(x) and y = a*cos(x)
- Tell sine and cosine apart by where each graph starts and its shape
- Read off heights and locate maxima, minima, and zeros from the basic graphs
Worked example
Problem. For y = 4*sin(x) on 0 to 2pi, give the x-value where the maximum occurs and the maximum value there.
- The basic sine graph reaches its maximum at x = pi/2.
- Multiplying by 4 makes the maximum height equal to 4 instead of 1.
- So the maximum value 4 occurs at x = pi/2.
Answer: x = pi/2, maximum value 4
Lesson preview: this page shows 5 practice items. The interactive activity contains 28 practice items and 15 quiz items (typed response and multiple choice). Counts include repeated prompts and variants.
Practice problems
1. For the basic graph y = sin(x), what is the y-value at x = 0?
Show solution
- The sine graph passes through the origin.
- At x = 0, sin(0) = 0.
- So the y-value is 0.
Answer: 0
2. For the basic graph y = cos(x), what is the y-value at x = 0?
Show solution
- The cosine graph starts at its maximum.
- At x = 0, cos(0) = 1.
- So the y-value is 1.
Answer: 1
3. On y = sin(x) over 0 to 2pi, at what x-value does the maximum value 1 occur?
Show solution
- The sine wave rises after the origin.
- It peaks at x = pi/2.
- So the maximum 1 is at x = pi/2.
Answer: pi/2
4. On y = cos(x) over 0 to 2pi, at what x-value does the minimum value -1 occur?
Show solution
- Cosine starts at 1 and decreases.
- It reaches its lowest point at x = pi.
- So the minimum -1 is at x = pi.
Answer: pi
5. List the x-values where y = sin(x) equals 0 on the interval 0 to 2pi.
Show solution
- Sine crosses zero at the start, middle, and end of one cycle.
- Those crossings are at x = 0, pi, and 2pi.
- So the zeros are 0, pi, 2pi.
Answer: 0, pi, 2pi
Practice this interactively with instant feedback and an AI tutor.
Practice Graphing Sine and Cosine Take the free placement check