Solveeit Logo

Question

Question: The line \[y = mx + c\] passes through \[(2,5)\] and \[(4,13)\]. Find \[m\] and \[c\]....

The line y=mx+cy = mx + c passes through (2,5)(2,5) and (4,13)(4,13). Find mm and cc.

Explanation

Solution

To find the value of mm and cc for the line y=mx+cy = mx + c which passes through (2,5)(2,5) and (4,13)(4,13), we will first put the point (2,5)(2,5) and then (4,13)(4,13) in the equation of line y=mx+cy = mx + c. Putting these points will give two linear equations in terms of mm and cc. We will solve these obtained linear equations to find the value of mm and cc.

Complete step by step answer:
The given two points on coordinate axes are shown below.

Putting (2,5)(2,5) in equation y=mx+cy = mx + c, we get
5=m×2+c\Rightarrow 5 = m \times 2 + c
On simplification,
5=2m+c\Rightarrow 5 = 2m + c
On rewriting the above equation, we get
2m+c=5\Rightarrow 2m + c = 5
Taking 2m2m from L.H.S. to R.H.S., we get
c=52m(1)\Rightarrow c = 5 - 2m - - - (1)
Putting (4,13)(4,13) in equation y=mx+cy = mx + c, we get
13=m×4+c\Rightarrow 13 = m \times 4 + c
On simplification,
13=4m+c\Rightarrow 13 = 4m + c
On rewriting the above equation, we get
4m+c=13(2)\Rightarrow 4m + c = 13 - - - (2)
Putting (1)(1) in (2)(2),
4m+(52m)=13\Rightarrow 4m + \left( {5 - 2m} \right) = 13
On solving,
2m+5=13\Rightarrow 2m + 5 = 13
Taking 55 from L.H.S. to R.H.S.
2m=135\Rightarrow 2m = 13 - 5
On solving we get
2m=8\Rightarrow 2m = 8
Dividing both the sides by 22, we get
m=82\Rightarrow m = \dfrac{8}{2}
m=4\Rightarrow m = 4
Putting the value of mm in (1)\left( 1 \right),
c=5(2×4)\Rightarrow c = 5 - \left( {2 \times 4} \right)
On solving,
c=58\Rightarrow c = 5 - 8
c=3\Rightarrow c = - 3
Therefore, mm is 44 and cc is 3 - 3 for the line y=mx+cy = mx + c which passes through (2,5)(2,5) and (4,13)(4,13).

Note:
We can also solve this problem by first finding the slope (mm) of the line using given two points and then putting any one of the given points and the obtained value of slope in the equation y=mx+cy = mx + c to find the value of cc.
As we know that slope (mm) of the line y=mx+cy = mx + c passing through (x1,y1)\left( {{x_1},{y_1}} \right) and (x2,y2)\left( {{x_2},{y_2}} \right) is given by m=y2y1x2x1m = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}.
Therefore, slope (mm) of the line y=mx+cy = mx + c passing through (2,5)(2,5) and (4,13)(4,13) is
m=13542\Rightarrow m = \dfrac{{13 - 5}}{{4 - 2}}
On solving,
m=82\Rightarrow m = \dfrac{8}{2}
m=4\Rightarrow m = 4
Therefore, m=4m = 4.
Now putting m=4m = 4 and (2,5)(2,5) in the equation of the line y=mx+cy = mx + c, we get
5=4×2+c\Rightarrow 5 = 4 \times 2 + c
On simplification,
5=8+c\Rightarrow 5 = 8 + c
Taking 88 from R.H.S. to L.H.S.
58=c\Rightarrow 5 - 8 = c
c=3\therefore c = - 3
Hence, the value of mm is 44 and cc is 3 - 3.