# 1. Graphs of
**y**** =**
**a ****sin**
**x**** and**
**y**** =**
**a ****cos**
**x**

**y**

**a**

**x**

**y**

**a**

**x**

by M. Bourne

## (a) The Sine Curve *y *= *a *sin *t*

We see sine curves in many naturally occuring phenomena, like water waves. When waves have more energy, they go up and down more vigorously. We say they have greater **amplitude**.

Let's investigate the shape of the curve
*y *=
*a *sin *t* and see what the concept of "**amplitude**" means.

Have a play with the following interactive.

### Sine curve Interactive

You can change the circle radius (which changes the amplitude of the sine curve) using the slider.

The scale along the horizontal *t*-axis (and around the circle) is **radians**. Remember that *π* radians is `180°`,
so in the graph, the value of `pi = 3.14` on the *t*-axis represents `180°` and `2pi = 6.28` is equivalent to `360°`.

*t = θ = *0

*y =* 70 sin(0) *=* 0

Copyright © www.intmath.com Frame rate: 0

### Did you notice?

- The shape of the sine curve forms a
**regular pattern**(the curve repeats after the wheel has gone around once). We say such curves are**periodic**. The**period**is the time it takes to go through one complete cycle. - In the interactive, when the radius of the circle was `50` units then the curve went up to `50` units and down to `-50` units on the
*y*-axis. This quantity of a sine curve is called the**amplitude**of the graph. This indicates how much**energy**is involved in the quantity being graphed. Higher amplitude means greater energy. - The rotation angle in
**radians**is the same as the time (in seconds). See more on radians. All the graphs in this chapter deal with angles in radians. Radians are much more useful in engineering and science compared to degrees. - When the angle is in the first and second quadrants, sine is positive, and when the angle is in the 3rd and 4th quadrants, sine is negative.

[Credits: The above animation is loosely based on a demo graph by HumbleSoftware.]

## Amplitude

The "*a*" in the expression *y *=
*a* sin
*x *represents the **amplitude** of the graph. It is an indication of how much **energy **the wave contains.

The amplitude is the distance from the "resting" position (otherwise known as the **mean value** or **average value**) of the curve. In the interactive above, the amplitude can be varied from `10` to `100` units.

Amplitude is always a **positive** quantity. We could write this using absolute value signs. For the curve *y *= *a* sin *x*,

amplitude `= |a|`

## Graph of Sine *x* - with varying amplitudes

We start with *y* = sin *x*.

It has **amplitude** `= 1` and **period** `= 2pi`.

The graph of `y=sin(x)` for `0 ≤ x ≤ 2pi`

Now let's look at the graph of *y* = 5 sin *x*.

This time we have amplitude = 5 and period = 2*π*. (I have used a different scale on the *y*-axis.)

The graph of `y=5sin(x)` for `0 ≤ x ≤ 2pi`

And now for *y* = 10 sin *x*.

Amplitude = 10 and period = 2*π*.

The graph of `y=10sin(x)` for `0 ≤ x ≤ 2pi`

For comparison, and using the same *y*-axis scale, here are the graphs of

p(x) = sinx,

q(x) = 5 sinxand

r(x) = 10 sinx

on the one set of axes.

Note that the graphs have the same **period** (which is `2pi`) but different
**amplitude**.

The graphs of `p(x), q(x)`, and `r(x)` for `0 ≤ x ≤ 2pi`

## (b) Graph of Cosine *x* - with varying amplitudes

Now let's see what the graph of *y *=* a *cos *x* looks like. This time the angle is measured from the positive vertical axis.

### Cosine curve Interactive

Similar to the sine interactive at the top of the page, you can change the amplitude using the slider.

Click "Start" to see the animation.

*t = θ = *0

*y =* 100 cos(0) *=* 0

Copyright © www.intmath.com Frame rate: 0

### Did you notice?

The sine and cosine graphs are almost identical, except the cosine curve starts at `y=1` when `t=0` (whereas the sine curve starts at `y=0`). We say the cosine curve is a sine curve which is **shifted to the left** by `π/2\ (= 1.57 = 90^@)`.

The value of the cosine function is positive in the first and fourth quadrants (remember, for this diagram we are measuring the angle from the vertical axis), and it's negative in the 2nd and 3rd quadrants.

Now let's have a look at the graph of the simplest cosine curve,
*y* = cos *x* (= 1 cos *x*).

The graph of `y=cos(x)` for `0 ≤ x ≤ 2pi`

We note that the **amplitude** `= 1` and **period** `= 2π`.

Similar to what we did with *y* = sin *x* above, we now see the graphs of

*p*(*x*) = cos*x**q*(*x*) = 5 cos*x**r*(= 10 cos*x)**x*

on one set of axes, for comparison:

The graphs of `p(x), q(x)`, and `r(x)` for `0 ≤ x ≤ 2pi`

Note: For the cosine curve, just like the sine curve, the **period** of each graph is the same (`2pi`), but
the **amplitude** has changed.

### Exercises

### Need Graph Paper?

Sketch one cycle of the following **without** using a
table of values! (The important thing is to know the **shape** of these
graphs - not that you can join dots!)

Each one has period `2 pi`. We learn more about period in the next section Graphs of y = a sin bx.

The examples use *t* as the independent variable. In electronics, the variable is most often *t*.

1) *i *= sin* t*

Answer

*i* = sin *t*

We saw this curve above, except now we are using *i* for current and *t* for time. These are very common variables in trigonometry.

The graph of `i=sin(t)` for `0 <= t <= 2pi`

Period = 2*π*

Amplitude `= 1`

2) *v *= cos* t*

Answer

*v* = cos *t*

Once again, we saw this curve above, except now we are using *v* for voltage and *t* for time.

The graph of `v=cos(t)` for `0 <= t <= 2pi`

Period = 2*π*

Amplitude `= 1`

3) *i *= 3
sin *t*

Answer

*i *= 3 sin *t*

The graph of `i=3sin(t)` for `0 <= t <= 2pi`

Period = 2*π*

Amplitude `= 3`

4) *E *= −4
cos* t*

Answer

*E *= −4 cos *t*

The variable *E* is used for "electro-motive force", another term for voltage.

The graph of `E=-4cos(t)` for `0 <= t <= 2pi`

Period = 2*π*

Amplitude `= 4 `

Notice that:

- The negative in front of the cosine has the effect of turning the cosine curve "upside down". That is, it is a mirror image in the horizontal
*t*axis. - Amplitude is a positive number (it is a distance)