Question and Answers Forum

All Questions      Topic List

None Questions

Previous in All Question      Next in All Question      

Previous in None      Next in None      

Question Number 127532 by MathSh last updated on 30/Dec/20

Solve the equation:  71a+3b=2021

Solvetheequation:71a+3b=2021

Commented by mr W last updated on 30/Dec/20

see Q44819

seeQ44819

Answered by Ar Brandon last updated on 30/Dec/20

2021=28(71)+33             =71(28)+3(11)  (a,b)=(28,11) is a solution

2021=28(71)+33=71(28)+3(11)(a,b)=(28,11)isasolution

Commented by MathSh last updated on 30/Dec/20

Thanks sir

Thankssir

Answered by floor(10²Eta[1]) last updated on 30/Dec/20

General solution to a Diophantine equation.  ax+by=c  let d=gcd(x, y)⇒d∣x, d∣y∴d∣ax+by=c  ax+by has a solution if and only if d∣c.    now suppose (x_0 , y_0 ) is a particular solution,  then,   ax_0 +by_0 =ax+by=c  a(x_0 −x)=b(y−y_0 )  since d=gcd(a, b)⇒a=a′d, b=b′d  where gcd(a′, b′)=1  da′(x_0 −x)=db′(y−y_0 )  a′(x_0 −x)=b′(y−y_0 )  ⇒(I): a′∣b′(y−y_0 )⇒a′∣(y−y_0 )   [because gcd(a′,b′)=1⇒a′∤b′]  ⇒y−y_0 =a′k⇒y=y_0 +a′k  ⇒(II): b′∣a′(x_0 −x)⇒b′∣(x_0 −x)  ⇒x_0 −x=b′k⇒x=x_0 −b′k  so the general solution to a diophantine  equation of the form ax+by=c is  (x, y)=(x_0 −((bk)/d), y_0 +((ak)/d)), k∈Z  where (x_0 , y_0 ) is a particular solution    now that you know this try to solve  your question.

GeneralsolutiontoaDiophantineequation.ax+by=cletd=gcd(x,y)dx,dydax+by=cax+byhasasolutionifandonlyifdc.nowsuppose(x0,y0)isaparticularsolution,then,ax0+by0=ax+by=ca(x0x)=b(yy0)sinced=gcd(a,b)a=ad,b=bdwheregcd(a,b)=1da(x0x)=db(yy0)a(x0x)=b(yy0)(I):ab(yy0)a(yy0)[becausegcd(a,b)=1ab]yy0=aky=y0+ak(II):ba(x0x)b(x0x)x0x=bkx=x0bksothegeneralsolutiontoadiophantineequationoftheformax+by=cis(x,y)=(x0bkd,y0+akd),kZwhere(x0,y0)isaparticularsolutionnowthatyouknowthistrytosolveyourquestion.

Commented by MathSh last updated on 31/Dec/20

Thanks sir

Thankssir

Terms of Service

Privacy Policy

Contact: info@tinkutara.com