Solved Exercises on Graphing Sine, Cosine, and Tangent

Master graphing trigonometric functions: amplitude, period, phase shift, vertical shift, and characteristics through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Sine Function
Exercise 1
Graph the function f(x) = sin(x) and identify its amplitude, period, domain, and range.
Definition:

Sine Function: f(x) = sin(x) is a periodic function with wave-like oscillations.

Amplitude: The maximum distance from the midline to the peak or trough of the wave.

Graphing Method:
  1. Identify the basic parameters (amplitude, period, phase shift, vertical shift)
  2. Plot key points: (0,0), (π/2,1), (π,0), (3π/2,-1), (2π,0)
  3. Sketch the wave pattern
  4. Extend the pattern in both directions
Function
f(x) = sin(x)
Amplitude
A = 1
Period
P = 2π
Step 1: Identify the basic parameters

Standard form: f(x) = A sin(Bx - C) + D

For f(x) = sin(x): A = 1, B = 1, C = 0, D = 0

Amplitude = |A| = 1

Period = 2π/B = 2π/1 = 2π

Step 2: Plot key points for one period

Starting at x = 0:

  • (0, 0) - starts at origin
  • (π/2, 1) - reaches maximum
  • (π, 0) - returns to midline
  • (3π/2, -1) - reaches minimum
  • (2π, 0) - returns to midline
Step 3: Sketch the graph

Connect the points with a smooth curve forming the characteristic sine wave

The wave oscillates between y = -1 and y = 1

Step 4: Identify domain and range

Domain: All real numbers (-∞, ∞)

Range: [-1, 1] (between minimum and maximum values)

Step 5: Note additional characteristics

Midline: y = 0 (horizontal line through the middle)

X-intercepts: x = nπ where n is any integer

Maximum points: x = π/2 + 2πn

Minimum points: x = 3π/2 + 2πn

Amplitude = 1, Period = 2π, Domain = (-∞, ∞), Range = [-1, 1]
Final answer:

The graph of f(x) = sin(x) has amplitude 1, period 2π, domain (-∞, ∞), and range [-1, 1].

Applied rules:

• Amplitude: |A| in f(x) = A sin(Bx - C) + D

• Period: 2π/B in f(x) = A sin(Bx - C) + D

• Sine Wave: Oscillates between -A and A

2 Modified Cosine Function
Exercise 2
Graph the function f(x) = 2cos(x - π/4) and identify its amplitude, period, phase shift, and vertical shift.
Definition:

Cosine Function: f(x) = cos(x) is a periodic function starting at its maximum value.

Phase Shift: The horizontal displacement of the graph from its standard position.

Function
f(x) = 2cos(x - π/4)
Amplitude
A = 2
Phase Shift
π/4 right
Step 1: Rewrite in standard form

Standard form: f(x) = A cos(Bx - C) + D

f(x) = 2cos(x - π/4) = 2cos(1·x - π/4) + 0

So A = 2, B = 1, C = π/4, D = 0

Step 2: Identify parameters

Amplitude = |A| = |2| = 2

Period = 2π/B = 2π/1 = 2π

Phase shift = C/B = (π/4)/1 = π/4 (to the right)

Vertical shift = D = 0

Step 3: Adjust key points for phase shift

Standard cosine starts at (0,1), but ours is shifted right by π/4

New key points for one period starting at x = π/4:

  • (π/4, 2) - starts at maximum
  • (π/4 + π/2, 0) = (3π/4, 0) - reaches midline
  • (π/4 + π, -2) = (5π/4, -2) - reaches minimum
  • (π/4 + 3π/2, 0) = (7π/4, 0) - returns to midline
  • (π/4 + 2π, 2) = (9π/4, 2) - returns to maximum
Step 4: Sketch the graph

Start at (π/4, 2) and follow cosine wave pattern

Wave oscillates between y = -2 and y = 2

Step 5: Identify characteristics

Domain: All real numbers (-∞, ∞)

Range: [-2, 2] (since amplitude is 2)

Midline: y = 0

Amplitude = 2, Period = 2π, Phase shift = π/4 right, Vertical shift = 0
Final answer:

The graph of f(x) = 2cos(x - π/4) has amplitude 2, period 2π, phase shift π/4 to the right, and vertical shift 0.

Applied rules:

• Phase Shift: C/B in f(x) = A cos(Bx - C) + D (positive moves right)

• Amplitude: Stretches the graph vertically

• Horizontal Shift: Moves the entire graph left/right

3 Tangent Function
Exercise 3
Graph the function f(x) = tan(x) and identify its period, domain, range, and asymptotes.
Definition:

Tangent Function: f(x) = tan(x) = sin(x)/cos(x), undefined where cos(x) = 0.

Vertical Asymptotes: Lines where the function approaches positive or negative infinity.

Function
f(x) = tan(x)
Period
P = π
Asymptotes
x = π/2 + nπ
Step 1: Understand the definition

tan(x) = sin(x)/cos(x)

Function is undefined when cos(x) = 0

Step 2: Identify where function is undefined

cos(x) = 0 when x = π/2 + nπ, where n is any integer

These values create vertical asymptotes

Step 3: Determine the period

Unlike sine and cosine, tangent repeats every π radians

Period = π

Step 4: Plot key points in one period

Between -π/2 and π/2:

  • (-π/4, -1) - passes through (-π/4, -1)
  • (0, 0) - passes through origin
  • (π/4, 1) - passes through (π/4, 1)
Step 5: Identify domain and range

Domain: All real numbers except x = π/2 + nπ (where n is any integer)

Range: (-∞, ∞) - tangent can take any real value

Step 6: Sketch the graph

Draw curves approaching asymptotes from both directions

Curves go from bottom left to top right in each period

Period = π, Domain = x ≠ π/2 + nπ, Range = (-∞, ∞), Asymptotes: x = π/2 + nπ
Final answer:

The graph of f(x) = tan(x) has period π, domain x ≠ π/2 + nπ, range (-∞, ∞), and vertical asymptotes at x = π/2 + nπ.

Applied rules:

• Tangent Asymptotes: Occur where cosine equals zero

• Tangent Period: π (half that of sine/cosine)

• Range: All real numbers (unlike sine/cosine)

Graphing Trigonometric Functions: Rules and Methods
f(x) = A\sin(Bx - C) + D
General Form
Amplitude
|A|
Vertical stretch/compression
Period
2π/|B|
Length of one cycle
Phase Shift
C/B
Horizontal displacement
Sine Characteristics: Starts at midline, oscillates between -A and A with period 2π.
Cosine Characteristics: Starts at maximum, oscillates between -A and A with period 2π.
Tangent Characteristics: Has vertical asymptotes, period π, and range (-∞, ∞).
Solution: Exercises 4 to 5
4 Complex Transformation
Exercise 4
Graph the function f(x) = 3sin(2x + π) - 1 and identify all its characteristics.
Definition:

Combined Transformations: When multiple transformations (amplitude, period, phase shift, vertical shift) are applied simultaneously.

Vertical Shift: The constant term D in f(x) = A sin(Bx - C) + D moves the entire graph up or down.

Rewrite
f(x) = 3sin(2x - (-π)) - 1
Parameters
A=3, B=2, C=-π, D=-1
Characteristics
Amp=3, Per=π, PS=π/2 left, VS=-1
Step 1: Rewrite in standard form

f(x) = 3sin(2x + π) - 1 = 3sin(2x - (-π)) - 1

So A = 3, B = 2, C = -π, D = -1

Step 2: Calculate characteristics

Amplitude = |A| = |3| = 3

Period = 2π/|B| = 2π/2 = π

Phase shift = C/B = (-π)/2 = -π/2 (π/2 units to the left)

Vertical shift = D = -1

Step 3: Determine the midline

Midline: y = D = -1

Maximum value: D + A = -1 + 3 = 2

Minimum value: D - A = -1 - 3 = -4

Step 4: Find key points for one period

Start at phase shift: x = -π/2

Key points spaced π/4 apart (quarter periods):

  • (-π/2, -1) - starts at midline
  • (-π/2 + π/4, -1+3) = (-π/4, 2) - reaches maximum
  • (-π/2 + π/2, -1) = (0, -1) - returns to midline
  • (-π/2 + 3π/4, -1-3) = (π/4, -4) - reaches minimum
  • (-π/2 + π, -1) = (π/2, -1) - returns to midline
Step 5: Sketch the graph

Connect points with sine wave pattern

Wave oscillates between y = -4 and y = 2

Entire wave is shifted down by 1 unit

