Question Number 3793 by 123456 last updated on 21/Dec/15 | ||
$${f}\left({x},{y}\right)=\begin{cases}{{f}\left({x}−\mathrm{1},{y}\right)+{y}}&{{x}>\mathrm{0}}\\{{f}\left({x}+{y},{y}−\mathrm{1}\right)+{x}}&{{x}\leqslant\mathrm{0}\wedge{y}>\mathrm{0}}\\{{xy}}&{{x}\leqslant\mathrm{0}\wedge{y}\leqslant\mathrm{0}}\end{cases} \\ $$ $${f}\left(\mathrm{5},\mathrm{7}\right)=? \\ $$ $${f}\left(\mathrm{6},\mathrm{9}\right)=?? \\ $$ | ||
Commented byprakash jain last updated on 21/Dec/15 | ||
$${y}>\mathrm{0} \\ $$ $${f}\left(\mathrm{0},{y}\right)={f}\left({y},{y}−\mathrm{1}\right)+\mathrm{0} \\ $$ $$={f}\left(\mathrm{0},{y}−\mathrm{1}\right)+\left({y}−\mathrm{1}\right){y} \\ $$ $$={f}\left(\mathrm{0},{y}−\mathrm{2}\right)+\left({y}−\mathrm{2}\right)\left({y}−\mathrm{1}\right)+\left({y}−\mathrm{1}\right){y} \\ $$ $$={f}\left(\mathrm{0},{y}−\mathrm{3}\right)+\left({y}−\mathrm{3}\right)\left({y}−\mathrm{2}\right)+\left({y}−\mathrm{2}\right)\left({y}−\mathrm{1}\right)+\left({y}−\mathrm{1}\right){y} \\ $$ $${f}\left(\mathrm{0},{y}\right)={f}\left(\mathrm{0},\mathrm{0}\right)+\mathrm{1}\centerdot\mathrm{2}+\mathrm{2}\centerdot\mathrm{3}+...+\left({y}−\mathrm{1}\right){y} \\ $$ $$\underset{{n}=\mathrm{1}} {\overset{{y}−\mathrm{1}} {\sum}}{n}\left({n}+\mathrm{1}\right)=\frac{\left({y}−\mathrm{1}\right)\left({y}\right)\left(\mathrm{2}{y}−\mathrm{1}\right)}{\mathrm{6}}+\frac{{y}\left({y}−\mathrm{1}\right)}{\mathrm{2}} \\ $$ $${f}\left(\mathrm{0},{y}\right)=\frac{{y}\left({y}−\mathrm{1}\right)\left(\mathrm{2}{y}−\mathrm{1}\right)}{\mathrm{6}}+\frac{{y}\left({y}−\mathrm{1}\right)}{\mathrm{2}}\:\:\:\left({y}>\mathrm{0}\right) \\ $$ $${f}\left({x},{y}\right)={f}\left(\mathrm{0},{y}\right)+{xy} \\ $$ $${f}\left({x},{y}\right)=\frac{{y}\left({y}−\mathrm{1}\right)\left(\mathrm{2}{y}−\mathrm{1}\right)}{\mathrm{6}}+\frac{{y}\left({y}−\mathrm{1}\right)}{\mathrm{2}}+{xy}\:\:\left({x}>\mathrm{0},{y}>\mathrm{0}\right) \\ $$ $${f}\left(\mathrm{5},\mathrm{7}\right)={f}\left(\mathrm{0},\mathrm{7}\right)+\mathrm{35} \\ $$ $$=\frac{\mathrm{7}×\mathrm{6}×\mathrm{13}}{\mathrm{6}}+\frac{\mathrm{7}×\mathrm{6}}{\mathrm{2}}+\mathrm{35} \\ $$ $$=\mathrm{91}+\mathrm{21}+\mathrm{35} \\ $$ $$=\mathrm{112}+\mathrm{35}=\mathrm{147} \\ $$ $${f}\left(\mathrm{6},\mathrm{9}\right)={f}\left(\mathrm{0},\mathrm{9}\right)+\mathrm{6}×\mathrm{9} \\ $$ $$=\frac{\mathrm{9}×\mathrm{8}×\mathrm{17}}{\mathrm{6}}+\frac{\mathrm{9}×\mathrm{8}}{\mathrm{2}}+\mathrm{54} \\ $$ $$=\mathrm{3}×\mathrm{4}×\mathrm{17}+\mathrm{36}+\mathrm{54} \\ $$ $$=\mathrm{12}×\mathrm{17}+\mathrm{90} \\ $$ $$=\mathrm{204}+\mathrm{90}=\mathrm{294} \\ $$ | ||
Commented byRasheed Soomro last updated on 22/Dec/15 | ||
$$\in\mathrm{xcellent}\:\:\mathrm{for}\:\mathrm{deriving}\:\mathrm{a}\:\mathrm{formula} \\ $$ $$\mathrm{for}\:\mathrm{f}\left(\mathrm{x},\mathrm{y}\right)\:\mathrm{in}\:\mathrm{terms}\:\mathrm{of}\:\mathrm{x}\:\mathrm{and}\:\mathrm{y}\:\mathrm{only}\left(\:{free}\:{of}\right. \\ $$ $$\left.{any}\:\mathrm{function}\:\mathrm{definition}\right)! \\ $$ | ||
Answered by Yozzii last updated on 21/Dec/15 | ||
$${f}\left(\mathrm{5},\mathrm{7}\right)\Rightarrow{x}>\mathrm{0}\:\left({y}>\mathrm{0}\right). \\ $$ $$\therefore\:{f}\left(\mathrm{5},\mathrm{7}\right)={f}\left(\mathrm{4},\mathrm{7}\right)+\mathrm{7} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:=\left\{{f}\left(\mathrm{3},\mathrm{7}\right)+\mathrm{7}\right\}+\mathrm{7} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:=\left\{{f}\left(\mathrm{2},\mathrm{7}\right)+\mathrm{7}\right\}+\mathrm{14} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:=\left\{{f}\left(\mathrm{1},\mathrm{7}\right)+\mathrm{7}\right\}+\mathrm{21} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:=\left\{{f}\left(\mathrm{0},\mathrm{7}\right)+\mathrm{7}\right\}+\mathrm{28} \\ $$ $${f}\left(\mathrm{0},\mathrm{7}\right)\Rightarrow{x}\leqslant\mathrm{0}\:\wedge{y}>\mathrm{0}. \\ $$ $$\therefore\:{f}\left(\mathrm{5},\mathrm{7}\right)=\left\{{f}\left(\mathrm{0}+\mathrm{7},\mathrm{7}−\mathrm{1}\right)+\mathrm{0}\right\}+\mathrm{35} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{7},\mathrm{6}\right)+\mathrm{35} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{6},\mathrm{6}\right)+\mathrm{6}+\mathrm{35} \\ $$ $${We}\:{see}\:{that}\:{f}\left({x},{y}\right)={f}\left(\mathrm{0},{y}\right)+{xy}\:{if} \\ $$ $${x}>\mathrm{0}\:\left(\forall{y}\right).\:{This}\:{is}\:{seen}\:{from}\:{computation} \\ $$ $${of}\:{f}\left(\mathrm{5},\mathrm{7}\right)={f}\left(\mathrm{0},\mathrm{7}\right)+\mathrm{5}×\mathrm{7}. \\ $$ $$\therefore\:{f}\left(\mathrm{7},\mathrm{6}\right)={f}\left(\mathrm{0},\mathrm{6}\right)+\mathrm{6}×\mathrm{7}=\mathrm{42}. \\ $$ $$\therefore\:{f}\left(\mathrm{5},\mathrm{7}\right)={f}\left(\mathrm{0},\mathrm{6}\right)+\mathrm{6}×\mathrm{7}+\mathrm{5}×\mathrm{7} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{6},\mathrm{5}\right)+\mathrm{6}×\mathrm{7}+\mathrm{5}×\mathrm{7} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{5}\right)+\mathrm{6}×\mathrm{5}+\mathrm{6}×\mathrm{7}+\mathrm{5}×\mathrm{7} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{5},\mathrm{4}\right)+\mathrm{30}+\mathrm{42}+\mathrm{35} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{4}\right)+\mathrm{20}+\mathrm{72}+\mathrm{35} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{4},\mathrm{3}\right)+\mathrm{127} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{3}\right)+\mathrm{12}+\mathrm{127} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{3},\mathrm{2}\right)+\mathrm{139} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{2}\right)+\mathrm{6}+\mathrm{139} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{2},\mathrm{1}\right)+\mathrm{145} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{1}\right)+\mathrm{2}×\mathrm{1}+\mathrm{145} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{1},\mathrm{0}\right)+\mathrm{147} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{0}\right)+\mathrm{0}×\mathrm{1}+\mathrm{147} \\ $$ $${f}\left(\mathrm{0},\mathrm{0}\right)\Rightarrow{x},{y}\leqslant\mathrm{0}\Rightarrow{f}\left(\mathrm{0},\mathrm{0}\right)=\mathrm{0}. \\ $$ $$\Rightarrow{f}\left(\mathrm{5},\mathrm{7}\right)=\mathrm{147}. \\ $$ $$ \\ $$ $$ \\ $$ $$ \\ $$ | ||
Answered by Yozzii last updated on 21/Dec/15 | ||
$${f}\left(\mathrm{6},\mathrm{9}\right)={f}\left(\mathrm{5},\mathrm{9}\right)+\mathrm{9} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{4},\mathrm{9}\right)+\mathrm{9}+\mathrm{9} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{3},\mathrm{9}\right)+\mathrm{9}+\mathrm{9}+\mathrm{9} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{2},\mathrm{9}\right)+\mathrm{9}+\mathrm{9}+\mathrm{9}+\mathrm{9} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{1},\mathrm{9}\right)+\mathrm{5}×\mathrm{9} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{9}\right)+\mathrm{6}×\mathrm{9} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{9},\mathrm{8}\right)+\mathrm{54} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{8}\right)+\mathrm{8}×\mathrm{9}+\mathrm{54} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{8},\mathrm{7}\right)+\mathrm{72}+\mathrm{54} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{7}\right)+\mathrm{8}×\mathrm{7}+\mathrm{126} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{7},\mathrm{6}\right)+\mathrm{56}+\mathrm{126} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{6}\right)+\mathrm{6}×\mathrm{7}+\mathrm{182} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{6},\mathrm{5}\right)+\mathrm{42}+\mathrm{182} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{5}\right)+\mathrm{6}×\mathrm{5}+\mathrm{224} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{5},\mathrm{4}\right)+\mathrm{254} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{4}\right)+\mathrm{20}+\mathrm{254} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{4},\mathrm{3}\right)+\mathrm{274} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{3}\right)+\mathrm{12}+\mathrm{274} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{3},\mathrm{2}\right)+\mathrm{286} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{2}\right)+\mathrm{6}+\mathrm{286} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{2},\mathrm{1}\right)+\mathrm{292} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{1}\right)+\mathrm{2}+\mathrm{292} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{1},\mathrm{0}\right)+\mathrm{294} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:={f}\left(\mathrm{0},\mathrm{0}\right)+\mathrm{0}+\mathrm{294} \\ $$ $$\:\:\:\:\:\:\:\:\:\:\:\:\:=\mathrm{0}+\mathrm{294} \\ $$ $${f}\left(\mathrm{6},\mathrm{9}\right)=\mathrm{294} \\ $$ | ||