The Wayback Machine - https://web.archive.org/web/20240822171506/https://www.geeksforgeeks.org/introduction-to-two-variable-linear-equations-in-straight-lines/
Open In App

Introduction to Two-Variable Linear Equations in Straight Lines

Last Updated : 29 Dec, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Lines are the most basic configuration in geometry. Many other geometrical shapes can be obtained from lines. Lines are referred 1-Dimensional. We can obtain higher dimensional shapes using lines. Let’s understand the lines in depth. Let’s say, we have two sets as follows,

x = {1, 2, 3, 4, 5, 6, 7}   
y = {10, 20, 30, 40, 50, 60, 70}

Here, points in set y are the corresponding values to the points in x. Now let’s see, how this graph looks like

Here, we had a limited number of points. Now think, what if we don’t know how many points we will have. To overcome this problem, let’s generalize the concept of lines. Now we are going to define the equation of the line. A general equation of the line is 

y = mx + c

Where:

y = values on the y-axis

x = values on x-axis

m = slope of the line

c = a constant, mathematically intercept on the y-axis

Explanation of m (slope of the line)

In mathematical words, it is the tan of the angle made by line with the x-axis. Let’s say the line y = mx + c makes angle theta (θ), then the slope of this line will be 

m = tan(θ)

Interpretation of ‘m’

If m < 0:

If m is less than 0, then with increase of value of x, value of y will decrease.

For example, let’s take a line x = -2x + 8 , where m = -2 (which is less than 0) and c = 8 (we will talk about c later on). Then the graph will look like, 

Here we can observe that, with an increase in x, the value of y gradually decreases.

If m > 0:

If m is greater than 0, then with increase of value of x, value of y will increase. 

For example, let’s take, y = 2x + 8, where m = 2 and c = 8. Then the graph will look like,

If m = 0:

In this condition, the value of y will stay constant with an increase or decrease in values of x. In this condition, the line will be horizontal (parallel to the x-axis). For example, let’s take y = 5 (we can also write this equation as y = 0x + 5), where m = 0 and c = 5. Then the graph will look like,

Interpretation of ‘c’

Simply coming to the point,

c is the value on y-axis, when our line meets x = 0.

For example, let’s take line y = -2x + 8. If we put x = 0 (which means line meets x=axis), then our line will meet y-axis at y = 8. You can observe it from the graph below.

Let’s take another line as y = 2x + 6, then putting x = 0 will result in line meeting y-axis at y = 8.

The solution of more than one line is pairs of x and y, which all the lines satisfy. “In simple words, the solution of lines is the point where all the lines meet.” Let’s understand it by examples.

Example 1: 

Let’s say, we have two lines 

y = 2x + 6          ———— (1)

y = -5x + 13      ———— (2)

If we draw these lines in a plane and find a point where both lines meet, then it will be (1,8). (Make sure that the solution of lines is one and only one point where all the lines meet). Let’s have a look at the graph.

Now, we won’t have time to draw the graphs of each line given. We should have some on-paper method to find the solution of lines. Let’s understand the on-paper approach. From the above lines (1) and (2),  let’s pick a line as a baseline (let’s say the baseline is (1).)

Base line is y = 2x + 6

We have variable x and y in both the lines, so now what we will do, we will pick our second line and put the RHS (Right Hand Side) of that second line (2) into line (1) in the place of y. So our 1st line will become,

-5x + 13 = 2x + 6

Solving this equation, we get

x = 1

Now, putting this x = 1 into any of the above two lines, we will get the value of the y. Let’s put the x = 1 into line (1).

y = 2x + 6

y = 2 × 1 + 6
y = 8

So, now we have a pair of values (x, y) = (1, 8).

Here, observe that we get only one point in the plane which is the only solution of the line.

You can apply this method to any pair of lines to get the solution of lines.

Example: 2

Let’s say, we have two lines 

y = x + 9        ————————   (1)

and

y = 5x + 5       ————————  (2)

Now putting the value of y of the equation-1  (i.e., x + 9) into equation-2, we get

∴ y = 5x + 5

∴ x + 9 = 5x + 5

∴ 4x = 4

∴ x = 1

Now we get x = 1, putting this value of x into any of the two equations (let’s put in the equation-2), we get,

∴ y = 5x + 5

∴ y = 5 × 1 + 5

∴ y = 10

So, solution of lines 1 and 2 is (x, y) = (1, 10). You can cross-check, we are getting the same answer if we put the value of x in the equation-1. Have a look at the graph.

Hooray! We get the correct answer. Let’s make this concept concrete by taking one last example (something tricky).

Example 3:

Let’s take lines,

x = 2y + 5   ——————  (1) and

y = 2x + 5   ——————   (2)
 

Here, putting value of x of the equation-1 into equation-2 will lead to easy calculations. So let’s put x = 2y + 5 (equation-1) into equation-2.

∴ y = 2 (2y + 5) + 5

∴ y = 4 × y + 15

∴ -3 × y = 15

∴ y = -5

For finding value of x, let’s put y = -5 into equation-1,

∴ x = 2y + 5

∴ x = 2 × (-5) + 5

∴ x = -5

So, solution of lines 1 and 2 is (x,y) = (-5,-5). Try to find the slope of line 1 in this example. It will be (1/2). Try to plot the graph by yourself and see if your answer matches with this answer or note.


Previous Article
Next Article

Similar Reads