Step 6: Identify domain and range

Domain: All real numbers (-∞, ∞)

Range: [-4, 2] (between minimum and maximum values)

Amp = 3, Period = π, Phase shift = π/2 left, Vertical shift = 1 down, Range = [-4, 2]
Final answer:

The graph of f(x) = 3sin(2x + π) - 1 has amplitude 3, period π, phase shift π/2 to the left, vertical shift 1 unit down, and range [-4, 2].

Applied rules:

• Standard Form: f(x) = A sin(Bx - C) + D

• Phase Shift: C/B (watch signs carefully)

• Vertical Shift: Moves midline up/down by D units

5 Tangent with Transformations
Exercise 5
Graph the function f(x) = 2tan(½x - π/4) + 1 and identify its period, phase shift, and vertical shift.
Definition:

Transformed Tangent: f(x) = A tan(Bx - C) + D, where A affects vertical stretch, B affects period, C affects phase shift, and D affects vertical shift.

Modified Asymptotes: For transformed tangent, asymptotes occur where the argument of tangent equals π/2 + nπ.

Function
f(x) = 2tan(½x - π/4) + 1
Parameters
A=2, B=½, C=π/4, D=1
Characteristics
Amp=2, Per=2π, PS=π/2 right, VS=1
Step 1: Identify parameters

f(x) = 2tan(½x - π/4) + 1

Standard form: A tan(Bx - C) + D

So A = 2, B = ½, C = π/4, D = 1

Step 2: Calculate characteristics

Period = π/|B| = π/(1/2) = 2π

Phase shift = C/B = (π/4)/(1/2) = π/2 (π/2 units to the right)

Vertical shift = D = 1

Step 3: Find vertical asymptotes

Asymptotes occur when the argument equals π/2 + nπ:

½x - π/4 = π/2 + nπ

½x = π/2 + π/4 + nπ = 3π/4 + nπ

x = 3π/2 + 2nπ

Step 4: Find key points in one period

Between asymptotes at x = -π/2 and x = 3π/2:

Midpoint between asymptotes: x = (-π/2 + 3π/2)/2 = π/2

At x = π/2: f(π/2) = 2tan(½·π/2 - π/4) + 1 = 2tan(0) + 1 = 1

Quarter points: x = π/2 - π/2 = 0 and x = π/2 + π/2 = π

f(0) = 2tan(-π/4) + 1 = 2(-1) + 1 = -1

f(π) = 2tan(π/4) + 1 = 2(1) + 1 = 3

Step 5: Sketch the graph

Draw curves approaching asymptotes from both directions

Curves pass through (0, -1), (π/2, 1), (π, 3)

Entire graph is shifted up by 1 unit

Step 6: Identify domain and range

Domain: All real numbers except x = 3π/2 + 2nπ

Range: (-∞, ∞) - transformed tangent still has all real values

Period = 2π, Phase shift = π/2 right, Vertical shift = 1 up, Asymptotes: x = 3π/2 + 2nπ
Final answer:

The graph of f(x) = 2tan(½x - π/4) + 1 has period 2π, phase shift π/2 to the right, vertical shift 1 unit up, and vertical asymptotes at x = 3π/2 + 2nπ.

Applied rules:

• Tangent Period: π/|B| (not 2π like sine/cosine)

• Asymptotes: Solve Bx - C = π/2 + nπ for x

• Vertical Shift: Moves entire graph up/down by D units

Complete Guide to Graphing Trigonometric Functions
f(x) = A\sin(Bx - C) + D
General Sinusoidal Form
Key definitions:

Amplitude: The absolute value of A, representing half the distance between maximum and minimum values.

Period: The length of one complete cycle of the function.

Phase Shift: The horizontal displacement of the function from its standard position.

Vertical Shift: The vertical displacement of the function from its standard position.

Complete graphing methodology:
  1. Identify parameters: Rewrite function in standard form to find A, B, C, D
  2. Calculate characteristics: Find amplitude, period, phase shift, vertical shift
  3. Determine midline: y = D
  4. Find key points: Calculate important x-values and corresponding y-values
  5. Sketch the graph: Connect points with appropriate curve
  6. Identify domain and range: Consider any restrictions
