RS Aggarwal Class 11 Maths Solutions Exercise 20B — Slope of a Line
RS Aggarwal, Class 11 Mathematics — Straight Lines, Exercise 20B, Questions 1 to 25. All 25 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 20B puts the slope of a line to work. Questions 1 to 4 convert between inclination and slope, Questions 5 to 17 use slopes to test parallel, perpendicular and collinear lines and to identify quadrilaterals, and Questions 18 to 25 deal with the angle between two lines and with a square and a triangle in coordinates.
Key insight. A line through $(x_1,y_1)$ and $(x_2,y_2)$ has slope $m=\dfrac{y_2-y_1}{x_2-x_1}=\tan\theta$, where $\theta$ is its inclination. Parallel lines have equal slopes ($m_1=m_2$), perpendicular lines have $m_1m_2=-1$, three points are collinear when two chords share a slope, and the acute angle between lines is $\tan\theta=\left|\dfrac{m_1-m_2}{1+m_1m_2}\right|$.
Question 1
Find the slope of a line whose inclination is (i) $30^\circ$, (ii) $120^\circ$, (iii) $135^\circ$, (iv) $90^\circ$.
Solution. The slope is $\tan\theta$.
(i) $\tan30^\circ=\dfrac1{\sqrt3}$. (ii) $\tan120^\circ=-\tan60^\circ=-\sqrt3$. (iii) $\tan135^\circ=-\tan45^\circ=-1$. (iv) $\tan90^\circ$ is not defined, since the line is vertical.
(i) $\tfrac1{\sqrt3}$ (ii) $-\sqrt3$ (iii) $-1$ (iv) not defined
Question 2
Find the inclination of a line whose slope is (i) $\sqrt3$, (ii) $\dfrac1{\sqrt3}$, (iii) $1$, (iv) $-1$, (v) $-\sqrt3$.
Solution. Find $\theta\in[0^\circ,180^\circ)$ with $\tan\theta=m$. A positive slope gives an acute angle; a negative slope gives an obtuse one, $180^\circ-$ (reference angle).
(i) $\tan\theta=\sqrt3\Rightarrow\theta=60^\circ$. (ii) $\tan\theta=\frac1{\sqrt3}\Rightarrow\theta=30^\circ$. (iii) $\tan\theta=1\Rightarrow\theta=45^\circ$. (iv) reference angle $45^\circ$, so $\theta=180^\circ-45^\circ=135^\circ$. (v) reference angle $60^\circ$, so $\theta=120^\circ$.
(i) $60^\circ$ (ii) $30^\circ$ (iii) $45^\circ$ (iv) $135^\circ$ (v) $120^\circ$
Question 3
Find the slope of the line through each pair of points: (i) $(0,0)$ and $(4,-2)$; (ii) $(0,-3)$ and $(2,1)$; (iii) $(2,5)$ and $(-4,-4)$; (iv) $(-2,3)$ and $(4,-6)$.
Solution. Use $m=\dfrac{y_2-y_1}{x_2-x_1}$.
(i) $\dfrac{-2-0}{4-0}=-\dfrac12$. (ii) $\dfrac{1-(-3)}{2-0}=\dfrac42=2$. (iii) $\dfrac{-4-5}{-4-2}=\dfrac{-9}{-6}=\dfrac32$. (iv) $\dfrac{-6-3}{4-(-2)}=\dfrac{-9}{6}=-\dfrac32$.
(i) $-\tfrac12$ (ii) $2$ (iii) $\tfrac32$ (iv) $-\tfrac32$
Question 4
The points $A(x,2)$ and $B(6,-8)$ are joined by a line of slope $-\dfrac54$. Find $x$.
Solution. Slope $=\dfrac{-8-2}{6-x}=\dfrac{-10}{6-x}$. Setting this equal to $-\dfrac54$ gives $6-x=\dfrac{-10\times4}{-5}=8$, so $x=-2$.
$x=-2$
Question 5
Show that the line joining $(5,6)$ and $(2,3)$ is parallel to the line joining $(9,-2)$ and $(6,-5)$.
Solution. First slope: $\dfrac{3-6}{2-5}=\dfrac{-3}{-3}=1$. Second slope: $\dfrac{-5-(-2)}{6-9}=\dfrac{-3}{-3}=1$. The slopes are equal, so the lines are parallel (they are distinct, since $(9,-2)$ does not satisfy $y=x+1$).
Both slopes are $1$, hence the lines are parallel.
Question 6
Find $x$ such that the line through $(3,x)$ and $(2,7)$ is parallel to the line through $(-1,4)$ and $(0,6)$.
Solution. The second line has slope $\dfrac{6-4}{0-(-1)}=2$. The first has slope $\dfrac{7-x}{2-3}=x-7$. Parallel lines have equal slopes, so $x-7=2$ and $x=9$.
$x=9$
Question 7
Show that the line through $(-2,6)$ and $(4,8)$ is perpendicular to the line through $(3,-3)$ and $(5,-9)$.
Solution. $m_1=\dfrac{8-6}{4+2}=\dfrac13$ and $m_2=\dfrac{-9+3}{5-3}=-3$. Then $m_1m_2=\dfrac13\times(-3)=-1$, which is the condition for perpendicular lines.
$m_1m_2=-1$, so the lines are perpendicular.
Question 8
The points $A(2,-5)$, $B(-2,5)$, $C(x,3)$, $D(1,1)$ are such that $AB\perp CD$. Find $x$.
Solution. Slope of $AB=\dfrac{5+5}{-2-2}=-\dfrac52$. Slope of $CD=\dfrac{1-3}{1-x}=\dfrac{-2}{1-x}$. Perpendicularity needs $$-\frac52\cdot\frac{-2}{1-x}=-1\;\Rightarrow\;\frac{5}{1-x}=-1\;\Rightarrow\;1-x=-5,$$ so $x=6$.
$x=6$
Question 9
Without using Pythagoras’s theorem, show that $A(1,2)$, $B(4,5)$, $C(6,3)$ are the vertices of a right-angled triangle.
Solution. Slope of $AB=\dfrac{5-2}{4-1}=1$. Slope of $BC=\dfrac{3-5}{6-4}=-1$. Slope of $CA=\dfrac{2-3}{1-6}=\dfrac15$. Since slope $AB\times$ slope $BC=1\times(-1)=-1$, the sides $AB$ and $BC$ are perpendicular, so the angle at $B$ is a right angle.
$AB\perp BC$, so $\triangle ABC$ is right-angled at $B$.
Question 10
Using slopes, show that $A(6,-1)$, $B(5,0)$, $C(2,3)$ are collinear.
Solution. Slope of $AB=\dfrac{0+1}{5-6}=-1$, and slope of $BC=\dfrac{3-0}{2-5}=-1$. The two segments have the same slope and share the point $B$, so $A$, $B$, $C$ lie on one line.
Slope $AB$ = slope $BC=-1$, hence collinear.
Question 11
Using slopes, find $x$ so that $A(5,1)$, $B(1,-1)$, $C(x,4)$ are collinear.
Solution. Slope of $AB=\dfrac{-1-1}{1-5}=\dfrac12$. Slope of $BC=\dfrac{4+1}{x-1}=\dfrac5{x-1}$. For collinearity $\dfrac5{x-1}=\dfrac12$, so $x-1=10$ and $x=11$.
$x=11$
Question 12
Using slopes, show that $A(-4,-1)$, $B(-2,-4)$, $C(4,0)$, $D(2,3)$, taken in order, are the vertices of a rectangle.
Solution. Compute the four side slopes.
$AB:\dfrac{-4+1}{-2+4}=-\dfrac32$; $BC:\dfrac{0+4}{4+2}=\dfrac23$; $CD:\dfrac{3-0}{2-4}=-\dfrac32$; $DA:\dfrac{-1-3}{-4-2}=\dfrac23$.
Opposite sides have equal slopes ($AB\parallel CD$, $BC\parallel DA$), so $ABCD$ is a parallelogram. Also $AB\times BC=-\dfrac32\times\dfrac23=-1$, so adjacent sides are perpendicular. A parallelogram with a right angle is a rectangle.
$ABCD$ is a parallelogram with $AB\perp BC$, hence a rectangle.
Question 13
Using slopes, prove that $A(-2,-1)$, $B(1,0)$, $C(4,3)$, $D(1,2)$ are the vertices of a parallelogram.
Solution. $AB:\dfrac{0+1}{1+2}=\dfrac13$; $BC:\dfrac{3-0}{4-1}=1$; $CD:\dfrac{2-3}{1-4}=\dfrac13$; $DA:\dfrac{-1-2}{-2-1}=1$. Both pairs of opposite sides are parallel (slopes $\frac13,\frac13$ and $1,1$), and the two directions differ, so the figure is a genuine parallelogram.
$AB\parallel CD$ and $BC\parallel DA$: a parallelogram.
Question 14
The points $A(h,k)$, $B(x_1,y_1)$, $C(x_2,y_2)$ lie on one line. Show that $(h-x_1)(y_2-y_1)=(k-y_1)(x_2-x_1)$.
Solution. Since $A$, $B$, $C$ are collinear, slope $AB$ = slope $BC$, taking the common point $B$: $$\frac{k-y_1}{h-x_1}=\frac{y_2-y_1}{x_2-x_1}.$$ Cross-multiplying gives $(k-y_1)(x_2-x_1)=(h-x_1)(y_2-y_1)$, which is the required relation. (It also holds when a denominator is zero, because then both sides vanish for a vertical line.)
$(h-x_1)(y_2-y_1)=(k-y_1)(x_2-x_1)$
Question 15
The points $A(a,0)$, $B(0,b)$ and $P(x,y)$ are collinear. Using slopes, prove $\dfrac xa+\dfrac yb=1$.
Solution. Slope of $AB=\dfrac{b-0}{0-a}=-\dfrac ba$. Slope of $AP=\dfrac{y-0}{x-a}=\dfrac y{x-a}$. Collinearity gives $\dfrac y{x-a}=-\dfrac ba$, so $ay=-b(x-a)=-bx+ab$, i.e. $bx+ay=ab$. Dividing by $ab$ ($a,b\neq0$): $\dfrac xa+\dfrac yb=1$.
$\dfrac xa+\dfrac yb=1$
Question 16
A line passes through $A(4,-6)$ and $B(-2,-5)$. Show that it makes an obtuse angle with the $x$-axis.
Solution. Slope $=\dfrac{-5-(-6)}{-2-4}=\dfrac{1}{-6}=-\dfrac16<0$. A negative slope means $\tan\theta<0$, so the inclination $\theta$ lies between $90^\circ$ and $180^\circ$, which is obtuse.
Slope $-\tfrac16<0$, so the inclination is obtuse.
Question 17
The quadrilateral $ABCD$ has vertices $A(-4,2)$, $B(2,6)$, $C(8,5)$, $D(9,-7)$. Using slopes, show that the midpoints of its sides form a parallelogram.
Solution. Midpoints: $P$ of $AB=(-1,4)$; $Q$ of $BC=\left(5,\tfrac{11}2\right)$; $R$ of $CD=\left(\tfrac{17}2,-1\right)$; $S$ of $DA=\left(\tfrac52,-\tfrac52\right)$.
Slopes: $PQ=\dfrac{3/2}{6}=\dfrac14$; $QR=\dfrac{-13/2}{7/2}=-\dfrac{13}7$; $RS=\dfrac{-3/2}{-6}=\dfrac14$; $SP=\dfrac{13/2}{-7/2}=-\dfrac{13}7$.
So $PQ\parallel RS$ and $QR\parallel SP$, with different directions; $PQRS$ is a parallelogram.
$PQ\parallel RS$ and $QR\parallel SP$: the midpoints form a parallelogram.
Question 18
A straight line is turned $30^\circ$ anticlockwise away from the upward direction of the $y$-axis. What is its slope?
Solution. The positive $y$-axis is at $90^\circ$ from the positive $x$-axis. Turning a further $30^\circ$ anticlockwise gives an inclination of $90^\circ+30^\circ=120^\circ$. Slope $=\tan120^\circ=-\sqrt3$.
$-\sqrt3$
Question 19
Find the angle between two lines of slopes $\sqrt3$ and $\dfrac1{\sqrt3}$.
Solution. $\tan\theta=\left|\dfrac{\sqrt3-\frac1{\sqrt3}}{1+\sqrt3\cdot\frac1{\sqrt3}}\right|=\dfrac{2/\sqrt3}{2}=\dfrac1{\sqrt3}$, so $\theta=30^\circ$. (Check: the inclinations are $60^\circ$ and $30^\circ$.)
$30^\circ$
Question 20
Find the angle between two lines of slopes $2-\sqrt3$ and $2+\sqrt3$.
Solution. The difference is $(2+\sqrt3)-(2-\sqrt3)=2\sqrt3$ and the product is $4-3=1$. So $\tan\theta=\left|\dfrac{2\sqrt3}{1+1}\right|=\sqrt3$, giving $\theta=60^\circ$.
$60^\circ$
Question 21
The triangle $ABC$ has $A(1,2)$, $B(-3,2)$, $C(3,-2)$. Show that (i) $\tan A=2$, (ii) $\tan B=\dfrac23$, (iii) $\tan C=\dfrac47$.
Solution. Slopes: $AB=0$ (horizontal), $AC=\dfrac{-2-2}{3-1}=-2$, $BC=\dfrac{-2-2}{3+3}=-\dfrac23$.
(i) At $A$, between lines $AB$ and $AC$: $\tan A=\left|\dfrac{-2-0}{1+0}\right|=2$. Here $\tan A$ is the tangent of the acute angle between lines $AB$ and $AC$.
(ii) At $B$, between $BA$ (slope $0$) and $BC$: $\tan B=\left|\dfrac{-\frac23-0}{1}\right|=\dfrac23$.
(iii) At $C$, between $CA$ (slope $-2$) and $CB$ (slope $-\frac23$): $\tan C=\left|\dfrac{-\frac23+2}{1+\frac43}\right|=\dfrac{4/3}{7/3}=\dfrac47$.
(i) $2$ (ii) $\tfrac23$ (iii) $\tfrac47$
Question 22
Let $\theta$ be the angle between the line through $A(0,0)$, $B(2,3)$ and the line through $C(2,-2)$, $D(3,5)$. Show that $\tan\theta=\dfrac{11}{23}$.
Solution. Slope $AB=\dfrac32$; slope $CD=\dfrac{5+2}{3-2}=7$. Then $$\tan\theta=\left|\frac{7-\frac32}{1+7\cdot\frac32}\right|=\frac{11/2}{23/2}=\frac{11}{23}.$$
$\tan\theta=\dfrac{11}{23}$
Question 23
The parallelogram $ABCD$ has $A(0,2)$, $B(2,-1)$, $C(4,0)$, $D(2,3)$. If $\theta$ is the angle between its diagonals, show that $\tan\theta=2$.
Solution. The diagonals are $AC$ and $BD$. Slope $AC=\dfrac{0-2}{4-0}=-\dfrac12$. Points $B$ and $D$ both have $x=2$, so $BD$ is vertical (slope undefined) and the formula cannot be used directly. The angle between $AC$ and a vertical line is $90^\circ-\alpha$, where $\alpha$ is the acute angle $AC$ makes with the $x$-axis, $\tan\alpha=\frac12$. Hence $\tan\theta=\cot\alpha=2$.
$\tan\theta=2$
Question 24
Show that $A(0,6)$, $B(2,1)$, $C(7,3)$ are three corners of a square $ABCD$, and find (i) the slope of diagonal $BD$, (ii) the coordinates of the fourth vertex $D$.
Solution. Slope $AB=\dfrac{1-6}{2-0}=-\dfrac52$ and slope $BC=\dfrac{3-1}{7-2}=\dfrac25$; the product is $-1$, so $AB\perp BC$. Lengths: $AB=\sqrt{4+25}=\sqrt{29}$ and $BC=\sqrt{25+4}=\sqrt{29}$, equal. A right angle at $B$ with equal adjacent sides gives a square once $D$ completes it.
The diagonals of a square bisect each other, so the midpoint of $BD$ equals the midpoint of $AC$, i.e. $D=A+C-B=(0+7-2,\,6+3-1)=(5,8)$.
(i) Slope $BD=\dfrac{8-1}{5-2}=\dfrac73$.
(i) $\tfrac73$ (ii) $D=(5,8)$
Question 25
The triangle $ABC$ has $A(1,1)$, $B(7,3)$, $C(3,6)$. $D$ is the midpoint of $BC$ and $AL\perp BC$. Find the slopes of (i) $AD$, (ii) $AL$.
Solution. $D=\left(\dfrac{7+3}2,\dfrac{3+6}2\right)=\left(5,\tfrac92\right)$.
(i) Slope $AD=\dfrac{9/2-1}{5-1}=\dfrac{7/2}{4}=\dfrac78$.
(ii) Slope $BC=\dfrac{6-3}{3-7}=-\dfrac34$, so the perpendicular $AL$ has slope $-1\div\left(-\tfrac34\right)=\dfrac43$.
(i) $\tfrac78$ (ii) $\tfrac43$
Common mistakes
- Using the inclination of a negative slope as the reference angle: $\tan\theta=-1$ gives $135^\circ$, not $45^\circ$ (Q2, Q18).
- Writing the slope with the coordinates in different orders on top and bottom; use $\frac{y_2-y_1}{x_2-x_1}$ consistently (Q3, Q4, Q6).
- Applying $\frac{m_1-m_2}{1+m_1m_2}$ to a vertical line (Q23): its slope is undefined, so use the complementary angle instead.
- Proving only one pair of parallel sides for a rectangle (Q12); you also need a right angle, or the figure may be a plain parallelogram.
- Forgetting the absolute value in the angle-between-lines formula (Q19 to Q22).
Practise next
- Find $k$ so that the points $(1,2)$, $(3,8)$ and $(k,20)$ are collinear.
Show answer
$k=7$. The slope of the first two points is $\frac{8-2}{3-1}=3$, so $\frac{20-2}{k-1}=3$, giving $k-1=6$.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe