Chapter 6

Coordinate Geometry and Graphing Techniques

Cartesian Coordinate System Structure

Cartesian Coordinate System Structure

The Cartesian coordinate system is a way to describe the exact location of points on a flat surface using numbers. It is one of the basic tools of coordinate geometry and helps us connect algebra with graphs.

When you see a point written as \((x, y)\), the first number tells how far to move left or right, and the second number tells how far to move up or down. This system lets us place points, read points from a graph, and describe shapes and patterns.

1. The basic parts of the coordinate plane

The coordinate plane is made from two number lines that cross at right angles.

  • The horizontal number line is called the x-axis.
  • The vertical number line is called the y-axis.
  • The point where they cross is called the origin.

The origin has coordinates \((0, 0)\). It is the starting point for locating every other point on the plane.

The x-axis and y-axis are perpendicular, which means they meet at a right angle of \(90^\circ\). Because of this, the plane is split into four regions called quadrants.

2. Ordered pairs

A point is named by an ordered pair, written as \((x, y)\).

The word ordered is important. The order cannot be switched unless the numbers are the same. For example, \((3, 2)\) and \((2, 3)\) are usually different points.

To graph a point:

  1. Start at the origin, \((0,0)\).
  2. Move along the x-axis first.
  3. If \(x\) is positive, move right. If \(x\) is negative, move left.
  4. Then move along the y-direction.
  5. If \(y\) is positive, move up. If \(y\) is negative, move down.

So for the point \((4, -2)\):

  • Move 4 units to the right.
  • Then move 2 units down.

3. Positive and negative directions

Each axis has a positive and negative direction.

  • On the x-axis, numbers increase to the right and decrease to the left.
  • On the y-axis, numbers increase upward and decrease downward.

This means:

  • Positive \(x\): right
  • Negative \(x\): left
  • Positive \(y\): up
  • Negative \(y\): down

4. The four quadrants

The axes divide the plane into four quadrants. These are numbered using Roman numerals, starting in the upper-right and moving counterclockwise.

  • Quadrant I: \((+, +)\)
  • Quadrant II: \((-, +)\)
  • Quadrant III: \((-, -)\)
  • Quadrant IV: \((+, -)\)

That means:

  • If both coordinates are positive, the point is in Quadrant I.
  • If \(x\) is negative and \(y\) is positive, the point is in Quadrant II.
  • If both coordinates are negative, the point is in Quadrant III.
  • If \(x\) is positive and \(y\) is negative, the point is in Quadrant IV.

Important: A point on an axis is not in any quadrant.

  • If \(y = 0\), the point lies on the x-axis.
  • If \(x = 0\), the point lies on the y-axis.
  • If \(x = 0\) and \(y = 0\), the point is the origin.

5. Reading coordinates from a graph

To read a point from a graph, always look at the horizontal position first and the vertical position second.

Suppose a point is 5 units left of the origin and 3 units above it. Then:

  • 5 units left means \(x = -5\)
  • 3 units up means \(y = 3\)

So the coordinates are \((-5, 3)\).

This point is in Quadrant II because the x-coordinate is negative and the y-coordinate is positive.

6. Why the axes matter

The axes act like references. They help us measure horizontal and vertical movement clearly.

Every point in the coordinate plane can be described by exactly one ordered pair. This makes the Cartesian system useful in graphing equations, showing data, drawing shapes, and describing motion on a plane.

The coordinate plane is also continuous. This means points are not limited to whole numbers. A point can have decimal or fractional coordinates, such as \((2.5, -1)\) or \(\left(\frac{1}{2}, 3\right)\).

7. Worked Example 1: Identifying parts of a point

Given the point \((6, -4)\), identify:

  • the x-coordinate
  • the y-coordinate
  • the quadrant

Step 1: Read the ordered pair carefully.

For \((6, -4)\):

  • \(x = 6\)
  • \(y = -4\)

Step 2: Determine the signs.

  • \(x\) is positive
  • \(y\) is negative

Step 3: Match the signs to a quadrant.

Positive \(x\) and negative \(y\) means the point is in Quadrant IV.

Answer: x-coordinate \(= 6\), y-coordinate \(= -4\), quadrant \(= \text{IV}\).

8. Worked Example 2: Plotting a point

Plot the point \((-3, 5)\).

Step 1: Start at the origin.

Step 2: Move according to the x-coordinate.

Since \(x = -3\), move 3 units to the left.

Step 3: Move according to the y-coordinate.

Since \(y = 5\), move 5 units up.

Step 4: Mark the point.

The point \((-3, 5)\) is in Quadrant II.

9. Worked Example 3: Deciding whether a point is on an axis or in a quadrant

Consider the points:

  • \((0, 7)\)
  • \((-4, 0)\)
  • \((0, 0)\)

Point 1: \((0, 7)\)

Here, \(x = 0\). Any point with \(x = 0\) lies on the y-axis.

Point 2: \((-4, 0)\)

Here, \(y = 0\). Any point with \(y = 0\) lies on the x-axis.

Point 3: \((0, 0)\)

Both coordinates are zero, so this point is the origin.

Conclusion: None of these points are in a quadrant because points on the axes or origin are not inside any quadrant.

10. Worked Example 4: Comparing two ordered pairs

Are the points \((2, -5)\) and \((-5, 2)\) the same?

No. In an ordered pair, position matters.

  • \((2, -5)\) means 2 units right and 5 units down.
  • \((-5, 2)\) means 5 units left and 2 units up.

These are different locations on the graph.

11. Common mistakes to avoid

  • Mixing up the order: Always read \((x, y)\), not \((y, x)\).
  • Forgetting the signs: Positive and negative numbers change the direction.
  • Putting axis points in quadrants: If a point is on an axis, it is not in any quadrant.
  • Starting from the wrong place: Always begin at the origin when plotting.

12. Quick check

Try these on your own:

  1. What quadrant is \((4, 3)\) in?
  2. What quadrant is \((-2, -6)\) in?
  3. Is \((0, -8)\) in a quadrant?
  4. What are the coordinates of a point that is 1 unit right and 7 units down from the origin?

Answers:

  1. Quadrant I
  2. Quadrant III
  3. No, it is on the y-axis
  4. \((1, -7)\)

Summary

The Cartesian coordinate system uses two perpendicular axes, the x-axis and y-axis, to locate points on a plane. The point where they meet is the origin, \((0,0)\).

Each point is written as an ordered pair \((x, y)\), where the x-coordinate gives horizontal movement and the y-coordinate gives vertical movement. The plane is divided into four quadrants, and the signs of \(x\) and \(y\) tell you which quadrant a point is in.

Understanding the structure of the coordinate plane makes it much easier to graph points, read graphs, and study geometry and algebra later on.

Put what you read to the test

You've worked through Cartesian Coordinate System Structure. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.

Distance Formula Derivation

Distance Formula Derivation

When two points are placed on a coordinate plane, we often want to know how far apart they are. This distance is called the length of the line segment joining the points.

If the points lie directly above, below, left, or right of each other, the distance is easy to find by subtraction. But if the points are diagonal from each other, we need a new method. That method comes from the Pythagorean theorem.

In this lesson, you will learn how to derive the distance formula, which means you will see where it comes from, not just memorize it.

1. Review: The Pythagorean Theorem

In a right triangle, if the legs have lengths \(a\) and \(b\), and the hypotenuse has length \(c\), then:

$$a^2+b^2=c^2$$

This theorem helps us find the length of a slanted side when we know the horizontal and vertical side lengths.

2. Plotting Two Points on the Coordinate Plane

Suppose we have two points:

$$A(x_1,y_1) \quad \text{and} \quad B(x_2,y_2)$$

We want to find the distance between these two points.

Imagine drawing a horizontal line from one point and a vertical line from the other point so that a right triangle is formed. The segment from \(A\) to \(B\) becomes the hypotenuse of that right triangle.

The horizontal side length is the change in the \(x\)-values:

$$|x_2-x_1|$$

The vertical side length is the change in the \(y\)-values:

$$|y_2-y_1|$$

We use absolute value because lengths are always positive. However, when we square the values, the sign no longer matters.

3. Deriving the Distance Formula

Let the distance between the points be \(d\). Since the horizontal and vertical distances form the legs of a right triangle, we apply the Pythagorean theorem:

$$d^2=(x_2-x_1)^2+(y_2-y_1)^2$$

Now take the square root of both sides:

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

This is the distance formula.

Distance Formula:

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

This formula tells us the distance between any two points on the coordinate plane.

4. Why the Formula Makes Sense

The distance formula is really just the Pythagorean theorem written using coordinates.

  • The horizontal distance is the difference in the \(x\)-coordinates.
  • The vertical distance is the difference in the \(y\)-coordinates.
  • The actual distance between the points is the hypotenuse.

So the formula is not something random to memorize. It comes directly from building a right triangle on the graph.

5. Important Notes

  • It does not matter which point is called \((x_1,y_1)\) and which is called \((x_2,y_2)\). The final answer will be the same.
  • Be careful with negative numbers when subtracting.
  • Leave answers in simplest radical form unless you are asked for a decimal.

6. Worked Examples

Example 1: Horizontal and vertical changes are both positive

Find the distance between \((1,2)\) and \((5,5)\).

Step 1: Use the formula

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

Let \((x_1,y_1)=(1,2)\) and \((x_2,y_2)=(5,5)\).

$$d=\sqrt{(5-1)^2+(5-2)^2}$$

Step 2: Subtract

$$d=\sqrt{4^2+3^2}$$

Step 3: Square and add

$$d=\sqrt{16+9}$$ $$d=\sqrt{25}$$

Step 4: Simplify

$$d=5$$

Answer: The distance is \(5\) units.

Example 2: One coordinate difference is negative

Find the distance between \((2,7)\) and \((-1,3)\).

Step 1: Substitute into the formula

$$d=\sqrt{(-1-2)^2+(3-7)^2}$$

Step 2: Simplify inside the parentheses

$$d=\sqrt{(-3)^2+(-4)^2}$$

Step 3: Square and add

$$d=\sqrt{9+16}$$ $$d=\sqrt{25}$$

Step 4: Simplify

$$d=5$$

Answer: The distance is \(5\) units.

Example 3: Answer in radical form

Find the distance between \((0,1)\) and \((6,4)\).

Step 1: Substitute

$$d=\sqrt{(6-0)^2+(4-1)^2}$$

Step 2: Simplify

$$d=\sqrt{6^2+3^2}$$ $$d=\sqrt{36+9}$$ $$d=\sqrt{45}$$

Step 3: Simplify the radical

$$d=\sqrt{9\cdot 5}$$ $$d=3\sqrt{5}$$

Answer: The distance is \(3\sqrt{5}\) units.

Example 4: Reversing the order of the points

Find the distance between \((4,-2)\) and \((-2,1)\).

Step 1: Substitute

$$d=\sqrt{(-2-4)^2+(1-(-2))^2}$$

Step 2: Simplify carefully

