Try it yourself · Class 8 Maths · Direct and Inverse Variations

Direct and inverse variation: change k and x

In direct variation, y divided by x stays the same, so the graph is a straight line through zero. In inverse variation, x times y stays the same, so the graph is a curve that falls as x grows. The simulation draws both for the same k, with xy equal to 6k for the curve.

Blue: , so stays . Red: , so stays .

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide the constant k from 1 to 4.
  • Slide x from 0.5 to 6 in steps of 0.5.
  • Watch the blue dot on the straight line and the orange dot on the curve.
  • Change k and keep x the same.

What to watch

  • At the start k = 2 and x = 3. Direct y is 6 and y ÷ x is 2.
  • At the same point, inverse y is 4 and x × y is 12, which is 6k.
  • Move x to 6. Direct y doubles to 12, so y ÷ x is still 2. Inverse y halves to 2 and x × y is still 12.
  • Move x to 0.5. Direct y falls to 1 while inverse y rises to 24.
  • Set k = 4. The line is y = 4x, the curve is xy = 24, and at x = 6 the direct y is 24.

The formula

For direct variation is fixed. For inverse variation the product is fixed. Here the fixed product is .

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. NCERT

    The mass of an aluminium rod varies directly with its length. If a 16 cm long rod has a mass of 192 g, find the length of the rod whose mass is 105 g.
    Show the answer
    8.75 cm
  2. NCERT

    Under the condition that the temperature remains constant, the volume of gas is inversely proportional to its pressure. If the volume of gas is 630 cubic centimetres at a pressure of 360 mm of mercury, then what will be the pressure of the gas if its volume is 720 cubic centimetres at the same temperature?
    Show the answer
    x = 315
  3. NCERT

    If 5 persons can finish a job in 10 days then one person will finish it in 2 days.
    Show the answer
    False

More to try in Direct and Inverse Variations

Every simulation in the Lab