GATE DA 2024, Q.17: Support vectors of a hard-margin linear SVM
The question
Class +1: x1 = (1, 0), x2 = (0, 1), x5 = (2, 2). Class −1: x3 = (0, −1), x4 = (−1, 0), x6 = (−2, −2). A hard-margin linear SVM is trained. Which set could be the support vectors?
- (A) {x1, x2, x5}
- (B) {x3, x4, x5}
- (C) {x4, x5}
- (D) {x1, x2, x3, x4}
Solve it step by step
- Draw it. The two classes sit on opposite sides of the line x + y = 0.
- Best boundary. x + y = 0 sits exactly halfway between the closest points of each class.
- Margins. The margin lines are x + y = 1 and x + y = −1.
- On the margin. x1, x2 lie on x + y = 1 and x3, x4 on x + y = −1. Those are the support vectors.
Answer: (D) {x1, x2, x3, x4}
Official IISc Bengaluru answer key: D.
Common mistake. Picking the extreme points. Far points like (2, 2) never hold up the boundary; removing them changes nothing.
Remember. Support vectors are the training points lying exactly on the margin.
See it move
Learn the idea behind this question in the free animated lesson Support vector machines, then Decision boundaries.
Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.
See the past-paper pack See the cheat sheetsSource: official GATE DA 2024 question paper and answer key (IISc Bengaluru). The question is lightly reworded; every number and option is kept.