$$d=\sqrt{(-6)^2+3^2}$$ $$d=\sqrt{36+9}$$ $$d=\sqrt{45}$$ $$d=3\sqrt{5}$$

Answer: The distance is \(3\sqrt{5}\) units.

If we switched the order of the points, we would get:

$$d=\sqrt{(4-(-2))^2+(-2-1)^2}$$ $$d=\sqrt{6^2+(-3)^2}=\sqrt{36+9}=\sqrt{45}=3\sqrt{5}$$

The distance is the same. This shows that point order does not change the answer.

7. Common Mistakes to Avoid

  • Forgetting to square both differences: The formula uses squares of the coordinate differences.
  • Mixing up addition and subtraction: Always subtract the coordinates first, then square.
  • Sign mistakes with negatives: For example, \(1-(-2)=1+2=3\).
  • Not simplifying the square root: For example, \(\sqrt{45}=3\sqrt{5}\), not just \(\sqrt{45}\) if simplification is expected.

8. Quick Step-by-Step Method

  1. Write the two points.
  2. Find the difference in the \(x\)-coordinates.
  3. Find the difference in the \(y\)-coordinates.
  4. Square both differences.
  5. Add the squares.
  6. Take the square root.

9. Summary

The distance formula is derived from the Pythagorean theorem. By using the horizontal change \((x_2-x_1)\) and vertical change \((y_2-y_1)\) as the legs of a right triangle, we get:

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

This formula helps you find the distance between any two points on a coordinate plane. Once you understand that it comes from a right triangle, it becomes much easier to remember and use correctly.

Put what you read to the test

You've worked through Distance Formula Derivation. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.

Midpoint and Fractional Partitioning

Midpoint and Fractional Partitioning are important ideas in coordinate geometry. They help us find points that lie exactly between two endpoints, or points that divide a line segment into a given ratio.

These skills are useful when working with graphs, line segments, and geometric proofs. If you know the coordinates of two endpoints, you can find the midpoint or any point that splits the segment into parts of a chosen size.

In this lesson, you will learn:

  • what a midpoint is,
  • how to find the midpoint of a segment,
  • what it means to partition a segment,
  • how to find a point that divides a segment in a given ratio.

1. The Midpoint of a Segment

The midpoint of a line segment is the point exactly halfway between its two endpoints. This means it divides the segment into two equal parts.

If the endpoints are \((x_1,y_1)\) and \((x_2,y_2)\), the midpoint is found by averaging the x-coordinates and averaging the y-coordinates.

The midpoint formula is:

$$ \left(\frac{x_1+x_2}{2},\;\frac{y_1+y_2}{2}\right) $$

This works because the midpoint should be centered horizontally and vertically between the two points.

Why averaging works:

  • The x-coordinate of the midpoint must be halfway between the two x-values.
  • The y-coordinate of the midpoint must be halfway between the two y-values.
  • So we add each pair and divide by 2.

Worked Example 1: Finding a midpoint

Find the midpoint of the segment with endpoints \((2,4)\) and \((8,10)\).

Use the midpoint formula:

$$ \left(\frac{2+8}{2},\;\frac{4+10}{2}\right) $$

Simplify each part:

$$ \left(\frac{10}{2},\;\frac{14}{2}\right)=(5,7) $$

Answer: The midpoint is \((5,7)\).

Notice that 5 is halfway between 2 and 8, and 7 is halfway between 4 and 10.

2. Fractional Partitioning of a Segment

Sometimes we do not want the exact middle. Instead, we want a point that divides a segment into a certain ratio.

This is called partitioning a segment.

For example, a point might divide a segment so that one part is twice as long as the other. Or it might divide the segment so that it is \(\frac13\) of the way from one endpoint to the other.

There are two common ways ratios are described:

  • As a ratio, such as \(1:2\) or \(3:1\)
  • As a fraction of the way, such as halfway, \(\frac14\) of the way, or \(\frac34\) of the way from one point to another

3. Finding a Point Using a Fraction of the Way

If a point is partway from point \(A\) to point \(B\), we can find it by moving that same fraction in both the x-direction and the y-direction.

Suppose:

  • \(A=(x_1,y_1)\)
  • \(B=(x_2,y_2)\)

If point \(P\) is a fraction \(t\) of the way from \(A\) to \(B\), then:

$$ P=\left(x_1+t(x_2-x_1),\;y_1+t(y_2-y_1)\right) $$

This means:

  • Start at point \(A\)
  • Find how far it is from \(A\) to \(B\)
  • Take the fraction \(t\) of that distance in both coordinates

Important values of \(t\):

  • \(t=\frac12\) gives the midpoint
  • \(t=\frac14\) gives the point one-fourth of the way from \(A\) to \(B\)
  • \(t=\frac34\) gives the point three-fourths of the way from \(A\) to \(B\)

Worked Example 2: Fraction of the way between two points

Find the point that is \(\frac14\) of the way from \((0,0)\) to \((12,8)\).

Let \(A=(0,0)\), \(B=(12,8)\), and \(t=\frac14\).

Use the formula:

$$ P=\left(0+\frac14(12-0),\;0+\frac14(8-0)\right) $$

Simplify:

$$ P=\left(\frac14\cdot 12,\;\frac14\cdot 8\right)=(3,2) $$

Answer: The point is \((3,2)\).

This makes sense because \((3,2)\) is one-fourth of the way from \((0,0)\) to \((12,8)\).

4. Finding a Point That Divides a Segment in a Ratio

Now suppose a point divides the segment joining \(A\) and \(B\) in the ratio \(m:n\).

This means the point splits the segment into two parts:

  • distance from \(A\) to the point is in one part of the ratio,
  • distance from the point to \(B\) is in the other part.

