The Wayback Machine - https://web.archive.org/web/20240930161143/https://www.geeksforgeeks.org/linear-equations-formula/
Open In App

Linear Equations Formula

Last Updated : 08 Aug, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

A linear equation is known as the algebraic equation that represents the straight line. It is composed of variables and constants. Linear equations consist of the first-order, that involves the highest power to any of the involved variables i.e.

  • It is also considered as the polynomial of a degree
  • The equation that contains only one variable is known as the homogeneous equation.

That corresponding variable in an equation is known as the homogeneous variable.

For example, we can see as,

​2x = 3 (it is a linear equation in one variable)

x + 2y = 3 (it is a linear equation in two variables)

x + y + z = 8 (it is in three variables)

x + y² = 1 (this equation doesn’t come in the linear equation because the highest power of variable)

Linear Equation in One variable

Linear equation in one variable is expressed as the ax + b = 0 or ax = b, here the involved variable and constants are x, a, and b. The constants(a and b) in this equation must be a non-zero real number. These equations have only one type of solution to get the value of a variable (x)

Steps to solve the linear equation in one variable are as follows:

Step 1: In this type of equation the constants a and b are some fractional numbers, for which LCM has to be taken to clear them.

Step 2: All the constants in this equation should be taken to the right side of the equation.

Step 3: The terms that involve a variable should be kept on the left-hand side of the equation, this helps to evaluate the value of the variable. After this, the equation is verified and we get the answer.

Examples of linear equations in one variable

22x = 65

6/5 + 1/3 x = 2

8y – 3 = 7

4/3 (z – 2) = 0

After analyzing these examples we get to know that each one of the equation has only one variable in it and the highest power the variable get is 1. These algebraic equations can be solved by taking all the variables on the left-hand side (L.H.S) and constants on the right-hand side (R.H.S), to solve the corresponding variable value

Linear equation in Two Variable

Linear equation in two variables comes into a picture, this means that the whole equation has 2 variables presented in it. So, the linear equation in two variables can be expressed as,  ax + by + c = 0, where a, b, c are the constants and x, y are the variables.

Linear equation in two variables is given as

Ax + By + C = 0 where A, B and C are about real numbers and A and B can never be zero.

Even the linear equation in one variable can also be expressed as the linear equation in two variables

x.1 + y.0 = 3

Example: A one-day international match was played between South Africa and India in Nagpur. Two Indian batsmen scored a total of 158 runs. Express this information in the form of an equation.

Solution:

Here we know that two batsmen have scored a total of 158 runs but we don’t know that how much each batsman has scored. So, let’s assume that the runs scored by each batsman are x and y

So, the equation will be

x + y = 158

This is the linear equation in two variable

Solution of linear equation in Two Variable

We have seen some equations like x = 6, y = 12. This type of equation has only one solution. But when it comes to the linear equation in two variables then there can be more than one solution.

For example: Let’s assume an equation in two variables,

x + 3y = 6

Firstly to get the solution of this equation we have to get the values of the variables x and y which can satisfy the equation, in this equation x=3 and y=1. So, let’s verify the equation mentioned above

x + 3y = 6

(3) + 3(1) = 6

3 + 3 = 6

We can do more solutions for this equation like assuming the variable x and then putting the value in the equation. Like let’s assume x=6 now plug it in the equation we get

6 + 3y = 6

3y = 0

y = 0

As we take different values for the variable we will have infinite solutions for a particular equation.

Linear Equations Formula – Sample Problems

Question 1: Solve for y, 6y – 3 = 0

Solution:

Solving for the value of y,

Adding 3 to both sides of the equation,

⇒ 6y – 3 + 3 = 3

⇒ 6y = 3

Dividing both sides of the equation by 6

⇒ y = 3/6

Simplifying the equation,

⇒ y = 1/2

Question 2: Solve the equation in x, 4/5x -5 = 15

Solution:

4/5x -5 = 15

Taking constants to RHS,

4/5x= 15+5

4/5x = 20

x = 100/4

x = 25

Question 3: There are two numbers, one equal to 7/6 and the other equal to 1/3 times some number x. The sum of these two numbers is 1. Find x.

Solution:

The sum of both the numbers is 1 so the equation will be,

7/6 + 1/3x = 1

Taking all the constants to the R.H.S of the equation.

1/3x = 1 – 7/6

1/3x = -1/6

Multiplying both the side of the equation by 3

3 (1/3x) = 3 × (-1/6)

x = -1/3

Question 4: Solve the equation in x, 3x + 5y = 33, where y = 3

Solution:

We have been provided with an equation

3x+5y= 33

We have to find the value of x as the value of y is provided in the question

y= 3

So, putting the value of y in the equation

3x+5(3)= 33

3x+15= 33

By taking all the constants to the R.H.S of the equation.

3x = 33-15

3x= 18

x= 18/3

x = 6

So here the value of x is 6

Question 5: There are two numbers, one equal to 2/4 some number y, and the other equal to 1/3 times some number x. The sum of these two numbers is 3. Find y. And the value of x is x = 2

Solution:

The sum of both the numbers is 3 so the equation will be,

2/4y + 1/3x= 3

Pitting the value of x the equation will be

2/4y + 1/3(2)= 3

2/4y + 2/3= 3

Taking all the constants to the R.H.S of the equation.

2/4y = 3-2/3

2/4y = 4/3

y= 4*4/3*2

Y=16/6

y= 8/3

So, the value of y will be 8/3

Linear Equations Formula – Practice Problems

1. Solve for x: 5x+7=12

2. Solve for y: 9y−4=23

3. Solve for z: 3z+11=2z+7

4. Solve for x: 7x−5=2x+20

5. Solve for y: 12y+4=8y−16

6. Solve for y: \frac{5}{2}z - 3 = 7

7. Solve for x: 4x + \frac{3}{5} = \frac{2}{3}

8. Solve for y: \frac{3}{4}y + 7 = 2

9. Solve for x: \frac{2}{3}x - 5 = \frac{1}{4}

10. Solve for z: \frac{6}{7}z + 3 = 10

FAQs on Linear Equations Formula

What is a linear equation?

Linear equation is basically an equation of the first degree, this means that the highest exponent of the unknown is one and when plotted, they form a straight line.

How do you solve a linear equation in one variable?

An equation in one variable is one wherein all terms are expressed in terms of one variable; to solve such an equation in the simplest way, try to get the variable on one side of the equals sign and the constants on the other.

What is the difference between a linear equation in one variable and two variables?

An equation in one variable is one for which solution is given by only one variable and is of the straight line form. A linear equation used to involve two variables and can be solved in an infinite number of ways.

Can a linear equation have fractions?

Yes, the given linear equation involves fractions, and one can clear them to get the desired result, and for that, one has to find the least common multiple (LCM).

How do you find multiple solutions for a linear equation in two variables?

Get more solutions to a linear equation in two variables by assuming various values for one of the variables and solve for the other.




Previous Article
Next Article

