Math · Coordinate Geometry and Vectors

Straight Lines revision notes

A concise JEE revision summary of Straight Lines.

FormulasRevision notes
Mathrevision notes

Basics of Coordinate Geometry

Coordinate geometry integrates algebra and geometry to study geometric figures systematically. Before proceeding to straight lines, the foundational formulas for points in a 2D Cartesian plane are essential.

  • Distance Formula: The distance between points P(x1,y1)P(x_1, y_1) and Q(x2,y2)Q(x_2, y_2) is PQ=(x2x1)2+(y2y1)2PQ = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.
  • Section Formula (Internal): The coordinates of a point dividing the line segment joining (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) internally in the ratio m:nm:n are (mx2+nx1m+n,my2+ny1m+n)\left( \frac{mx_2 + nx_1}{m+n}, \frac{my_2 + ny_1}{m+n} \right).
  • Section Formula (External): If the division is external in the ratio m:nm:n, the coordinates are (mx2nx1mn,my2ny1mn)\left( \frac{mx_2 - nx_1}{m-n}, \frac{my_2 - ny_1}{m-n} \right). → [JEE TIP] Always verify if the ratio is internal or external. External ratios can be treated as internal with a negative fractional ratio.
  • Mid-point Formula: For m=nm=n, the mid-point is (x1+x22,y1+y22)\left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2} \right).
  • Area of a Triangle: For vertices (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), and (x3,y3)(x_3, y_3), the area is 12x1(y2y3)+x2(y3y1)+x3(y1y2)\frac{1}{2}|x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|.
  • Collinearity Condition: Three points A, B, and C lie on a single line (collinear) if and only if the area of the triangle formed by them is zero.
  • Important Triangle Centers: → [JEE TIP]
    • Centroid (G): Point of intersection of medians. G=(x1+x2+x33,y1+y2+y33)G = \left( \frac{x_1+x_2+x_3}{3}, \frac{y_1+y_2+y_3}{3} \right).
    • Incenter (I): Point of intersection of internal angle bisectors. I=(ax1+bx2+cx3a+b+c,ay1+by2+cy3a+b+c)I = \left( \frac{ax_1+bx_2+cx_3}{a+b+c}, \frac{ay_1+by_2+cy_3}{a+b+c} \right) where a,b,ca,b,c are side lengths.
    • Orthocenter (H) & Circumcenter (O): The centroid GG divides the Euler line joining the orthocenter HH and the circumcenter OO internally in the ratio 2:12:1.

Slope and Inclination of a Line

The slope (or gradient) represents the steepness and direction of a line, acting as the fundamental parameter for algebraic representation.

  • Inclination (θ\theta): The angle θ\theta made by a line with the positive direction of the x-axis, measured anti-clockwise. The limits are 0θ1800^\circ \le \theta \le 180^\circ.
    • Horizontal lines (parallel to x-axis) have an inclination of 00^\circ.
    • Vertical lines (parallel to y-axis) have an inclination of 9090^\circ.
  • Slope (mm): If θ\theta is the inclination, the slope m=tanθm = \tan \theta (for θ90\theta \ne 90^\circ).
    • Slope of the x-axis is 0.
    • Slope of the y-axis is not defined.
  • Slope given two points: For a non-vertical line passing through P(x1,y1)P(x_1, y_1) and Q(x2,y2)Q(x_2, y_2), the slope is m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}.

Parallelism, Perpendicularity, and Angle Between Lines

The relative orientation of two lines can be determined purely by their slopes.

  • Parallel Lines: Two non-vertical lines l1l_1 and l2l_2 with slopes m1m_1 and m2m_2 are parallel if and only if their inclinations are equal (α=β\alpha = \beta), thus m1=m2m_1 = m_2.
  • Perpendicular Lines: Two non-vertical lines are perpendicular if and only if their slopes are negative reciprocals, meaning m1m2=1m_1 m_2 = -1. → [JEE TIP] This rule fails if one line is vertical and the other is horizontal. Always check for zero and undefined slopes first.
  • Angle Between Two Lines: If θ\theta and ϕ\phi are the adjacent angles between two intersecting lines with slopes m1m_1 and m2m_2, the acute angle θ\theta is given by tanθ=m2m11+m1m2\tan \theta = \left| \frac{m_2 - m_1}{1 + m_1 m_2} \right|.
    • The condition requires 1+m1m201 + m_1 m_2 \ne 0.
    • The obtuse angle ϕ\phi is found using ϕ=180θ\phi = 180^\circ - \theta.