If a point \(P\) divides segment \(AB\) internally in the ratio \(m:n\), then:

$$ AP:PB = m:n $$

That means the whole segment is split into \(m+n\) equal ratio parts.

So the point is:

  • \(\frac{m}{m+n}\) of the way from \(A\) to \(B\),
  • or \(\frac{n}{m+n}\) of the way from \(B\) to \(A\).

A very useful formula is:

$$ P=\left(\frac{nx_1+mx_2}{m+n},\;\frac{ny_1+my_2}{m+n}\right) $$

Here, \(A=(x_1,y_1)\) and \(B=(x_2,y_2)\), and \(P\) divides \(AB\) in the ratio \(m:n\), meaning \(AP:PB=m:n\).

Why this formula works: the point lies closer to the endpoint with the smaller part of the ratio. The coordinates are a weighted average of the endpoints.

Worked Example 3: Dividing a segment in a ratio

Find the point that divides the segment from \((2,1)\) to \((10,7)\) in the ratio \(1:3\).

This means:

$$ AP:PB=1:3 $$

So the point is \(\frac{1}{1+3}=\frac14\) of the way from \(A\) to \(B\).

We can use the fraction method first.

Let \(A=(2,1)\), \(B=(10,7)\), and \(t=\frac14\).

$$ P=\left(2+\frac14(10-2),\;1+\frac14(7-1)\right) $$ $$ P=\left(2+\frac14(8),\;1+\frac14(6)\right) $$ $$ P=(2+2,\;1+1.5)=(4,2.5) $$

Answer: The point is \((4,2.5)\).

Let us also check with the ratio formula where \(m=1\) and \(n=3\):

$$ P=\left(\frac{3(2)+1(10)}{1+3},\;\frac{3(1)+1(7)}{1+3}\right) $$ $$ P=\left(\frac{6+10}{4},\;\frac{3+7}{4}\right)=\left(\frac{16}{4},\;\frac{10}{4}\right)=(4,2.5) $$

Both methods give the same answer.

5. Connecting Midpoint to Partitioning

The midpoint is actually a special case of partitioning.

A midpoint divides a segment in the ratio \(1:1\). That means each half is equal.

If we use the ratio formula with \(m=1\) and \(n=1\), we get:

$$ P=\left(\frac{1x_1+1x_2}{2},\;\frac{1y_1+1y_2}{2}\right)=\left(\frac{x_1+x_2}{2},\;\frac{y_1+y_2}{2}\right) $$

So the midpoint formula is just a special form of the partition formula.

Worked Example 4: A more challenging ratio problem

Find the point that divides the segment joining \((-4,6)\) and \((8,-2)\) in the ratio \(3:1\).

This means:

$$ AP:PB=3:1 $$

So the point is \(\frac{3}{3+1}=\frac34\) of the way from \(A\) to \(B\).

Use the fraction method:

Let \(A=(-4,6)\), \(B=(8,-2)\), and \(t=\frac34\).

$$ P=\left(-4+\frac34(8-(-4)),\;6+\frac34(-2-6)\right) $$ $$ P=\left(-4+\frac34(12),\;6+\frac34(-8)\right) $$ $$ P=\left(-4+9,\;6-6\right)=(5,0) $$

Answer: The point is \((5,0)\).

This point is closer to \((8,-2)\) or \((-4,6)\)? Since the ratio is \(3:1\), the part from \(A\) to \(P\) is longer, so \(P\) should be closer to \(B\). And \((5,0)\) is indeed closer to \((8,-2)\) than to \((-4,6)\).

6. Tips for Avoiding Mistakes

  • Do not mix up the coordinates. Average x-values with x-values, and y-values with y-values.
  • Read the ratio carefully. If \(AP:PB=2:3\), then the point is \(\frac{2}{5}\) of the way from \(A\) to \(B\).
  • Check whether the answer makes sense. A midpoint should lie exactly between the endpoints. A point with ratio \(1:3\) should be closer to the first endpoint or second depending on how the ratio is written.
  • Watch negative numbers. Subtract carefully when coordinates are negative.

7. Quick Step-by-Step Guide

To find a midpoint:

  1. Identify the endpoints \((x_1,y_1)\) and \((x_2,y_2)\).
  2. Add the x-coordinates and divide by 2.
  3. Add the y-coordinates and divide by 2.
  4. Write the answer as a coordinate pair.

To find a point that is a fraction \(t\) of the way from \(A\) to \(B\):

  1. Find the change in x: \(x_2-x_1\).
  2. Find the change in y: \(y_2-y_1\).
  3. Multiply each change by \(t\).
  4. Add the results to the coordinates of \(A\).

To find a point dividing a segment in ratio \(m:n\):

  1. Understand that \(AP:PB=m:n\).
  2. The point is \(\frac{m}{m+n}\) of the way from \(A\) to \(B\).
  3. Use the fraction method or the ratio formula.

Brief Summary

The midpoint of a segment is the point halfway between two endpoints, found by averaging the x-coordinates and y-coordinates. Fractional partitioning means finding a point that lies a certain fraction of the way along a segment, or divides it in a given ratio. These ideas are closely connected, because the midpoint is just the case where the ratio is \(1:1\).

When solving these problems, pay close attention to the order of the points, the meaning of the ratio, and the signs of the coordinates. With practice, midpoint and partitioning problems become a clear step-by-step process.

Put what you read to the test

You've worked through Midpoint and Fractional Partitioning. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.

Tabular and Graphical Transformation

