Menu Close

f-x-y-f-x-1-y-y-x-gt-0-f-x-y-y-1-x-x-0-y-gt-0-xy-x-0-y-0-f-5-7-f-6-9-




Question Number 3793 by 123456 last updated on 21/Dec/15
f(x,y)= { ((f(x−1,y)+y),(x>0)),((f(x+y,y−1)+x),(x≤0∧y>0)),((xy),(x≤0∧y≤0)) :}  f(5,7)=?  f(6,9)=??
f(x,y)={f(x1,y)+yx>0f(x+y,y1)+xx0y>0xyx0y0f(5,7)=?f(6,9)=??
Commented by prakash jain last updated on 21/Dec/15
y>0  f(0,y)=f(y,y−1)+0  =f(0,y−1)+(y−1)y  =f(0,y−2)+(y−2)(y−1)+(y−1)y  =f(0,y−3)+(y−3)(y−2)+(y−2)(y−1)+(y−1)y  f(0,y)=f(0,0)+1∙2+2∙3+...+(y−1)y  Σ_(n=1) ^(y−1) n(n+1)=(((y−1)(y)(2y−1))/6)+((y(y−1))/2)  f(0,y)=((y(y−1)(2y−1))/6)+((y(y−1))/2)   (y>0)  f(x,y)=f(0,y)+xy  f(x,y)=((y(y−1)(2y−1))/6)+((y(y−1))/2)+xy  (x>0,y>0)  f(5,7)=f(0,7)+35  =((7×6×13)/6)+((7×6)/2)+35  =91+21+35  =112+35=147  f(6,9)=f(0,9)+6×9  =((9×8×17)/6)+((9×8)/2)+54  =3×4×17+36+54  =12×17+90  =204+90=294
y>0f(0,y)=f(y,y1)+0=f(0,y1)+(y1)y=f(0,y2)+(y2)(y1)+(y1)y=f(0,y3)+(y3)(y2)+(y2)(y1)+(y1)yf(0,y)=f(0,0)+12+23++(y1)yy1n=1n(n+1)=(y1)(y)(2y1)6+y(y1)2f(0,y)=y(y1)(2y1)6+y(y1)2(y>0)f(x,y)=f(0,y)+xyf(x,y)=y(y1)(2y1)6+y(y1)2+xy(x>0,y>0)f(5,7)=f(0,7)+35=7×6×136+7×62+35=91+21+35=112+35=147f(6,9)=f(0,9)+6×9=9×8×176+9×82+54=3×4×17+36+54=12×17+90=204+90=294
Commented by Rasheed Soomro last updated on 22/Dec/15
∈xcellent  for deriving a formula  for f(x,y) in terms of x and y only( free of  any function definition)!
xcellentforderivingaformulaforf(x,y)intermsofxandyonly(freeofanyfunctiondefinition)!
Answered by Yozzii last updated on 21/Dec/15
f(5,7)⇒x>0 (y>0).  ∴ f(5,7)=f(4,7)+7                   ={f(3,7)+7}+7                   ={f(2,7)+7}+14                   ={f(1,7)+7}+21                   ={f(0,7)+7}+28  f(0,7)⇒x≤0 ∧y>0.  ∴ f(5,7)={f(0+7,7−1)+0}+35                   =f(7,6)+35                   =f(6,6)+6+35  We see that f(x,y)=f(0,y)+xy if  x>0 (∀y). This is seen from computation  of f(5,7)=f(0,7)+5×7.  ∴ f(7,6)=f(0,6)+6×7=42.  ∴ f(5,7)=f(0,6)+6×7+5×7                   =f(6,5)+6×7+5×7                   =f(0,5)+6×5+6×7+5×7                   =f(5,4)+30+42+35                   =f(0,4)+20+72+35                   =f(4,3)+127                   =f(0,3)+12+127                   =f(3,2)+139                   =f(0,2)+6+139                   =f(2,1)+145                   =f(0,1)+2×1+145                   =f(1,0)+147                   =f(0,0)+0×1+147  f(0,0)⇒x,y≤0⇒f(0,0)=0.  ⇒f(5,7)=147.
f(5,7)x>0(y>0).f(5,7)=f(4,7)+7={f(3,7)+7}+7={f(2,7)+7}+14={f(1,7)+7}+21={f(0,7)+7}+28f(0,7)x0y>0.f(5,7)={f(0+7,71)+0}+35=f(7,6)+35=f(6,6)+6+35Weseethatf(x,y)=f(0,y)+xyifx>0(y).Thisisseenfromcomputationoff(5,7)=f(0,7)+5×7.f(7,6)=f(0,6)+6×7=42.f(5,7)=f(0,6)+6×7+5×7=f(6,5)+6×7+5×7=f(0,5)+6×5+6×7+5×7=f(5,4)+30+42+35=f(0,4)+20+72+35=f(4,3)+127=f(0,3)+12+127=f(3,2)+139=f(0,2)+6+139=f(2,1)+145=f(0,1)+2×1+145=f(1,0)+147=f(0,0)+0×1+147f(0,0)x,y0f(0,0)=0.f(5,7)=147.
Answered by Yozzii last updated on 21/Dec/15
f(6,9)=f(5,9)+9               =f(4,9)+9+9               =f(3,9)+9+9+9               =f(2,9)+9+9+9+9               =f(1,9)+5×9               =f(0,9)+6×9               =f(9,8)+54               =f(0,8)+8×9+54               =f(8,7)+72+54               =f(0,7)+8×7+126               =f(7,6)+56+126               =f(0,6)+6×7+182               =f(6,5)+42+182               =f(0,5)+6×5+224               =f(5,4)+254               =f(0,4)+20+254               =f(4,3)+274               =f(0,3)+12+274               =f(3,2)+286               =f(0,2)+6+286               =f(2,1)+292               =f(0,1)+2+292               =f(1,0)+294               =f(0,0)+0+294               =0+294  f(6,9)=294
f(6,9)=f(5,9)+9=f(4,9)+9+9=f(3,9)+9+9+9=f(2,9)+9+9+9+9=f(1,9)+5×9=f(0,9)+6×9=f(9,8)+54=f(0,8)+8×9+54=f(8,7)+72+54=f(0,7)+8×7+126=f(7,6)+56+126=f(0,6)+6×7+182=f(6,5)+42+182=f(0,5)+6×5+224=f(5,4)+254=f(0,4)+20+254=f(4,3)+274=f(0,3)+12+274=f(3,2)+286=f(0,2)+6+286=f(2,1)+292=f(0,1)+2+292=f(1,0)+294=f(0,0)+0+294=0+294f(6,9)=294

Leave a Reply

Your email address will not be published. Required fields are marked *