English

Sum-and-Difference Butterfly

Follow a signed sum-and-difference network and check its inverse.

Adult planning suggestion: about 9–12 · Logic & rule checking

Players
2–4; cooperate, then exchange the checker role
Time
15–25 minutes
Materials
Paper, pencil and the supplied player sheet; keep the host sheet separate.

Prepare

Write four signed values a,b,c,d in separate input boxes. Use two-stage worksheets and keep the original row until all outputs have been computed. Start with 1,2,3,4.

Follow the rule

Stage one is u=(a+b,a−b,c+d,c−d). Stage two is (u 0+u 2,u 1+u 3,u 0−u 2,u 1−u 3). Follow this exact output order; operations are sums and differences, not compare-and-swap.

Check each step

Compute every value in a stage from the previous complete row. Write a minus result with its sign; do not silently turn subtraction into an absolute difference.

Worked example

Transform 1,2,3,4 and then transform that output again. Divide each of the second output’s four values by 4 and compare with the starting input.

Finish and adapt

Finish when forward and return checks agree. This is a four-value Walsh–Hadamard pattern, not the Fourier transform and not a promise of compression or secret encryption.

Purpose, observation and provenance

Within this activity: Follow a signed sum-and-difference network and check its inverse.

Ask the checker to name a particular rule and show the recorded evidence. Speed alone is not the goal.

Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.

SciPy · Sylvester Hadamard matrix — Mechanism background only. Our small paper instance and role rotation are separate; no endorsement or unique-solution claim.

Secondary practice: Cooperation and explaining a check.

For a class of 30, use ten groups of three. Prepare one player-material set per group and keep the host key with the adult. Rotate operator, recorder and checker after each worked example; a reader or scribe may help without choosing answers. Avoid public ranking or diagnostic labels.

Age bands are planning suggestions. Background references may address older learners and do not validate suitability for this age band. Goals describe observable actions, not measured long-term gains or institutional endorsement.

Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.

Printable materials

Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.

Sum-and-Difference Butterfly · Player materials

Write four signed values a,b,c,d in separate input boxes. Use two-stage worksheets and keep the original row until all outputs have been computed. Start with 1,2,3,4.

Stage one is u=(a+b,a−b,c+d,c−d). Stage two is (u 0+u 2,u 1+u 3,u 0−u 2,u 1−u 3). Follow this exact output order; operations are sums and differences, not compare-and-swap.

Compute every value in a stage from the previous complete row. Write a minus result with its sign; do not silently turn subtraction into an absolute difference.

Stage / 阶段0123
Input / 输入1234
u
Output / 输出
Again / 再次
Step / cellDecision / valueRule checked
________________________
________________________
________________________
________________________

Sum-and-Difference Butterfly · Host key — keep separate

u=(3,−1,7,−1), output=(10,−2,−4,0); transform again=(4,8,12,16). Divide by 4 gives(1,2,3,4).

Lead and check

Write four signed values a,b,c,d in separate input boxes. Use two-stage worksheets and keep the original row until all outputs have been computed. Start with 1,2,3,4.

Stage one is u=(a+b,a−b,c+d,c−d). Stage two is (u 0+u 2,u 1+u 3,u 0−u 2,u 1−u 3). Follow this exact output order; operations are sums and differences, not compare-and-swap.

Compute every value in a stage from the previous complete row. Write a minus result with its sign; do not silently turn subtraction into an absolute difference.

Transform 1,2,3,4 and then transform that output again. Divide each of the second output’s four values by 4 and compare with the starting input.

Finish when forward and return checks agree. This is a four-value Walsh–Hadamard pattern, not the Fourier transform and not a promise of compression or secret encryption.

Classroom: ten trios for 30 learners; one kit per trio. Rotate operator, recorder and checker. Age guidance is a planning suggestion; prerequisite support may be necessary.

Related activities

Activity library · Four-lane compare-exchange network