Tabular and Graphical Transformation is the skill of moving between a table of values and a graph. In 9th Grade Maths, this helps you see how numbers are connected and how patterns in a table become shapes on a coordinate plane.

When you understand this idea well, you can do three important things:

  • read values from a table and plot them as points,
  • look at plotted points and organize them into a table,
  • use the pattern of points to sketch a line or curve that shows the relationship.

This is useful in coordinate geometry because every ordered pair \( (x,y) \) tells you where a point belongs on the graph. A table gives many ordered pairs at once, and a graph shows them visually.

1. From a table to coordinates

A table usually lists an input and an output. These are often called \(x\) and \(y\).

For example, if a table says that when \(x=2\), \(y=5\), then the coordinate is \( (2,5) \).

Each row of the table becomes one point on the graph. So a table is really a list of coordinates written in an organized way.

2. Understanding the coordinate plane

The coordinate plane has a horizontal axis called the x-axis and a vertical axis called the y-axis. The point where they meet is called the origin, which is \( (0,0) \).

To plot a point \( (x,y) \):

  1. Start at the origin.
  2. Move left or right according to the value of \(x\).
  3. Then move up or down according to the value of \(y\).

For example, to plot \( (3,-2) \), move 3 units right and 2 units down.

3. From a table to a graph

To change a table into a graph, follow these steps:

  1. Read each row as an ordered pair \( (x,y) \).
  2. Plot each point carefully.
  3. Look for a pattern in the points.
  4. If the pattern is linear, connect the points with a straight line.
  5. If the pattern bends, draw a smooth curve through the points.

It is important not to connect points randomly. The shape should match the pattern in the table.

4. From a graph back to a table

You can also move in the other direction. If you are given a graph, you can read the coordinates of plotted points and place them into a table.

This means:

  • read the x-value of the point,
  • read the y-value of the same point,
  • write them in one row of the table.

This is helpful when a graph is used to show data and you need the exact values.

5. Discrete data and continuous graphs

Sometimes a table represents only separate values. This is called discrete data. In this case, you usually plot only the listed points.

For example, the number of books read by students in a week might be listed only as whole numbers. You would plot those separate points and may not join them.

Other times, the values change smoothly between the listed points. This is called continuous data. In that case, the graph can be joined with a line or a smooth curve.

For example, distance traveled over time can be continuous because the distance changes every moment, not just at a few separate times.

6. Looking for patterns in a table

Before graphing, it helps to study the table. Ask these questions:

  • Does \(y\) increase as \(x\) increases?
  • Does \(y\) decrease as \(x\) increases?
  • Does \(y\) change by the same amount each time?
  • Does the graph seem like it will be a straight line or a curve?

If the change in \(y\) is constant, the graph is usually a straight line.

For example, if \(y\) goes up by 2 every time \(x\) goes up by 1, the points lie on a line.

If the changes are not constant, the graph may curve.

7. Linear and non-linear relationships

A linear relationship makes a straight-line graph. In a table, this happens when the output changes at a constant rate.

For example:

$$\begin{array}{c|c}x & y \\ \hline 0 & 1 \\ 1 & 3 \\ 2 & 5 \\ 3 & 7\end{array}$$

Here, \(y\) increases by 2 each time. This gives a straight line.

A non-linear relationship does not make a straight line. It may make a curve.

For example:

$$\begin{array}{c|c}x & y \\ \hline 0 & 0 \\ 1 & 1 \\ 2 & 4 \\ 3 & 9\end{array}$$

Here, the changes in \(y\) are not constant, so the graph curves.

Worked Example 1: Plotting from a simple table

Change this table into points and describe the graph:

$$\begin{array}{c|c}x & y \\ \hline 0 & 2 \\ 1 & 4 \\ 2 & 6 \\ 3 & 8\end{array}$$

Step 1: Write the ordered pairs.

The points are \( (0,2), (1,4), (2,6), (3,8) \).

Step 2: Plot the points on the coordinate plane.

Step 3: Look for the pattern.

Each time \(x\) increases by 1, \(y\) increases by 2.

Conclusion: The points form a straight line. This is a linear relationship.

Worked Example 2: Reading a table and sketching a curve

Consider the table:

$$\begin{array}{c|c}x & y \\ \hline -2 & 4 \\ -1 & 1 \\ 0 & 0 \\ 1 & 1 \\ 2 & 4\end{array}$$

Step 1: Write the points.

The coordinates are \( (-2,4), (-1,1), (0,0), (1,1), (2,4) \).

Step 2: Plot the points.

Step 3: Study the shape.

The points go down toward \( (0,0) \) and then rise again. They do not lie on a straight line.

Conclusion: Draw a smooth curve through the points. This is a non-linear graph.

Worked Example 3: Making a table from a graph description

Suppose a graph has plotted points at \( (-1,2), (0,3), (1,4), (2,5) \). Write these in table form and describe the pattern.

Step 1: Place each coordinate into the table.

$$\begin{array}{c|c}x & y \\ \hline -1 & 2 \\ 0 & 3 \\ 1 & 4 \\ 2 & 5\end{array}$$

Step 2: Check how \(y\) changes.

Each time \(x\) increases by 1, \(y\) also increases by 1.

Conclusion: The graph is linear and forms a straight line.

Worked Example 4: Deciding whether to connect the points

A table shows the number of goals scored by a team in 4 matches:

$$\begin{array}{c|c}\text{Match Number} & \text{Goals} \\ \hline 1 & 2 \\ 2 & 1 \\ 3 & 3 \\ 4 & 0\end{array}$$

Step 1: Write the coordinates.

The points are \( (1,2), (2,1), (3,3), (4,0) \).