Various Forms of the Equation of a Line

A line is defined algebraically by a condition satisfied only by the points (x,y)(x,y) lying on it.

  • Horizontal and Vertical Lines: A line parallel to the x-axis at distance aa is y=±ay = \pm a. A line parallel to the y-axis at distance bb is x=±bx = \pm b.
  • Point-Slope Form: The line through fixed point (x0,y0)(x_0, y_0) with slope mm is yy0=m(xx0)y - y_0 = m(x - x_0).
  • Two-Point Form: The line passing through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is yy1=y2y1x2x1(xx1)y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1).
  • Slope-Intercept Form:
    • With y-intercept cc: y=mx+cy = mx + c.
    • With x-intercept dd: y=m(xd)y = m(x - d).
  • Intercept Form: A line making x-intercept aa and y-intercept bb is xa+yb=1\frac{x}{a} + \frac{y}{b} = 1. → [JEE TIP] The area of the triangle formed by this line with the coordinate axes is 12ab\frac{1}{2}|ab|.
  • General Form: Any linear equation Ax+By+C=0Ax + By + C = 0, where AA and BB are not simultaneously zero.
    • Slope m=A/Bm = -A/B (if B0B \ne 0).
    • x-intercept = C/A-C/A, y-intercept = C/B-C/B.
  • Parametric / Distance Form: → [JEE TIP] The equation of a line passing through (x1,y1)(x_1, y_1) at an angle θ\theta is xx1cosθ=yy1sinθ=r\frac{x - x_1}{\cos \theta} = \frac{y - y_1}{\sin \theta} = r, where rr is the directed distance from (x1,y1)(x_1, y_1) to any point (x,y)(x,y) on the line. Highly useful for finding points at a specific distance along a line.
  • Normal Form: xcosα+ysinα=px \cos \alpha + y \sin \alpha = p, where pp is the perpendicular distance from the origin to the line, and α\alpha is the angle this perpendicular makes with the positive x-axis.

Distance and Position of Points

  • Distance of a Point from a Line: The perpendicular distance dd of a point (x1,y1)(x_1, y_1) from the line Ax+By+C=0Ax + By + C = 0 is d=Ax1+By1+CA2+B2d = \frac{|Ax_1 + By_1 + C|}{\sqrt{A^2 + B^2}}.
  • Distance Between Parallel Lines: For lines Ax+By+C1=0Ax + By + C_1 = 0 and Ax+By+C2=0Ax + By + C_2 = 0, the distance d=C1C2A2+B2d = \frac{|C_1 - C_2|}{\sqrt{A^2 + B^2}}. → [JEE TIP] Before applying this, strictly ensure the coefficients AA and BB are identical in both equations.
  • Relative Position of Two Points: → [JEE TIP] Points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) lie on the same side of the line Ax+By+C=0Ax + By + C = 0 if (Ax1+By1+C)(Ax2+By2+C)>0(Ax_1 + By_1 + C)(Ax_2 + By_2 + C) > 0, and on opposite sides if the product is <0< 0.
  • Foot of Perpendicular: → [JEE TIP] The foot (h,k)(h, k) of the perpendicular from (x1,y1)(x_1, y_1) to the line Ax+By+C=0Ax + By + C = 0 is found using: hx1A=ky1B=Ax1+By1+CA2+B2\frac{h - x_1}{A} = \frac{k - y_1}{B} = -\frac{Ax_1 + By_1 + C}{A^2 + B^2}.
  • Image of a Point: → [JEE TIP] The reflection (h,k)(h, k) of (x1,y1)(x_1, y_1) across the line mirror Ax+By+C=0Ax + By + C = 0 is found using: hx1A=ky1B=2Ax1+By1+CA2+B2\frac{h - x_1}{A} = \frac{k - y_1}{B} = -2\frac{Ax_1 + By_1 + C}{A^2 + B^2}.

