Lemmara logo

Turning Curves into Straight Lines

Rewrite curved relationships like y = Axⁿ and y = Abˣ as straight lines, find the constants from the gradient and intercept, and go back again.

32real exam questions on this topic
  • 5 steps
  • 9 min
  • 1 syllabus

Try a real exam question on this

0606/23 · May/Jun 2025 · Q3 · 4 marks · Solve it step by step, the way the examiner marks it.

Loading the animated solution…

See the solution as text
Text version of the solution

A straight line through (2, 5) and (10, 21) is obtained when √y is plotted against x³. Find y in terms of x.

  1. Understand the question. The graph of the square root of y against x cubed is a straight line through the points (2, 5) and (10, 21), and we must find y in terms of x.
  2. Key words. Variable means a letter that represents an unknown or changeable number.
  3. Gradient means a number that measures how steep a line is.
  4. Use the straight-line form. The question says root y plotted against x cubed is a straight line, so the vertical value is m times x cubed plus c.
  5. Y = mX + c
  6. Write the line equation. The vertical axis is root y and the horizontal axis is x cubed, so the gradient multiplies x cubed and c is added.
  7. √y = mx³ + c
  8. Find the gradient. The two given points are 2, 5 and 10, 21, so subtract the vertical values and divide by the difference in horizontal values.
  9. m = (21 − 5)/(10 − 2) = 2
  10. Substitute a point. Use 2, 5 in the line, so 5 is 2 times 2 plus c.
  11. 5 = 2(2) + c, so c = 1
  12. Write the finished line. The gradient is 2 and the intercept is 1, so root y is 2 times x cubed plus 1.
  13. √y = 2x³ + 1
  14. Square both sides. Squaring undoes the square root, so y is the square of 2 times x cubed plus 1.
  15. y = (2x³ + 1)²

Answer y = (2x³ + 1)²

The lesson, step by step

Step 1 of 5

Why straight lines?

Scientists collect data that makes a curve. A curve is hard to read, but a straight line is easy: you can measure its gradient and where it crosses the axis. So we change what we plot until the points lie on a straight line.

The trick: the axes do not have to be x and y. You can plot against , or against . If the points make a straight line, that line still has the form you know.

Formula

  • — whatever is on the vertical axis, such as , or .

  • — whatever is on the horizontal axis, such as or .

  • — the gradient: change in Y divided by change in X.

  • — the value of Y where X = 0.

Worked example

  1. 1

    When y is plotted against , a straight line passes through (1, 7) and (4, 16). Find y in terms of x.

  2. 2

    — Write the line with the real axes: Y is y, X is .

  3. 3

    — Gradient from the two points.

  4. 4

    — Put one point into the line.

  5. 5

    — Replace m and c.

Rule

Start every answer by writing the line in its real variables, such as or . Mark schemes give a mark for this line.

Common mistake

Treating (4, 16) as x = 4. The 4 is the value of , the thing on the horizontal axis. Here x would be 2.

Key idea

Name the axes first. Then it is just the straight line .

See this step move in Lemmara

Step 2 of 5

Back from a straight line

Often the vertical axis has a log or an e in it. Find m and c as before, then undo the log at the end.

Worked example

  1. 1

    When is plotted against x, a straight line passes through (2, ln 18) and (4, ln 162). Show that and find A and b.

  2. 2

    — Write the line in its real variables.

  3. 3

    — Quotient law: . Then power law: .

  4. 4

    — .

  5. 5

    — Power law, then product law: one single log.

  6. 6

    — Remove the ln. So A = 2 and b = 3.

Worked example

  1. 1

    When is plotted against , a straight line passes through (1, 9) and (3, 1). Find y in terms of x, and the values of x for which y exists.

  2. 2

    — Write the line in its real variables.

  3. 3

    — Gradient.

  4. 4

    — Put in the point (1, 9).

  5. 5

    — Take ln of both sides. ln undoes e.

  6. 6

    — You can only take the log of a positive number.

  7. 7

    — , so x lies between the two square roots.

Rule

No calculator on 0606 Paper 1: keep values like ln 3 and exact. On Paper 2, give 3 significant figures.

Common mistake

From , writing . A plus between logs means times inside: .

Key idea

Find m and c, then combine into a single log and remove it. Check where the inside must be positive.