Step 2: Ask whether the data is discrete or continuous.

These are separate matches, so this is discrete data.

Conclusion: Plot the points, but do not join them with a smooth line as if values exist between the matches.

8. Common mistakes to avoid

  • Mixing up x and y: \( (2,5) \) is not the same as \( (5,2) \).
  • Plotting on the wrong axis: Remember that \(x\) is horizontal and \(y\) is vertical.
  • Using uneven scales: The spacing on each axis should be clear and consistent.
  • Connecting discrete points when you should not: Think about the meaning of the data first.
  • Forcing a straight line: If the pattern curves, sketch a curve.

9. Quick strategy for any question

When you are asked to transform between a table and a graph, use this checklist:

  1. Identify the x-values and y-values.
  2. Turn each row into an ordered pair.
  3. Plot or read the points carefully.
  4. Check the pattern in the values.
  5. Decide whether the graph should be separate points, a straight line, or a smooth curve.

10. Why this skill matters

Tables and graphs show the same information in different ways. A table gives exact values, while a graph helps you see the overall shape and trend.

When you can switch easily between the two, you understand the relationship more deeply. This makes it easier to solve graphing problems, interpret data, and recognize patterns in coordinate geometry.

Brief Summary

Tabular and graphical transformation means changing information from a table into plotted points and graphs, or reading a graph and writing its values in a table. Each row in a table becomes a coordinate \( (x,y) \). Linear patterns make straight lines, while non-linear patterns make curves. Always decide whether the data is discrete or continuous before connecting points.

Put what you read to the test

You've worked through Tabular and Graphical Transformation. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.

Independent and Dependent Variables

Independent and Dependent Variables

In maths, we often study relationships between two quantities. One quantity may affect the other. For example, the number of hours you study can affect your test score, or the number of items you buy can affect the total cost.

When we graph these relationships, it is important to know which variable is independent and which is dependent. This helps us place the variables on the correct axes and understand what the graph means.

This lesson will teach you how to identify independent and dependent variables, how they connect to the -coordinate and y-coordinate axes, and how to use them in tables, equations, and graphs.

1. What is a variable?

A variable is a quantity that can change. We often use letters like \(x\) and \(y\) to represent variables.

For example, in the equation \(y = 3x + 2\), both \(x\) and \(y\) are variables. If \(x\) changes, then \(y\) changes too.

2. Independent variable

The independent variable is the variable you choose or control. It is the input.

It does not depend on the other variable. Instead, it is used to determine the value of the other variable.

  • It is usually represented by \(x\).
  • It is usually placed on the horizontal axis, also called the x-axis.

3. Dependent variable

The dependent variable is the variable that changes because of the independent variable. It is the output.

Its value depends on what happens to the independent variable.

  • It is usually represented by \(y\).
  • It is usually placed on the vertical axis, also called the y-axis.

4. A simple way to remember

  • Independent = input = what you choose
  • Dependent = output = what changes because of the input

You can also ask:

  • What is causing the change?
  • What is responding to the change?

The cause is usually the independent variable. The response is usually the dependent variable.

5. Independent and dependent variables on a graph

When you graph a relationship, the independent variable goes on the x-axis and the dependent variable goes on the y-axis.

This means ordered pairs are written as:

$$ (\text{independent},\ \text{dependent}) $$

or more simply:

$$ (x, y) $$

So if time is the independent variable and distance is the dependent variable, a point like \((2, 10)\) means:

  • at \(2\) units of time,
  • the distance is \(10\) units.

6. Looking at equations

In many equations, \(y\) depends on \(x\). For example:

$$ y = 4x $$

Here, if you choose a value for \(x\), you can calculate \(y\).

For example:

  • If \(x = 1\), then \(y = 4\)
  • If \(x = 3\), then \(y = 12\)
  • If \(x = 5\), then \(y = 20\)

So:

  • \(x\) is the independent variable
  • \(y\) is the dependent variable

7. Looking at real-life situations

Independent and dependent variables are not just in equations. They appear in real life all the time.

Here are some examples:

  • The number of movie tickets bought affects the total cost.
  • The number of hours worked affects the amount of money earned.
  • The amount of water given to a plant may affect its growth.
  • The number of minutes a candle burns affects how much candle is left.

In each case, one quantity changes first, and the other quantity changes because of it.

8. How to identify the variables

  1. Find the two changing quantities.
  2. Ask: Which one do I choose or control?
  3. Ask: Which one changes because of the first one?
  4. Place the independent variable on the x-axis.
  5. Place the dependent variable on the y-axis.

Worked Example 1: Total cost of notebooks

A notebook costs \(\$3\). The total cost depends on how many notebooks you buy.

Step 1: Identify the variables

  • Number of notebooks
  • Total cost

Step 2: Decide which is independent

You choose how many notebooks to buy. So the number of notebooks is the independent variable.

Step 3: Decide which is dependent

The total cost changes based on the number of notebooks. So the total cost is the dependent variable.

Step 4: Write an equation

Let \(x\) = number of notebooks and \(y\) = total cost.

$$ y = 3x $$

Step 5: Make a table

  • If \(x = 1\), then \(y = 3\)
  • If \(x = 2\), then \(y = 6\)
  • If \(x = 4\), then \(y = 12\)

The ordered pairs are:

$$ (1,3),\ (2,6),\ (4,12) $$

These points would be graphed with notebooks on the x-axis and cost on the y-axis.

Worked Example 2: Distance traveled over time

A cyclist rides at a steady speed of \(12\) kilometers per hour.

Step 1: Identify the variables

  • Time
  • Distance

Step 2: Find the independent variable

