I have coded the following:
jst coded biliniear transformation, Expected result should have highest degree=8,But in solution highest degree=20,
Can any one help me what is the mistake i have done?
Code:
var('s,z')
g1=12108.8236080100s^4 + 3016.35528790190s^3 + 10600.0709715245s^2 + 1937.60970085071s + 409.016662847740/s + 472.343751699259/s^2 + 28.3730874809756/s^3 + 24.0436698653890/s^4 + 3397.06167138687
g2=g1.subs(s=((z-1)/(z+1)))
g2.full_simplify()
solution:
(31993.69841156735z^20 - 158174.2276629893z^19 + 216392.4500464178z^18 + 280148.4057432631z^17 - 1211263.434674058z^16 + 1037191.771384268z^15 + 1264180.797481716z^14 - 3364714.4688927z^13 + 1723475.12974153z^12 + 2648901.578200325z^11 - 4385755.889381289z^10 + 1244061.427447394z^9 + 2634639.643830222z^8 - 2874359.710320266z^7 + 417712.5402619956z^6 + 1209501.453649961z^5 - 917808.742510938z^4 + 93647.83955663575z^3 + 205222.817859467z^2 - 116204.0691059264z + 21210.98893340469)/(z^20 - 10.0z^18 + 45.0z^16 - 120.0z^14 + 210.0z^12 - 252.0z^10 + 210.0z^8 - 120.0z^6 + 45.0z^4 - 10.0*z^2 + 1.0)