Question Number 66832 by Rio Michael last updated on 20/Aug/19
$${solve}\:{the}\:{system}\:{of}\:{congruence} \\ $$$$\:\:\:\left.\begin{matrix}{{x}\equiv\:\mathrm{1}\:\left({mod}\:\mathrm{5}\right)}\\{{x}\:\equiv\:\mathrm{2}\:\left({mod}\:\mathrm{7}\right)}\\{{x}\equiv\:\:\mathrm{3}\left({mod}\:\mathrm{9}\right)}\\{{x}\:\equiv\:\mathrm{4}\left(\:{mod}\:\mathrm{11}\right)}\end{matrix}\right\} \\ $$
Answered by mr W last updated on 26/Aug/19
$${x}=\mathrm{5}{h}+\mathrm{1}\:\:\:\:…\left(\mathrm{1}\right) \\ $$$${x}=\mathrm{7}{i}+\mathrm{2}\:\:\:…\left(\mathrm{2}\right) \\ $$$${x}=\mathrm{9}{j}+\mathrm{3}\:\:\:…\left(\mathrm{3}\right) \\ $$$${x}=\mathrm{11}{k}+\mathrm{4}\:\:\:…\left(\mathrm{4}\right) \\ $$$$ \\ $$$${x}=\mathrm{11}{k}+\mathrm{4}=\left(\mathrm{11}{k}+\mathrm{1}\right)+\mathrm{3}\overset{!} {=}\mathrm{9}{j}+\mathrm{3} \\ $$$$\Rightarrow\mathrm{11}{k}+\mathrm{1}=\mathrm{9}{j} \\ $$$$\Rightarrow\mathrm{9}\boldsymbol{{j}}−\mathrm{11}\boldsymbol{{k}}=\mathrm{1} \\ $$$$\Rightarrow{j}=\mathrm{11}{m}+\mathrm{5}\:\:\:\:^{\left.\ast\ast\right)} \\ $$$$\Rightarrow{k}=\mathrm{9}{m}+\mathrm{4} \\ $$$$ \\ $$$${x}=\mathrm{9}\left(\mathrm{11}{m}+\mathrm{5}\right)+\mathrm{3}=\left(\mathrm{99}{m}+\mathrm{46}\right)+\mathrm{2}\overset{!} {=}\mathrm{7}{i}+\mathrm{2} \\ $$$$\Rightarrow\mathrm{99}{m}+\mathrm{46}=\mathrm{7}{i} \\ $$$$\Rightarrow\mathrm{7}\boldsymbol{{i}}−\mathrm{99}\boldsymbol{{m}}=\mathrm{46} \\ $$$$\Rightarrow{i}=\mathrm{99}{l}+\mathrm{49}\:\:\:\:^{\left.\ast\ast\right)} \\ $$$$\Rightarrow{m}=\mathrm{7}{l}+\mathrm{3} \\ $$$$ \\ $$$${x}=\mathrm{7}\left(\mathrm{99}{l}+\mathrm{49}\right)+\mathrm{2}=\left(\mathrm{693}{l}+\mathrm{344}\right)+\mathrm{1}\overset{!} {=}\mathrm{5}{h}+\mathrm{1} \\ $$$$\Rightarrow\mathrm{693}{l}+\mathrm{344}=\mathrm{5}{h} \\ $$$$\Rightarrow\mathrm{5}\boldsymbol{{h}}−\mathrm{693}\boldsymbol{{l}}=\mathrm{344} \\ $$$$\Rightarrow{h}=\mathrm{693}{n}+\mathrm{346}\:\:\:\:^{\left.\ast\ast\right)} \\ $$$$\Rightarrow{l}=\mathrm{5}{n}+\mathrm{2} \\ $$$$ \\ $$$${x}=\mathrm{5}\left(\mathrm{693}{n}+\mathrm{346}\right)+\mathrm{1}=\mathrm{3465}{n}+\mathrm{1731} \\ $$$$ \\ $$$$\Rightarrow{general}\:{solution}\:{is} \\ $$$$\boldsymbol{{x}}=\mathrm{3465}\boldsymbol{{n}}+\mathrm{1731}\:{with}\:{n}=\mathrm{0},\mathrm{1},\mathrm{2},\mathrm{3},…. \\ $$
Commented by mr W last updated on 21/Aug/19
$${are}\:{there}\:{any}\:{easier}\:{and}\:{more}\:{direct} \\ $$$${ways}\:{to}\:{solve}? \\ $$$$ \\ $$$${to}\:{understand}\:\:^{\left.\ast\ast\right)} \:{in}\:{my}\:{solution} \\ $$$${see}\:{also}\:{my}\:{explanation}\:{in}\:{Q}\mathrm{19198}. \\ $$
Commented by Rio Michael last updated on 21/Aug/19
$${okay}\:{sir}\:{l}'{ll}\:{check}\:{but}\:{thanks}\:{for}\:{this} \\ $$
Commented by Rasheed.Sindhi last updated on 22/Aug/19
$${Sir}\:{mr}\:{W},\:{I}\:{think}\:{it}\:{can}\:{be}\:{solved} \\ $$$${by}\:'{Chinese}\:{remainder}\:{theorm}',{but} \\ $$$${unfortinuately}\:{at}\:{the}\:{moment}\:{I}'{ve}\:{forgotten}\:{it}. \\ $$
Commented by Prithwish sen last updated on 22/Aug/19
$$\mathrm{By}\:\mathrm{chinese}\:\mathrm{remainder}\:\mathrm{theorem} \\ $$$$\because\:\mathrm{5},\mathrm{7},\mathrm{9},\mathrm{11}\:\mathrm{are}\:\mathrm{pairwise}\:\mathrm{prime} \\ $$$$\mathrm{let}\:\mathrm{m}\:=\:\mathrm{5}.\mathrm{7}.\mathrm{9}.\mathrm{11}\:=\:\mathrm{3465} \\ $$$$\therefore\:\mathrm{M}_{\mathrm{1}} =\frac{\mathrm{m}}{\mathrm{5}}\:=\:\mathrm{693},\:\mathrm{M}_{\mathrm{2}} =\:\frac{\mathrm{m}}{\mathrm{7}}\:=\:\mathrm{495},\:\mathrm{M}_{\mathrm{3}} \:=\:\frac{\mathrm{m}}{\mathrm{9}}\:=\:\mathrm{385} \\ $$$$\mathrm{M}_{\mathrm{4}} =\frac{\mathrm{m}}{\mathrm{11}}\:=\:\mathrm{315} \\ $$$$\mathrm{gcd}\left(\mathrm{693},\mathrm{5}\right)=\mathrm{1}\:\Rightarrow\mathrm{693u}+\mathrm{5v}=\mathrm{1}\Rightarrow\mathrm{u}=\mathrm{2}\:\mathrm{v}=−\mathrm{277} \\ $$$$\therefore\mathrm{693x}\equiv\mathrm{1}\left(\mathrm{mod5}\right)\mathrm{has}\:\mathrm{unique}\:\mathrm{soln}.\:\mathrm{x}\equiv\mathrm{2}\left(\mathrm{mod5}\right) \\ $$$$\mathrm{gcd}\left(\mathrm{495},\mathrm{7}\right)=\mathrm{1}\Rightarrow\mathrm{495u}+\mathrm{7v}=\mathrm{1}\Rightarrow\mathrm{u}=\mathrm{3}\:\mathrm{v}=−\mathrm{212} \\ $$$$\therefore\mathrm{495x}\equiv\mathrm{1}\left(\mathrm{mod7}\right)\mathrm{has}\:\mathrm{unique}\:\mathrm{soln}.\:\mathrm{x}\equiv\mathrm{3}\left(\mathrm{mod7}\right) \\ $$$$\mathrm{gcd}\left(\mathrm{385},\mathrm{9}\right)=\mathrm{1}\Rightarrow\mathrm{385u}+\mathrm{9v}=\mathrm{1}\Rightarrow\mathrm{u}=\mathrm{4}\:\mathrm{v}=−\mathrm{171} \\ $$$$\therefore\mathrm{385x}\equiv\mathrm{1}\left(\mathrm{mod9}\right)\mathrm{has}\:\mathrm{unique}\:\mathrm{soln}.\mathrm{x}\equiv\mathrm{4}\left(\mathrm{mod9}\right) \\ $$$$\mathrm{gcd}\left(\mathrm{315},\mathrm{11}\right)=\mathrm{1}\Rightarrow\mathrm{315u}+\mathrm{11v}=\mathrm{1}\Rightarrow\mathrm{u}=−\mathrm{3}\:\mathrm{v}=\mathrm{86} \\ $$$$\therefore\mathrm{315x}\equiv\mathrm{1}\left(\mathrm{mod11}\right)\mathrm{has}\:\mathrm{unique}\:\mathrm{soln}.\mathrm{x}\equiv−\mathrm{3}\left(\mathrm{mod11}\right) \\ $$$$\mathrm{i}.\mathrm{e}\:\mathrm{x}\equiv\mathrm{8}\left(\mathrm{mod11}\right) \\ $$$$\therefore\:\boldsymbol{\mathrm{x}}_{\mathrm{0}} =\:\mathrm{1}.\left(\mathrm{693}.\mathrm{2}\right)+\mathrm{2}.\left(\mathrm{495}.\mathrm{3}\right)+\mathrm{3}.\left(\mathrm{385}.\mathrm{4}\right)+\mathrm{4}.\left(\mathrm{315}.\mathrm{8}\right) \\ $$$$\:\:\:\:\:\:\:\:\:\:=\:\mathrm{19056} \\ $$$$\therefore\:\boldsymbol{\mathrm{T}}\mathrm{he}\:\mathrm{soln}.\:\mathrm{is}\:\boldsymbol{\mathrm{x}}\:\equiv\:\mathrm{19056}\:\left(\boldsymbol{\mathrm{mod}}\:\mathrm{3465}\right) \\ $$$$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\boldsymbol{\mathrm{i}}.\boldsymbol{\mathrm{e}}\:\boldsymbol{\mathrm{x}}\:\equiv\:\mathrm{1731}\:\left(\boldsymbol{\mathrm{mod}}\:\mathrm{3465}\right) \\ $$
Commented by mr W last updated on 22/Aug/19
$${thank}\:{you}\:{for}\:{your}\:{effort}\:{sir}! \\ $$
Commented by Prithwish sen last updated on 23/Aug/19
$$\mathrm{you}\:\mathrm{are}\:\mathrm{welcome}\:\mathrm{sir}. \\ $$
Commented by Rio Michael last updated on 25/Aug/19
$${thanks}\:{alot}\:{you}\:{all},\:{i}\:{really}\:{want}\:{to}\:{learn}\:{this}\:{part}\:{of}\:{mathematics},\:{how}\:{do}\:{i}\:{go} \\ $$$${about}\:{it}?\:{please}\:{help}\:{me}. \\ $$
Commented by mr W last updated on 25/Aug/19
$${at}\:{first}\:{please}\:{try}\:{not}\:{to}\:{write} \\ $$$${endless}\:{long}\:{rows}\:{in}\:{your}\:{posts}\:{sir}. \\ $$$${usually}\:{i}\:{ignore}\:{posts}\:{if}\:{i}\:{must} \\ $$$${scroll}\:{horizontally}\:{when}\:{i}\:{read} \\ $$$${them}. \\ $$$${back}\:{to}\:{your}\:{question},\:{if}\:{you}\:{want} \\ $$$${to}\:{learn}\:“{chinese}\:{remainder}''\:{method}, \\ $$$${i}\:{can}\:{not}\:{help}\:{you}.\:{please}\:{refer}\:{to} \\ $$$${Wikipedia}\:{for}\:{more}\:{details}.\:{if} \\ $$$${you}\:{want}\:{to}\:{learn}\:{about}\:{my}\:{method}, \\ $$$${try}\:{to}\:{understand}\:\:{how}\:{to}\:{solve} \\ $$$${ax}+{by}={c}\:{as}\:{i}\:{explained}\:{in}\:{question} \\ $$$${No}\:\mathrm{19198}. \\ $$
Commented by Rio Michael last updated on 29/Aug/19
$${yes}\:{i}\:{know}\:{how}\:{to}\:{solve}\:{linear}\:{diophantine}\:{equations}\: \\ $$
Commented by Rio Michael last updated on 29/Aug/19
$${i}'{ll}\:{visit}\:{wikipedia} \\ $$
Answered by Rasheed.Sindhi last updated on 22/Aug/19
$$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\mathbb{A}\mathrm{n}\:\mathbb{A}\mathrm{rithmetic}\:\mathbb{W}\mathrm{ay} \\ $$$$\:\:\:\left.\begin{matrix}{{x}\equiv\:\mathrm{1}\:\left({mod}\:\mathrm{5}\right)\:…\left({i}\right)}\\{{x}\:\equiv\:\mathrm{2}\:\left({mod}\:\mathrm{7}\right)….\left({ii}\right)}\\{{x}\equiv\:\:\mathrm{3}\left({mod}\:\mathrm{9}\right)…..\left({iii}\right)}\\{{x}\:\equiv\:\mathrm{4}\left(\:{mod}\:\mathrm{11}\right)…\left({iv}\right)}\end{matrix}\right\}\: \\ $$$$\left({i}\right)\Rightarrow{x}=\mathrm{6},\mathrm{11},\mathrm{16},\mathrm{21},… \\ $$$${Each}\:{number}\:{can}\:{be}\:{obtained}\:{by}\: \\ $$$${adding}\:\mathrm{5}\:{in}\:{previous}. \\ $$$${We}\:{can}\:{see}\:{that}\:\mathrm{16}\:{is}\:{also}\:{solution}\:{of} \\ $$$$\left({ii}\right)\left(….{mod}\:\mathrm{7}\right)\: \\ $$$${Any}\:{other}\:{such}\:{number}\left({which}\:{is}\:{common}\right. \\ $$$$\left.{solution}\:{to}\:\left({i}\right)\:\&\:\left({ii}\right)\right)\:{will}\:{be}\:\mathrm{35}\:\left({lcm}\:{of}\right. \\ $$$$\left.\mathrm{5}\:\&\mathrm{7}\right)\:\:{greater}\:{than}\:\mathrm{16}… \\ $$$$\mathrm{16},\mathrm{51},\mathrm{86},\mathrm{121},\mathrm{156},… \\ $$$$\mathrm{156}\:{is}\:{also}\:{solution}\:{of}\:\left({iii}\right)\:\left(…{mod}\:\mathrm{9}\right) \\ $$$${So}\:{next}\:{such}\:{solution}\:{is}\:\mathrm{315}\left(\:{lcm}\left(\mathrm{5},\mathrm{7},\mathrm{9}\right)\:\right) \\ $$$${greater}\:{than}\:\mathrm{156} \\ $$$$\mathrm{156},\mathrm{471},\mathrm{786},\mathrm{1101},\mathrm{1416},\mathrm{1731} \\ $$$$\mathrm{1731}\:{is}\:{also}\:{solution}\:{of}\:\left({iv}\right)\left(….{mod}\:\mathrm{11}\right) \\ $$$${Next}\:{such}\:{number}\:{is}\:{greater}\:{by}\:{any} \\ $$$${multiple}\:{of}\:{lcm}\left(\mathrm{5},\mathrm{7},\mathrm{9},\mathrm{11}\right)=\mathrm{3465}. \\ $$$$\mathrm{1731},\mathrm{5196},\mathrm{8661},… \\ $$
Commented by Rasheed.Sindhi last updated on 22/Aug/19
$${Sir}\:{mr}\:{W}\: \\ $$$$\:\:{I}\:{had}\:{solved}\:{the}\:{above}\:{problem}\:{in}\: \\ $$$${that}\:{way}\:{sometime}\:{ago}\left({At}\:{that}\:{time}\:{I}\:{didn}'{t}\:{know}\right. \\ $$$$\left.{chinese}\:{remainder}\:{theorm}.\right){The}\:{above} \\ $$$${method}\:{didn}'{t}\:{use}\:{algebra}..{and}\:{it}'{s} \\ $$$${my}\:{own}\:{method}. \\ $$
Commented by mr W last updated on 22/Aug/19
$${Sir}\:{Rasheed},\: \\ $$$${thank}\:{you}\:{very}\:{much}\:{for}\:{this}\:{new} \\ $$$${way}!\:{i}\:{appreciate}\:{it}! \\ $$
Commented by Rasheed.Sindhi last updated on 22/Aug/19
$$\mathbb{T}\mathrm{han}\Bbbk\mathrm{s}\:\mathbb{A}\:\mathbb{L}\mathrm{ot}\:\mathbb{S}\mathrm{ir}! \\ $$