Q.Find the area of the triangle formed by the lines y−x=0, x+y=0 and x−k=0.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Area of Triangle from Lines
Area of a Triangle from Lines – First Principles
Imagine you're given three straight lines on a plane. They aren't parallel to each other, so they intersect in three distinct points. Those three intersection points form a triangle. The question is: can you find the area of that triangle directly from the equations of the lines, without first finding the coordinates of the vertices?
That's exactly what "area of triangle from lines" is about. It's a shortcut that saves you from solving three pairs of equations and then plugging into the area formula.
The Intuition
Every line equation can be written in the form ax+by+c=0. If you have three such lines:
L1L2L3:a1x+b1y+c1=0:a2x+b2y+c2=0:a3x+b3y+c3=0
The three intersection points are where each pair of lines meets. The area of the triangle formed by these three points can be expressed directly in terms of the coefficients ai,bi,ci — no vertex coordinates needed.
Why does this work? Because the determinant that gives the area of a triangle from its vertices can be rewritten, using the line equations, into a single determinant involving only the coefficients. It's a neat algebraic trick that relies on the fact that each vertex satisfies two of the three line equations.
The Precise Statement
Area=21⋅a1a2b1b2⋅a2a3b2b3⋅a3a1b3b1a1a2a3b1b2b3c1c2c32
Where each 2×2 determinant in the denominator is:
aiajbibj=aibj−ajbi
This is the area of the triangle formed by the three lines, assuming no two are parallel (so none of the denominator determinants is zero).
How to Use It – Step by Step
-
Write each line in the form ax+by+c=0. Make sure all three are in the same format — if a line is given as y=mx+d, rewrite it as mx−y+d=0 (or equivalently mx−y+d=0).
-
Form the 3×3 determinant of all coefficients ai,bi,ci and compute its value. Call it D.
-
Compute the three 2×2 determinants for each pair of lines:
- D12=a1b2−a2b1
- D23=a2b3−a3b2
- D31=a3b1−a1b3
-
Plug into the formula:
Area=21⋅∣D12⋅D23⋅D31∣D2
The absolute value in the denominator ensures the area is positive. The numerator is squared, so it's always non-negative.
If any two lines are parallel, one of the 2×2 determinants becomes zero — the formula breaks down (division by zero). In that case, the three lines do not form a triangle (they form a degenerate shape or a strip). Always check that no two lines are parallel before using this formula.
Why This Formula Works (Briefly)
The standard area formula for a triangle with vertices (x1,y1),(x2,y2),(x3,y3) is:
Area=21x1x2x3y1y2y3111
Now, each vertex lies on two lines. For example, vertex P12 (intersection of L1 and L2) satisfies a1x+b1y+c1=0 and a2x+b2y+c2=0. Using Cramer's rule, you can express x and y of that vertex in terms of the coefficients. Substituting these into the vertex determinant and simplifying yields the formula above. The squared numerator and product of 2×2 determinants emerge naturally from the algebra.
Example
Find the area of the triangle formed by the lines:
- L1:2x+3y−6=0
- L2:x−y+1=0
- L3:3x+2y−12=0
Step 1: Coefficients:
- a1=2,b1=3,c1=−6
- a2=1,b2=−1,c2=1
- a3=3,b3=2,c3=−12
Step 2: 3×3 determinant:
D=2133−12−61−12
Compute:
=2[(−1)(−12)−(1)(2)]−3[(1)(−12)−(1)(3)]+(−6)[(1)(2)−(−1)(3)]
=2[12−2]−3[−12−3]−6[2+3]
=2(10)−3(−15)−6(5)=20+45−30=35
Step 3: 2×2 determinants:
- D12=(2)(−1)−(3)(1)=−2−3=−5
- D23=(1)(2)−(−1)(3)=2+3=5
- D31=(3)(3)−(2)(2)=9−4=5
Step 4: Area: …
Concept: Area of triangle from intersection of lines.
Step 1 – Find vertices
Solve pairwise:
- y−x=0 and x+y=0 gives (0,0).
- y−x=0 and x−k=0 gives (k,k).
- x+y=0 and x−k=0 gives (k,−k).
Step 2 – Base and height
The base between (k,k) and (k,−k) is vertical, length 2∣k∣. …
The triangle is formed by two perpendicular lines through the origin and a vertical line. Its area is k2.
Why this approach works
When a problem gives you three lines and asks for the area of the triangle they form, the most direct path is to find the three intersection points (the vertices), then compute the area using the coordinate geometry formula. But before diving into algebra, it pays to visualise what these lines actually look like.
The lines y−x=0 and x+y=0 are both through the origin — one is the line y=x (slope 1), the other is y=−x (slope -1). They are perpendicular to each other. The third line x−k=0 is simply the vertical line x=k. So the triangle has one vertex at the origin, and the other two where the vertical line meets each of the slanted lines.
This geometric picture tells us the triangle is right-angled at the origin, which simplifies the area calculation enormously — we can use base and height directly.
Step-by-step solution
1. Find the vertices of the triangle
The three vertices are the pairwise intersections of the three lines.
-
Intersection of y−x=0 and x+y=0:
From y=x and y=−x, we get x=−x⟹2x=0⟹x=0, so y=0.
Vertex A=(0,0).
-
Intersection of y−x=0 and x−k=0:
x=k, and y=x=k.
Vertex B=(k,k).
-
Intersection of x+y=0 and x−k=0:
x=k, and y=−x=−k.
Vertex C=(k,−k).
So the three vertices are A(0,0), B(k,k), and C(k,−k).
2. Recognise the shape
Notice that AB lies along y=x and AC lies along y=−x. These two lines are perpendicular because their slopes multiply to −1 (1×−1=−1). So ∠BAC=90∘, and the triangle is right-angled at A.
The side BC is vertical (both points have x=k), so its length is the vertical distance between B and C:
BC=∣k−(−k)∣=∣2k∣=2∣k∣
But for area, we don't need BC — we can use the two perpendicular sides AB and AC as base and height.
3. Compute the lengths of the perpendicular sides
Length AB (from (0,0) to (k,k)):
AB=(k−0)2+(k−0)2=k2+k2=2k2=∣k∣2
Length AC (from (0,0) to (k,−k)):
AC=(k−0)2+(−k−0)2=k2+k2=∣k∣2 …
- KCET 2025Set A-11 markMCQQ.The area of the region bounded by the curve y=x2 and the line y=16 is (A) 332 sq. units (B) 3256 sq. units (C) 364 sq. units (D) 3128 sq. units
›Reveal solutionSolution
The region is a symmetric area between a parabola and a horizontal line. Integrate the difference of functions from x=−4 to x=4 to get 3256 sq. units, which is option (B).
The problem asks for the area bounded by y=x2 (an upward-opening parabola with vertex at the origin) and y=16 (a horizontal line). The key idea: area between two curves is found by integrating the top function minus the bottom function over the interval where they intersect.
First, find where the curves meet. Set x2=16, so x=±4. The region is symmetric about the y-axis, so we can integrate from x=−4 to x=4, or double the area from 0 to 4.
Over this interval, the line y=16 is above the parabola y=x2. The vertical height between them at any x is 16−x2.
-
Set up the integral
Area =∫−44(16−x2)dx.
-
Use symmetry
Since the integrand is even (16−x2 is symmetric),
Area =2∫04(16−x2)dx.
-
Integrate
∫(16−x2)dx=16x−3x3.
Evaluate from 0 to 4:
[16(4)−343]−[16(0)−303]=64−364=3192−64=3128.
-
Double for full area …
-
- KCET 2023Set A-21 markMCQQ.The area of the region bounded by the line y=x+1, and the lines x=3 and x=5 is (A) 27 sq. units (B) 211 sq. units (C) 7 sq. units (D) 10 sq. units
›Reveal solutionSolution
The region is a trapezoid under the line y=x+1 between x=3 and x=5. Its area is found by integrating the linear function, giving 10 sq. units.
The problem asks for the area bounded by a straight line and two vertical lines. This is a classic application of definite integration: the area between a curve y=f(x) and the x-axis, from x=a to x=b, is ∫abf(x)dx. Here f(x)=x+1 is linear, so the region is a trapezoid — but integration handles it cleanly.
- Set up the integral. The region is bounded by y=x+1, x=3, x=5, and the x-axis (since no other lower bound is given, the x-axis is the natural boundary). The area is
A=∫35(x+1)dx.
- Integrate. The antiderivative of x+1 is 2x2+x. So
A=[2x2+x]35.
- Evaluate at the limits. At x=5: 225+5=225+210=235. At x=3: 29+3=29+26=215. Subtract: A=235−215=220=10. …
- KCET 2023Set A-21 markMCQQ.The area of a triangle with vertices (−3,0),(3,0) and (0,k) is 9 sq. units, the value of k is (A) −9 (B) 6 (C) 3 (D) 9
›Reveal solutionSolution
The area formula for a triangle with given vertices leads to ∣k∣=3, so k=±3. Among the options, only 3 appears, making the answer (C).
The key idea here is that the area of a triangle can be computed directly from the coordinates of its vertices using the determinant formula. This formula gives the area as half the absolute value of a certain expression — and that absolute value is what introduces the possibility of two signs for k.
Let’s see why this works. The three points are (−3,0), (3,0), and (0,k). Notice that the first two lie on the x-axis, symmetric about the origin. So the base of the triangle is the segment joining them, which has length 6. The third vertex is on the y-axis, so the height of the triangle is simply the vertical distance from (0,k) to the x-axis, which is ∣k∣. Area of a triangle is 21×base×height, so we get 21×6×∣k∣=3∣k∣. Setting this equal to 9 gives ∣k∣=3, so k=3 or k=−3. Only 3 is among the options.
Now let’s do it step by step using the coordinate formula, which is the standard method for any three points.
- Write the area formula. For vertices (x1,y1), (x2,y2), (x3,y3), the area is
Area=21∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣.
- Plug in the given points. Here (x1,y1)=(−3,0), (x2,y2)=(3,0), (x3,y3)=(0,k). Then
Area=21∣(−3)(0−k)+3(k−0)+0(0−0)∣.
- Simplify inside the absolute value. (−3)(−k)+3k+0=3k+3k=6k. …
- KCET 2020Set A-11 markMCQQ.The area of the region bounded by the curve y2=8x and the line y=2x is (A) 316 sq. units (B) 34 sq. units (C) 43 sq. units (D) 38 sq. units
›Reveal solutionSolution
Find the two intersection points, then integrate the horizontal gap between the line and the parabola with respect to y.
Step 1 — Find the points of intersection.
Substitute y=2x into y2=8x:
(2x)2=8x⟹4x2=8x⟹4x(x−2)=0⟹x=0 or x=2.
Corresponding y-values from y=2x: y=0 and y=4.
So the region is bounded between (0,0) and (2,4).
Step 2 — Choose the integration variable.
Integrating with respect to y is cleaner here, because both curves give x as a single-valued function of y:
- Line: y=2x⇒xline=2y
- Parabola: y2=8x⇒xpar=8y2
Step 3 — Decide which curve is on the right.
Test a value inside the range, say y=2:
xline=22=1,xpar=84=0.5.
So the line lies to the right of the parabola. The horizontal width of a strip is (2y−8y2), which is positive throughout 0<y<4. ✓
Step 4 — Integrate from y=0 to y=4. …
- KCET 2020Set A-11 markMCQQ.The area of the region bounded by the line y=2x+1, x-axis and the ordinates x=−1 and x=1 is (A) 49 (B) 2 (C) 25 (D) 5
›Reveal solutionSolution
The region is split into two parts because the line crosses the x-axis between the given limits; the total area is the sum of the absolute areas, giving 25.
The key idea: area bounded by a curve and the x-axis between two vertical lines is ∫ab∣y∣dx. The line y=2x+1 crosses the x-axis where 2x+1=0, i.e. at x=−21. Since this lies between x=−1 and x=1, the function changes sign. Area is always positive, so we must integrate the absolute value — splitting the integral at the root.
- Find the x-intercept Set y=0:
2x+1=0⇒x=−21
This point lies inside [−1,1], so the line is below the x-axis for x<−21 and above it for x>−21.
- Set up the area as two integrals For x∈[−1,−21], y is negative, so ∣y∣=−(2x+1). For x∈[−21,1], y is positive, so ∣y∣=2x+1. Hence
Area=∫−1−1/2−(2x+1)dx+∫−1/21(2x+1)dx
- Evaluate the first integral
∫−1−1/2−(2x+1)dx=−[x2+x]−1−1/2
At x=−21: 41−21=−41
At x=−1: 1−1=0
So −(−41−0)=41
- Evaluate the second integral
∫−1/21(2x+1)dx=[x2+x]−1/21
At x=1: 1+1=2
At x=−21: 41−21=−41 …
- KCET 2019Set A-11 markMCQQ.A line cuts off equal intercepts on the co-ordinate axes. The angle made by this line with the positive direction of X-axis is (A) 45∘ (B) 90∘ (C) 120∘ (D) 135∘
›Reveal solutionSolution
A line cutting off equal intercepts on the axes has slope −1, so it makes an angle of 135∘ with the positive X-axis.
The key idea here is the relationship between intercepts and slope. When a line cuts off equal intercepts on both axes, it means the distances from the origin to where the line meets the X-axis and Y-axis are the same in magnitude. But the sign matters — if both intercepts are positive, the line slopes downward; if both are negative, it also slopes downward. Either way, the slope becomes −1.
The angle a line makes with the positive X-axis is found from its slope: slope=tanθ, where θ is that angle (measured anticlockwise from the positive X-axis). So we need the angle whose tangent is −1.
Let’s go through it step by step.
- Write the equation in intercept form. If a line cuts intercepts a on the X-axis and b on the Y-axis, its equation is
ax+by=1.
Here, "equal intercepts" means a=b (in magnitude). But intercepts can be positive or negative depending on which side of the origin the line lies. The condition "cuts off equal intercepts" usually means ∣a∣=∣b∣, but in coordinate geometry problems, it often implies a=b (both positive) or a=−b (one positive, one negative). Let’s examine both.
- Case 1: a=b (both positive or both negative). Then the equation becomes
ax+ay=1⇒x+y=a.
Rewrite in slope-intercept form: y=−x+a.
Slope m=−1.
- Case 2: a=−b (one positive, one negative). Then
ax+−ay=1⇒x−y=a.
So y=x−a, slope m=1.
But does this line cut off equal intercepts? Yes, in magnitude: intercepts are a and −a, so lengths are ∣a∣ and ∣a∣. However, the phrase "cuts off equal intercepts" in most exam contexts means the signed intercepts are equal (both a), not just their absolute values. The NCERT and typical board problems treat "equal intercepts" as a=b, not a=−b. So the intended interpretation is a=b. …
- KCET 2019Set A-11 markMCQQ.The area of the region above X-axis included between the parabola y2=x and the circle x2+y2=2x in square units is (A) 4π−23 (B) 23−4π (C) 32−4π (D) 4π−32
›Reveal solutionSolution
The required area is the region above the X‑axis bounded by the parabola y2=x and the circle x2+y2=2x. By rewriting the circle as (x−1)2+y2=1, finding the intersection points, and integrating the difference of the upper‑half functions from x=0 to x=1, the area is 4π−32, which corresponds to option (D).
The key is to see the geometry clearly. The parabola y2=x opens to the right, with its vertex at the origin. The circle x2+y2=2x can be rewritten by completing the square:
x2−2x+y2=0⟹(x−1)2+y2=1.
So it is a circle of radius 1 centred at (1,0). The region “above the X‑axis” means we only consider y≥0. The two curves intersect where both equations hold — that will give the limits for integration.
- Find the intersection points Substitute y2=x into the circle’s equation:
x2+x=2x⇒x2−x=0⇒x(x−1)=0.
So x=0 or x=1.
- For x=0, y2=0⇒y=0.
- For x=1, y2=1⇒y=±1. Above the X‑axis, we take y=1. Thus the two intersection points in the upper half‑plane are (0,0) and (1,1).
-
Identify which curve is on top
For 0≤x≤1, compare the upper‑half functions.
From the parabola: y=x.
From the circle: (x−1)2+y2=1⇒y2=1−(x−1)2=2x−x2, so y=2x−x2.
At x=0, 0=0 and 0=0 — they meet. At x=0.5, 0.5≈0.707 and 2(0.5)−0.25=0.75≈0.866. So the circle’s upper half lies above the parabola’s upper half for 0<x<1.
Therefore the area is the integral of (circle top minus parabola top) from x=0 to x=1.
-
Set up the area integral
A=∫01(2x−x2−x)dx.
- Evaluate ∫012x−x2dx Complete the square inside the root: 2x−x2=1−(x−1)2. So
∫011−(x−1)2dx.
Let u=x−1, then du=dx, and when x=0, u=−1; when x=1, u=0.
∫−101−u2du. …
- KCET 2018Set A-11 markMCQQ.If (x1,y1),(x2,y2) and (x3,y3) are the vertices of a triangle whose area is k2 square units, then x1x2x3y1y2y34442 is (A) 32k2 (B) 16k2 (C) 64k2 (D) 48k2
›Reveal solutionSolution
The determinant with a column of 4s equals 4 times the standard area–determinant, and that area–determinant is twice the triangle's area. Squaring introduces a factor of 16, so the value is 64 times the square of the area — giving 64k2, option (C).
Concept: area determinant. The area of a triangle with vertices (x1,y1),(x2,y2),(x3,y3) is
Δ=21∣D∣,D=x1x2x3y1y2y3111.
The column of 1s is what turns coordinates into an area, so ∣D∣=2Δ.
- Relate the given determinant to D. The determinant in the question,
Δ′=x1x2x3y1y2y3444,
differs from D only in its third column (4 instead of 1). A determinant is linear in each column, so pulling the common factor 4 out of that column gives
Δ′=4D.
- Square it.
Δ′2=(4D)2=16D2=16(2Δ)2=64Δ2.
The coefficient 64 (from 16×4) is what fixes the answer.
- Identify the option. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.