if x2=18x+y and y2=18y+x, then find the value of root

Answer:
[tex]\sqrt{x^2+y^2+1}=18[/tex]
Step-by-step explanation:
We are given:
[tex]x^2=18x+y\qquad\qquad[1][/tex]
[tex]y^2=18y+x\qquad\qquad[2][/tex]
Subtracting [1] and [2]:
[tex]x^2-y^2=18x+y-(18y+x)[/tex]
Operating:
[tex]x^2-y^2=18x+y-18y-x[/tex]
Recall:
[tex]x^2-y^2=(x-y)(x+y)[/tex]
Substituting:
[tex](x-y)(x+y)=18x+y-18y-x[/tex]
Rearranging:
[tex](x-y)(x+y)=18x-18y-(x-y)[/tex]
[tex](x-y)(x+y)=18(x-y)-(x-y)[/tex]
Dividing by x-y (recall x≠y):
[tex]x+y=18-1=17[/tex]
[tex]x+y=17\qquad[3][/tex]
Now we add [1] and [2]:
[tex]x^2+y^2=18x+y+18y+x[/tex]
Rearranging:
[tex]x^2+y^2=18x+18y+x+y[/tex]
[tex]x^2+y^2=18(x+y)+(x+y)[/tex]
[tex]x^2+y^2=19(x+y)[/tex]
Substituting from [3]
[tex]x^2+y^2=19*17=323[/tex]
Adding 1:
[tex]x^2+y^2+1=324[/tex]
Taking the square root:
[tex]\sqrt{x^2+y^2+1}=\sqrt{324}=18[/tex]
Thus:
[tex]\mathbf{\sqrt{x^2+y^2+1}=18}[/tex]