Compute actuarial present values of life insurance and annuity benefits
A life insurance benefit (term, whole life, endowment) or annuity (life annuity-due, immediate, deferred) is described and you must compute its APV at age x.
Decompose the benefit into building blocks: A_x = Σ v^{k+1} k|q_x for whole life, A^{1}_{x:n} = Σ_{k=0}^{n-1} v^{k+1} k|q_x for term, and ä_x = Σ_{k=0}^{∞} v^k k_p_x for life annuity-due. Use the identity A_x + d ä_x = 1 to cross-check. For continuous benefits, replace sums with integrals and v^k with e^{-δk}.
A_x + d ä_x = 1; A_{x:n} = A^{1}_{x:n} + A^{1}_{x:\overline{n}|}.