Equations of diagonals of the square formed by the lines x = 0, y = 0, x = 1 and y = 1 are
Given lines are x = 0, y = 0, x = 1 and y = 1 form a square of side 1 unit

By the given lines we form a square OABC having corners O (0, 0),
A (1, 0), B (1, 1) and C (0, 1).
Now, we find the equation of diagonal AC
We know that, when two points are given then, equation of line is
![]()
![]()
⇒ y = -1 (x – 1)
⇒ y = -x + 1
⇒ x + y = 1
Equation of diagonal OB is
![]()
⇒ y = 1 (x)
⇒ y = x
Hence, the correct option is (a)
Couldn't generate an explanation.
Generated by AI. May contain inaccuracies — always verify with your textbook.