Question
Question: If the equations y = mx + c and \[x\cos \alpha +y\sin \alpha =p\] represent the same straight line, ...
If the equations y = mx + c and xcosα+ysinα=p represent the same straight line, then
(a)p=c1+m2
(b)c=p1+m2
(c)cp=1+m2
(d)p2+c2+m2=1
Solution
First we will assume the equations y = mx + c and xcosα+ysinα=p as equations (i) and (ii) respectively. We will leave equation (i) as it is and simplify equation (ii), so that the coefficient of y becomes 1. Now, in the RHS, compare the coefficients of x and the constant terms from the two equations. Then use the identity cosec2α−cot2α=1 to get the relation between p, c and m.
Complete step-by-step solution:
We have been given the two equations of a single line.
y=mx+c.....(i)
xcosα+ysinα=p....(ii)
On observing equation (i), we can get some idea that we have to simplify equation (ii) in such a way that the coefficient of y becomes 1. So, let us simplify the equation (ii).
xcosα+ysinα=p
⇒ysinα=−xcosα+p
Dividing both the sides with sinα we get,
⇒y=sinα−xcosα+p
⇒y=−xsinαcosα+sinαp
Now we know that sinαcosα=cotα and sinα1=cosecα, we get,
⇒y=−xcotα+pcosecα
⇒y=x(−cotα)+pcosecα.....(iii)
Since the coefficients of y in equation (i) and (ii) are the same in the LHS, therefore we can compare the RHS. On comparing the coefficients of x and the constant term in the RHS of the equation (i) and (iii), we get, m=−cotα and c=pcosecα.
Since m=−cotα we get
⇒cotα=−m.....(iv)
And c=pcosecα
⇒cosecα=pc.....(v)
Now, squaring the equations (iv) and (v), we get,
⇒cot2α=m2
⇒cosec2α=p2c2
Here, using the trigonometric identity, cosec2α−cot2α=1 we get,
cosec2α−cot2α=p2c2−m2
⇒1=p2c2−m2
⇒p2c2=1+m2
On cross multiplying, we get,
⇒c2=p2(1+m2)
Taking the square root on both the sides, we get,
⇒c2=p2(1+m2)
⇒c=p1+m2
Hence, option (b) is the right answer.
Note: One may note that we cannot compare the coefficients of x and y and the constant term directly in the two equations. So, first, we simplified the second equation such that the coefficient of y became the same and then we compared. One can also solve this question by assigning some value to ‘m’ and ‘c’ and then by putting the same values in the options to check. But this method will only be applicable when the options are present.