Family of Lines & Concurrency

  • Concurrency Condition: Three lines A1x+B1y+C1=0A_1x + B_1y + C_1 = 0, A2x+B2y+C2=0A_2x + B_2y + C_2 = 0, and A3x+B3y+C3=0A_3x + B_3y + C_3 = 0 are concurrent (pass through a common point) if the determinant of their coefficients is zero: A1B1C1A2B2C2A3B3C3=0\begin{vmatrix} A_1 & B_1 & C_1 \\ A_2 & B_2 & C_2 \\ A_3 & B_3 & C_3 \end{vmatrix} = 0. Alternatively, solve two equations and check if the intersection satisfies the third.
  • Family of Lines: → [JEE TIP] The equation of any line passing through the intersection of two lines L1=0L_1 = 0 and L2=0L_2 = 0 is L1+λL2=0L_1 + \lambda L_2 = 0, where λ\lambda is a parameter (λcoefficient constraint\lambda \ne \text{coefficient constraint}).

Angle Bisectors of Two Lines

→ [JEE TIP] For two intersecting lines A1x+B1y+C1=0A_1x + B_1y + C_1 = 0 and A2x+B2y+C2=0A_2x + B_2y + C_2 = 0, the equations of their angle bisectors are: A1x+B1y+C1A12+B12=±A2x+B2y+C2A22+B22\frac{A_1x + B_1y + C_1}{\sqrt{A_1^2 + B_1^2}} = \pm \frac{A_2x + B_2y + C_2}{\sqrt{A_2^2 + B_2^2}}

  • Origin Containing Bisector: Ensure C1>0C_1 > 0 and C2>0C_2 > 0 by multiplying the equations by 1-1 if necessary. Then, the positive sign (++) corresponds to the bisector containing the origin.
  • Acute/Obtuse Bisector: With C1,C2>0C_1, C_2 > 0, evaluate the sign of (A1A2+B1B2)(A_1A_2 + B_1B_2). If (A1A2+B1B2)>0(A_1A_2 + B_1B_2) > 0, the ++ sign gives the obtuse angle bisector, and the - sign gives the acute angle bisector. If (A1A2+B1B2)<0(A_1A_2 + B_1B_2) < 0, the roles reverse.

Key Concepts & Definitions

Analytical Geometry:
The systematic study of geometry through algebra via a coordinate plane, established by René Descartes.
Inclination:
The anti-clockwise angle between the positive x-axis and a line.
Slope/Gradient:
The tangent of the angle of inclination.
Collinear:
Points lying on the same straight line.
Concurrent:
Three or more lines intersecting at a single common point.

Formulae, Equations & Units

Quantity/ConceptFormulaDefinitions of VariablesApplicable Conditions / Units
Distance between pointsd=(x2x1)2+(y2y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}(x1,y1),(x2,y2)(x_1, y_1), (x_2, y_2) are coordinatesApplies everywhere; Units: Coordinate units
Area of TriangleΔ=12x1(y2y3)+x2(y3y1)+x3(y1y2)\Delta = \frac{1}{2}\|x_1(y_2-y_3) + x_2(y_3-y_1) + x_3(y_1-y_2)\|Vertices (xi,yi)(x_i, y_i)Units: Square units
Slope (mm)m=tanθm = \tan \theta OR m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}θ\theta = inclinationθ90\theta \ne 90^\circ, x1x2x_1 \ne x_2
Angle between linestanθ=m2m11+m1m2\tan \theta = \|\frac{m_2 - m_1}{1 + m_1m_2}\|θ\theta = acute angle1+m1m201 + m_1m_2 \ne 0
Point-Slope Formyy0=m(xx0)y - y_0 = m(x - x_0)mm = slope, (x0,y0)(x_0, y_0) = fixed ptNon-vertical lines
Intercept Formxa+yb=1\frac{x}{a} + \frac{y}{b} = 1aa = x-intercept, bb = y-interceptLine doesn't pass through origin; a0,b0a \ne 0, b \ne 0
Distance to Lined=Ax1+By1+CA2+B2d = \frac{\|Ax_1 + By_1 + C\|}{\sqrt{A^2 + B^2}}(x1,y1)(x_1, y_1) = point, Ax+By+C=0Ax+By+C=0 = lineNon-zero A and B simultaneously
Distance between parallelsd=C1C2A2+B2d = \frac{\|C_1 - C_2\|}{\sqrt{A^2 + B^2}}Lines: Ax+By+C1=0Ax+By+C_1=0, Ax+By+C2=0Ax+By+C_2=0A,BA, B must be exactly equal
Area formed by y=m1x+c1,y=m2x+c2,x=0y=m_1x+c_1, y=m_2x+c_2, x=0Δ=(c1c2)22m1m2\Delta = \frac{(c_1-c_2)^2}{2\|m_1-m_2\|}Intercepts cic_i, slopes mim_iNon-parallel lines (m1m2m_1 \ne m_2)

