Math Lab
Home/Class IX/Ch 4/Linear Equations in Two Variables

Linear Equations in Two Variables

In one variable, "linear" means the variable appears to the first power only , no squares, no roots, no 1/x1/x. With two variables it is the same idea, just doubled. A linear equation in two variables can mix xx and yy, but only as first-degree terms (no x2x^2, no xyxy, no y\sqrt{y}). This lesson sets up the precise definition, the standard form, and a few translation exercises.

Definitions

A linear equation in two variables xx and yy is an equation that can be written in the standard form ax+by+c=0,ax + by + c = 0, where a,b,ca, b, c are real-number constants and a,ba, b are not both zero. (If both aa and bb were zero, the equation would degenerate to c=0c = 0 , not an equation in xx and yy at all.)

A solution of the equation is an ordered pair (p,q)(p, q) for which ap+bq+c=0ap + bq + c = 0. Each solution is one point in the plane.

Concept and form

The standard form is flexible. The form ax+by+c=0ax + by + c = 0 looks rigid, but every linear equation can be rewritten into it. Take 2x+3y=62x + 3y = 6. Rearrange: 2x+3y6=02x + 3y - 6 = 0, so a=2,b=3,c=6a = 2, b = 3, c = -6. Take y=3x7y = 3x - 7. Rearrange: 3xy7=03x - y - 7 = 0 (multiply through by 1-1 if you prefer leading sign positive: 3x+y+7=0-3x + y + 7 = 0, so a=3,b=1,c=7a = -3, b = 1, c = 7). Same equation, different bookkeeping.

Why these constants are not unique. Multiplying the entire equation ax+by+c=0ax + by + c = 0 by a non-zero constant kk gives kax+kby+kc=0kax + kby + kc = 0, which describes the same equation (same solutions). So the triple (a,b,c)(a, b, c) is determined only up to a non-zero scalar multiple. We usually choose the smallest integer triple or the "cleanest" form.

Which equations are linear? The defining property is: every term involves x,yx, y at most to the first power. Forbidden forms:

  • x2+y=1x^2 + y = 1: has x2x^2, so not linear.
  • xy=5xy = 5: the term xyxy is degree 22.
  • x+y=3\sqrt{x} + y = 3: fractional power.
  • 1x+y=0\dfrac{1}{x} + y = 0: negative power.

Allowed forms (all linear):

  • 3x+5y=73x + 5y = 7.
  • x=4x = 4 (here a=1,b=0,c=4a = 1, b = 0, c = -4).
  • y=2y = -2 (here a=0,b=1,c=2a = 0, b = 1, c = 2).
  • x2+y3=1\dfrac{x}{2} + \dfrac{y}{3} = 1 (clear fractions: 3x+2y=63x + 2y = 6).

One variable in disguise. When b=0b = 0, the equation becomes ax+c=0ax + c = 0, i.e. x=cax = -\dfrac{c}{a}. Even though no yy is written, this is still a linear equation in two variables , its solution set is all pairs (p,q)(p, q) with p=cap = -\dfrac{c}{a} and any qq. Geometrically, this is a vertical line. We will return to this in lesson 4.

Translating words into equations. A common exam skill is converting a verbal description into a linear equation.

Sentence: "The cost of a notebook (xx) is twice the cost of a pen (yy)." Equation: x=2yx = 2y, or in standard form x2y=0x - 2y = 0.

Sentence: "The sum of two numbers is 3030." Equation: x+y=30x + y = 30, or x+y30=0x + y - 30 = 0.

Sentence: "If Anjali had 55 more rupees and Rajiv had 77 more rupees, they would each have the same amount, Rs. 50\text{Rs.}~50." Two separate linear equations: x+5=50x + 5 = 50 (Anjali) and y+7=50y + 7 = 50 (Rajiv). Each is itself a linear equation in two variables, with one variable trivially absent.

The "linear in xx alone" trap. Recognise that "x=4x = 4" is a fully valid linear equation in two variables. It just happens that yy is free to be anything.

Worked examples

Example 1. Express 3x+2=7y3x + 2 = 7y in standard form.

Subtract 7y7y: 3x7y+2=03x - 7y + 2 = 0. So a=3,b=7,c=2a = 3, b = -7, c = 2.

Example 2. Is xy=4xy = 4 a linear equation? Why?

No. The term xyxy has total degree 22, not 11. The equation is not linear.

Example 3. Write the equation of a line whose every solution has x=3x = 3.

The equation is x=3x = 3, or in standard form x3=0x - 3 = 0.

Example 4. Translate: "Twice the cost of an apple (xx) plus thrice the cost of a banana (yy) is Rs. 30\text{Rs.}~30."

2x+3y=302x + 3y = 30, or 2x+3y30=02x + 3y - 30 = 0.

Example 5. Rewrite x2y3=1\dfrac{x}{2} - \dfrac{y}{3} = 1 in standard form with integer coefficients.

Multiply through by 66: 3x2y=63x - 2y = 6. Standard form: 3x2y6=03x - 2y - 6 = 0.

Try it yourself

  1. Rewrite 5x=3+4y5x = 3 + 4y in standard form. State a,b,ca, b, c.
  2. Which are linear in two variables? 3x+5y=73x + 5y = 7, xy=1xy = 1, x2+y=2x^2 + y = 2, 2x+y=5\sqrt{2}\,x + y = 5, y=0y = 0.
  3. Translate: "The age of a father (xx) is twice the age of his son (yy)."
  4. Translate: "The cost of 33 pens (xx each) and 44 pencils (yy each) is Rs. 85\text{Rs.}~85."
  5. Rewrite y=2x3y = 2x - 3 in standard form.
  6. Rewrite x4+y5=1\dfrac{x}{4} + \dfrac{y}{5} = 1 in standard form with integer coefficients.
  7. Write a linear equation in two variables whose graph is parallel to the yy-axis at x=2x = -2.
  8. Write a linear equation in two variables whose graph passes through (0,0)(0, 0).
  9. Is 3x+5=03x + 5 = 0 a linear equation in two variables? Justify.
  10. Find a,b,ca, b, c for the standard form of 2x+y4=02x + y - 4 = 0.

Pitfalls / Insight

  • A constant alone on one side is fine. 3x+2=7y3x + 2 = 7y is linear; just rearrange to 3x7y+2=03x - 7y + 2 = 0.
  • Coefficients can be irrational. 2x+y=5\sqrt{2}\,x + y = 5 is linear.
  • "x=4x = 4" is linear in two variables. It just means b=0b = 0. The solution set is a line, namely the vertical line x=4x = 4.

Insight. Once you can spot a linear equation, recognise its standard form, and rearrange one into the other, you have unlocked the gate. The next lesson finds the solutions; the one after that draws the graph. All three are the same equation, viewed differently.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Linear equations in two variables
6 questions · pick the best answer
Q1

Standard form of 3y=2x+53y = 2x + 5 is:

Q2

Which is not a linear equation in two variables?

Q3

Coefficients (a,b,c)(a, b, c) for 2x5y+3=02x - 5y + 3 = 0 are:

Q4

Rewrite y=3xy = -3x in standard form:

Q5

Translate: 'The sum of two numbers is 1515':

Q6

An equation 5x8=05x - 8 = 0 in two variables: which is true?