MathLab with Mr. Ahmed is a math learning website by Ahmed Amasha, a mathematics teacher teaching the American curriculum. Explore Algebra 2, Precalculus, Calculus, and SAT and PSAT Math Prep through lessons, focused practice and printable resources.
The tangent function has period π; vertical asymptotes occur where cosine is zero.
Worked example 1
01 / Use the sine/cosine quotient or reciprocal definition to construct y=tanx on (−2π,2π). State its real domain, least period, parity, full pole set, range, zeros or vertices, and both one-sided behaviors at the first nonnegative pole. Evaluate it at 3π where defined. Explain why no finite sinusoidal amplitude applies. Curve 1: tan(x). Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
02 / Use tanx=cosxsinx. Denominator =0, so exclude x=2π+nπ.
03 / The parity is odd from the sine/cosine parity rules. The least period is π. The zero set of tangent/cotangent or the alternating sign of consecutive reciprocal branches rules out half this period.
04 / The range is R and zeros are x=nπ.
05 / At the first nonnegative pole 2π, the left limit is positive infinity and the right limit is negative infinity. Check the denominator sign on each side; do not connect the branches.
06 / The value at 3π is 3.
07 / These functions are unbounded. A vertical scale factor is not a finite amplitude.
Worked example 2 · R01
Use the sine/cosine quotient or reciprocal definition to construct y=cotx on (0,π). State its real domain, least period, parity, full pole set, range, zeros or vertices, and both one-sided behaviors at the first nonnegative pole. Evaluate it at 4π where defined. Explain why no finite sinusoidal amplitude applies. Curve 1: cot(x).
Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Use cotx=sinxcosx. Denominator =0, so exclude x=nπ. The parity is odd from the sine/cosine parity rules. The least period is π. The zero set of tangent/cotangent or the alternating sign of consecutive reciprocal branches rules out half this period. The range is R and zeros are x=2π+nπ. At the first nonnegative pole 0, the left limit is negative infinity and the right limit is positive infinity. Check the denominator sign on each side; do not connect the branches. The value at 4π is 1. These functions are unbounded. A vertical scale factor is not a finite amplitude. Written-work review:
Use the defining quotient or reciprocal to derive the entire domain and pole set.
Give least period, parity, range and every zero or vertex family.
Draw disconnected branches, justify both one-sided pole signs and evaluate the specified input.
Read the graphs
Construct reciprocal base graphs
Use the sine/cosine quotient or reciprocal definition to construct y=tanx on (−2π,2π). State its real domain, least period, parity, full pole set, range, zeros or vertices, and both one-sided behaviors at the first nonnegative pole. Evaluate it at 3π where defined. Explain why no finite sinusoidal amplitude applies. Curve 1: tan(x). Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Use tanx=cosxsinx. Denominator =0, so exclude x=2π+nπ. The parity is odd from the sine/cosine parity rules. The least period is π. The zero set of tangent/cotangent or the alternating sign of consecutive reciprocal branches rules out half this period. The range is R and zeros are x=nπ. At the first nonnegative pole 2π, the left limit is positive infinity and the right limit is negative infinity. Check the denominator sign on each side; do not connect the branches. The value at 3π is 3. These functions are unbounded. A vertical scale factor is not a finite amplitude. Written-work review:
Use the defining quotient or reciprocal to derive the entire domain and pole set.
Give least period, parity, range and every zero or vertex family.
Draw disconnected branches, justify both one-sided pole signs and evaluate the specified input.
Answer: Least period π; parity odd; poles x=2π+nπ, n∈Z.
Transform tangent and cotangent branches
For y=2tan(3x−73π)+1, factor the input and find the least period and horizontal shift. Give the entire excluded pole set, a convenient cycle interval with every pole removed, signed branch direction or vertices, and range. Draw all branches in that interval with the marked key coordinates. Curve 1: 1−2cot(3x+14π). Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Normalize the frequency to 3 using oddness for tangent, cotangent and cosecant, and evenness for secant. The equivalent formula is y=1+2tan(3(x−7π)). The shift is 7π. Dividing the base period π by 3 gives T=3π. Nonzero scale is essential. Denominator cos(3x−73π)=0, so every excluded input is x=4213π+n(3π),n∈Z. One cycle spans [−42π,4213π], with all listed poles removed. The poles in this window are −42π, 4213π. Key coordinates: (845π,−1), (7π,1), (8419π,3). Apply the signed outside scale before the vertical translation; a negative scale reverses branch orientation. The range is R. Each tangent branch is increasing when the normalized outside scale is positive and decreasing when it is negative; cotangent reverses those directions. Here the normalized outside scale is 2. Therefore every branch is increasing; this conclusion includes the original input reflection. Written-work review:
Factor and normalize the input, preserving signed tangent/cotangent orientation.
Compute the full pole lattice, least period and complete between-pole interval.
Calculate key points, range and branch direction and draw every branch without crossing a pole.
Answer: Least period 3π; pole set x=4213π+n(3π), n∈Z.
Transform secant and cosecant branches
For y=2sec(3x−73π)+1, factor the input and find the least period and horizontal shift. Give the entire excluded pole set, a convenient cycle interval with every pole removed, signed branch direction or vertices, and range. Draw all branches in that interval with the marked key coordinates. Curve 1: sin(3x+14π). Curve 2: 2csc(3x+14π)+1. Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Normalize the frequency to 3 using oddness for tangent, cotangent and cosecant, and evenness for secant. The equivalent formula is y=1+2sec(3(x−7π)). The shift is 7π. Dividing the base period 2π by 3 gives T=32π. Nonzero scale is essential. Denominator cos(3x−73π)=0, so every excluded input is x=4213π+n(3π),n∈Z. One cycle spans [−214π,2110π], with all listed poles removed. The poles in this window are −42π, 4213π. Key coordinates: (−214π,−1), (7π,3), (2110π,−1). Apply the signed outside scale before the vertical translation; a negative scale reverses branch orientation. The range is (−∞,−1]∪[3,∞). Reciprocal guide curves locate poles at zero-denominator inputs and branch vertices where the guide has values 1 or −1. These are unbounded branches, not finite-amplitude waves. The continuous first curve is the guide g(x)=sin(3x+14π). The second is y=1+g(x)2. Guide zeros give the full pole set. Guide values 1 and −1 give the displayed vertices 3 and −1. At a guide value 21, the reciprocal contribution is doubled and the output is 5. Apply reciprocation first, then the signed scale, then the vertical translation. The positive scale preserves the reciprocal branch signs relative to the midline. Written-work review:
Factor the input and use a sine/cosine reciprocal guide.
Compute the full pole lattice, least period and all internal exclusions in the cycle.
Calculate exact vertices and range, showing both branch signs and any reflection or vertical translation.
Answer: Least period 32π; pole set x=4213π+n(3π), n∈Z.
Match formulas to actual reciprocal graphs
Match each of the six formulas to exactly one of the actual panels. For every match, justify the pole spacing, horizontal shift, branch direction and vertical scale or offset. Formulas: 1: y=−2cot(x+103π); 2: y=−2tan(x); 3: y=2cot(2x); 4: y=2sec(x); 5: y=sec(2x); 6: y=2csc(x)+1. Panel A. Curve 1: unidentified curve. Panel B. Curve 1: unidentified curve. Panel C. Curve 1: unidentified curve. Panel D. Curve 1: unidentified curve. Panel E. Curve 1: unidentified curve. Panel F. Curve 1: unidentified curve. Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Formula 1 matches panel A. In the explicit tan form y=2tan(x−5π), the horizontal shift is 5π, outside scale 2 and vertical offset 0. Its complete poles are x=107π+n(π),n∈Z, so adjacent pole spacing is π. Its branch direction is increasing. The sign of the outside scale and the tangent/cotangent base direction give this actual orientation. Formula 2 matches panel B. In the explicit tan form y=−2tan(x), the horizontal shift is 0, outside scale −2 and vertical offset 0. Its complete poles are x=2π+n(π),n∈Z, so adjacent pole spacing is π. Its branch direction is decreasing. The sign of the outside scale and the tangent/cotangent base direction give this actual orientation. Formula 3 matches panel C. In the explicit cot form y=2cot(2x), the horizontal shift is 0, outside scale 2 and vertical offset 0. Its complete poles are x=n(2π),n∈Z, so adjacent pole spacing is 2π. Its branch direction is decreasing. The sign of the outside scale and the tangent/cotangent base direction give this actual orientation. Formula 4 matches panel D. In the explicit sec form y=2sec(x), the horizontal shift is 0, outside scale 2 and vertical offset 0. Its complete poles are x=2π+n(π),n∈Z, so adjacent pole spacing is π. Its branch direction is not one monotone direction across a U-shaped reciprocal branch; the two sides meet at a vertex. The reciprocal vertices have heights −2 and 2. Formula 5 matches panel E. In the explicit sec form y=sec(2x), the horizontal shift is 0, outside scale 1 and vertical offset 0. Its complete poles are x=4π+n(2π),n∈Z, so adjacent pole spacing is 2π. Its branch direction is not one monotone direction across a U-shaped reciprocal branch; the two sides meet at a vertex. The reciprocal vertices have heights −1 and 1. Formula 6 matches panel F. In the explicit csc form y=1+2csc(x), the horizontal shift is 0, outside scale 2 and vertical offset 1. Its complete poles are x=n(π),n∈Z, so adjacent pole spacing is π. Its branch direction is not one monotone direction across a U-shaped reciprocal branch; the two sides meet at a vertex. The reciprocal vertices have heights −1 and 3. Thus Panels for formulas 1–6: A,B,C,D,E,F. All four feature types agree for every match; a shared intercept alone would not identify a graph. Written-work review:
Match all six actual panels, not just one selected graph.
Justify every match with pole spacing, horizontal shift, branch shape/direction and scale or offset.
Explain why matching one intercept is insufficient.
Answer: Panels for formulas 1–6: A,B,C,D,E,F.
Analyze physical tangent and shadow models
A lighthouse is 2 kilometers from a straight shore. Its beam turns once every 4 minutes, and the shoreline distance from the nearest point is D(t)=2tan(2πt) on 0≤t<1. Evaluate the distance at 41, 21, 109 minutes to three decimals. Graph the complete physical interval, find when the distance first equals the offshore distance, and explain the one-sided boundary blow-up. If the sweep begins at 9:00 a.m., convert the threshold time to a clock time, rounded to the nearest second, with an exact half-second rounded upward. Curve 1: D(t)=2tan(2πt). Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
The angular speed is ω=42π radians per minute. The initial beam is perpendicular to the shore. The boundary beam becomes parallel to the shore, at ωt=2π, so the physical boundary is 1 minutes.
Time ( minutes )
Distance ( kilometers )
41
0.828
21
2.000
109
12.628
D(t)=2 becomes tan(ωt)=1. On the physical branch ωt=4π, giving t=21 minutes, or 9:00:30 a.m.. As time approaches 1 from below, the tangent denominator approaches zero positively while the numerator approaches one. The modeled distance tends to positive infinity. The endpoint is excluded; this is a geometric idealization, not a finite shoreline endpoint. Written-work review:
Convert every supplied time and compute the full value table with units.
Draw the full physical interval with the correct open boundaries and any absolute value.
Recover all threshold times, convert clock times and justify the appropriate one-sided positive blow-up.
Let f be defined on all real inputs, with least positive period p. Define r(x)=f(x)1 exactly where f(x)=0. Prove that r has exactly the same periods as f, including invariance of its domain and recovery of the zero set. Then prove that a quotient of two p-periodic functions inherits p on its denominator-nonzero domain, but may have a smaller least period. Use cos(x)sin(x) as a counterexample to equal least periods. Finally compare 2+cos(x)2+cos(x) with sin(x)sin(x): both have constant values, but do they have the same domain and least-period behavior? Also explain the unchanged pole exclusions in 0tan(x). Curve 1: cos(x)+21. Curve 2: tan(x). Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Let D={x:f(x)=0}. If P is a period of f, then x∈D⟺x+P∈D and r(x+P)=f(x+P)1=f(x)1=r(x). Conversely, a period of r must preserve its domain D. On D, taking reciprocals gives f(x+P)=f(x). On its complement both values are zero, since domain invariance also preserves the complement. Thus every period of r is a period of f. Their sets of periods, and hence least periods, coincide. The all-real original domain matters. Apply this to sine and cosine. Their reciprocals cosecant and secant have least period 2π, not merely a known period. The nonzero restricted domain has not erased the zero-set information because it is the complement in the full real line. If f(x+p)=f(x) and g(x+p)=g(x), then g(x)=0⟺g(x+p)=0 and g(x+p)f(x+p)=g(x)f(x). This proves a period, not necessarily the least one. The sine and cosine numerator and denominator each have least period 2π, but their tangent quotient has least period π. Its zeros are spaced by that amount, proving minimality. The positive-denominator quotient equals 1 on all real inputs, so every positive number is a period and there is no least one. The sine-over-sine quotient equals 1 only off x=1nπ. Its excluded lattice forces least period π. Constant values alone do not remove domain restrictions. Likewise 0tan(x) is zero only on the original tangent domain; the poles remain excluded unless an extension is explicitly defined. Its domain has least positive translation π, unlike a constant defined on all real numbers. Written-work review:
Prove reciprocal period inheritance in both directions using the nonzero domain and its zero complement.
Prove quotient period inheritance and exhibit a strictly smaller fundamental-period example.
Distinguish all-real constants, punctured constants and zero-scaled functions that retain poles.
Answer: Reciprocal base period 2π; tangent quotient least period π; all-real constant has no least positive period; punctured constant least period π.
Explain shift identities with domains
Use actual shifted graphs and then algebra to establish both identities tan(x−2π)=−cot(x) and sec(x−2π)=csc(x). Explain the horizontal translation before scaling back to the input axis, list the complete common domain, and justify the branch signs. Curve 1: −cot(x). Curve 2: −cot(x). Curve 1: csc(x). Curve 2: csc(x). Show the requested calculations and reasoning. Written explanations and sketches require teacher review; choosing a summary does not verify that work. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
Let u=x. The shift by 2π in the argument corresponds to 2π in the horizontal coordinate, not 2π unless the frequency is 1. sin(u−2π)=−cosu and cos(u−2π)=sinu. Therefore tan(u−2π)=sinu−cosu=−cotu. sec(u−2π)=cos(u−2π)1=sinu1=cscu. Both sides of both identities require sinu=0, giving x=0+1nπ,n∈Z. The coincident drawn branches have exactly these poles and signs. Coincidence on a finite plot suggests the identities; the algebra proves them everywhere on the common domain. Written-work review:
Convert the argument shift into the correctly frequency-scaled horizontal shift.
Give both quotient/reciprocal algebraic identity proofs and the complete common domain.
Use actual coincident graph branches as illustrations, not substitutes for the global proof.
Answer: First multiplier −1; second multiplier 1; common domain x=0+1nπ,n∈Z.
Textbook reference: Stewart, Redlin & Watson, Precalculus: Mathematics for Calculus, 7th ed. (Cengage, 2016). The explanations and practice here are original, organized by textbook section.