Conditions & Limitations

  • Slope limitation: The slope mm is undefined for vertical lines (inclination 9090^\circ). Equations involving slope directly (like y=mx+cy=mx+c) cannot represent vertical lines.
  • Angle limit: Angle formula between lines uses tangent. If the lines are perpendicular, 1+m1m2=01+m_1m_2 = 0, making tanθ\tan \theta undefined (i.e., θ=90\theta = 90^\circ).
  • Parallel Lines Distance: The formula d=C1C2/A2+B2d = |C_1-C_2|/\sqrt{A^2+B^2} CANNOT be used if the coefficients of xx and yy are proportional but not exactly identical. (e.g., 2x+3y+5=02x+3y+5=0 and 4x+6y+7=04x+6y+7=0. You must divide the second equation by 2 first).

⚠️ COMMON MISCONCEPTIONS & SIGN CONVENTIONS

  • Inclination Range vs Standard Angles: Inclination θ\theta is restricted strictly to [0,180][0, 180^\circ]. Never use negative angles or angles >180>180^\circ for inclination.
  • Modulus in Angle Formula: Students often forget the modulus in tanθ=m2m11+m1m2\tan \theta = |\frac{m_2-m_1}{1+m_1m_2}|. Without it, you might calculate the obtuse angle instead of the acute angle.
  • Intercepts vs Lengths: An intercept (aa or bb) is a coordinate, meaning it can be negative. It is NOT merely a length (which is strictly positive). A negative intercept implies it cuts the negative axis.
  • Modulus in Distance: The distance formulas d=Ax1+By1+CA2+B2d = \frac{|Ax_1 + By_1 + C|}{\sqrt{A^2 + B^2}} MUST include the absolute value operator. Distance cannot be negative.
  • Perpendicular Slopes Trap: The rule m1m2=1m_1 m_2 = -1 breaks if one line is the x-axis (m=0m=0) and the other is the y-axis (m = undefined). The product 0×undefined0 \times \text{undefined} is an indeterminate form, but the lines are still geometrically perpendicular.

Previous Year JEE Topics

  • Image and foot of perpendicular of a point with respect to a straight line.
  • Equations of angle bisectors and identifying the region containing the origin.
  • Family of lines (proving lines pass through a fixed point regardless of a parameter).
  • Locus of a point satisfying given geometric distance constraints.
  • Triangle centers (Incenter, Orthocenter) constructed via intersections of specifically defined lines.

Standard Derivations & Step-by-Step Problem Solving

