Question and Answers Forum

All Questions      Topic List

Number Theory Questions

Previous in All Question      Next in All Question      

Previous in Number Theory      Next in Number Theory      

Question Number 175799 by cortano1 last updated on 07/Sep/22

  For x ,y ε Z^+  such that     7x+9y=405. Find max value    of x−y.

$$\:\:\mathrm{For}\:\mathrm{x}\:,\mathrm{y}\:\varepsilon\:\mathbb{Z}^{+} \:\mathrm{such}\:\mathrm{that}\: \\ $$$$\:\:\mathrm{7x}+\mathrm{9y}=\mathrm{405}.\:\mathrm{Find}\:\mathrm{max}\:\mathrm{value} \\ $$$$\:\:\mathrm{of}\:\mathrm{x}−\mathrm{y}. \\ $$

Answered by mr W last updated on 07/Sep/22

7x+9y=405  ⇒x=9k+54 >0 ⇒ k≥−5  ⇒y=−7k+3 >0 ⇒ k≤0  s=x−y=9k+54+7k−3=16k+51  s_(min) =−16×5+51=−29  s_(max) =16×0+51=51

$$\mathrm{7}{x}+\mathrm{9}{y}=\mathrm{405} \\ $$$$\Rightarrow{x}=\mathrm{9}{k}+\mathrm{54}\:>\mathrm{0}\:\Rightarrow\:{k}\geqslant−\mathrm{5} \\ $$$$\Rightarrow{y}=−\mathrm{7}{k}+\mathrm{3}\:>\mathrm{0}\:\Rightarrow\:{k}\leqslant\mathrm{0} \\ $$$${s}={x}−{y}=\mathrm{9}{k}+\mathrm{54}+\mathrm{7}{k}−\mathrm{3}=\mathrm{16}{k}+\mathrm{51} \\ $$$${s}_{{min}} =−\mathrm{16}×\mathrm{5}+\mathrm{51}=−\mathrm{29} \\ $$$${s}_{{max}} =\mathrm{16}×\mathrm{0}+\mathrm{51}=\mathrm{51} \\ $$

Commented by cortano1 last updated on 07/Sep/22

nice

$$\mathrm{nice} \\ $$

Answered by blackmamba last updated on 07/Sep/22

 let h=x−y and x=h+y   given condition 7x+9y=405   ⇒7(h+y)+9y=405  ⇒h=((405−16y)/7)=((406−1−14y−2y)/7)  ⇒h=58−2y−((2y+1)/7)   h max when y min ; y=3   so h_(max) = 58−6−1= 51

$$\:{let}\:{h}={x}−{y}\:{and}\:{x}={h}+{y} \\ $$$$\:{given}\:{condition}\:\mathrm{7}{x}+\mathrm{9}{y}=\mathrm{405} \\ $$$$\:\Rightarrow\mathrm{7}\left({h}+{y}\right)+\mathrm{9}{y}=\mathrm{405} \\ $$$$\Rightarrow{h}=\frac{\mathrm{405}−\mathrm{16}{y}}{\mathrm{7}}=\frac{\mathrm{406}−\mathrm{1}−\mathrm{14}{y}−\mathrm{2}{y}}{\mathrm{7}} \\ $$$$\Rightarrow{h}=\mathrm{58}−\mathrm{2}{y}−\frac{\mathrm{2}{y}+\mathrm{1}}{\mathrm{7}} \\ $$$$\:{h}\:{max}\:{when}\:{y}\:{min}\:;\:{y}=\mathrm{3} \\ $$$$\:{so}\:{h}_{{max}} =\:\mathrm{58}−\mathrm{6}−\mathrm{1}=\:\mathrm{51} \\ $$

Terms of Service

Privacy Policy

Contact: info@tinkutara.com