Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linear transformation from [-1,1] to [a,b]

  1. Sep 18, 2013 #1
    This is from Numerical analysis course (Legendre polynom) - they gave us the polynomial transformation from [-1,1] to [a,b] as: x = 2/(b-a) * z - (b+a)/(b-a)
    what is the proof of this tranformation? where did it come from?
  2. jcsd
  3. Sep 18, 2013 #2


    User Avatar
    Homework Helper

    That isn't the transformation from [-1,1] to [a,b]; it's the transformation from [a,b] to [-1,1].

    As for where it comes from: set x = mz + c, and impose the conditions that x = -1 when z = a and x = 1 when z = b. That gives you two linear simultaneous equations for m and c:
    -1 = ma + c \\
    1 = mb + c
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook