You can manipulate summations algebraically. Here are the key properties:
Factor out constants:
Split sums:
Change of index:
These rules let you transform summations to match known formulas. If your code computes , split it: .
Algebraic rules for sums
You can manipulate summations algebraically. Here are the key properties:
Factor out constants:
Split sums:
Change of index:
These rules let you transform summations to match known formulas. If your code computes , split it: .