📘 CodingMarble Learn

Proportional Relationships

Two quantities are directly proportional if y = k·x (the ratio y/x never changes) and inversely proportional if y = k/x (the product x·y never changes). A straight line is proportional only if it passes through the origin. Many real laws are power relations y = c·xⁿ: if x is multiplied by f, y is multiplied by fⁿ.

🎬 Step-by-step story

  1. This is an empty graph. Every dot on it is one pair of numbers (x, y). x goes right, y goes up.
  2. Direct proportion: y = 2x. Double x and y doubles. Always y ÷ x = 2. The line starts exactly at the origin.
  3. Inverse proportion: x × y = 12. Double x and y becomes half. The dots sit on a curve that bends but never touches the axes.
  4. Look at y = 2x + 3. It is a straight line, but it starts at 3, not at 0. Doubling x does not double y. So it is linear, not proportional.
  5. Power relation y = x². Double x and y becomes four times. The exponent 2 tells you the scaling: factor 2 becomes 2² = 4.
  6. Free play: move c and n. n = 1 is direct proportion. n = −1 is inverse proportion. Which curve do you like best?

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why are the dots always in pairs?

Each dot says: when x has this value, y has that value. The graph is just a picture of all such pairs.

Why must a direct-proportion line pass through the origin?

y = k·x gives y = 0 when x = 0. See how the line in the 3D starts exactly at the corner of the axes.

Is inverse proportion just "y goes down when x goes up"?

No. The product x·y must stay constant (12 here). Many relations go down without keeping the product fixed.

The line goes up in a straight line. Is it proportional?

Not unless it starts at the origin. The red dot at (0, 3) shows the starting value that spoils the proportion.

Why does doubling x make y four times in y = x²?

Because (2x)² = 4x². Compare the dots at x = 1 and x = 2: y goes from 1 to 4.

Can the exponent n be negative or zero?

Yes. n = −1 is inverse proportion and n = 0 gives a flat line y = c. Move the n slider to see both.

Direct proportion

Two quantities are directly proportional when one is a fixed number times the other: y = k·x. The number k is the constant of proportionality. In simple words: if x becomes 2, 3 or 10 times bigger, y also becomes 2, 3 or 10 times bigger.

Test: divide y by x for every pair. If you always get the same number, the relation is direct. Its graph is a straight line through the origin (because x = 0 gives y = 0).

Example: if 1 notebook costs ₹12, then y = 12x. 5 notebooks cost ₹60.

Inverse proportion

Two quantities are inversely proportional when their product stays fixed: x·y = k, so y = k/x. If x becomes 2 times bigger, y becomes half. The graph is a smooth curve (a hyperbola) that never touches either axis, because x and y can never be 0.

Careful: "y goes down when x goes up" is not enough. y = 10 − x also goes down, but x·y is not constant. Always check the product.

Example: 6 workers finish a job in 10 days. The work is 6 × 10 = 60 worker-days. 15 workers need 60 ÷ 15 = 4 days.

Linear versus directly proportional

Every direct proportion is linear, but not every linear relation is a direct proportion. A linear relation is y = a·x + b. It is directly proportional only if b = 0, which means the line goes through the origin.

A taxi that charges ₹20 plus ₹12 per km: 10 km costs ₹140 and 20 km costs ₹260. Doubling the distance did not double the fare, because of the fixed ₹20. The graph starts at 20 on the y-axis, not at 0.

Power relations y = c·xⁿ

A power relation has the form y = c·xⁿ, where c is a constant and n is the exponent (it can be a whole number, a fraction or negative).

Finding the exponent n and the constant c

Suppose you know two points (x₁, y₁) and (x₂, y₂) of y = c·xⁿ.

  1. Divide the two equations: y₂/y₁ = (x₂/x₁)ⁿ. The constant c disappears.
  2. Find n: n = log(y₂/y₁) ÷ log(x₂/x₁). If the numbers are friendly, you can see it: x ratio 2 and y ratio 4 means n = 2.
  3. Find c: c = y₁ ÷ x₁ⁿ.
  4. Check with a third point.

Log-log trick: taking logs gives log y = log c + n·log x. So if you plot log y against log x, you get a straight line with slope n. That is how scientists find exponents from data.

The effect of scaling

If x is multiplied by a factor f, then in y = c·xⁿ the value y is multiplied by fⁿ. The constant c does not matter.

This is why a 1:10 scale model has 1/100 of the surface area and 1/1000 of the volume of the real thing.

Try it

In the 3D: in the last step set c = 1 and n = 2. Before you look, guess: what is y at x = 3? Then check the dot. Now set n = −1 and guess again.

At home: take 3 squares of paper with sides 5 cm, 10 cm and 20 cm. Count how many small 5 cm squares cover each one: 1, 4 and 16. Side doubled, area four times: n = 2.

Key formulas and definitions

Worked examples

1. 5 notebooks cost ₹60. Find the cost of 8 notebooks.

Cost ÷ number = 60 ÷ 5 = 12 is constant, so y = 12x. For 8 notebooks: 12 × 8 = ₹96.

2. 6 workers finish a job in 10 days. How long will 15 workers (same speed) take?

More workers, fewer days: inverse. x·y = 6 × 10 = 60. For 15 workers: 60 ÷ 15 = 4 days.

3. A taxi charges ₹20 plus ₹12 per km. Is the fare directly proportional to the distance?

Fare = 12x + 20. Here b = 20, not 0. Check: 10 km → ₹140, 20 km → ₹260, which is not double of 140. So it is linear but not directly proportional.

4. The area of a circle is A = πr². By what factor does the area grow if the radius becomes 3 times bigger?

n = 2 and f = 3, so the area is multiplied by 3² = 9.

5. A power relation y = c·xⁿ passes through (2, 12) and (4, 48). Find n and c.

y₂/y₁ = 48/12 = 4 and x₂/x₁ = 2. So 2ⁿ = 4, n = 2. c = 12 ÷ 2² = 3. The relation is y = 3x².

6. A relation y = c·xⁿ passes through (2, 5) and (6, 45). Find y at x = 10.

y ratio = 45/5 = 9, x ratio = 3, so 3ⁿ = 9 and n = 2. c = 5 ÷ 2² = 1.25. At x = 10: y = 1.25 × 100 = 125.

7. A model ship is built at 1:50 in length. The real ship needs 2,500 m² of paint. How much paint does the model need?

Area scales with the square of the length factor: (1/50)² = 1/2500. Paint for the model = 2500 ÷ 2500 = 1 m².

Common mistakes

Practice quiz

1. If y = 7x, what happens to y when x doubles?
2. Which one is inverse proportion?
3. Which line is directly proportional?
4. In y = c·x³, if x triples, y becomes:
5. A log y against log x graph is a straight line with slope 2. Then:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the difference between direct and inverse proportion?

In direct proportion the ratio y/x stays the same, so both grow together. In inverse proportion the product x·y stays the same, so when one grows the other shrinks by the same factor.

How do I know if a graph shows direct proportion?

It must be a straight line and it must pass through the origin (0, 0). If it cuts the y-axis anywhere else, it is linear but not proportional.

How do I find the exponent n in y = c·xⁿ?

Take two points. Divide the y values and divide the x values. Then n = log(y ratio) ÷ log(x ratio). Or plot log y against log x and read the slope.

Learn first

Learn next

Related lessons

All Maths lessons