Derivation of Distance of a Point from a Line:

  1. Let line L:Ax+By+C=0L: Ax + By + C = 0 and point P(x1,y1)P(x_1, y_1).
  2. The line meets axes at Q(C/A,0)Q(-C/A, 0) and R(0,C/B)R(0, -C/B).
  3. Calculate Area of ΔPQR\Delta PQR using vertex coordinates: Area = 12x1(0(C/B))+(C/A)(C/By1)+0(y10)\frac{1}{2} |x_1(0 - (-C/B)) + (-C/A)(-C/B - y_1) + 0(y_1 - 0)|.
  4. Simplify to Area = 12CAB(Ax1+By1+C)\frac{1}{2} |\frac{C}{AB}(Ax_1 + By_1 + C)|.
  5. Also, Area of ΔPQR\Delta PQR = 12×base (QR)×height (PM, which is d)\frac{1}{2} \times \text{base (QR)} \times \text{height (PM, which is } d).
  6. Distance QR=(C/A0)2+(0(C/B))2=CABA2+B2QR = \sqrt{(-C/A - 0)^2 + (0 - (-C/B))^2} = \frac{|C|}{|AB|} \sqrt{A^2 + B^2}.
  7. Equating the areas: 12d×CABA2+B2=12CAB(Ax1+By1+C)\frac{1}{2} d \times \frac{|C|}{|AB|} \sqrt{A^2 + B^2} = \frac{1}{2} |\frac{C}{AB}(Ax_1 + By_1 + C)|.
  8. Solving for dd: d=Ax1+By1+CA2+B2d = \frac{|Ax_1 + By_1 + C|}{\sqrt{A^2 + B^2}}.