Time is the input. As time passes, distance changes. So time is the independent variable.

Step 3: Find the dependent variable

The distance depends on the time.

Step 4: Write the equation

Let \(x\) = time in hours and \(y\) = distance in kilometers.

$$ y = 12x $$

Step 5: Use values

  • If \(x = 0\), then \(y = 0\)
  • If \(x = 1\), then \(y = 12\)
  • If \(x = 2\), then \(y = 24\)
  • If \(x = 3\), then \(y = 36\)

The points are:

$$ (0,0),\ (1,12),\ (2,24),\ (3,36) $$

On the graph:

  • x-axis: time
  • y-axis: distance

Worked Example 3: Temperature changing during the day

A student records the temperature every hour from morning to afternoon.

Question: Which variable is independent, and which is dependent?

Step 1: Identify the variables

  • Time of day
  • Temperature

Step 2: Decide the relationship

The temperature changes as time passes. So:

  • Independent variable: time of day
  • Dependent variable: temperature

Why? Because the temperature reading depends on the time it is measured.

If the data is:

$$ (8,15),\ (10,18),\ (12,22),\ (14,24) $$

this means:

  • at 8 o'clock, the temperature is \(15\)
  • at 10 o'clock, the temperature is \(18\)
  • at 12 o'clock, the temperature is \(22\)
  • at 14 o'clock, the temperature is \(24\)

Time goes on the x-axis, and temperature goes on the y-axis.

Worked Example 4: A taxi fare

A taxi charges a starting fee of \(\$4\) plus \(\$2\) for each kilometer traveled.

Step 1: Identify the variables

  • Number of kilometers traveled
  • Total fare

Step 2: Identify the independent variable

The distance traveled is the input. So kilometers traveled is the independent variable.

Step 3: Identify the dependent variable

The total fare depends on the distance. So total fare is the dependent variable.

Step 4: Write the equation

Let \(x\) = kilometers traveled and \(y\) = total fare.

$$ y = 2x + 4 $$

Step 5: Test values

  • If \(x = 0\), then \(y = 4\)
  • If \(x = 1\), then \(y = 6\)
  • If \(x = 3\), then \(y = 10\)
  • If \(x = 5\), then \(y = 14\)

The ordered pairs are:

$$ (0,4),\ (1,6),\ (3,10),\ (5,14) $$

This graph would start at \((0,4)\), not at the origin, because there is already a starting fee even before any distance is traveled.

9. In tables and graphs

A table can help you see which variable is independent and which is dependent.

For example:

$$ \begin{array}{c|c} \text{Hours studied} & \text{Test score} \\ \hline 1 & 60 \\ 2 & 68 \\ 3 & 75 \\ 4 & 83 \end{array} $$

Here:

  • Hours studied = independent variable
  • Test score = dependent variable

Why? Because the test score depends on the number of hours studied.

10. Common mistakes to avoid

  • Mixing up the axes: Remember, independent goes on the x-axis and dependent goes on the y-axis.
  • Choosing the result as the input: Ask yourself which quantity happens first.
  • Ignoring the context: In real-life problems, the meaning matters more than just the letters \(x\) and \(y\).
  • Thinking \(x\) is always independent no matter what: Usually it is, but only because we define it that way. The real question is which quantity controls the other.

11. Quick check questions

Try to identify the independent and dependent variables in each situation:

  1. The number of pages read and the time spent reading
  2. The amount of money earned and the hours worked
  3. The height of a plant and the number of weeks it has been growing
  4. The total cost of apples and the kilograms of apples bought

Answers:

  1. Independent: time spent reading; Dependent: number of pages read
  2. Independent: hours worked; Dependent: money earned
  3. Independent: number of weeks; Dependent: height of plant
  4. Independent: kilograms bought; Dependent: total cost

12. Summary

The independent variable is the input or the quantity you choose or control. It is usually placed on the x-axis.

The dependent variable is the output or the quantity that changes because of the independent variable. It is usually placed on the y-axis.

To identify them, ask: What is causing the change, and what is responding to it? Once you know that, you can write equations, make tables, and draw graphs correctly.

Put what you read to the test

You've worked through Independent and Dependent Variables. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.

Appropriate Scaling and Axis Selection

Appropriate Scaling and Axis Selection is an important graphing skill. A graph should help you see patterns clearly and accurately. If the axes are chosen poorly, the graph can look confusing, hide important information, or even make the data seem misleading.

In this lesson, you will learn how to choose axis labels, intervals, and graph boundaries that fit a set of data. You will also learn when a graph may need a break in an axis and how good scaling makes a graph easier to read.

When we draw a graph, the two main choices are:

  • Which variable goes on each axis
  • What scale each axis should use

Usually, the independent variable goes on the horizontal axis, called the x-axis. The dependent variable goes on the vertical axis, called the y-axis.

For example, if time affects temperature, then time is the independent variable and temperature is the dependent variable. So time goes on the x-axis and temperature goes on the y-axis.

Axis selection means deciding what each axis represents. Scaling means deciding how much each mark on the axis is worth.

A good scale should do three things:

  • Include all the data values
  • Use the graph space well
  • Be easy to count and read

If a scale is too small, some data will not fit. If a scale is too large, all the data may be squashed into one small part of the graph. If the intervals are awkward, such as counting by 3s or 7s when not needed, the graph becomes harder to read.

Step 1: Find the range of the data.

The range of the data tells you how spread out the values are. To find it, look at the smallest and largest values on each axis.

For a set of y-values, the range is:

$$\text{range} = \text{maximum value} - \text{minimum value}$$

This helps you decide how large the axis needs to be.

