What is the equation of a line with an undefined slope and goes through (2, 4)?
Answer
552.9k+ views
Hint: We know that slope – intercept form of the equation of a straight line is equal to $y=mx+c$. And in this equation of a straight line, “m” is the slope and “c” is the y intercept. Now, we have given that the slope of the line is undefined. Then substitute the value of slope as $\dfrac{1}{0}$ and then cross multiply. After that, we will substitute the point (2, 4) in this straight line equation.
Complete step-by-step solution:
In the above problem, it is given that a straight line with an undefined slope and a point (2, 4) is passing through this straight line.
We know that the equation of a straight line in slope – intercept form is as follows:
$y=mx+c$
Now, in the above equation, “m” is the slope of a straight line and “c” is the y – intercept of the straight line.
It is given that slope of the straight line is undefined so substituting the slope as $\dfrac{1}{0}$ in the above equation we get,
$\begin{align}
& y=\dfrac{1}{0}x+c \\
& \Rightarrow x=c \\
\end{align}$
It is given that the point (2, 4) passes through the above equation and we get,
$\begin{align}
& x=c \\
& \Rightarrow 2=c \\
\end{align}$
Substituting the value of c as 2 in $x=c$ equation we get,
$x=2$
Hence, the equation of a straight line having undefined slope and passing through the point (2, 4) is $x=2$.
Note: The alternate approach to this problem is that it is given that slope is undefined. This means that the straight line is parallel to y axis. And we know that the equation of a straight line parallel to y axis is $x=c$ where “c” is the constant. Now, to find the value of “c” substitute the point (2, 4) as the same as that we did in the above solution. In this way, we will get the equation of a straight line.
Complete step-by-step solution:
In the above problem, it is given that a straight line with an undefined slope and a point (2, 4) is passing through this straight line.
We know that the equation of a straight line in slope – intercept form is as follows:
$y=mx+c$
Now, in the above equation, “m” is the slope of a straight line and “c” is the y – intercept of the straight line.
It is given that slope of the straight line is undefined so substituting the slope as $\dfrac{1}{0}$ in the above equation we get,
$\begin{align}
& y=\dfrac{1}{0}x+c \\
& \Rightarrow x=c \\
\end{align}$
It is given that the point (2, 4) passes through the above equation and we get,
$\begin{align}
& x=c \\
& \Rightarrow 2=c \\
\end{align}$
Substituting the value of c as 2 in $x=c$ equation we get,
$x=2$
Hence, the equation of a straight line having undefined slope and passing through the point (2, 4) is $x=2$.
Note: The alternate approach to this problem is that it is given that slope is undefined. This means that the straight line is parallel to y axis. And we know that the equation of a straight line parallel to y axis is $x=c$ where “c” is the constant. Now, to find the value of “c” substitute the point (2, 4) as the same as that we did in the above solution. In this way, we will get the equation of a straight line.
Recently Updated Pages
Master Class 11 Social Science: Engaging Questions & Answers for Success

Master Class 11 Physics: Engaging Questions & Answers for Success

Master Class 11 Maths: Engaging Questions & Answers for Success

Master Class 11 Economics: Engaging Questions & Answers for Success

Master Class 11 Computer Science: Engaging Questions & Answers for Success

Master Class 11 Chemistry: Engaging Questions & Answers for Success

Trending doubts
One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

There are 720 permutations of the digits 1 2 3 4 5 class 11 maths CBSE

1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

State and prove Bernoullis theorem class 11 physics CBSE

Difference Between Prokaryotic Cells and Eukaryotic Cells

Which among the following are examples of coming together class 11 social science CBSE