Similar Reads

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
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
Introduction to Two-Variable Linear Equations in Straight Lines
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 s
6 min read
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
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.3 | Set 1
Solve the following system of equations:Question 1. 11x + 15y + 23 = 0 and 7x – 2y – 20 = 0 Solution: 11x +15y + 23 = 0 …………………………. (i) 7x – 2y – 20 = 0 …………………………….. (ii) From (ii) 2y = 7x – 20 ⇒ y = (7x −20)/2 ……………………………… (iii) Putting y in (i) we get, ⇒ 11x + 15((7x−20) / 2) + 23 = 0 ⇒ 11x + (105x − 300) / 2 + 23 = 0 Taking 2 as LCM ⇒ (22x + 10
9 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.3 | Set 2
Solve the following system of equations:Question 14. 0.5x + 0.7y = 0.74 and 0.3x + 0.5y = 0.5 Solution: 0.5x + 0.7y = 0.74……………………… (i) 0.3x – 0.5y = 0.5 ………………………….. (ii) Multiply LHS and RHS by 100 in (i) and (ii) 50x +70y = 74 ……………………….. (iii) 30x + 50y = 50 …………………………… (iv) From (iii) 50x = 74 – 70y x = (74−70y) / 50 ……………………………… (v) Substitut
9 min read
Class 9 NCERT Solutions- Chapter 4 Linear Equations in two variables - Exercise 4.2
Question 1: Which one of the following options is true, and why?y = 3x + 5 has(i) a unique solution, (ii) only two solutions, (iii) infinitely many solutions Solution: Given linear equation: y = 3x + 5 Let x = 0, Therefore y = 3 × 0 + 5 = 0 + 5 = 5 Hence, (0, 5) is one solution Now, let x = 1, Therefore y = 3 × 1 + 5 = 3 + 5 = 7 Hence, (1, 8) is an
6 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.6 | Set 1
Question 1. 5 pens and 6 pencils together cost ₹ 9 and 3 pens and 2 pencils cost ₹ 5. Find the cost of 1 pen and 1 pencil. Solution: Let the cost of 1 pen be Rs. x and the cost of 1 pencil be Rs. y Now, 5 pens and 6 pencils cost Rs. 9 => 5x + 6y = 9 (1) And, 3 pens and 2 pencils cost Rs. 5 => 3x + 2y = 5 (2) Multiplying (1) by 1 and (2) by 3
9 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.1
Question 1. Akhila went to a fair in her village. She wanted to enjoy rides on the Giant Wheel and play Hoopla (a game in which you throw a rig on the items in the stall, and if the ring covers any object completely you get it). The number of times she played Hoopla is half the number of rides she had on the giant wheel. Each ride costs ₹3 and a ga
7 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.11 | Set 1
Question 1. If in a rectangle, the length is increased and breadth reduced each by 2 units, the area is reduced by 28 square units. If, however the length is reduced by 1 unit and the breadth increased by 2 units, the area increases by 33 square units. Find the area of the rectangle. Solution: Let’s assume the length and breadth of the rectangle be
15 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.5 | Set 1
Question 1. In each of the following systems of equation determine whether the system has a unique solution, no solution, or infinite solutions. In case there is a unique solution:x − 3y − 3 = 0, 3x − 9y − 2 = 0 Solution: Given that, x − 3y − 3 = 0 ...(1) 3x − 9y − 2 = 0 ...(2) So, the given equations are in the form of: a1x + b1y − c1 = 0 ...(3) a
10 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.5 | Set 3
Question 27. For what value of a, the following system of the equation has no solution:ax + 3y = a − 312x + ay = a Solution: Given that, ax + 3y = a − 3 ...(1) 12x + ay = a ...(2) So, the given equations are in the form of: a1x + b1y − c1 = 0 ...(3) a2x + b2y − c2 = 0 ...(4) On comparing eq (1) with eq(3) and eq(2) with eq (4), we get a1 = a, b1 =
15+ min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.10
Question 1. Points A and B are 70km. apart on a highway. A car starts from A and another car starts from B simultaneously. If they travel in the same direction, they meet in 7hrs, but if they travel towards each other, they meet in one hour. Find the speed of two cars. Solution: Let’s assume that the car starting from point A as X and its speed as
15+ min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.4 | Set 1
Solve each of the following systems of equations by the method of cross multiplication.Question 1. x + 2y + 1 = 0 and 2x – 3y – 12 = 0 Solution: Given that, x + 2y + 1 = 0 2x - 3y - 12 = 0 On comparing both the equation with the general form we get a1 = 1, b1 = 2, c1 = 1, a2 = 2, b2 = −3, c2 = -12 Now by using cross multiplication we get x/(b1c2 -
11 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.2 | Set 1
Question 1. Solve the following of equation graphicallyx + y = 32x + 5y = 12 Solution: Given that, 2x + 5y = 12 and x + y = 3 We have, x + y = 3, When y = 0, we get x = 3 When x = 0, we get y = 3 So, the following table giving points on the line x + y = 3: x03y30 Now, 2 + 5y = 12 y = (12 - 2x)/5 When x = 1, we have y = (12 - 2)/5 = 4 When x = -4, w
11 min read
Class 10 RD Sharma Solutions - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.2 | Set 3
Question 23. Solve the following system of linear equations graphically and shade the region between the two lines and the x-axis.(i) 2x + 3y = 12 and x - y = 1 Solution: Given that, 2x + 3y = 12 and x - y = 1 Now, 2x + 3y = 12 x = (12-3y)/2 When y = 2, we get x = 3 When y = 4, we get x = 0 So, the following table giving points on the line 2x + 3y
15+ 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
How to Solve Two Step Linear Equations?
Two Step Equations comes under the parent topic Algebra which helps in representing the problem in the form of mathematical expressions. Algebra is the study of mathematical symbols and rules for manipulating the symbols. Algebraic expressions include constants, variables like x, y, z, a, b, etc, and mathematical operators like addition, subtractio
5 min read
Graph of Linear Equations in Two Variables
Linear equations are the first-order equations, i.e. the equations of degree 1. The equations which are used to define any straight line are linear, they are represented as,  x + k = 0;  These equations have a unique solution and can be represented on number lines very easily. Let's look at linear equations in two variables, how they are represente
5 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 10 - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.1
Question 1. Form the pair of linear equations in the following problems, and find their solutions graphically.(i) 10 students of Class X took part in a Mathematics quiz. If the number of girls is 4 more than the number of boys, find the number of boys and girls who took part in the quiz.Solution: Let's take, Number of girls = x Number of boys = y A
11 min read
NCERT Solutions Class 10 - Chapter 3 Pair of Linear Equations in Two Variables - Exercise 3.3
Question 1. Solve the following pair of linear equations by the elimination method and the substitution method:(i) x + y = 5 and 2x – 3y = 4 Solution: Here, the two given eqn. are as follows: x + y = 5 ..........(I) 2x – 3y = 4 ...........(II) ELIMINATION METHOD: Multiply equation (I) by 2, and then subtract (II) from it, we get 5y = 6 y = 6/5 Now
8 min read
Class 9 NCERT Solutions- Chapter 4 Linear Equations in two variables - Exercise 4.4
Question 1. Give the geometric representations of y = 3 as an equation (i) in one variable (ii) in two variables Solution: (i) If y = 3 is treated as a equation in one variable y only, then it has the unique solution y = 3, which is a point on the number line (ii) When an equation in two variables, it can be expressed as, 0.x + y - 3 = 0 which is a
2 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.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) => 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
Linear equation is an equation in which the highest power of the variable is always 1. Linear equations are also called on-degree equations. These equations represent a line in the coordinate geometry. They can have one, two, three, or more variables. The standard form of the linear equation is Ax + By = 0. In this article, we will learn about Line
9 min read
Algebraic Methods of Solving Pair of Linear Equations in Two Variables
When solving a pair of linear equations in two variables, there are several algebraic methods you can use. Here’s a summary of the most common methods: Let's imagine a situation, Ankita went to a fair in her village. She wanted to go on rides like the Giant Wheel and play Hoopla (a game in which a ring is thrown on the items kept in a stall, and if
9 min read