Skip to content

Instantly share code, notes, and snippets.

@Sgeo
Created January 8, 2020 01:49
Show Gist options
  • Save Sgeo/2a9c28f9c0d5742610e550188e9722f0 to your computer and use it in GitHub Desktop.
Save Sgeo/2a9c28f9c0d5742610e550188e9722f0 to your computer and use it in GitHub Desktop.
a(0)
b(0)
a(t) = (b(t) - a(0))t + a(0)
b(t) = (a(t) - b(0))t + b(0)
a(t) = (((a(t) - b(0))t + b(0)) - a(0))t + a(0)
a(t) = t^2 (a(t) - b(0)) + t (b(0) - a(0)) + a(0)
a(t) = (a(t) - b(0))t^2 + (b(0) - a(0))t + a(0)
a(t) = a(t)t^2 - b(0)t^2 + (b(0) - a(0))t + a(0)
a(t) - a(t)t^2 = -b(0)t^2 + (b(0) - a(0))t + a(0)
a(t)(1 - t^2) = -b(0)t^2 + (b(0) - a(0))t + a(0)
a(t) = (-b(0)t^2 + b(0)t - a(0)t + a(0)) / (1 - t^2)
a(t) = (-b(0)t^2 + ((b(0) - a(0))t + a(0)) / (1-t)(1+t)
Per Wolfram Alpha for polynomial division
a(t) = (b(0)t + a(0))/(1+t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment