PYQ Vault

HSC Maths · Pair of Straight Lines

Angle between a Pair of Lines

The acute angle θ between the lines ax² + 2hxy + by² = 0 is given by tan θ = |2√(h² − ab)/(a + b)|. The lines are perpendicular when a + b = 0 and coincident when h² = ab.

Why this matters

35 questions, eight of them from board papers. Five ask for the proof of tan θ = |2√(h² − ab)/(a + b)| (2015, 2017, 2023, 2024, 2025), and in 2017 and 2024 the proof goes on to the condition for coincident lines. The others ask for the angle between the lines 3x² + 4xy − 3y² = 0 (2020) and xy + y² = 0 (2024), and to show that 100(h² − ab) = (a + b)² when two pairs make the same angle (2022). The textbook rows are Exercise 4.2, its solved examples and the Miscellaneous questions on lines at a given angle and equilateral triangles.

Concept 1 of 3: Acute angle between the lines

You already know tan θ = |(m₁ − m₂)/(1 + m₁m₂)| for two lines of slopes m₁ and m₂. For a pair given by one equation you do not need the slopes themselves: the sum and product of the slopes give (m₁ − m₂)² and 1 + m₁m₂, and the formula comes out in terms of a, h and b alone.

Definition

  • Theorem 4.4: the acute angle θ\theta between the lines ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 is given by tan⁡θ=∣2h2−aba+b∣\tan\theta = \left|\dfrac{2\sqrt{h^2 - ab}}{a + b}\right|, when a+b≠0a + b \neq 0. Proof outline (take b≠0b \neq 0):
  • Let m1,m2m_1, m_2 be the slopes. Then m1+m2=−2hbm_1 + m_2 = -\dfrac{2h}{b} and m1m2=abm_1m_2 = \dfrac{a}{b}.
  • (m1−m2)2=(m1+m2)2−4m1m2=4h2b2−4ab=4(h2−ab)b2(m_1 - m_2)^2 = (m_1 + m_2)^2 - 4m_1m_2 = \dfrac{4h^2}{b^2} - \dfrac{4a}{b} = \dfrac{4(h^2 - ab)}{b^2}.
  • ∴m1−m2=±2h2−abb\therefore m_1 - m_2 = \pm\dfrac{2\sqrt{h^2 - ab}}{b}.
  • As θ\theta is acute, tan⁡θ=∣m1−m21+m1m2∣=∣±2h2−ab/b1+a/b∣=∣2h2−aba+b∣\tan\theta = \left|\dfrac{m_1 - m_2}{1 + m_1m_2}\right| = \left|\dfrac{\pm 2\sqrt{h^2 - ab}/b}{1 + a/b}\right| = \left|\dfrac{2\sqrt{h^2 - ab}}{a + b}\right|.
  • To find an angle: compare with ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0, write aa, hh, bb, substitute, and give θ\theta in degrees when tan⁡θ\tan\theta is a standard value, otherwise as tan⁡−1\tan^{-1} of the number.
  • If the lines make angles α\alpha and β\beta with the X-axis, tan⁡(α+β)=m1+m21−m1m2=2ha−b\tan(\alpha + \beta) = \dfrac{m_1 + m_2}{1 - m_1m_2} = \dfrac{2h}{a - b}.

Acute angle between the pair

tan⁡θ=∣2h2−aba+b∣,a+b≠0\tan\theta = \left|\frac{2\sqrt{h^2 - ab}}{a + b}\right|, \qquad a + b \neq 0

Worked example

Find the acute angle between the lines represented by 3x2+10xy+3y2=03x^2 + 10xy + 3y^2 = 0.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2023 · Q. 17Moderate

Example 1 · Pair of Straight Lines · Angle between a Pair of Lines

If θ\theta is the acute angle between the lines represented by ax2+2hxy+by2=0ax^{2} + 2hxy + by^{2} = 0 then prove that tanθ=2h2−aba+btan\theta = \frac{2\sqrt{h^{2} - ab}}{a + b}.

Dropping the modulus

The acute angle has a positive tangent. If a+ba + b is negative, take the absolute value: for x2−3y2=0x^2 - 3y^2 = 0 the formula gives −3-\sqrt{3} without the modulus, but the acute angle is 60∘60^\circ.

Using the whole xy coefficient as h

In 3x2+10xy+3y2=03x^2 + 10xy + 3y^2 = 0, h=5h = 5, not 10. With h=10h = 10 you would get 91\sqrt{91} and a wrong angle.

The proof without the step for m₁ − m₂

The proof turns on (m1−m2)2=(m1+m2)2−4m1m2(m_1 - m_2)^2 = (m_1 + m_2)^2 - 4m_1m_2. Write this line and the square root with ±\pm; jumping from the slopes to the formula loses the proof marks.

Concept 2 of 3: Perpendicular lines and coincident lines

Two special cases come straight from the slopes. The lines are perpendicular when the product of their slopes is −1, that is a/b = −1, so a + b = 0. They are coincident when the two slopes are equal, which makes h² − ab = 0 and the angle zero.

Definition

  • The lines ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 are perpendicular if and only if m1m2=−1m_1m_2 = -1, that is ab=−1\dfrac{a}{b} = -1, that is a+b=0a + b = 0 (coefficient of x2x^2 + coefficient of y2y^2 = 0).
  • They are coincident if and only if m1=m2m_1 = m_2, that is m1−m2=0m_1 - m_2 = 0, so 2h2−abb=0\dfrac{2\sqrt{h^2 - ab}}{b} = 0 and h2=abh^2 = ab.
  • When h2=abh^2 = ab the expression is a perfect square: the equation is one line counted twice.
  • In the angle formula, h2=abh^2 = ab gives tan⁡θ=0\tan\theta = 0, θ=0\theta = 0; a+b=0a + b = 0 makes the denominator zero, θ=90∘\theta = 90^\circ.

Perpendicular and coincident

a+b=0 (perpendicular),h2=ab (coincident)a + b = 0 \ (\text{perpendicular}), \qquad h^2 = ab \ (\text{coincident})

Worked example

Find kk if the lines represented by 4x2+kxy+9y2=04x^2 + kxy + 9y^2 = 0 are coincident.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2020 · Q. 5Easy

Example 2 · Pair of Straight Lines · Angle between a Pair of Lines

Find the angle between the lines represented by 3x2+4xy−3y2=03x^{2} + 4xy - 3y^{2} = 0.

Looking at h for perpendicular lines

The test for perpendicular lines is a+b=0a + b = 0; the value of hh plays no part. 2x2+3xy−2y2=02x^2 + 3xy - 2y^2 = 0 is a perpendicular pair whatever its middle term.

Squaring the whole coefficient for coincident lines

If the middle term is kxykxy, then h=k2h = \dfrac{k}{2} and the condition is k24=ab\dfrac{k^2}{4} = ab. Writing k2=abk^2 = ab gives half the right value of kk.

Concept 3 of 3: Lines through the origin at a given angle to a line

If a line through the origin makes a given angle with a known line, its slope m satisfies the angle formula. Squaring removes the modulus and leaves a quadratic in m. Both roots are wanted, because there is one line on each side, so that quadratic is already the auxiliary equation of the pair: turn it back into x and y.

Definition

  • Let mm be the slope of a required line and m′m' the slope of the given line. Then tan⁡α=∣m−m′1+mm′∣\tan\alpha = \left|\dfrac{m - m'}{1 + mm'}\right|.
  • Square both sides and simplify to a quadratic Bm2+2Hm+A=0Bm^2 + 2Hm + A = 0. This is the auxiliary equation of the required pair.
  • The required combined equation is Ax2+2Hxy+By2=0Ax^2 + 2Hxy + By^2 = 0: the coefficient of m2m^2 goes with y2y^2, the constant with x2x^2.
  • Angle with an axis: lines making 60∘60^\circ with the X-axis have inclinations 60∘60^\circ and 120∘120^\circ, slopes ±3\pm\sqrt{3}. Lines making 60∘60^\circ with the Y-axis have inclinations 30∘30^\circ and 150∘150^\circ, slopes ±13\pm\dfrac{1}{\sqrt{3}}.
  • A pair through the origin forms an equilateral triangle with a third line when each line of the pair makes 60∘60^\circ with the third line.

Angle between two lines

tan⁡α=∣m−m′1+mm′∣\tan\alpha = \left|\frac{m - m'}{1 + mm'}\right|

Worked example

Find the combined equation of the lines through the origin each of which makes an angle of 45∘45^\circ with the line 2x−y+5=02x - y + 5 = 0.
Practise this conceptself-check · 3 quick reps

The same idea in a textbook question:

Balbharati textbook · 4.2 Q5Hard

Example 3 · Pair of Straight Lines · Angle between a Pair of Lines

Find the combined equation of lines passing through the origin each of which making an angle of 30∘30^\circ with the line 3x+2y−11=03x + 2y - 11 = 0.

Reading 60° with the Y-axis as slope tan 60°

A line at 60∘60^\circ to the Y-axis is at 30∘30^\circ to the X-axis, so its slope is ±13\pm\dfrac{1}{\sqrt{3}} and the pair is x2−3y2=0x^2 - 3y^2 = 0, not 3x2−y2=03x^2 - y^2 = 0.

Turning the quadratic in m back the wrong way

From Bm2+2Hm+A=0Bm^2 + 2Hm + A = 0 the pair is Ax2+2Hxy+By2=0Ax^2 + 2Hxy + By^2 = 0. Putting BB with x2x^2 gives the wrong pair, the mirror image of the right one in the line y=xy = x.

Solving for m when it is not needed

The question asks for the combined equation, and the squared quadratic already is its auxiliary equation. Solving for each mm and multiplying the lines again is longer and invites slips with surds.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • Acute angle between the lines

    Acute angle between the pair

    tan⁡θ=∣2h2−aba+b∣,a+b≠0\tan\theta = \left|\frac{2\sqrt{h^2 - ab}}{a + b}\right|, \qquad a + b \neq 0
  • Perpendicular lines and coincident lines

    Perpendicular and coincident

    a+b=0 (perpendicular),h2=ab (coincident)a + b = 0 \ (\text{perpendicular}), \qquad h^2 = ab \ (\text{coincident})
  • Lines through the origin at a given angle to a line

    Angle between two lines

    tan⁡α=∣m−m′1+mm′∣\tan\alpha = \left|\frac{m - m'}{1 + mm'}\right|

Watch out for (8)

Test yourself on Pair of Straight Lines

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.