Solving Linear Equations - 2 Variables

Very Important

Solving linear equations:

Follow these basic steps to solve linear equations:

  • Aggregate the constant terms and variable terms
  • For equations with more than one variable, eliminate variables by substituting equations in their place.
  • Hence, for two equations with two variables x and y, express y in terms of x and substitute this in the other equation.
  • For example, x+y=14 and x+4y=26 => x=14-y. Substituting this in equation 2, we get 14-y+4y=26. Hence y=4 and x=10.

For equations of the form ax+by=c and mx+ny=p, find the LCM of b and n. Multiply each equation with a constant to make the y term coefficient equal to the LCM. Then subtract equation 2 from equation 1.

Example:

Let 2x+3y=13 and 3x+4y=18 are the given equations (1) and (2).

  • LCM of 3 and 4 is 12.
  • Multiplying (1) by 4 and (2) by 3 we get 8x+12y=52 and 9x+12y=54.
  • (2)-(1) gives x=2, y=3

Formula Video


Question 1

A basket of 2 apples, 4 oranges and 6 mangoes costs the same as a basket of 1 apple, 4 oranges and 8 mangoes, or a basket of 8 oranges and 7 mangoes. Then the number of mangoes in a basket of mangoes that has the same cost as the other baskets is

Question 2

A shop owner bought a total of 64 shirts from a wholesale market that came in two sizes, small and large. The price of a small shirt was INR 50 less than that of a large shirt. She paid a total of INR 5000 for the large shirts, and a total of INR 1800 for the small shirts. Then, the price of a large shirt and a small shirt together, in INR, is

Question 3

If $$3x+2\mid y\mid+y=7$$ and $$x+\mid x \mid+3y=1$$ then $$x+2y$$ is:

Log in to view all questions

Go back to topics

Join CAT 2026 course by 5-Time CAT 100%iler

Start your IIM journey with the right preparation and crack CAT 2026.