See this step move in Lemmara

Step 3 of 5

Curves into lines

Now go the other way. You are given a curve with unknown constants, and you must choose what to plot to get a straight line. Logs do the work, because they turn powers into multiplying.

— the curve, with unknowns A and n.

— take ln of both sides, then the product law.

— power law, and put the terms in line order.

Formula

  • — Y: plot it up the vertical axis.

  • — X: plot it along the horizontal axis.

  • — the gradient.

  • — the intercept. Undo it at the end: .

— the curve, with unknowns A and b.

— take ln of both sides, then product and power laws.

— put the terms in line order.

Formula

  • — Y: plot it up the vertical axis.

  • — X: plain x along the horizontal axis.

  • — the gradient. Undo it at the end: .

  • — the intercept, so .

You may use lg instead of ln. Then undo with powers of 10: . Nothing here is printed on the formula list, so learn both forms.

Worked example

  1. 1

    Variables are related by . Write this as a straight line and say what to plot.

  2. 2

    — Multiply every term by x to clear the fraction.

  3. 3

    — Each axis holds only x and y. The unknowns A and B sit where m and c go.

  4. 4

    — The gradient gives A and the intercept gives B.

Rule

For a straight-line form, the axes X and Y may contain only x and y. Every unknown constant must end up as the gradient or the intercept.

Key idea

In 1619 Johannes Kepler found a rule linking each planet's year to its distance from the Sun. Plot lg of the year against lg of the distance for the planets, and they fall on a straight line with gradient 1.5.

Key idea

A power of x: plot ln y against ln x. A number to the power x: plot ln y against plain x.

See this step move in Lemmara

Step 4 of 5

Constants from a graph

Calculator questions give a table of values. Change each pair into (X, Y), plot the points, and draw ONE ruled line of best fit. Then read the gradient and intercept from your line.

Worked example

  1. 1

    Variables x and y are related by . The table gives x = 1, 2, 4, 8 and y = 2.5, 7.07, 20.0, 56.57. Find A and n.

  2. 2

    — Work out X for each point.

  3. 3

    — Work out Y for each point, then plot and draw the line.

  4. 4

    — Gradient from two points far apart on your line.

  5. 5

    — The line crosses the vertical axis, X = 0, at 0.916.

  6. 6

    — Undo the ln.

Worked example

  1. 1

    Using from your line, estimate y when x = 3.

  2. 2

    — Find X for x = 3.

  3. 3

    — Use the line, or read Y from your graph.

  4. 4

    — Undo the ln.

Worked example

  1. 1

    Variables are related by . When lg y is plotted against x, the line passes through (1, 0.8) and (5, 2.0). Find A and b.

  2. 2

    — The straight-line form, using lg.

  3. 3

    — The gradient is lg b.

  4. 4

    — Undo lg with a power of 10.

  5. 5

    — Put in a point to find the intercept.

  6. 6

    — Undo lg.

Rule

Plotting marks need every point in the right place and a single ruled straight line. Take the gradient from two points on your line that are far apart.

Common mistake

Reading c off the graph when the horizontal axis does not start at 0. Then the line does not show c. Work it out from a point on the line instead.

Key idea

Change to X and Y, find m and c, then undo the logs to get the constants.

See this step move in Lemmara

Step 5 of 5

Which method? Read the question

Before you start, read which way the question goes: to a straight line, or back from one.

You seeYou do
“Y is plotted against X … find y in terms of x”Write in real variables, find m and c, rearrange
ln y or lg y on the vertical axisFind m and c, combine into one log, remove it
on the vertical axisTake ln at the end; the inside must be positive
Plot ln y against ln x: gradient n, intercept ln A
Plot ln y against x: gradient ln b, intercept ln A
A table of valuesMake X and Y, plot, ruled line, read m and c
“For which x is y valid?”Inside of the log > 0, then solve

Common mistake

Forgetting to undo the log. If the intercept is ln A = 0.916, then A is , not 0.916.

Key idea

Every question is the same straight line, , dressed up. Find what X and Y are, and the rest follows.

See this step move in Lemmara

More real exam questions on this

Solve one in Lemmara and see where every mark goes.

All 32 questions on this topic

Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.

Try a real exam question on this

Solve it →