Forms of Two-Variable Linear Equations - Straight Lines | Class 11 Maths
Line is the simplest geometrical shape. It has no endpoints and extends in both directions till infinity. The word “straight” simply means without “bend”. The gradient between any two point on the line is same. Hence, we can say that, if the gradient between any two points on the line is same, then the locus is a straight line. So let's see what ar
5 min read
Linear Equations in One Variable - Solving Equations which have Linear Expressions on one Side and Numbers on the other Side | Class 8 Maths
Linear equation is an algebraic equation that is a representation of the straight line. Linear equations are composed of variables and constants. These equations are of first-order, that is, the highest power of any of the involved variables i.e. 1. It can also be considered as a polynomial of degree 1. Linear equations containing only one variable
4 min read
Graphing Slope-Intercept Equations - Straight Lines | Class 11 Maths
To graph a straight line we need at least two points that lie on the straight line. From the slope-intercept form of the given straight line, we can calculate two points on the line very easily using the information present in the equation. Consider a straight line with slope m and y-intercept c. We know the slope-intercept form of the equation of
7 min read
NCERT Solutions for Class 8 Maths Chapter 2 Linear Equations in One Variable
NCERT Solutions for Class 8 Maths Chapter 2 – Linear Equations in One Variable is created by a team of professionals at GFG, to help students with any queries they might have as they go through problems from the NCERT textbook. It lessens the frustration of spending a long time working on a problem. Chapter 2 of Class 8 Maths covers the topic of li
15+ min read
Practice Questions Class 8 NCERT Chapter 2 Linear Equations in One Variable Set 1
Question 1. Solve for x: x – 2 = 7Solution: x – 2 = 7 x=7+2 (Adding two on both sides of equation) x=9 Question 2. Solve for y: y + 3 = 10Solution: y + 3 = 10 y = 10 –3 (Subtracting 3 from both sides of equation) y = 7 Question 3. Solve for z: 6 = z + 2Solution: 6 = z + 2 z + 2 = 6 (Rearranging to standard form) z = 6 - 2 (Subtracting two from both
3 min read
Practice Questions Class 8 NCERT Chapter 2 Linear Equations in One Variable Set 2
Question 1. If you subtract 1/2 from a number and multiply the result by 1/2, you get 1/8 what is the number?Solution: Let the number be 'a'. According to the question, (a – 1/2) × 1/2 = 1/8 a/2 – 1/4 = 1/8 a/2 = 1/8 + 1/4 a/2 = 1/8 + 2/8 a/2 = (1 + 2)/8 a/2 = 3/8 a = (3/8) × 2 So, a = 3/4 Question 2. The perimeter of a rectangular swimming pool is
9 min read
NCERT Solutions Class 8 – Chapter 2 Linear Equations in One Variable – Exercise 2.2
Solve the following linear equations. Question 1. x/2 - 1/5 = x/3 + 1/4 Solution: (5x - 2)/10 = (4x + 3)/12 ...(Taking LCM on both the sides) 12(5x - 2) = 10 (4x + 3) ...(Cross multiplying) 60x - 24 = 40x + 30 ...(Solving the brackets) 60x - 40x = 30 + 24 ...(Transposing terms of x to LHS and others to RHS) 20x = 54 x = 54/20 or 27/10 ... (Solution
5 min read
NCERT Solutions Class 8 – Chapter 2 Linear Equations in One Variable – Exercise 2.1
Question 1. Find the value of x: 3x = 2x + 18Solution: 3x – 2x =18 (transposing 2x to LHS) X = 18 (solution) Verification — Put the value of x in the equation to verify our solution 3(18) = 2(18) + 18 54 = 36 + 18 54 = 54 LHS = RHS (so our value of x is correct) Question 2. Find the value of t: 5t – 3 = 3t – 5Solution: 5t – 3 – 3t = -5 (transposing
5 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.1
Question 1. Solve for x: x – 2 = 7 Solution: x – 2 = 7 x=7+2 (Adding two on both sides of equation) x=9 Question 2. Solve for y: y + 3 = 10 Solution: y + 3 = 10 y = 10 –3 (Subtracting 3 from both sides of equation) y = 7 Question 3. Solve for z: 6 = z + 2 Solution: 6 = z + 2 z + 2 = 6 (Rearranging to standard form) z = 6 - 2 (Subtracting two from b
3 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.2
Question 1. If you subtract 1/2 from a number and multiply the result by 1/2, you get 1/8 what is the number? Solution: Let the number be 'a'. According to the question, (a – 1/2) × 1/2 = 1/8 a/2 – 1/4 = 1/8 a/2 = 1/8 + 1/4 a/2 = 1/8 + 2/8 a/2 = (1 + 2)/8 a/2 = 3/8 a = (3/8) × 2 So, a = 3/4 Question 2. The perimeter of a rectangular swimming pool i
9 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.3
Question 1. Find the value of x : 3x = 2x + 18 Solution: 3x - 2x =18 (transposing 2x to LHS) X = 18 (solution) Verification — Put the value of x in the equation to verify our solution 3(18) = 2(18) + 18 54 = 36 + 18 54 = 54 LHS = RHS (so our value of x is correct) Question 2. Find the value of t : 5t – 3 = 3t – 5 Solution: 5t - 3 - 3t = -5 (transpo
5 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.4
Question 1. Amina thinks of a number and subtracts 5/2 from it. She multiplies the result by 8. The result now obtained is 3 times the same number she thought of. What is the number? Solution: Let the number be x, According to the question, (x – 5/2) × 8 = 3x Solving for x, ⇒ 8x – 40/2 = 3x ⇒ 8x – 3x = 40/2 (Bring like terms together) ⇒ 5x = 20 (Di
7 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.6
We use cross multiplication in this exercise a lot of times, so it is explained here before. Let, a/b = c/d Now if we multiply both sides by the denominators of left side and right side, we get, (a/b) X (b X d) = (c/d) X (b X d) =&gt; a X d = b X c This is called cross multiplication. Question.1 Solve the following equations. We can solve the probl
5 min read
Linear Equations in One Variable
Linear equation in one variable is the equation that is used in algebra for finding unknown quantities. It is used for representing the conditions that are dependent on one variable. It is a linear equation i.e. the equation in which the degree of the equation is one, and it only has one variable. Let's know more about Linear Equations in one Varia
8 min read
NCERT Solutions Class 8 - Chapter 2 Linear Equations in One Variable - Exercise 2.1
In this article, we will be going to solve the entire exercise 2.1 of our NCERT textbook. Linear equations in one variable are among the simplest and most fundamental types of equations in algebra. They form the foundation for more complex mathematical concepts and have a wide range of applications in various fields such as science, engineering, ec
6 min read
Solve Linear Equations with Variable on both Sides
Equations contain two types of quantities, one variable the other is number. But we can consider both equivalents for the sake of reverse operations. This is one of the important things that a student must keep in mind for solving various problems. Also, a good understanding of reverse operations would lead to a better level of problem-solving. Tab
6 min read
Difference Between Linear and Non-Linear Equations
Difference Between Linear and Non-Linear Equations: While solving mathematical problems, you may have seen types of equations. Few Equations can contain only numbers, others consist of only variables while some consist of both numbers and variables. Linear and nonlinear equations usually consist of numbers as well as variables. In this article, we
4 min read
Algebraic Solutions of Linear Inequalities in One Variable and their Graphical Representation - Linear Inequalities | Class 11 Maths
Two algebraic expressions or real numbers related by the symbol ≤, ≥, &lt; and &gt; form an inequality. If the expressions are linear then the inequality is called linear inequality. Eg : 4(x - 2) &lt; 10, 10 &lt; 45, x &gt;= -3, etc. Symbols of linear inequality: Not Equal to (≠)Greater Than (&gt;)Less Than (&lt;)Greater Than or Equal To (≥)Less T
6 min read
Point-slope Form - Straight Lines | Class 11 Maths
There are several forms to represent the equation of a straight line on the two-dimensional coordinate plane. Three major of them are point-slope form, slope-intercept form, and general or standard form. The point-slope form includes the slope of the straight line and a point on the line as the name suggests. There can be infinite lines with a give
9 min read
Class 11 RD Sharma Solutions- Chapter 23 The Straight Lines- Exercise 23.11
Question 1: Prove that the following sets of three lines are concurrent: (i) 15x – 18y + 1 = 0, 12x + 10y – 3 = 0 and 6x + 66y – 11 = 0 (ii) 3x – 5y – 11 = 0, 5x + 3y – 7 = 0 and x + 2y = 0 Solution: (i) 15x – 18y + 1 = 0, 12x + 10y – 3 = 0 and 6x + 66y – 11 = 0 Given: 15x – 18y + 1 = 0 …… (i) 12x + 10y – 3 = 0 …… (ii) 6x + 66y – 11 = 0 …… (iii) So
10 min read
Class 11 RD Sharma Solutions - Chapter 23 The Straight Lines- Exercise 23.12 | Set 3
Question 21. Find the coordinates of the foot of the perpendicular from the point (-1, 3) to the line 3x - 4y - 16 = 0. Solution: Let us considered the foot of perpendicular of P(-1, 3) on line 3x - 4y = 16 be Q(a, b) So, (slope of given line) x (slope of PQ) = -1 [Tex]\frac{3}{4} \times \frac{b-3}{a+1}[/Tex] 3(b - 3) = -4a - 4 3b - 9 = -4a - 4 4a
7 min read
Class 11 RD Sharma Solutions- Chapter 23 The Straight Lines- Exercise 23.3
Question 1. Find the equation of a line making an angle of 150 degrees with the x-axis and cutting off an intercept 2 from y-axis. Solution: Given, slope, m = tan (150°) ⇒ m = -1/√3, also, y-intercept = (0,2) We know that equation, of a line is given as y = mx+ c, m is the slope and c is the intercept that line cuts on y-axis, therefore equation fo
4 min read
Class 11 RD Sharma Solutions- Chapter 23 The Straight Lines- Exercise 23.2
Question 1. Find the equation of the line parallel to the x-axis and passing through (3, -5). Solution: Let the equation of line be: y - y1 = m(x - x1) As line is parallel to x-axis, so slope(m) of the line would be equal to 0 (i.e. m=0). Here (x1, y1) = (3, -5) So, y - (-5) = 0 (x - 3) y + 5 = 0 So, the required equation of the line is y + 5 = 0 o
4 min read
Class 11 RD Sharma Solutions - Chapter 23 The Straight Lines - Exercise 23.9
Question 1: Reduce the equation √3x + y + 2 = 0 to: (i) slope-intercept form and find slope and y-intercept (ii) Intercept form and find intercept on the axes (iii) The normal form and find p and α. Solution: (i) slope-intercept form and find slope and y-intercept Given equation:√3x + y + 2 = 0 Therefore, y = – √3x – 2 Thus, m = -√3, c = -2 Hence,
7 min read
Class 11 RD Sharma Solutions- Chapter 23 The Straight Lines- Exercise 23.17
Question 1. Prove that the area of the parallelogram formed by the linesa1x + b1y + c1 = 0, a1x + b1y + d1 = 0, a2x + b2y + c2 = 0, a2x + b2y + d2 = 0 is [Tex]\left|\frac{(d_1-c_1)(d_2-c_2)}{a_1b_2-a_2b_1}\right| [/Tex] sq. units.Deduce the condition for these lines to form a rhombus. Solution: Given: The given lines are a1x + b1y + c1 = 0 ---(equa
3 min read
Class 11 RD Sharma Solutions- Chapter 23 The Straight Lines- Exercise 23.16
Question 1. Determine the distance between the following pair of parallel lines: (i) 4x – 3y – 9 = 0 and 4x – 3y – 24 = 0 (ii) 8x + 15y – 34 = 0 and 8x + 15y + 31 = 0 (iii) y = mx + c and y = mx + d (iv) 4x + 3y - 11 = 0 and 8x + 6y = 15 Solution: (i) 4x – 3y – 9 = 0 and 4x – 3y – 24 = 0 Given: The parallel lines are 4x − 3y − 9 = 0 ---(Equation-1)
6 min read
Class 11 NCERT Solutions- Chapter 10 Straight Lines - Exercise 10.1
Question 1. Draw a quadrilateral in the Cartesian plane, whose vertices are (– 4, 5), (0, 7), (5, – 5), and (– 4, –2). Also, find its area. Solution: Let's consider the quadrilateral ABCD with vertices A (-4,5), B (0,7), C (5.-5) and D (-4,-2). After plotting the points on the Cartesian plane we get the required quadrilateral : Construction : Join
10 min read
Class 11 NCERT Solutions- Chapter 10 Straight Lines - Exercise 10.2 | Set 1
In Exercises 1 to 8, find the equation of the line which satisfy the given conditions:Question 1. Write the equations for the x-and y-axes. Solution: The y-coordinate of every point on x-axis is 0 and the x-coordinate of every point on y-axis is 0 So, the equation of x-axis is y = 0 and the equation of y-axis is y = 0. Question 2. Passing through t
7 min read
Class 11 NCERT Solutions- Chapter 10 Straight Lines - Exercise 10.2 | Set 2
Chapter 10 Straight Lines - Exercise 10.2 | Set 1Question 11. A line perpendicular to the line segment joining the points (1, 0) and (2, 3) divides it in the ratio 1: n. Find the equation of the line. Solution: Slope of line segment will be m1 = (y2 – y1)/(x2 – x1) = (3 – 0)/(2 – 1) = 3/1 = 3 If two line are perpendicular to each other than slope o
10 min read
Class 11 RD Sharma Solutions - Chapter 23 The Straight Lines- Exercise 23.14
Question 1: Find the values of α so that the point P(α2, α) lies inside or on the triangle formed by the lines x – 5y + 6 = 0, x – 3y + 2 = 0 and x – 2y – 3 = 0. Solution: Let the triangle be ABC where sides are AB, BC, and CA with equations as x – 5y + 6 = 0, x – 3y + 2 = 0 and x – 2y – 3 = 0 respectively. We get, A(9, 3), B(4, 2), and C(13, 5) as
5 min read
three90RightbarBannerImg