Step 2: Choose sensible starting and ending values.

The axis does not always have to start at 0, but it should make sense for the situation. If 0 is meaningful and useful, include it. If the data is far from 0 and using 0 would waste space, the axis can begin at another value.

For example, if test scores are 82, 84, 85, 87, and 90, a y-axis from 0 to 100 is possible, but it may make small differences hard to see. A y-axis from 80 to 92 may show the pattern more clearly.

However, if leaving out 0 could make differences look larger than they really are, the graph should be labeled carefully. Good graphs are clear and honest.

Step 3: Choose equal intervals.

The marks on an axis should increase by the same amount each time. This keeps the graph accurate.

Common interval sizes are:

  • 1
  • 2
  • 5
  • 10
  • 20
  • 50
  • 100

These are usually easier to read than unusual intervals like 6 or 13.

For example, if a y-axis must cover values from 0 to 48, counting by 5s or 10s may work well. Counting by 1s might take too much space, while counting by 20s may be too rough.

Step 4: Use most of the graph.

A good graph spreads the data across much of the grid. If all the points are crowded into one corner, the scale probably needs adjustment.

This is important because graphs are meant to help us compare values and spot trends. A better scale makes those trends easier to notice.

Step 5: Consider an axis break when needed.

An axis break shows that part of the axis has been skipped. This is sometimes used when data values are all large and close together.

For instance, if heights of plants are 91 cm, 93 cm, 94 cm, and 96 cm, a y-axis could start at 90 instead of 0. Sometimes a small zigzag mark is used to show that lower values were skipped.

Axis breaks should be used carefully. They can help save space, but they must not confuse the reader.

Main ideas to remember when choosing axes and scales:

  • Put the independent variable on the x-axis
  • Put the dependent variable on the y-axis
  • Make sure all data fits
  • Use equal intervals
  • Choose intervals that are easy to read
  • Use the graph space well
  • Be careful if the axis does not start at 0

Worked Example 1: Choosing a scale for simple data

A student records the number of books read in 5 months:

  • January: 2
  • February: 4
  • March: 3
  • April: 6
  • May: 5

Step 1: Choose the axes.

The months are the independent variable, so they go on the x-axis. The number of books depends on the month, so it goes on the y-axis.

Step 2: Find the largest y-value.

The largest number of books is 6.

Step 3: Choose the scale.

A y-axis from 0 to 6 works. Counting by 1s is a good choice because the values are small whole numbers.

Result:

  • x-axis: January to May
  • y-axis: 0, 1, 2, 3, 4, 5, 6

This is a good scale because all values fit and the intervals are easy to read.

Worked Example 2: Avoiding wasted space

A class records quiz scores: 82, 84, 85, 88, 90.

If you make a graph with a y-axis from 0 to 100, the scores will all appear close together near the top. It will be harder to see the differences.

A better choice may be a y-axis from 80 to 92, counting by 2s:

$$80, 82, 84, 86, 88, 90, 92$$

This scale still includes all the data, but it uses the graph space better. The differences between scores are easier to see.

Important note: Since the axis does not start at 0, the graph should be read carefully. The graph is useful for comparing the scores, but it should not exaggerate the differences.

Worked Example 3: Choosing a scale for larger numbers

A town records the number of visitors to a park over 6 days:

  • Day 1: 120
  • Day 2: 150
  • Day 3: 180
  • Day 4: 210
  • Day 5: 160
  • Day 6: 190

Step 1: Choose the axes.

Days go on the x-axis. Number of visitors goes on the y-axis.

Step 2: Find the range of y-values.

The smallest value is 120 and the largest is 210.

$$\text{range} = 210 - 120 = 90$$

Step 3: Pick a useful scale.

A y-axis from 0 to 250 counting by 50s would work, but the graph may not show detail very well.

A better choice might be from 100 to 220 counting by 20s:

$$100, 120, 140, 160, 180, 200, 220$$

This scale includes every value and makes the changes easier to see.

Worked Example 4: Deciding when an axis break may help

A science class measures the masses of five rocks:

  • 501 g
  • 505 g
  • 498 g
  • 510 g
  • 503 g

If the y-axis starts at 0 and goes to 600, the data will look very close together. Since all the values are near 500 g, a graph from 495 to 510 may show the differences more clearly.

You could use intervals of 3 or 5, but 5 is easier to read. One possible scale is:

$$495, 500, 505, 510$$

Because the graph skips many numbers below 495, an axis break may be used to show that part of the axis is missing.

Common mistakes to avoid

  • Using unequal intervals: for example, going from 0 to 10, then 10 to 30, then 30 to 40 with equal spacing on the graph
  • Choosing a scale that is too wide: this makes the data look flat or crowded
  • Choosing a scale that is too narrow: some points may not fit
  • Putting variables on the wrong axes: this can make the graph harder to understand
  • Forgetting labels: every axis should be labeled clearly

Quick checklist for graphing

  1. What does each variable represent?
  2. Which variable is independent?
  3. Which variable is dependent?
  4. What are the smallest and largest values?
  5. What interval will be easy to read?
  6. Does the graph use most of the space?
  7. Should the axis start at 0, or is another starting point better?
  8. Do I need an axis break?

Summary

Appropriate scaling and axis selection help make graphs clear, accurate, and useful. Choose axes based on the meaning of the variables, and choose scales that fit all the data with equal, easy-to-read intervals.

Always check that your graph uses space well and does not mislead the reader. A well-scaled graph makes patterns and comparisons much easier to see.

Put what you read to the test

You've worked through Appropriate Scaling and Axis Selection. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.