Question:medium

If \(P(a,b)\) is the midpoint of a line segment intercepted between the coordinate axes, then the equation of the line is

Show Hint

If the midpoint of the intercepts is (a, b), the intercepts themselves are 2a and 2b.
Updated On: Nov 12, 2026
  • \(x+y=2\)
  • \(ax+by=2\)
  • \(x+y=2ab\)
  • \(\frac{x}{a}+\frac{y}{b}=2\)
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Test with the midpoint
The line must pass through $P(a,b)$: $\dfrac{a}{a}+\dfrac{b}{b}=2$, which holds for the last option.

Step 2: Reject others
$x+y=2$ gives $a+b=2$, $ax+by=2$ gives $a^{2}+b^{2}=2$, and $x+y=2ab$ gives $a+b=2ab$, none true in general.

Step 3: Confirm intercepts
Setting $y=0$ gives $x=2a$ and $x=0$ gives $y=2b$, whose midpoint is $(a,b)$.

Final Answer:
Only x/a + y/b = 2 fits for every a and b. \[ \boxed{\text{(D) }\dfrac{x}{a}+\dfrac{y}{b}=2} \]
Was this answer helpful?
0