Graphing Cotangent
Sketching One Period of y = cot(x)
Sketch the graph of $y = \cot(x)$ for $0 < x < \pi$.
Identify the vertical asymptotes: Asymptotes occur where $\sin(x) = 0$ = Asymptotes at $x = 0$ and $x = \pi$
Find key points: $\cot(\frac{\pi}{4}) = 1$, $\cot(\frac{\pi}{2}) = 0$, $\cot(\frac{3\pi}{4}) = -1$ = Points: $(\frac{\pi}{4}, 1)$, $(\frac{\pi}{2}, 0)$, $(\frac{3\pi}{4}, -1)$
Determine behavior near asymptotes: Near $x = 0^+$: $\cot(x) \to +\infty$; Near $x = \pi^-$: $\cot(x) \to -\infty$ = Curve decreases from top-right to bottom-left
Connect the points smoothly: Draw a smooth decreasing curve through the key points = One complete period of cotangent
Answer: The graph shows a decreasing curve from $+\infty$ to $-\infty$, passing through $(\frac{\pi}{4}, 1)$, $(\frac{\pi}{2}, 0)$, and $(\frac{3\pi}{4}, -1)$.
Graphing y = 2cot(x)
How does the graph of $y = 2\cot(x)$ differ from $y = \cot(x)$?
Identify the transformation: The coefficient 2 is a vertical stretch factor = All $y$-values are multiplied by 2
Find new key points: $2\cot(\frac{\pi}{4}) = 2(1) = 2$, $2\cot(\frac{\pi}{2}) = 2(0) = 0$, $2\cot(\frac{3\pi}{4}) = 2(-1) = -2$ = Points: $(\frac{\pi}{4}, 2)$, $(\frac{\pi}{2}, 0)$, $(\frac{3\pi}{4}, -2)$
Check what stays the same: Asymptotes still at $x = n\pi$, period still $\pi$ = Only the amplitude changes
Describe the transformation: The graph is stretched vertically by factor 2 = Steeper curve, same period and asymptotes
Answer: The graph of $y = 2\cot(x)$ is a vertical stretch of $y = \cot(x)$ by factor 2. The curve passes through $(\frac{\pi}{4}, 2)$ instead of $(\frac{\pi}{4}, 1)$, but asymptotes and period remain unchanged.
Graphing y = cot(2x)
Find the period and asymptotes of $y = \cot(2x)$.
Apply the period formula: Period of $\cot(Bx) = \frac{\pi}{|B|}$ = Period $= \frac{\pi}{2}$
Find the asymptotes: Asymptotes where $2x = n\pi$, so $x = \frac{n\pi}{2}$ = Asymptotes at $x = 0, \pm\frac{\pi}{2}, \pm\pi, ...$
Find key points in first period: When $2x = \frac{\pi}{4}$: $x = \frac{\pi}{8}$, $\cot(2 \cdot \frac{\pi}{8}) = \cot(\frac{\pi}{4}) = 1$ = Point: $(\frac{\pi}{8}, 1)$
Find the x-intercept: When $2x = \frac{\pi}{2}$: $x = \frac{\pi}{4}$, $\cot(\frac{\pi}{2}) = 0$ = X-intercept at $(\frac{\pi}{4}, 0)$
Answer: The period is $\frac{\pi}{2}$ (half the original). Vertical asymptotes occur at $x = \frac{n\pi}{2}$ for all integers $n$. The graph completes twice as many cycles in the same interval.
Phase Shift: y = cot(x - π/4)
Describe the transformation and find the new asymptotes for $y = \cot(x - \frac{\pi}{4})$.
Identify the transformation: The form is $\cot(x - C)$ where $C = \frac{\pi}{4}$ = Horizontal shift right by $\frac{\pi}{4}$
Find new asymptotes: Original asymptotes at $x = n\pi$. Shift right by $\frac{\pi}{4}$ = New asymptotes at $x = n\pi + \frac{\pi}{4}$
List specific asymptotes: For $n = 0$: $x = \frac{\pi}{4}$; For $n = 1$: $x = \frac{5\pi}{4}$; For $n = -1$: $x = -\frac{3\pi}{4}$ = Asymptotes: $..., -\frac{3\pi}{4}, \frac{\pi}{4}, \frac{5\pi}{4}, ...$
Find new key points: Original point $(\frac{\pi}{2}, 0)$ shifts to $(\frac{\pi}{2} + \frac{\pi}{4}, 0) = (\frac{3\pi}{4}, 0)$ = X-intercepts at $x = \frac{3\pi}{4} + n\pi$
Answer: The graph is shifted right by $\frac{\pi}{4}$. Asymptotes are now at $x = \frac{\pi}{4} + n\pi$ (instead of $x = n\pi$). Period remains $\pi$.
Complete Transformation: y = 3cot(2x - π) + 1
Analyze the graph of $y = 3\cot(2x - \pi) + 1$.
Rewrite to identify phase shift: $y = 3\cot(2(x - \frac{\pi}{2})) + 1$ = Phase shift is $\frac{\pi}{2}$ right
Find the period: Period $= \frac{\pi}{|B|} = \frac{\pi}{2}$ = Period is $\frac{\pi}{2}$
Find vertical asymptotes: $2(x - \frac{\pi}{2}) = n\pi \Rightarrow x = \frac{\pi}{2} + \frac{n\pi}{2}$ = Asymptotes at $x = \frac{\pi}{2}, \pi, \frac{3\pi}{2}, ...$
Apply vertical stretch and shift: Coefficient 3 stretches vertically, +1 shifts up by 1 = Range still $(-\infty, \infty)$, but center line is $y = 1$
Find a key point: When $x = \frac{3\pi}{4}$: $y = 3\cot(2 \cdot \frac{3\pi}{4} - \pi) + 1 = 3\cot(\frac{\pi}{2}) + 1 = 0 + 1 = 1$ = Point: $(\frac{3\pi}{4}, 1)$
Answer: Period: $\frac{\pi}{2}$. Phase shift: $\frac{\pi}{2}$ right. Vertical stretch by 3, shift up by 1. Asymptotes at $x = \frac{\pi}{2} + \frac{n\pi}{2}$. The center line is $y = 1$ instead of $y = 0$.
Mistake: Confusing the direction of cotangent (thinking it increases like tangent)
Why: Tangent increases from $-\infty$ to $+\infty$, but cotangent does the opposite because $\cot(x) = \frac{1}{\tan(x)}$.
Correct: Remember: Cotangent DECREASES from $+\infty$ to $-\infty$ within each period.
Mistake: Placing asymptotes at $x = \frac{\pi}{2} + n\pi$ (like tangent)
Why: Tangent has asymptotes where $\cos(x) = 0$, but cotangent has asymptotes where $\sin(x) = 0$.
Correct: Cotangent asymptotes are at $x = n\pi$ (multiples of $\pi$), where sine equals zero.
Mistake: Forgetting to factor out $B$ to find phase shift
Why: In $y = \cot(Bx - C)$, the phase shift is $\frac{C}{B}$, not just $C$.
Correct: Always rewrite as $\cot(B(x - \frac{C}{B}))$ to correctly identify the phase shift.
Mistake: Thinking vertical stretch changes the period
Why: Vertical stretch (coefficient in front) only affects the steepness, not the period.
Correct: Only the coefficient of $x$ inside the function (the $B$ value) affects the period.
Acoustic Engineering
Sound engineers use cotangent functions when analyzing standing waves in pipes and resonance chambers.
The impedance of an acoustic tube of length $L$ involves terms like $\cot(\frac{\omega L}{c})$ where $\omega$ is frequency and $c$ is sound speed.
Electrical Engineering
The cotangent function appears in transmission line theory when analyzing signal reflection and impedance matching.
The input impedance of a lossless transmission line involves $\cot(\beta l)$ where $\beta$ is the phase constant and $l$ is the line length.
Cotangent is defined as $\cot(x) = \frac{1}{\tan(x)} = \frac{\cos(x)}{\sin(x)}$
The period of $y = \cot(x)$ is $\pi$, with vertical asymptotes at $x = n\pi$
Unlike tangent, cotangent DECREASES from $+\infty$ to $-\infty$ within each period
For $y = A\cot(Bx - C) + D$: $|A|$ = vertical stretch, $\frac{\pi}{|B|}$ = period, $\frac{C}{B}$ = phase shift, $D$ = vertical shift
Key points to remember: $\cot(\frac{\pi}{4}) = 1$, $\cot(\frac{\pi}{2}) = 0$, $\cot(\frac{3\pi}{4}) = -1$
Q: Why does cotangent have different asymptotes than tangent?
A: Tangent is undefined where $\cos(x) = 0$ (at $\frac{\pi}{2} + n\pi$), while cotangent is undefined where $\sin(x) = 0$ (at $n\pi$). Since $\cot(x) = \frac{\cos(x)}{\sin(x)}$, division by zero occurs at different places.
Q: Is there an amplitude for cotangent?
A: No, cotangent has no amplitude because its range is all real numbers. However, the coefficient $A$ in $y = A\cot(x)$ is called the vertical stretch factor and affects how steep the graph is.
Q: How do I remember that cotangent decreases?
A: Think of it this way: As you move right from an asymptote, $\sin(x)$ increases from 0 while $\cos(x)$ starts positive. So $\frac{\cos}{\sin}$ starts at $+\infty$ and decreases. You can also remember: tangent increases, cotangent (its reciprocal) decreases.
Graphing Cotangent
1 / 13
Graphing Cotangent
Learn to graph the cotangent function and understand its key features including asymptotes, period, and transformations.