Worksheets · Precalculus

Writing trig equations from graphs worksheet

To write y = a sin(b(x − h)) + d or y = a cos(b(x − h)) + d from a graph, read the midline d halfway between the highest and lowest points, the amplitude a from the midline to a peak, and the period from one peak to the next; then b = 2π ÷ period. Easy has sine and cosine graphs with only an amplitude and a period; medium adds a midline other than the x-axis, graphs turned over, and periods that are fractions of π; hard has phase shifts written as both a sine and a cosine, real-world graphs, and equations from a description of a maximum and a minimum.

Not quite the one you need? Same words, different skill:

Select your difficulty

Pick more than one for a sheet that mixes them.

The preview can look cramped on a phone. The PDF and printed sheet come out normal.

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Writing Trig Equations from Graphs

Date Period

Follow the heading above each group.

  1. Find the midline, amplitude and period of each graph, then write its equation

    The whole graph is above the x-axis. Find the midline halfway between the highest and lowest points, then write the equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.03π/43π/29π/43π15π/49π/221π/46π−10123456xy
  2. This graph’s midline is not the x-axis. Find the midline, amplitude and period, then write it in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.0π/32π/3π4π/35π/32π7π/38π/3−6−5−4−3−2−101234xy
  3. The x-axis is in plain numbers. Find the midline, amplitude and period, then write the equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.0510152025303540−10123xy
  4. The x-axis is in plain numbers. Find the midline, amplitude and period, then write the equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.01020304050607080−3−2−101xy
  1. Each graph is turned over (a < 0): write or choose its equation

    Which equation matches the graph?
    A.  y=−3sin⁡ ⁣(43x)+2B.  y=−3cos⁡ ⁣(43x)−2C.  y=−3sin⁡ ⁣(43x)−2D.  y=3sin⁡ ⁣(43x)−2
    03π/83π/49π/83π/215π/89π/421π/83π−6−5−4−3−2−1012xy
  2. This graph is turned over. Write its equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d, with b>0.0π/6π/3π/22π/35π/6π7π/64π/3−3−2−1012345xy
  3. A student wrote y=4sin⁡(4x)−1 for this graph. Find the mistake and write the correct equation.0π/8π/43π/8π/25π/83π/47π/8π−6−5−4−3−2−101234xy
  4. Which equation matches the graph?
    A.  y=−3cos⁡ ⁣(43x)−2B.  y=−3sin⁡ ⁣(43x)−2C.  y=3cos⁡ ⁣(43x)−2D.  y=−3cos⁡ ⁣(43x)+2
    03π/83π/49π/83π/215π/89π/421π/83π−6−5−4−3−2−1012xy
  1. Use the marked points to find the period and midline, then write the equation

    This sine graph starts on its midline going up. The marked points are its first maximum and the minimum after it. Write it in the form y=asin⁡(bx)+d.0π/3π−4−3−2−1012xy
  2. This cosine graph starts at its maximum, and the marked point is its next minimum. Find the midline, amplitude and period, then write it in the form y=acos⁡(bx)+d.0π/4−5−4−3−2−101xy
  3. This graph starts at its minimum, and the marked point is its next maximum. Write it in the form y=acos⁡(bx)+d, with b>0.02π/3−101234567xy
  4. This sine graph starts on its midline going down. The marked point is its first minimum. Write it in the form y=asin⁡(bx)+d, with b>0.0π/6−2−101234xy

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Writing Trig Equations from GraphsAnswer keyVersion 1

Date Period

