Q.Passing through the points (−1,1) and (2,−4).
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 10-day free trial to unlock the full solution →Concept understanding — Slope Calculation
Slope Calculation — From Intuition to Precision
Imagine you're walking up a hill. Some hills are gentle — you barely notice the climb. Others are so steep you have to lean forward and use your hands. That "steepness" is what slope measures. In mathematics, slope tells us how fast a line rises or falls as we move from left to right.
The Intuition: Rise Over Run
Take any two points on a straight line. As you walk from the left point to the right point, two things happen:
- You move horizontally — that's the run.
- You move vertically — that's the rise (upwards) or fall (downwards).
Slope is simply the ratio:
Slope = (vertical change) ÷ (horizontal change)
If you climb 3 metres while walking 5 metres forward, the slope is 3/5=0.6. If you descend 2 metres while walking 4 metres forward, the slope is −2/4=−0.5 — negative because you're going downhill.
The Precise Definition
Given two distinct points (x1,y1) and (x2,y2) on a non-vertical line, the slope m is:
m=x2−x1y2−y1
The numerator is the rise (change in y), the denominator is the run (change in x). The order matters: subtract the first point's coordinates from the second's, consistently.
Never divide by zero. If x2=x1, the line is vertical — slope is undefined (not zero, not infinite — just undefined).
What the Number Tells You
| Slope value | What the line does |
|---|---|
| m>0 | Rises left to right (uphill) |
| m<0 | Falls left to right (downhill) |
| m=0 | Horizontal (flat) |
| m undefined | Vertical (straight up/down) |
The larger the absolute value ∣m∣, the steeper the line. A slope of 5 is much steeper than a slope of 0.2.
A Worked Example
Find the slope of the line through (1,2) and (4,8).
Step 1: Label the points. Let (x1,y1)=(1,2) and (x2,y2)=(4,8).
Step 2: Compute the rise: y2−y1=8−2=6.
Step 3: Compute the run: x2−x1=4−1=3.
Step 4: Divide: m=36=2.
The line rises 2 units vertically for every 1 unit it moves right. …
Concept: Slope Calculation
The slope m of a line through two points (x1,y1) and (x2,y2) is the ratio of vertical change to horizontal change:
m=x2−x1y2−y1
Steps
- Identify the points: (x1,y1)=(−1,1) and (x2,y2)=(2,−4).
- Substitute into the formula: …
The slope of a line measures its steepness and direction. Using the formula m=x2−x1y2−y1 with the given points (−1,1) and (2,−4), the slope is −35.
Concept and Intuition
The slope of a line tells us how much the y-coordinate changes for every unit change in the x-coordinate. Think of it as the "rise over run" — the vertical change divided by the horizontal change between any two points on the line.
When you have two points (x1,y1) and (x2,y2), the slope m is simply the difference in y divided by the difference in x:
m=change in xchange in y=x2−x1y2−y1
This works because a straight line has constant slope — no matter which two points you pick, the ratio of vertical to horizontal change is always the same.
A common mistake is to reverse the order of subtraction. If you use y2−y1 in the numerator, you must use x2−x1 in the denominator — keep the same point as "first" in both.
Step-by-Step Solution
-
Identify the coordinates.
Let (x1,y1)=(−1,1) and (x2,y2)=(2,−4). The order matters only for consistency — you could swap them and get the same result.
-
Find the change in y (rise).
y2−y1=−4−1=−5
The negative sign tells us the line goes downward as we move from left to right.
- Find the change in x (run). x2−x1=2−(−1)=2+1=3 …
Showing the 12 most recent of 21 on this concept.
- JEE Main 2026Set 2026-04-05-s24 marksQ.From the point (-1, -1), two rays are sent making angles of 45° with the line x + y = 0. These rays get reflected from the mirror x + 2y = 1. If the equations of the reflected rays are ax + by = 9 and cx + dy = 7, a, b, c, d ∈ Z, then the value of ad + bc is __________.
›Reveal solutionSolution
The two incident rays are just x=−1 and y=−1; reflecting the source point in the mirror and joining it to each point of incidence gives the two reflected lines 4x+3y=9 and −3x+4y=7, so ad+bc=7.
The cleanest way to handle a reflected ray is never to reflect the ray's direction directly — it's to reflect the source point in the mirror once, and then every reflected ray is simply the line joining that single image point to wherever the ray actually strikes the mirror.
- The line x+y=0 has direction angle 135° (slope −1). A ray making 45° with it has direction angle 135°−45°=90° or 135°+45°=180° — i.e. vertical or horizontal.
- So, from (−1,−1), the two rays are the vertical line x=−1 and the horizontal line y=−1.
- Reflect the source S=(−1,−1) in the mirror x+2y−1=0 using the standard point-reflection formula:
S′=S−a2+b22(ax0+by0+c)(a,b),
with a=1,b=2,c=−1. Here ax0+by0+c=−1−2−1=−4, so
S′=(−1,−1)−52(−4)(1,2)=(−1,−1)+(58,516)=(53,511).
For any point on the mirror, the real reflected ray is the line through that point and the mirror-image of the source. …
- JEE Main 2025Set 2025-01-28-s24 marksMCQQ.Two equal sides of an isosceles triangle are along −x+2y=4 and x+y=4. If m is the slope of its third side, then the sum, of all possible distinct values of m, is: (A) −210 (B) 12 (C) -6 (D) 6
›Reveal solutionSolution
Equal base angles mean the base makes the same angle with both legs; translate that into 1+mm1m−m1=1+mm2m−m2 and solve.
- Legs' slopes: m1=21 (from −x+2y=4), m2=−1 (from x+y=4).
- Equal-angle condition: 1+2mm−21=±1−mm+1.
- The '+' sign leads to m2=−1 (no real solution) — this corresponds to the base being 'parallel' in the wrong orientation to satisfy the geometry. …
- JEE Main 2025Set 2025-01-28-s24 marksMCQQ.Let A,B,C be three points in xy-plane, whose position vectors are given by 3i^+j^,i^+3j^ and ai^+(1−a)j^ respectively with respect to the origin O . If the distance of the point C from the line bisecting the angle between the vectors OA and OB is 29, then the sum of all the possible values of a is : (A) 2 (B) 0 (C) 29 (D) 1
›Reveal solutionSolution
Equal-magnitude vectors bisect their angle along their vector sum; here that collapses to y=x, making the distance condition on C a one-line computation.
- OA=(3,1), OB=(1,3); both have magnitude 2.
- The internal angle bisector direction is OA+OB=(3+1,3+1)∝(1,1), so the bisector is the line y=x, i.e. x−y=0. …
- JEE Main 2025Set 2025-04-08-s24 marksMCQQ.Let a be the length of a side of a square OABC with O being the origin. Its side OA makes an acute angle α with the positive x-axis and the equations of its diagonals are (√3+1)x + (√3-1)y = 0 and (√3-1)x - (√3+1)y + 8√3 = 0. Then a² is equal to : (A) 48 (B) 16 (C) 24 (D) 32
›Reveal solutionSolution
One given line already passes through O, so it is diagonal OB; its intersection with the other diagonal AC is the square's centre, and OM=a/2 gives a2.
Intuition: a square's diagonals bisect each other at the centre and each has length a2; since O is itself a vertex, the distance from O to the centre is exactly half a diagonal.
- Diagonal through O: (3+1)x+(3−1)y=0 (zero constant term ⇒ passes through the origin). The other line is diagonal AC.
- From the first equation: x=(3−2)y.
- Substitute into (3−1)x−(3+1)y+83=0: (3−1)(3−2)y−(3+1)y+83=0. …
- JEE Main 2025Set 2025-04-08-s24 marksMCQQ.A line passing through the point P(a, 0) makes an acute angle α with the positive x-axis. Let this line be rotated about the point P through an angle α/2 in the clockwise direction. If in the new position, the slope of the line is 2 - √3 and its distance from the origin is 1/√2, then the value of 3a² tan²α - 2√3 is : (A) 8 (B) 4 (C) 5 (D) 6
›Reveal solutionSolution
tan(α/2)=2−3=tan15∘ gives α=30∘; the distance condition on the rotated line through P(a,0) fixes a, and 3a2tan2α−23 evaluates to 4.
Intuition: rotating a line of inclination α about a point on it by α/2 clockwise leaves a new inclination α−α/2=α/2, so its slope is tan(α/2) — a clean bridge to the memorised value tan15∘=2−3.
- New slope =tan(α−α/2)=tan(α/2)=2−3=tan15∘⇒α/2=15∘⇒α=30∘, so tanα=1/3.
- New line through P(a,0) with slope 2−3: (2−3)x−y−(2−3)a=0.
- Distance from O: (2−3)2+1∣(2−3)a∣=21.
- (2−3)2+1=8−43=2(3−1)2⇒(2−3)2+1=2(3−1). …
- JEE Main 2024Set 2024-01-30-s14 marksMCQQ.A line passing through the point A(9,0) makes an angle of 30° with the positive direction of the x-axis. If this line is rotated about A through an angle of 15° in the clockwise direction, then its equation in the new position is (A) 3−2y+x=9 (B) 3−2x+y=9 (C) 3+2x+y=9 (D) 3+2y+x=9
›Reveal solutionSolution
The new line makes angle 30°−15°=15° with the x-axis; use slope tan15° through A(9,0) and rearrange.
- New inclination: θ=30°−15°=15°.
- Slope: m=tan15°=2−3.
- Equation through (9,0): y=(2−3)(x−9). …
- JEE Main 2024Set 2024-02-01-s24 marksQ.Let ABC be an isosceles triangle in which A is at (-1, 0), ∠A=2π/3, AB = AC and B is on the positive x-axis. If BC=43 and the line BC intersects the line y=x+3 at (α,β), then β4/α2 is ________
›Reveal solutionSolution
The isosceles 120∘ triangle pins down B and C exactly; intersecting line BC with y=x+3 and simplifying the surd expression gives a clean integer.
- Since ∠A=2π/3 and AB=AC, by the law of cosines BC2=2AB2(1−cos120∘)=3AB2, so BC=3AB. Given BC=43, AB=AC=4.
- B is on the positive x-axis at distance 4 from A=(−1,0), so B=(3,0).
- AC makes a 120∘ angle with AB (which points along +x), so C=A+4(cos120∘,sin120∘)=(−1−2,23)=(−3,23).
- Line BC through (3,0) and (−3,23): slope =−3−323−0=−31, so y=−31(x−3). …
- JEE Main 2024Set 2024-04-04-s24 marksQ.Consider a triangle ABC having the vertices A(1,2),B(α,β) and C(γ,δ) and angles ∠ABC=6π and ∠BAC=32π. If the points B and C lie on the line y=x+4, then α2+γ2 is equal to
›Reveal solutionSolution
Since AB=AC, the foot of the perpendicular from A to line BC is the midpoint of BC; working out that foot and the half-length BM gives B,C's x-coordinates and α2+γ2=14.
- The angles ∠ABC=30∘ and ∠BAC=120∘ force ∠ACB=180∘−30∘−120∘=30∘, so triangle ABC is isosceles with AB=AC (sides opposite equal angles B,C).
- Because AB=AC, the altitude from A to line BC is also the median, so its foot M is the midpoint of B(α,β) and C(γ,δ).
- Line BC: y=x+4, i.e. x−y+4=0. The foot of perpendicular from A(1,2): using (x0−a2+b2a(ax0+by0+c),y0−a2+b2b(ax0+by0+c)) with a=1,b=−1,c=4: ax0+by0+c=1−2+4=3, a2+b2=2. So M=(1−1.5,2+1.5)=(−0.5,3.5).
- AM=(1−(−0.5))2+(2−3.5)2=1.52+1.52=1.52. …
- JEE Main 2024Set 2024-04-08-s24 marksQ.Let a ray of light passing through the point (3,10) reflect on the line 2x+y=6 and the reflected ray pass through the point (7,2). If the equation of the incident ray is ax+by+1=0, then a2+b2+3ab is equal to _____.
›Reveal solutionSolution
Reflect the second point across the mirror line; the incident ray is the line through P and the reflection.
- Reflect Q(7,2) in 2x+y−6=0: Q′=Q−252(7)+2−6(2,1)=(7,2)−2⋅510(2,1)=(7,2)−(8,4)=(−1,−2). …
- JEE Main 2023Set 2023-04-12-s14 marksMCQQ.If the point (α, 7\sqrt{3}/3) lies on the curve traced by the mid-points of the line segments of the lines x cosθ + y sinθ = 7, θ ∈ (0, \pi/2) between the co-ordinates axes, then α is equal to (A) 7 (B) -7 (C) -7\sqrt{3} (D) 7\sqrt{3}
›Reveal solutionSolution
Express the midpoint of the intercepted segment in terms of θ, eliminate θ using cos2θ+sin2θ=1 to get the locus, then substitute the given point.
- The line meets the axes at (7/cosθ,0) and (0,7/sinθ); midpoint (X,Y)=(2cosθ7,2sinθ7).
- So cosθ=2X7, sinθ=2Y7; using cos2θ+sin2θ=1: 4X249+4Y249=1⇒X21+Y21=494. …
- JEE Main 2023Set 2023-04-11-s24 marksQ.If the line \ell_1 : 3y - 2x = 3 is the angular bisector of the line \ell_2 : x - y + 1 = 0 and \ell_3 : \alpha x + \beta y + 17 = 0, then \alpha^2 + \beta^2 - \alpha - \beta is equal to _______.
›Reveal solutionSolution
Reflect a point on one line about the bisector to find a point that must lie on the other line, pinning down α,β.
- ℓ1:2x−3y+3=0 meets ℓ2:x−y+1=0 at P(0,1), which must also lie on ℓ3: 17=−β⇒β=−17.
- Take a point on ℓ2, say Q(−1,0); its reflection about ℓ1 is Q′=(13−17,136). …
- JEE Main 2023Set 2023-01-29-s14 marksMCQQ.A light ray emits from the origin making an angle 30° with the positive x-axis. After getting reflected by the line x + y = 1, if this ray intersects x-axis at Q, then the abscissa of Q is (A) \frac{2}{\sqrt{3}-1} (B) \frac{2}{3+\sqrt{3}} (C) \frac{2}{3-\sqrt{3}} (D) \frac{\sqrt{3}}{2(\sqrt{3}+1)}
›Reveal solutionSolution
Reflect the source across the mirror line to get an image point; the reflected ray lies along the straight line from that image through the point of incidence.
- Incident ray: y=xtan30∘=x/3. It meets x+y=1 where x(1+1/3)=1, giving P=(23−3,23−1).
- Reflecting the origin across x+y−1=0: with d=12+120+0−1=−21, the image is (0−2(1)(−21),0−2(1)(−21))=(1,1).
- The reflected ray is the line through the image (1,1) and P (extended beyond P, away from the image). …
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.