Mathematics · Straight lines

JEE Main 2025 — 7 April, Evening Shift — Question 23

If the orthocenter of the triangle formed by the lines yy =x+1,y=4x−8=x+1, y=4 x-8 and y=mx+cy=m x+c is at

(3,−1)(3,-1), then mm −c-c is:

  1. Option A:

    -2

  2. Option B:

    0

    Correct
  3. Option C:

    4

  4. Option D:

    2

Answer: B

Step-by-step solution

Let the three lines be L1:y=x+1L_1: y = x+1, L2:y=4x−8L_2: y = 4x-8, and L3:y=mx+cL_3: y = mx + c. The orthocenter is H=(3,−1)H = (3, -1). Intersection of L1L_1 and L2L_2: x+1=4x−8⇒x=3,y=4x+1 = 4x-8 \Rightarrow x=3, y=4.

So vertex A=(3,4)A = (3,4). Then vector HA→=(0,5)\overrightarrow{HA} = (0,5).

Since HA→\overrightarrow{HA} is vertical, the opposite side BCBC must be horizontal.

Thus the y-coordinates of B and C are equal: yB=yCy_B = y_C. From the intersection of L1L_1 and L3L_3: xB=c−11−m,yB=c−m1−mx_B = \frac{c-1}{1-m}, y_B = \frac{c-m}{1-m}. From the intersection of L2L_2 and L3L_3: xC=c+84−m,yC=4c+8m4−mx_C = \frac{c+8}{4-m}, y_C = \frac{4c+8m}{4-m}. Setting yB=yCy_B = y_C gives c−m1−m=4c+8m4−m\frac{c-m}{1-m} = \frac{4c+8m}{4-m}.

Cross-multiplying and simplifying yields m(c−4+3m)=0m(c-4+3m)=0. Now use the altitude from BB: HB→⊥AC→\overrightarrow{HB} \perp \overrightarrow{AC}. First, if meq0m eq 0, then c=4−3mc=4-3m and yB=yC=4y_B = y_C = 4 (from solving further).

But then all three vertices lie on y=4y=4, making the triangle degenerate.

So m=0m=0 is the only possibility. With m=0m=0, L3L_3 is y=cy=c. Then B=(c−1,c)B = (c-1, c), C=(c+84,c)C = \left(\frac{c+8}{4}, c\right). Compute HB→=(c−4,c+1)\overrightarrow{HB} = (c-4, c+1) and AC→=(c−44,c−4)\overrightarrow{AC} = \left(\frac{c-4}{4}, c-4\right). Dot product: (c−4)⋅c−44+(c+1)(c−4)=(c−4)24+(c+1)(c−4)=0(c-4)\cdot\frac{c-4}{4} + (c+1)(c-4) = \frac{(c-4)^2}{4} + (c+1)(c-4) = 0. Factor (c−4)(c-4): (c−4)(c−44+(c+1))=0(c-4)\left(\frac{c-4}{4} + (c+1)\right) = 0. Simplify: (c−4)(5c4)=0⇒c=0 or c=4(c-4)\left(\frac{5c}{4}\right) = 0 \Rightarrow c=0 \text{ or } c=4. c=4c=4 makes all lines concurrent at (3,4)(3,4) (degenerate). Hence c=0c=0. Thus m=0m=0, c=0c=0, and m−c=0m-c = 0.

Answer key and solution verified before publishing.

Practise Straight lines

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2025
Subject
Mathematics
Chapter
Straight lines
Topic
Special Points in a Triangle