Algebra Examples

Graph y=cos(x)
y=cos(x)
Step 1
Use the form acos(bx-c)+d to find the variables used to find the amplitude, period, phase shift, and vertical shift.
a=1
b=1
c=0
d=0
Step 2
Find the amplitude |a|.
Amplitude: 1
Step 3
Find the period of cos(x).
Tap for more steps...
Step 3.1
The period of the function can be calculated using 2π|b|.
2π|b|
Step 3.2
Replace b with 1 in the formula for period.
2π|1|
Step 3.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
2π1
Step 3.4
Divide 2π by 1.
2π
2π
Step 4
Find the phase shift using the formula cb.
Tap for more steps...
Step 4.1
The phase shift of the function can be calculated from cb.
Phase Shift: cb
Step 4.2
Replace the values of c and b in the equation for phase shift.
Phase Shift: 01
Step 4.3
Divide 0 by 1.
Phase Shift: 0
Phase Shift: 0
Step 5
List the properties of the trigonometric function.
Amplitude: 1
Period: 2π
Phase Shift: None
Vertical Shift: None
Step 6
Select a few points to graph.
Tap for more steps...
Step 6.1
Find the point at x=0.
Tap for more steps...
Step 6.1.1
Replace the variable x with 0 in the expression.
f(0)=cos(0)
Step 6.1.2
Simplify the result.
Tap for more steps...
Step 6.1.2.1
The exact value of cos(0) is 1.
f(0)=1
Step 6.1.2.2
The final answer is 1.
1
1
1
Step 6.2
Find the point at x=π2.
Tap for more steps...
Step 6.2.1
Replace the variable x with π2 in the expression.
f(π2)=cos(π2)
Step 6.2.2
Simplify the result.
Tap for more steps...
Step 6.2.2.1
The exact value of cos(π2) is 0.
f(π2)=0
Step 6.2.2.2
The final answer is 0.
0
0
0
Step 6.3
Find the point at x=π.
Tap for more steps...
Step 6.3.1
Replace the variable x with π in the expression.
f(π)=cos(π)
Step 6.3.2
Simplify the result.
Tap for more steps...
Step 6.3.2.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
f(π)=-cos(0)
Step 6.3.2.2
The exact value of cos(0) is 1.
f(π)=-11
Step 6.3.2.3
Multiply -1 by 1.
f(π)=-1
Step 6.3.2.4
The final answer is -1.
-1
-1
-1
Step 6.4
Find the point at x=3π2.
Tap for more steps...
Step 6.4.1
Replace the variable x with 3π2 in the expression.
f(3π2)=cos(3π2)
Step 6.4.2
Simplify the result.
Tap for more steps...
Step 6.4.2.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
f(3π2)=cos(π2)
Step 6.4.2.2
The exact value of cos(π2) is 0.
f(3π2)=0
Step 6.4.2.3
The final answer is 0.
0
0
0
Step 6.5
Find the point at x=2π.
Tap for more steps...
Step 6.5.1
Replace the variable x with 2π in the expression.
f(2π)=cos(2π)
Step 6.5.2
Simplify the result.
Tap for more steps...
Step 6.5.2.1
Subtract full rotations of 2π until the angle is greater than or equal to 0 and less than 2π.
f(2π)=cos(0)
Step 6.5.2.2
The exact value of cos(0) is 1.
f(2π)=1
Step 6.5.2.3
The final answer is 1.
1
1
1
Step 6.6
List the points in a table.
xf(x)01π20π-13π202π1
xf(x)01π20π-13π202π1
Step 7
The trig function can be graphed using the amplitude, period, phase shift, vertical shift, and the points.
Amplitude: 1
Period: 2π
Phase Shift: None
Vertical Shift: None
xf(x)01π20π-13π202π1
Step 8
 [x2  12  π  xdx ]