---
title: "Finding Remaining Vertices of a Non-Axis-Aligned Square"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c10-w1-24-coordinate-geometry-slanted-square-vertices"
board: "CBSE"
grade: "Class 10"
published_at: "2026-12-02T09:30:00+05:30"
---

# Finding Remaining Vertices of a Non-Axis-Aligned Square

Two opposite vertices of a square $ABCD$ are $A(0, -1)$ and $C(4, 5)$. Find the coordinates of the other two vertices $B$ and $D$.

## Textbook Solution

**Step 1: Equate Adjacent Sides ($AB = BC$)**

Let $B(x, y)$ be one of the remaining vertices. Since $ABCD$ is a square, $AB = BC$, so $AB^2 = BC^2$:
$$(x - 0)^2 + (y + 1)^2 = (x - 4)^2 + (y - 5)^2$$
$$x^2 + y^2 + 2y + 1 = x^2 - 8x + 16 + y^2 - 10y + 25$$
$$8x + 12y = 40 \implies 2x + 3y = 10 \implies x = \frac{10 - 3y}{2} \qquad (1)$$

**Step 2: Apply Pythagoras Theorem in $\triangle ABC$**
Since $\angle B = 90^\circ$, $AB^2 + BC^2 = AC^2$, and since $AB = BC$, we have $2AB^2 = AC^2$:
$$AC^2 = (4 - 0)^2 + (5 - (-1))^2 = 16 + 36 = 52 \implies AB^2 = 26$$
Thus:
$$x^2 + (y + 1)^2 = 26 \qquad (2)$$

**Step 3: Substitute $(1)$ into $(2)$**
$$\left(\frac{10 - 3y}{2}\right)^2 + (y + 1)^2 = 26$$
Multiply by $4$:
$$(100 - 60y + 9y^2) + 4(y^2 + 2y + 1) = 104$$
$$13y^2 - 52y + 104 = 104 \implies 13y(y - 4) = 0$$
So $y = 0$ or $y = 4$.

**Step 4: Find Corresponding $x$-Coordinates**
- When $y = 0$: $x = \frac{10 - 0}{2} = 5 \implies (5, 0)$
- When $y = 4$: $x = \frac{10 - 12}{2} = -1 \implies (-1, 4)$

**Final Answer:** The other two vertices are **$(5, 0)$** and **$(-1, 4)$**.

## Vedic Shortcut

**NityaDhi Midpoint + $90^\circ$ Vector-Swap Trick:**

The diagonals of a square bisect each other at $90^\circ$ and have equal length!
1. Midpoint $M$ of $AC$: $\left(\frac{0+4}{2}, \frac{-1+5}{2}\right) = (2, 2)$.
2. Half-diagonal shift from $M$ to $C$: $(\Delta x, \Delta y) = (4 - 2, 5 - 2) = (2, 3)$.
3. Rotate $(2, 3)$ by $\pm 90^\circ$ (swap coordinates and negate one): $(-3, 2)$ and $(3, -2)$.
4. Add to $M(2, 2)$: $(2 - 3, 2 + 2) = (-1, 4)$ and $(2 + 3, 2 - 2) = (5, 0)$ in 10 seconds!

## Common Mistakes

- **Assuming $ABCD$ is axis-aligned:** Guessing $(0, 5)$ and $(4, -1)$ gives a rectangle with sides $4$ and $6$, NOT a square!
- **Using $AB^2 + BC^2 = AC^2$ without simplifying $2AB^2 = AC^2$:** Expanding both $AB^2$ and $BC^2$ doubles the algebra unnecessarily.