Top 10 JEE MCQ Traps

  • [JEE TIP] Trap 1 - The Coordinate vs. Length Intercept Split:

    • Misconception: An xx-intercept value of 33 represents a scalar segment length measured from the origin along the horizontal axis.
    • Correct Understanding: An intercept is an algebraic value, not a pure geometric length. An xx-intercept of 33 means the line crosses the axis at the specific coordinate point (3,0)(3,0). If a problem states that a line cuts an "intercept of length 3" from an axis, the actual algebraic intercept value can be either +3+3 or 3-3, creating two distinct cases.
  • [JEE TIP] Trap 2 - The Unscaled Parallel Distance Calculation:

    • Misconception: The constant-difference distance formula d=C1C2A2+B2d = \frac{|C_1 - C_2|}{\sqrt{A^2 + B^2}} can be applied directly to any two equations that represent parallel lines, such as 2x+3y+5=02x+3y+5=0 and 4x+6y+10=04x+6y+10=0.
    • Correct Understanding: The formula is strictly valid only when the leading coefficients (AA and BB) match identically across both equations. Before subtracting the constant terms, you must scale one of the lines to align the coefficients. For instance, multiplying the first equation by 22 yields 4x+6y+10=04x+6y+10=0, which reveals that the two equations actually represent the same line, making the true distance exactly 00.
  • [JEE TIP] Trap 3 - The Vertical Perpendicularity Slopes Deficit:

    • Misconception: The standard product condition m1m2=1m_1 \cdot m_2 = -1 is a universal test that accounts for all pairs of perpendicular straight lines in a plane.
    • Correct Understanding: The product condition completely fails if one of the lines is vertical. A vertical line (e.g., x=2x=2) has an undefined slope, meaning the product equation cannot be written. When dealing with lines where one slope approaches infinity, you must bypass the slope product formula and evaluate the equations manually (e.g., checking if the second line is perfectly horizontal, like y=3y=3).
  • [JEE TIP] Trap 4 - The Missing Pivot Line in Families of Lines:

    • Misconception: The standard family-of-lines equation L1+λL2=0L_1 + \lambda L_2 = 0 is a complete expression capable of representing every single straight line that passes through the intersection point of L1L_1 and L2L_2.
    • Correct Understanding: This parametric combination can model every concurrent line passing through the intersection point except for the base line L2=0L_2 = 0 itself. Because λ\lambda is a finite parameter, there is no real number you can substitute into the equation to eliminate L1L_1 and isolate L2L_2 (which would require λ\lambda \to \infty).
  • [JEE TIP] Trap 5 - The Area Matrix Cyclical Indices Disruption:

    • Misconception: Evaluating the coordinate determinant area formula 12x1(y2y3)+x2(y3y1)+x3(y1y2)\frac{1}{2}|x_1(y_2-y_3) + x_2(y_3-y_1) + x_3(y_1-y_2)| can be performed by grouping indices in any convenient random sequence.
    • Correct Understanding: The subscripts must follow a strict cyclical order (1231 \to 2 \to 3, 2312 \to 3 \to 1, 3123 \to 1 \to 2) to prevent catastrophic sign subtraction errors. Furthermore, because areas are geometric magnitudes, you must preserve the outer absolute value bars completely through to the final step of the arithmetic calculation.
  • [JEE TIP] Trap 6 - The Arbitrary Sign Choice for Origin Bisectors:

    • Misconception: Choosing the positive sign (++) in the standard angle bisector expression A1x+B1y+C1A12+B12=±A2x+B2y+C2A22+B22\frac{A_1x+B_1y+C_1}{\sqrt{A_1^2+B_1^2}} = \pm \frac{A_2x+B_2y+C_2}{\sqrt{A_2^2+B_2^2}} automatically isolates the bisector that contains the coordinate origin.
    • Correct Understanding: The positive sign is only guaranteed to yield the origin-containing bisector if you first rewrite both linear equations so that their constant terms are strictly positive (C1>0C_1 > 0 and C2>0C_2 > 0). If you do not perform this normalization step first, the algebraic sign properties will reverse, leading to an incorrect bisector assignment.
  • [JEE TIP] Trap 7 - Perpendicular Foot vs. Mirror Image Multipliers:

    • Misconception: The algebraic formula used to locate the coordinates of the foot of a perpendicular dropped onto a line is identical to the formula used to locate the mirror image reflection of that point.
    • Correct Understanding: While the structural layout of the formulas is identical, they utilize different scalar multipliers that correspond to the geometric distance traveled. The foot of the perpendicular formula uses a multiplier of 1-1, whereas the mirror image reflection formula travels twice the distance and requires a multiplier of 2-2: x2x1A=y2y1B=1 or 2(Ax1+By1+CA2+B2)\frac{x_2-x_1}{A} = \frac{y_2-y_1}{B} = -1 \text{ or } -2 \left( \frac{Ax_1+By_1+C}{A^2+B^2} \right)
  • [JEE TIP] Trap 8 - The Parametric Scalar Distance Assumption:

    • Misconception: In the standard linear parametric equations x=x1+rcosθx = x_1 + r\cos\theta and y=y1+rsinθy = y_1 + r\sin\theta, the variable parameter rr represents a simple, non-negative geometric length.
    • Correct Understanding: The parameter rr represents a directed distance vector. It takes a positive scalar value if the target point lies along the ray extending in the direction of the specified angle θ\theta, but it must be assigned a negative value if the point lies along the line extending in the exact opposite direction (180+θ180^\circ + \theta).
  • [JEE TIP] Trap 9 - Triangle Center Concurrency Identification:

    • Misconception: The terms Centroid, Incenter, Orthocenter, and Circumcenter are interchangeable labels that represent the general central region of a triangle.
    • Correct Understanding: Each center is generated by a highly specific, distinct set of concurrent lines. You must memorize the exact structural links to avoid parsing errors in geometric word problems:
    • Centroid = Intersection of the Medians (line segments splitting opposite sides in half).
    • Incenter = Intersection of the internal Angle Bisectors.
    • Orthocenter = Intersection of the Altitudes (perpendicular heights from vertices).
    • Circumcenter = Intersection of the Perpendicular Bisectors of the sides.
  • [JEE TIP] Trap 10 - The Relative Linear Position Sign Illusion:

    • Misconception: Substituting a coordinate point into a line expression (Ax1+By1+CAx_1+By_1+C) and obtaining a positive output (>0>0) means that the point is physically situated "above" the path of that line.
    • Correct Understanding: The resulting sign does not denote vertical elevation; it merely indicates a partitioned regional domain. To verify if two distinct coordinate points reside on the same side of a line, substitute both points into the expression. If their outputs yield the same algebraic sign (meaning their mathematical product is strictly positive, L(P1)L(P2)>0L(P_1) \cdot L(P_2) > 0), they lie on the same side. If the signs differ, they lie on opposite sides.
Notes fade fast. Rhovecs re-surfaces each concept on a forgetting schedule and picks what you practise next — so revision sticks.See how it works
Other chapters

Rhovecs re-surfaces each concept right before you’d forget it — and picks the next thing to practise. We decide, you execute.

Get started