Equations of diagonals of squares formed by lines \[x=0\], \[y=0\], \[x=1\], and \[y=1\] are
A. \[y=x,\text{ }y+x=1\]
B. \[y=x,\text{ }x+y=2\]
C. \[2y=x,\text{ }y+x=\dfrac{1}{3}\]
D. \[y=2x,\text{ }y+2x=1\]
Answer
249.6k+ views
Hint: In the question, we are to find the equations of diagonals of a square formed by the given lines. Using the given equations of lines, a square is formed and we can able to find out its vertices. Then, the diagonals are calculated by the two points form.
Formula Used: The equation of the line, that is passing through $({{x}_{1}},{{y}_{1}})$ and $({{x}_{2}},{{y}_{2}})$ is
$y-{{y}_{1}}=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}(x-{{x}_{1}})$
Where $m=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}$ is said to be the slope of the line.
Complete step by step solution: Given that, a square is formed by the lines
\[\begin{align}
& x=0 \\
& y=0 \\
& x=1 \\
& y=1 \\
\end{align}\]
Plotting these in the graph we get the required vertices as below:

Then, the vertices formed by these lines are:
$\begin{align}
& A(0,0) \\
& B(0,1) \\
& C(1,1) \\
& D(1,0) \\
\end{align}$
Then, the required diagonals are $\overleftrightarrow{AC}$ and $\overleftrightarrow{BD}$.
By using the equation of line formula (with two points),
$y-{{y}_{1}}=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}(x-{{x}_{1}})$
For the diagonal $\overleftrightarrow{AC}$, the vertices are $A(0,0);C(1,1)$
So, the equation of the diagonal is,
$\begin{align}
& y-0=\dfrac{1-0}{1-0}(x-0) \\
& \Rightarrow y=x\text{ }...(1) \\
\end{align}$
For the diagonal $\overleftrightarrow{BD}$, the vertices are $B(0,1);D(1,0)$
So, the equation of the diagonal is,
$\begin{align}
& y-1=\dfrac{0-1}{1-0}(x-0) \\
& \Rightarrow y-1=-x \\
& \Rightarrow x+y=1\text{ }...(2) \\
\end{align}$
Therefore, the required diagonal lines are $y=x;x+y=1$.
Option ‘A’ is correct
Note: Here we may go wrong with the vertices. For finding the vertices, a graph is drawn for the given lines. Then, we can able to find the vertices of a diagonal.
Formula Used: The equation of the line, that is passing through $({{x}_{1}},{{y}_{1}})$ and $({{x}_{2}},{{y}_{2}})$ is
$y-{{y}_{1}}=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}(x-{{x}_{1}})$
Where $m=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}$ is said to be the slope of the line.
Complete step by step solution: Given that, a square is formed by the lines
\[\begin{align}
& x=0 \\
& y=0 \\
& x=1 \\
& y=1 \\
\end{align}\]
Plotting these in the graph we get the required vertices as below:

Then, the vertices formed by these lines are:
$\begin{align}
& A(0,0) \\
& B(0,1) \\
& C(1,1) \\
& D(1,0) \\
\end{align}$
Then, the required diagonals are $\overleftrightarrow{AC}$ and $\overleftrightarrow{BD}$.
By using the equation of line formula (with two points),
$y-{{y}_{1}}=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}(x-{{x}_{1}})$
For the diagonal $\overleftrightarrow{AC}$, the vertices are $A(0,0);C(1,1)$
So, the equation of the diagonal is,
$\begin{align}
& y-0=\dfrac{1-0}{1-0}(x-0) \\
& \Rightarrow y=x\text{ }...(1) \\
\end{align}$
For the diagonal $\overleftrightarrow{BD}$, the vertices are $B(0,1);D(1,0)$
So, the equation of the diagonal is,
$\begin{align}
& y-1=\dfrac{0-1}{1-0}(x-0) \\
& \Rightarrow y-1=-x \\
& \Rightarrow x+y=1\text{ }...(2) \\
\end{align}$
Therefore, the required diagonal lines are $y=x;x+y=1$.
Option ‘A’ is correct
Note: Here we may go wrong with the vertices. For finding the vertices, a graph is drawn for the given lines. Then, we can able to find the vertices of a diagonal.
Recently Updated Pages
JEE Advanced 2026 Revision Notes for Chemistry Energetics - Free PDF Download

JEE Advanced 2026 Electrochemistry Notes - Free PDF Download

JEE Advanced 2026 Revision Notes for Electricity and Magnetism - Free PDF Download

JEE Advanced 2026 Revision Notes for Differential Calculus - Free PDF Download

JEE Advanced Course 2026 - Subject List, Syllabus, Course, Details

JEE Advanced Chemistry Revision Notes

Trending doubts
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

JEE Advanced 2026 - Exam Date (Released), Syllabus, Registration, Eligibility, Preparation, and More

JEE Advanced Weightage 2025 Chapter-Wise for Physics, Maths and Chemistry

JEE Advanced 2026 Notes

Difference Between Exothermic and Endothermic Reactions Explained

IIT CSE Cutoff 2026: Opening and Closing Ranks for B.Tech. Computer Science Admissions at All IITs

Other Pages
JEE Main 2026: Exam Dates, Session 2 Updates, City Slip, Admit Card & Latest News

Hybridisation in Chemistry – Concept, Types & Applications

JEE Main 2026 Application Login: Direct Link, Registration, Form Fill, and Steps

Understanding the Electric Field of a Uniformly Charged Ring

Derivation of Equation of Trajectory Explained for Students

JEE Main Marking Scheme 2026- Paper-Wise Marks Distribution and Negative Marking Details

