---
title: "Equal Roots Condition for Parametric Quadratic with Sum of Squares"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c10-w1-02-quadratic-equal-roots-cauchy-condition"
board: "CBSE"
grade: "Class 10"
published_at: "2026-11-23T12:30:00+05:30"
---

# Equal Roots Condition for Parametric Quadratic with Sum of Squares

If the quadratic equation

$$(a^2 + b^2)x^2 - 2(ac + bd)x + (c^2 + d^2) = 0$$

has real and equal roots (where $a, b, c, d \neq 0$), prove that $\frac{a}{b} = \frac{c}{d}$. Hence, find the value of $c$ when $a = 3$, $b = 4$, and $d = 12$.

## Textbook Solution

**Step 1: Set Discriminant $D = 0$**

Here, $A = a^2 + b^2$, $B = -2(ac + bd)$, and $C = c^2 + d^2$. For equal roots:
$$B^2 - 4AC = 0$$
$$[-2(ac + bd)]^2 - 4(a^2 + b^2)(c^2 + d^2) = 0$$

**Step 2: Expand and Simplify**
Divide throughout by $4$:
$$(ac + bd)^2 - (a^2 + b^2)(c^2 + d^2) = 0$$
$$(a^2c^2 + 2abcd + b^2d^2) - (a^2c^2 + a^2d^2 + b^2c^2 + b^2d^2) = 0$$
$$2abcd - a^2d^2 - b^2c^2 = 0$$

**Step 3: Recognize a Perfect Square**
Multiply by $-1$:
$$a^2d^2 - 2abcd + b^2c^2 = 0 \implies (ad - bc)^2 = 0$$
Thus $ad = bc$, and since $b, d \neq 0$:
$$\frac{a}{b} = \frac{c}{d}$$

**Step 4: Solve for $c$**
Substituting $a = 3, b = 4, d = 12$:
$$\frac{3}{4} = \frac{c}{12} \implies c = 9$$

## Vedic Shortcut

**NityaDhi Sum-of-Squares Decomposition Trick:**

Rewrite the LHS directly by grouping $x$ with $a, c$ and $b, d$:
$$(a^2x^2 - 2acx + c^2) + (b^2x^2 - 2bdx + d^2) = 0$$
$$(ax - c)^2 + (bx - d)^2 = 0$$
Since a sum of two real squares is zero if and only if each term is zero:
$$ax = c \quad \text{and} \quad bx = d \implies x = \frac{c}{a} = \frac{d}{b} \implies \frac{a}{b} = \frac{c}{d}$$
This avoids expanding the discriminant completely and works in 2 lines!

## Common Mistakes

- **Sign error while removing brackets:** Forgetting to negate every term of $(a^2+b^2)(c^2+d^2)$ when subtracting from $(ac+bd)^2$.
- **Assuming $a^2+b^2 = 0$:** Since $a, b \neq 0$, $a^2+b^2 > 0$, so the equation is strictly quadratic.