Follow the heading above each group.

  1. Find the midline, amplitude and period of each graph, then write its equation

    The whole graph is above the x-axis. Find the midline halfway between the highest and lowest points, then write the equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.03π/43π/29π/43π15π/49π/221π/46π−10123456xymidline y = (5 + 1) ÷ 2 = 3, amplitude 2, period 3π: y=2cos⁡ ⁣(23x)+3
  2. This graph’s midline is not the x-axis. Find the midline, amplitude and period, then write it in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.0π/32π/3π4π/35π/32π7π/38π/3−6−5−4−3−2−101234xymidline y = −1, amplitude 4, period 4π3: y=4sin⁡ ⁣(32x)−1
  3. The x-axis is in plain numbers. Find the midline, amplitude and period, then write the equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.0510152025303540−10123xymidline y=1, amplitude 1, period 20: y=sin⁡ ⁣(π10x)+1, since b=2π20
  4. The x-axis is in plain numbers. Find the midline, amplitude and period, then write the equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d.01020304050607080−3−2−101xymidline y = −1, amplitude 1, period 40: y=sin⁡ ⁣(π20x)−1, since b=2π40
  1. Each graph is turned over (a < 0): write or choose its equation

    Which equation matches the graph?
    A.  y=−3sin⁡ ⁣(43x)+2B.  y=−3cos⁡ ⁣(43x)−2C.  y=−3sin⁡ ⁣(43x)−2D.  y=3sin⁡ ⁣(43x)−2
    03π/83π/49π/83π/215π/89π/421π/83π−6−5−4−3−2−1012xyC. y=−3sin⁡ ⁣(43x)−2: midline y = −2, and it starts on the midline going down
  2. This graph is turned over. Write its equation in the form y=asin⁡(bx)+d or y=acos⁡(bx)+d, with b>0.0π/6π/3π/22π/35π/6π7π/64π/3−3−2−1012345xyit starts at its minimum, so it is a cosine with a<0: a = −3, period 2π3: y=−3cos⁡(3x)+1
  3. A student wrote y=4sin⁡(4x)−1 for this graph. Find the mistake and write the correct equation.0π/8π/43π/8π/25π/83π/47π/8π−6−5−4−3−2−101234xyThe graph is turned over: it goes down from the midline at x=0, so a = −4: y=−4sin⁡(4x)−1
  4. Which equation matches the graph?
    A.  y=−3cos⁡ ⁣(43x)−2B.  y=−3sin⁡ ⁣(43x)−2C.  y=3cos⁡ ⁣(43x)−2D.  y=−3cos⁡ ⁣(43x)+2
    03π/83π/49π/83π/215π/89π/421π/83π−6−5−4−3−2−1012xyA. y=−3cos⁡ ⁣(43x)−2: midline y = −2, and it starts at its minimum
  1. Use the marked points to find the period and midline, then write the equation

    This sine graph starts on its midline going up. The marked points are its first maximum and the minimum after it. Write it in the form y=asin⁡(bx)+d.0π/3π−4−3−2−1012xymidline y = −1, amplitude 2, period 2 × 2π3=4π3: y=2sin⁡ ⁣(32x)−1
  2. This cosine graph starts at its maximum, and the marked point is its next minimum. Find the midline, amplitude and period, then write it in the form y=acos⁡(bx)+d.0π/4−5−4−3−2−101xymidline y = −2, amplitude 2, period 2 × π4=π2: y=2cos⁡(4x)−2
  3. This graph starts at its minimum, and the marked point is its next maximum. Write it in the form y=acos⁡(bx)+d, with b>0.02π/3−101234567xystarting at the minimum means a<0; midline y=3, period 2 × 2π3=4π3: y=−3cos⁡ ⁣(32x)+3
  4. This sine graph starts on its midline going down. The marked point is its first minimum. Write it in the form y=asin⁡(bx)+d, with b>0.0π/6−2−101234xygoing down means a<0; midline y=1, period 4 × π6=2π3: y=−2sin⁡(3x)+1

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

How to do these

A cosine graph has a maximum of 5, a minimum of −1, and period π. It is at its maximum at x=0.

  1. The midline is halfway between: (5 + (−1)) ÷ 2 = 2.
  2. The amplitude is 5 − 2 = 3.
  3. b = 2π ÷ π = 2.

The answer is y=3cos⁡(2x)+2.

Where students go wrong

Using the period for b. A graph with period 4π has b = 2π ÷ 4π = 1/2, not 4: a long period means a small b.

Also called writing equations of sine and cosine graphs, writing sine and cosine equations from graphs, finding the equation of a trig graph or sinusoidal equations from graphs.

What you can put on this worksheet

Equation from the graph: amplitude and period; midline; phase shift
The x-axis is in plain numbers, not multiples of π. Find the amplitude and period, then write the equation in the form y=asin⁡(bx) or y=acos⁡(bx). → amplitude 1, period 12: y=cos⁡ ⁣(π6x), since b=2π12
Choose or correct the equation; reflected graphs; real-world graphs
A student wrote y=5sin⁡(x) for this graph. Find the mistake and write the correct equation. — the graph of y = 5\sin\left(2x\right), the x-axis marked in multiples of π → The period is π, so b=2π÷π=2, not 1: y=5sin⁡(2x)
Period from marked points; midline from a maximum and minimum; from a description
This cosine graph starts at its maximum. The marked point is its first minimum. Use it to find the period, then write the equation in the form y=asin⁡(bx) or y=acos⁡(bx). → the first minimum is halfway through a cycle, so the period is 2 × π=2π: y=5cos⁡(x)

Questions about these worksheets

Yes. Every writing trig equations from graphs sheet is free to print and free to download as a PDF. There is no account to make, no email to hand over and no limit on how many you take.

Yes. The answer key prints on a second page, and you can choose whether it shows each question beside its answer or just the answers in a list.

Yes. Print straight from the page, or download the PDF and print that. The sheet is laid out for paper rather than squeezed off a screen, so there is room to work under each question, and the answer key comes out on its own page.

Precalculus is usually taken around 11th or 12th grade, though schools vary and plenty of students meet it earlier or later. Pick the difficulty rather than the grade: the easy level suits a first lesson on it, the hard level suits review before a test.

Yes, as many as you like. The questions are built fresh each time rather than picked from a fixed set of files, so pressing Generate gives a new sheet. That is what you want for a second class, a retake, or two students sitting next to each other.

That is the closest comparison, and Kuta Software is good software. It is also paid software you install on a computer. These worksheets run in a browser tab for free, with no account and nothing to install. Like Kuta, the writing trig equations from graphs questions are generated when you ask for them rather than pulled from a fixed set of files, so two classes never get the same sheet, and the answer key comes with it.

Yes. There are three levels, and you can tick more than one for a sheet that mixes them, in which case the questions come out easiest first. The harder levels are not just larger numbers: they ask for something the easy ones do not.

You pick from 3: equation from the graph: amplitude and period; midline; phase shift, choose or correct the equation; reflected graphs; real-world graphs and period from marked points; midline from a maximum and minimum; from a description. Tick as many as you want and set how many of each, or let it spread them evenly.

Using the period for b. A graph with period 4π has b = 2π ÷ 4π = 1/2, not 4: a long period means a small b.