Tip 1: Remember that period for tangent is π/|B|, not 2π/|B|.
Tip 2: Phase shift is C/B, and the sign matters for direction.
Tip 3: For tangent, find where the argument equals π/2 + nπ to locate asymptotes.
Tip 4: Always verify your key points by substituting back into the original function.
Common errors: Misidentifying parameters, incorrect phase shift calculation, forgetting asymptotes for tangent.
Exam preparation: Practice with various combinations of transformations, memorize key points for basic functions.
Essential Rules:

• Sine/Cosine Period: 2π/|B|

• Tangent Period: π/|B|

• Phase Shift: C/B (positive moves right, negative moves left)

• Amplitude: |A| (stretches vertically)

Exercise with Visualization: Trigonometric Functions Comparison
Exercise 6: Comparing Basic Trig Functions
Visualize the relationships between basic trigonometric functions:
\(f(x) = \sin(x)\)
\(g(x) = \cos(x)\)
\(h(x) = \tan(x)\)

Analysis: The chart shows the fundamental differences between sine, cosine, and tangent functions.

  • Sine starts at 0 and reaches maximum at π/2
  • Cosine starts at maximum (1) and reaches 0 at π/2
  • Tangent has vertical asymptotes where cosine equals zero

Questions & Answers

Question: How do I determine the phase shift when the function is written as f(x) = sin(x + π)? I'm confused about the sign.

Answer: The key is to rewrite the function in standard form f(x) = A sin(Bx - C) + D.

For f(x) = sin(x + π), rewrite as f(x) = sin(x - (-π)).

Now we can see: A = 1, B = 1, C = -π, D = 0.

Phase shift = C/B = (-π)/1 = -π.

A negative phase shift means the graph moves π units to the left.

Alternatively, you can remember the shortcut: f(x) = sin(x + h) shifts left by h units, and f(x) = sin(x - h) shifts right by h units.

So f(x) = sin(x + π) shifts left by π units.

Question: Why does the tangent function have vertical asymptotes while sine and cosine don't?

Answer: This is because tangent is defined as sine divided by cosine: tan(x) = sin(x)/cos(x).

Vertical asymptotes occur when the denominator equals zero, making the function undefined.

Cosine equals zero at x = π/2 + nπ (where n is any integer), so tangent has vertical asymptotes at these values.

Sine and cosine don't have denominators that can equal zero, so they're defined for all real numbers.

As x approaches values where cosine is zero, the sine/cosine ratio grows without bound, creating the vertical asymptotes.

Question: What happens to the graph when the amplitude A is negative? Does it flip?

Answer: Yes, when the amplitude A is negative, the graph is reflected across the x-axis.

For example:

  • f(x) = sin(x) starts at (0,0) and rises to (π/2,1)
  • f(x) = -sin(x) starts at (0,0) but falls to (π/2,-1)

The amplitude is still |A| (the absolute value), but the graph is inverted.

A negative amplitude causes the wave to start by going in the opposite direction from normal.

For cosine: f(x) = cos(x) starts at maximum, but f(x) = -cos(x) starts at minimum.

Question: How do I find the period of a transformed tangent function? Is it the same as sine and cosine?

Answer: No, the period of tangent is different from sine and cosine.

For f(x) = A sin(Bx - C) + D or f(x) = A cos(Bx - C) + D: Period = 2π/|B|

For f(x) = A tan(Bx - C) + D: Period = π/|B|

This is because tangent completes one full cycle in π radians, not 2π.

Examples:

  • sin(2x) has period 2π/2 = π
  • tan(2x) has period π/2
  • cos(3x) has period 2π/3
  • tan(3x) has period π/3

Remember: Tangent's natural period is π, so it's affected differently by the coefficient B.

Question: How does the vertical shift affect the range of sine and cosine functions?

Answer: The vertical shift D moves the entire graph up or down, which directly affects the range.

For f(x) = A sin(Bx - C) + D or f(x) = A cos(Bx - C) + D:

  • Maximum value: D + |A|
  • Minimum value: D - |A|
  • Range: [D - |A|, D + |A|]

Examples:

  • f(x) = sin(x) + 2: Range is [-1+2, 1+2] = [1, 3]
  • f(x) = 3cos(x) - 1: Range is [-3-1, 3-1] = [-4, 2]
  • f(x) = -2sin(x) + 5: Range is [-2+5, 2+5] = [3, 7]

The vertical shift changes the midline from y = 0 to y = D.