Let the required line L cut the positive x-axis at A ( a , 0 ) A(a,0) A ( a , 0 ) and the positive y-axis at B ( 0 , b ) B(0,b) B ( 0 , b ) , where of course a > 0 a \gt 0 a > 0 and b > 0 b \gt 0 b > 0 . In intercept form we therefore write
x a + y b = 1 ( 1 ) \frac{x}{a}\;+\;\frac{y}{b}=1\qquad \qquad(1) a x + b y = 1 ( 1 )
Re-writing (1) in the general form P x + Q y + R = 0 Px+Qy+R=0 P x + Q y + R = 0 we obtain
b x + a y − a b = 0 . ( 2 ) bx+ay-ab=0\;.\qquad \qquad(2) b x + a y − ab = 0 . ( 2 )
Formula for distance of a point ( x 0 , y 0 ) (x_0,y_0) ( x 0 , y 0 ) from the line P x + Q y + R = 0 Px+Qy+R=0 P x + Q y + R = 0 is
Distance = ∣ P x 0 + Q y 0 + R ∣ P 2 + Q 2 . \text{Distance}=\frac{\left|P\,x_0+Q\,y_0+R\right|}{\sqrt{P^{2}+Q^{2}}}\;. Distance = P 2 + Q 2 ∣ P x 0 + Q y 0 + R ∣ .
The origin ( 0 , 0 ) (0,0) ( 0 , 0 ) has to be 4 units away from L, hence using (2)
∣ − a b ∣ b 2 + a 2 = 4 ⟹ a b a 2 + b 2 = 4 . \frac{\left|-ab\right|}{\sqrt{b^{2}+a^{2}}}=4
\;\Longrightarrow\;
\frac{ab}{\sqrt{a^{2}+b^{2}}}=4\;. b 2 + a 2 ∣ − ab ∣ = 4 ⟹ a 2 + b 2 ab = 4 .
Squaring both sides gives
a 2 b 2 a 2 + b 2 = 16 ⟹ 1 a 2 + 1 b 2 = 1 16 . ( 3 ) \frac{a^{2}b^{2}}{a^{2}+b^{2}}=16
\;\Longrightarrow\;
\frac{1}{a^{2}}+\frac{1}{b^{2}}=\frac{1}{16}\;.\qquad \qquad(3) a 2 + b 2 a 2 b 2 = 16 ⟹ a 2 1 + b 2 1 = 16 1 . ( 3 )
Next we use the information about the angle. The perpendicular drawn from the origin to L is along the normal vector of L. From (2) that normal vector is n = ( b , a ) . \mathbf{n}=(b,a)\,. n = ( b , a ) .
The given line x + y = 0 x+y=0 x + y = 0 has direction vector v = ( 1 , − 1 ) \mathbf{v}=(1,-1) v = ( 1 , − 1 ) (because its normal is ( 1 , 1 ) (1,1) ( 1 , 1 ) ).
The angle between the vectors n \mathbf{n} n and v \mathbf{v} v is 60°, so by the dot-product formula
cos 60 ∘ = ∣ n ⋅ v ∣ ∣ n ∣ ∣ v ∣ = ∣ b − a ∣ a 2 + b 2 1 2 + ( − 1 ) 2 = ∣ b − a ∣ a 2 + b 2 2 . \cos 60^{\circ}=\frac{|\mathbf{n}\cdot\mathbf{v}|}{|\mathbf{n}|\,|\mathbf{v}|}
=\frac{|\,b-a\,|}{\sqrt{a^{2}+b^{2}}\;\sqrt{1^{2}+(-1)^{2}}}
=\frac{|\,b-a\,|}{\sqrt{a^{2}+b^{2}}\;\sqrt2}\;. cos 6 0 ∘ = ∣ n ∣ ∣ v ∣ ∣ n ⋅ v ∣ = a 2 + b 2 1 2 + ( − 1 ) 2 ∣ b − a ∣ = a 2 + b 2 2 ∣ b − a ∣ .
Because cos 60 ∘ = 1 2 \cos 60^{\circ}= \dfrac12 cos 6 0 ∘ = 2 1 , we have
∣ b − a ∣ = 2 2 a 2 + b 2 . |\,b-a\,|=\frac{\sqrt2}{2}\,\sqrt{a^{2}+b^{2}}\;. ∣ b − a ∣ = 2 2 a 2 + b 2 .
Squaring and simplifying every term carefully,
( b − a ) 2 = 1 2 ( a 2 + b 2 ) ⟹ b 2 − 2 a b + a 2 = 1 2 a 2 + 1 2 b 2 \bigl(b-a\bigr)^{2}=\frac12\bigl(a^{2}+b^{2}\bigr)
\;\Longrightarrow\;
b^{2}-2ab+a^{2}=\frac12a^{2}+\frac12b^{2} ( b − a ) 2 = 2 1 ( a 2 + b 2 ) ⟹ b 2 − 2 ab + a 2 = 2 1 a 2 + 2 1 b 2
⟹ 2 b 2 − 4 a b + 2 a 2 = a 2 + b 2 ⟹ a 2 − 4 a b + b 2 = 0 . \Longrightarrow\;2b^{2}-4ab+2a^{2}=a^{2}+b^{2}
\;\Longrightarrow\;
a^{2}-4ab+b^{2}=0\;. ⟹ 2 b 2 − 4 ab + 2 a 2 = a 2 + b 2 ⟹ a 2 − 4 ab + b 2 = 0 .
Dividing through by a 2 a^{2} a 2 (which is positive) gives
( b a ) 2 − 4 ( b a ) + 1 = 0 . \left(\frac{b}{a}\right)^{2}-4\left(\frac{b}{a}\right)+1=0\;. ( a b ) 2 − 4 ( a b ) + 1 = 0 .
Let k = b a k=\dfrac{b}{a} k = a b . Solving the quadratic k 2 − 4 k + 1 = 0 k^{2}-4k+1=0 k 2 − 4 k + 1 = 0 ,
k = 4 ± 16 − 4 2 = 4 ± 2 3 2 = 2 ± 3 . k=\frac{4\pm\sqrt{16-4}}{2}=\frac{4\pm2\sqrt3}{2}=2\pm\sqrt3\;. k = 2 4 ± 16 − 4 = 2 4 ± 2 3 = 2 ± 3 .
Both values are positive, but we shall see that k = 2 + 3 k=2+\sqrt3 k = 2 + 3 will match the options. So we fix
b = k a , where k = 2 + 3 . ( 4 ) < / p > < p > N o w s u b s t i t u t e ( 4 ) i n t o t h e d i s t a n c e r e l a t i o n ( 3 ) : < / p > < p > b=k\,a,\quad\text{where }k=2+\sqrt3\;.\qquad \qquad(4)</p>
<p>Now substitute (4) into the distance relation (3):</p>
<p> b = k a , where k = 2 + 3 . ( 4 ) < / p >< p > N o w s u b s t i t u t e ( 4 ) in t o t h e d i s t an cer e l a t i o n ( 3 ) :< / p >< p > \frac{1}{a^{2}}+\frac{1}{k^{2}a^{2}}=\frac{1}{16}
\;\Longrightarrow\;
\frac{1+\frac{1}{k^{2}}}{a^{2}}=\frac{1}{16}
\;\Longrightarrow\;
a^{2}=16\!\left(1+\frac{1}{k^{2}}\right).< / p > < p > F i r s t c o m p u t e </p>
<p>First compute < / p >< p > F i r s t co m p u t e k^{2}=(2+\sqrt{3})^{2}=4+4\sqrt{3}+3=7+4\sqrt{3}\;.B e c a u s e Because B ec a u se 7^{2}-(4\sqrt{3})^{2}=49-48=1,w e m a y r a t i o n a l i s e n e a t l y : < / p > < p > we may rationalise neatly:</p>
<p> w e ma y r a t i o na l i se n e a tl y :< / p >< p > \frac{1}{k^{2}}=\frac{1}{7+4\sqrt{3}}=\frac{7-4\sqrt{3}}{(7)^{2}-(4\sqrt{3})^{2}}=7-4\sqrt{3}\;.< / p > < p > H e n c e < / p > < p > </p>
<p>Hence</p>
<p> < / p >< p > H e n ce < / p >< p > 1+\frac{1}{k^{2}}=1+7-4\sqrt{3}=8-4\sqrt{3}\;,< / p > < p > s o t h a t < / p > < p > </p>
<p>so that</p>
<p> < / p >< p > so t ha t < / p >< p > a^{2}=16\bigl(8-4\sqrt{3}\bigr),\qquad a=4\sqrt{8-4\sqrt{3}}\;.< / p > < p > F r o m ( 4 ) w e a l s o h a v e < / p > < p > </p>
<p>From (4) we also have</p>
<p> < / p >< p > F r o m ( 4 ) w e a l so ha v e < / p >< p > b=k\,a=(2+\sqrt{3})\cdot 4\sqrt{8-4\sqrt{3}}\;.< / p > < p > G o b a c k t o t h e i n t e r c e p t f o r m ( 1 ) : < / p > < p > </p>
<p>Go back to the intercept form (1):</p>
<p> < / p >< p > G o ba c k t o t h e in t er ce pt f or m ( 1 ) :< / p >< p > \frac{x}{a}+\frac{y}{b}=1 \;\Longrightarrow\; bx+ay=ab\;.< / p > < p > T o o b t a i n s i m p l e r n u m e r i c a l c o e f f i c i e n t s w e m u l t i p l y t h e w h o l e e q u a t i o n b y </p>
<p>To obtain simpler numerical coefficients we multiply the whole equation by < / p >< p > T oo b t ain s im pl er n u m er i c a l coe f f i c i e n t s w e m u l t i pl y t h e w h o l ee q u a t i o nb y \lambda=\sqrt{3}-1. O b s e r v e t h a t < / p > < p > . Observe that</p>
<p> . O b ser v e t ha t < / p >< p > \lambda\,b=(\sqrt{3}-1)b =(\sqrt{3}-1)(2+\sqrt{3})a =(\sqrt{3}+1)a< / p > < p > b e c a u s e </p>
<p>because < / p >< p > b ec a u se (\sqrt{3}-1)(2+\sqrt{3})=\sqrt{3}+1.< / p > < p > T h e r e f o r e < / p > < p > </p>
<p>Therefore</p>
<p> < / p >< p > T h er e f or e < / p >< p > (\sqrt{3}+1)x+(\sqrt{3}-1)y=(\sqrt{3}+1)a\;.< / p > < p > I t o n l y r e m a i n s t o s h o w t h a t </p>
<p>It only remains to show that < / p >< p > I t o n l y r e main s t os h o w t ha t (\sqrt{3}+1)a=8\sqrt{2}.I n d e e d , u s i n g Indeed, using I n d ee d , u s in g a=4\sqrt{8-4\sqrt{3}},< / p > < p > </p>
<p> < / p >< p > (\sqrt{3}+1)a =(\sqrt{3}+1)\cdot 4\sqrt{8-4\sqrt{3}}.< / p > < p > S q u a r e b o t h s i d e s t o v e r i f y i t e q u a l s </p>
<p>Square both sides to verify it equals < / p >< p > S q u a r e b o t h s i d es t o v er i f y i t e q u a l s (8\sqrt{2})^{2}=128.L e f t − h a n d s i d e s q u a r e d i s < / p > < p > Left-hand side squared is</p>
<p> L e f t − han d s i d es q u a r e d i s < / p >< p > 16\,(\sqrt{3}+1)^{2}\,(8-4\sqrt{3}) =16\,(4+2\sqrt{3})\,(8-4\sqrt{3})< / p > < p > </p>
<p> < / p >< p > =16\cdot 2(2+\sqrt{3})\cdot 4(2-\sqrt{3}) =16\cdot 8\,(2+\sqrt{3})(2-\sqrt{3}) =128\,(4-3)=128.< / p > < p > S i n c e t h e s q u a r e s m a t c h , t h e q u a n t i t i e s t h e m s e l v e s m a t c h i n m a g n i t u d e , a n d b o t h s i d e s a r e p o s i t i v e , s o i n d e e d < / p > < p > </p>
<p>Since the squares match, the quantities themselves match in magnitude, and both sides are positive, so indeed</p>
<p> < / p >< p > S in ce t h es q u a r es ma t c h , t h e q u an t i t i es t h e m se l v es ma t c hinma g ni t u d e , an d b o t h s i d es a r e p os i t i v e , so in d ee d < / p >< p > (\sqrt{3}+1)a = 8\sqrt{2}.< / p > < p > T h u s t h e e q u a t i o n o f L i s < / p > < p > </p>
<p>Thus the equation of L is</p>
<p> < / p >< p > T h u s t h ee q u a t i o n o f L i s < / p >< p > (\sqrt{3}+1)\,x + (\sqrt{3}-1)\,y = 8\sqrt{2}.$$
This coincides exactly with Option A.
Hence, the correct answer is Option A.