ArticleslgStudy

science

Addition-subtraction chain

Addition-subtraction chain is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Addition-subtraction chain rather than just read about it. In short: An addition-subtraction chain, a generalization of addition chains to include subtraction, is a sequence a0, a1, a2, a3, ... that satisfies a0=1, for k>0, ak=ai±aj for some 0≤i,j<k. An addition-subtraction chain for n, of length L, is an addition-subtraction chain such that aL=n.

Key takeaways

  • Addition-subtraction chain belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Addition-subtraction chain to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Addition-subtraction chain from memory before moving on to harder problems.

Reference excerpt

An addition-subtraction chain, a generalization of addition chains to include subtraction, is a sequence a0, a1, a2, a3, ... that satisfies

a0=1, for k>0, ak=ai±aj for some 0≤i,j<k. An addition-subtraction chain for n, of length L, is an addition-subtraction chain such that aL=n. That is, one can thereby compute n by L additions and/or subtractions. (Note that n need not be positive. In this case, one may also include a−1 = 0 in the sequence, so that n = −1 can be obtained by a chain of length 1.) By definition, every addition chain is also an addition-subtraction chain, but not vice versa. Therefore, the length of the shortest addition-subtraction chain for n is bounded above by the length of the shortest addition chain for n. In general, however, the determination of a minimal addition-subtraction chain (like the problem of determining a minimum addition chain) is a difficult problem for which no efficient algorithms are currently known. The related problem of finding an optimal addition sequence is NP-complete (Downey et al., 1981), but it is not known for certain whether finding optimal addition or addition-subtraction chains is NP-hard. For example, one addition-subtraction chain is: a0=1, a1=2=1+1, a2=4=2+2, a3=3=4−1. This is not a minimal addition-subtraction chain for n=3, however, because we could instead have chosen a2=3=2+1. The smallest n for which an addition-subtraction chain is shorter than the minimal addition chain is n=31, which can be computed in only 6 additions (rather than 7 for the minimal addition chain):

a0=1, a1=2=1+1, a2=4=2+2, a3=8=4+4, a4=16=8+8, a5=32=16+16, a6=31=32−1. Like an addition chain, an addition-subtraction chain can be used for addition-chain exponentiation: given the addition-subtraction chain of length L for n, the power xn can be computed by multiplying or dividing by x L times, where the subtractions correspond to divisions. This is potentially efficient in problems where division is an inexpensive operation, most notably for exponentiation on elliptic curves where division corresponds to a mere sign change (as proposed by Morain and Olivos, 1990). Some hardware multipliers multiply by n using an addition chain described by n in binary:

n = 31 = 0 0 0 1 1 1 1 1 (binary).

Other hardware multipliers multiply by n using an addition-subtraction chain described by n in Booth encoding:

n = 31 = 0 0 1 0 0 0 0 −1 (Booth encoding).

References Volger, Hugo (8 April 1985). "Some results on addition/subtraction chains". Information Processing Letters. 20 (3): 155–160. doi:10.1016/0020-0190(85)90085-7. Morain, François; Olivos, Jorge (1990). "Speeding up the computations on an elliptic curve using addition-subtraction chains" (PDF). Informatique théorique et applications. 24 (6): 531–543. doi:10.1051/ita/1990240605311. Downey, Peter J.; Leong, Benton L.; Sethi, Ravi (1981). "Computing sequences with addition chains". SIAM J. Comput. 10 (3): 638–646. doi:10.1137/0210047. Sloane, N. J. A. (ed.). "Sequence A128998 (length of minimum addition-subtraction chain)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.

Worked examples

Example 1 — a first encounter with Addition-subtraction chain

Start with the simplest possible case. Write down what Addition-subtraction chain claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Addition-subtraction chain before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Addition-subtraction chain ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Addition-subtraction chain

In research
Addition-subtraction chain appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Addition-subtraction chain in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Addition-subtraction chain is common in secondary-school and first-year university syllabi. It links to neighbouring topics Addition chains, so understanding it makes those chapters shorter.
In everyday life
Look for Addition-subtraction chain outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Addition-subtraction chain” →

How to study Addition-subtraction chain in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Addition-subtraction chain means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Addition-subtraction chain out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Addition-subtraction chain in simple terms?

An addition-subtraction chain, a generalization of addition chains to include subtraction, is a sequence a0, a1, a2, a3, ... that satisfies a0=1, for k>0, ak=ai±aj for some 0≤i,j<k. An addition-subtraction chain for n, of length L, is an addition-subtraction chain such that aL=n.

Why does Addition-subtraction chain matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Addition-subtraction chain?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Addition-subtraction chain.

Tags

  • Addition chains

Keep exploring