Overview
This chapter introduces the Cartesian coordinate system and basic techniques for representing numerical information and relations graphically. Students learn how to draw and label the x- and y-axes, plot ordered pairs, and use simple tables of values to draw graphs of linear equations in two variables. The emphasis is on understanding how a straight line represents a linear relation, reading coordinates from graphs, and using graphs to solve practical problems (for example distance-time, cost-production). Graphs are presented as powerful tools for visualising relationships between quantities and for checking and communicating mathematical ideas clearly.
Learning Objectives
- Define the coordinate plane, origin, x-axis, y-axis and an ordered pair (x, y) and state their significance
- Explain how to choose an appropriate scale and label axes before plotting a graph
- Plot ordered pairs in the Cartesian plane accurately and mark points with correct coordinates
- Construct a graph from a given table of values and join plotted points by a line or smooth curve as appropriate
- Read and interpret values from a given graph to answer questions about the variables
- Apply graphing techniques to solve simple problems by locating points or intersections on the graph
- Determine missing values in a table by using a plotted graph (interpolation and simple extrapolation)
- Estimate values between plotted points (interpolation) and beyond the available data (extrapolation) from the graph
Topics in this chapter
10 topics · tap a topic title to jump straight to it.
Need for Graphs and Representation of Data
Why graphs? When we collect numerical data (for example, daily temperatures, marks obtained by students, or population counts), the raw numbers can be hard to understand at a glance. Graphs turn numbers into pictures so we can quickly see patterns, compare values, spot trends, and communicate results clearly.
Key advantages of graphs
- Summarise large data sets so they are easier to read and understand.
- Show trends and patterns (increasing, decreasing, periodic behaviour).
- Allow quick comparison between groups or categories.
- Help detect outliers, gaps or unusual values.
- Support decision making and predictions (for example, extrapolating future values).
Common ways to represent data
- Tables: organise data in rows and columns (first step before graphing).
- Bar graphs: compare quantities across categories (e.g., students in different classes).
- Line graphs (or plots): show change over a continuous variable like time (e.g., temperature over days).
- Pictographs: use symbols or pictures to represent counts (good for simple comparisons).
- Histograms: show frequency distribution of continuous or grouped data (e.g., marks in intervals).
- Scatter plots: show relationship between two numerical variables (e.g., height vs weight).
Steps to represent data on a graph (simple method)
- Collect and organise the data in a table (often with categories and their frequencies).
- Choose the appropriate graph type based on what you want to show (comparison, trend, distribution, relation).
- Draw axes and give a clear title. Label each axis with the variable name and units.
- Choose a suitable scale so the data fits well and marks are spaced evenly.
- Plot points or draw bars/pictures according to the data. For line graphs, join successive points.
- Include a legend if the graph shows more than one set of data.
How graphs help in interpretation
- By looking at the shape of a line graph you can tell whether quantity is increasing or decreasing and how fast.
- Bar graphs let you read which category has the maximum or minimum value easily.
- Scatter plots show if two variables are correlated (positive, negative, or no clear correlation).
In Class 8 you will also learn to represent simple numerical data on the Cartesian plane by using ordered pairs (x, y): choose x for the horizontal axis and y for the vertical axis, plot the points and read the information visually. This links data representation to coordinate geometry.
- Temperature over a week: Record daily temperature and draw a line graph with days on the x-axis and temperature (°C) on the y-axis to see warm/cold trends.
- Number of students in each class: Use a bar graph to compare counts for Class 6, 7, 8, 9 and 10 and identify which class has the most students.
- Sales of fruit in a week: Use a pictograph (one apple symbol = 5 apples sold) to show how many apples, bananas and oranges were sold over the week.
- Marks of students grouped in ranges: Create a histogram of marks (0–10, 11–20, …) to see the distribution of scores and the most common range.
- Height vs weight of students: Plot a scatter plot with height on the x-axis and weight on the y-axis to see if taller students tend to weigh more (look for a trend).
- Slope (rate of change) of a line through two points (x1, y1) and (x2, y2): slope m = (y2 − y1) / (x2 − x1).
- Equation of a straight line in slope-intercept form: y = mx + c, where m is slope and c is y-intercept.
- Distance between two points (x1, y1) and (x2, y2): distance = √[(x2 − x1)^2 + (y2 − y1)^2].
- Midpoint of the segment joining (x1, y1) and (x2, y2): ((x1 + x2)/2, (y1 + y2)/2).
- Frequency and relative frequency: relative frequency = frequency / total number of observations (useful to compare proportions).
- Mean (average) of n numbers x1, x2, …, xn: mean = (x1 + x2 + … + xn) / n (often used to summarise data before graphing).
Cartesian Coordinate Plane
The Cartesian coordinate plane (or Cartesian plane) is a two‑dimensional number plane formed by two perpendicular number lines: the horizontal x-axis and the vertical y-axis. They meet at the origin (0, 0). Every point in the plane is identified by an ordered pair (x, y), where x is the horizontal coordinate and y is the vertical coordinate.
Key ideas:
- Axes: x-axis (horizontal) and y-axis (vertical).
- Origin: point where axes meet, labelled (0, 0).
- Ordered pair: (x, y) means move x units along the x-axis (right if x > 0, left if x < 0) and then y units along the y-axis (up if y > 0, down if y < 0).
- Quadrants: The plane is divided into four quadrants: I (x > 0, y > 0), II (x < 0, y > 0), III (x < 0, y < 0), IV (x > 0, y < 0). Quadrants are numbered counterclockwise starting from the top‑right.
- Plotting a point — steps:
- Start at the origin (0, 0).
- Move horizontally by x (right for positive, left for negative).
- From there move vertically by y (up for positive, down for negative).
- Mark the point and label it with its ordered pair.
Other useful observations:
- The line x = a is a vertical line crossing the x-axis at (a, 0); every point on it has x = a.
- The line y = b is a horizontal line crossing the y-axis at (0, b); every point on it has y = b.
- A simple linear relation like y = mx + c is represented by a straight line. To graph it, make a small table of x values and corresponding y values, then plot the points and join them.
- Choose an appropriate scale on each axis (units per grid square) and label axes to avoid misreading coordinates.
Use the Cartesian plane to represent positions, simple motion, relations between two quantities, and to visualise geometry problems. It forms the foundation for graphing algebraic relations taught in higher classes.
- Plot the point A(3, 2): starting from origin move 3 units right, then 2 units up and mark A.
- Plot B(-4, 1): from origin move 4 units left, then 1 unit up and mark B in Quadrant II.
- Graph x = 2: draw a vertical line through x = 2 (every point on this line has x-coordinate 2).
- Graph y = -1: draw a horizontal line through y = -1 (every point on this line has y-coordinate -1).
- Draw the line y = x: points (0,0), (1,1), (2,2), (-1,-1) lie on this 45° line through the origin.
- Use coordinates of rectangle vertices, e.g., (1,1), (4,1), (4,3), (1,3), to plot and visualise area and shape.
- Point notation: (x, y) — x is abscissa (horizontal), y is ordinate (vertical).
- Quadrant sign rules: I: (+, +), II: (−, +), III: (−, −), IV: (+, −).
- Vertical line: x = a (all points have abscissa a).
- Horizontal line: y = b (all points have ordinate b).
- Slope of a line (useful for straight lines): m = (y2 − y1) / (x2 − x1) — (extension beyond basic plotting).
- Distance between two points (extension): distance = sqrt((x2 − x1)^2 + (y2 − y1)^2).
Coordinates of a Point
What are coordinates? Coordinates of a point tell us its exact position on a flat surface called the Cartesian plane. A coordinate is written as an ordered pair (x, y), where x is the horizontal position and y is the vertical position.
Parts of the Cartesian plane
- Origin (O): the point (0, 0) where the two number lines meet.
- x-axis: the horizontal number line (positive to the right, negative to the left).
- y-axis: the vertical number line (positive upward, negative downward).
- Quadrants: the plane is divided into four regions numbered I, II, III and IV:
- Quadrant I: ( + , + )
- Quadrant II: ( - , + )
- Quadrant III: ( - , - )
- Quadrant IV: ( + , - )
Abscissa and Ordinate: In (x, y), x is called the abscissa (distance from y-axis) and y is called the ordinate (distance from x-axis).
How to plot a point (x, y)
- Start at the origin (0, 0).
- Move horizontally: x units to the right if x > 0, or |x| units to the left if x < 0.
- From that point move vertically: y units up if y > 0, or |y| units down if y < 0.
- Mark the point and label it (x, y).
Points on axes: If x = 0 the point lies on the y-axis (0, y). If y = 0 the point lies on the x-axis (x, 0).
Why this is useful: Coordinates let us locate places on maps, design plans, work with computer graphics (pixels), and describe positions in geometry precisely.
- Plot the point (3, 2): start at origin, move 3 units right, then 2 units up; mark and label (3, 2).
- Point (-4, 0) lies on the x-axis: from origin move 4 units left, you are on the x-axis; the coordinate is (-4, 0).
- Determine the quadrant of (-2, 5): x is negative, y is positive => Quadrant II.
- Find the horizontal distance between A(2, 4) and B(5, 4): since y-values equal, distance = |5 - 2| = 3 units.
- Coordinate of a point: P = (x, y) where x = abscissa, y = ordinate.
- Point lies on x-axis if y = 0 (point is (x, 0)); on y-axis if x = 0 (point is (0, y)).
- Quadrant sign rules: I(+,+), II(-,+), III(-,-), IV(+,-).
- Horizontal distance between (x1, y) and (x2, y): |x2 - x1|. Vertical distance between (x, y1) and (x, y2): |y2 - y1|.
- Midpoint of two points (extension): midpoint of (x1, y1) and (x2, y2) is ((x1 + x2)/2, (y1 + y2)/2).
- Distance between two points (extension): sqrt((x2 - x1)^2 + (y2 - y1)^2).
Plotting Points on the Plane
What is the Cartesian plane? The Cartesian (or coordinate) plane is formed by two number lines that cross at right angles: the horizontal line is the x-axis and the vertical line is the y-axis. Their intersection is the origin (0,0). The plane is divided into four quadrants numbered I, II, III and IV (anti-clockwise), where signs of coordinates are:
- Quadrant I: (x, y) both positive.
- Quadrant II: x negative, y positive.
- Quadrant III: both negative.
- Quadrant IV: x positive, y negative.
Ordered pairs (x, y): Every point on the plane is written as an ordered pair (x, y). The first number x is the abscissa (horizontal position) and the second number y is the ordinate (vertical position). Order matters: (2, 3) is different from (3, 2).
How to plot a point (x, y):
- Start at the origin (0,0).
- Move along the x-axis: x units to the right if x > 0, left if x < 0. If x = 0 stay on the y-axis.
- From that position move parallel to the y-axis: y units up if y > 0, down if y < 0. If y = 0 stay on the x-axis.
- Mark the point and label it with its ordered pair.
Reading a point from the graph: To read the coordinates of a plotted point, trace vertically to the y-axis (to find y) and horizontally to the x-axis (to find x), or use grid lines if present. Always write (x, y).
Useful observations: Points on the x-axis have y = 0 (e.g., (4,0)). Points on the y-axis have x = 0 (e.g., (0,-3)). If two points lie on the same horizontal line, they share the same y; if they lie on the same vertical line, they share the same x.
- Plot A(3, 2): from origin move 3 units to the right, then 2 units up. A is in Quadrant I.
- Plot B(-4, 1): move 4 units left from origin, then 1 unit up. B is in Quadrant II.
- Plot C(-2, -3): move 2 units left, then 3 units down. C is in Quadrant III.
- Plot D(0, 4): x = 0 so point lies on the y-axis at 4 units above origin.
- Given points P(2, 3) and Q(5, 3) — they lie on the same horizontal line; distance PQ = |5 - 2| = 3 units.
- Point notation: (x, y) where x = abscissa (horizontal), y = ordinate (vertical).
- Quadrant sign rules: I:(+,+), II:(-,+), III:(-,-), IV:(+,-).
- Distance between two points on same horizontal line (y1 = y2): distance = |x2 - x1|.
- Distance between two points on same vertical line (x1 = x2): distance = |y2 - y1|.
- Extension (Class 9 topic): distance between any two points (x1,y1) and (x2,y2) = sqrt((x2-x1)^2 + (y2-y1)^2).
Linear Equations in Two Variables and Their Solutions
What is a linear equation in two variables?
A linear equation in two variables x and y is an equation of the form ax + by + c = 0 (or ax + by = c), where a and b are not both zero. Each solution is an ordered pair (x, y) that satisfies the equation.
Key idea — solutions and graph
- For a single linear equation in two variables there are infinitely many solutions. These solutions form all points (x, y) that lie on a straight line in the Cartesian plane.
- If you substitute a value for x (or y) and solve for y (or x), you get a corresponding value that makes an ordered pair — one solution. Repeating with different x gives many solutions.
Algebraic method to get solutions
- Write the equation in the form ax + by = c or y = mx + c.
- Choose convenient values of x (for example x = 0, 1, 2 or values that make y integer). For each chosen x, calculate y to get ordered pairs (x, y).
- Plot these points on graph paper and join them — they lie on a straight line.
Geometric meaning
The graph of a linear equation in two variables is a straight line. Every point on that line is a solution of the equation. Two different linear equations give two lines — their intersection (if any) gives common solution(s):
- One intersection point → a unique solution to the pair of equations.
- Lines parallel → no common solution.
- Same line (coincident) → infinitely many common solutions.
Special cases
- Vertical line: x = k (no y-term). It is a linear equation; slope is undefined.
- Horizontal line: y = k (no x-term). Slope = 0.
- Example 1 (finding solutions): For 2x + 3y = 12. Let x = 0 → 3y = 12 → y = 4 → (0, 4). Let x = 3 → 6 + 3y = 12 → 3y = 6 → y = 2 → (3, 2). Let x = 6 → 12 + 3y = 12 → y = 0 → (6, 0). These points lie on one straight line — all are solutions.
- Example 2 (check a pair): Is (3, 2) a solution of 2x + 3y = 12? Substitute: 2(3) + 3(2) = 6 + 6 = 12. Yes, so (3, 2) is a solution.
- Example 3 (real-life cost): A shop sells pens at Rs 10 each and pencils at Rs 4 each. If a customer spends Rs 60 on pens and pencils, the equation 10x + 4y = 60 (x = number of pens, y = number of pencils) represents all combinations. One solution: x = 6, y = 0 (6 pens), another: x = 2, then 20 + 4y = 60 → y = 10 (2 pens and 10 pencils).
- Example 4 (mixture/proportion): A recipe needs 2 cups of flour and 3 cups of sugar per batch. If you want batches that use a total of 20 cups of ingredients, equation 2x + 3y = 20 (x = number of flour-units, y = sugar-units) shows possible combinations; solving for integer pairs gives feasible proportions.
- General form: ax + by + c = 0 (a and b not both zero)
- Standard form: ax + by = c
- Slope-intercept form: y = mx + b, where m is slope and b is y-intercept
- Slope from standard form ax + by = c: m = -a/b (provided b ≠ 0)
- x-intercept (set y = 0): x = c/a for ax + by = c (if a ≠ 0)
- y-intercept (set x = 0): y = c/b for ax + by = c (if b ≠ 0)
Graph of a Linear Equation in Two Variables
Definition: A linear equation in two variables is an equation of the form ax + by + c = 0 (where a and b are not both zero). Any ordered pair (x, y) that satisfies the equation is called a solution. The graph of a linear equation in two variables is the set of all its solutions plotted as points in the Cartesian plane — these points always lie on a straight line.
How to draw the graph:
- Rewrite the equation (if convenient) as y = mx + c or keep ax + by + c = 0.
- Choose at least two different values of x (three is safer). For each x compute the corresponding y. Make a table of values (x, y).
- Plot the points on the Cartesian plane and join them with a ruler. The resulting figure is a straight line — the graph of the equation.
Important concepts:
- Slope (gradient): For y = mx + c the slope is m = rise/run. If m > 0 the line rises to the right; if m < 0 it falls; m = 0 gives a horizontal line. A vertical line has equation x = k and undefined slope.
- Intercepts: The y-intercept is the point where the line crosses the y-axis (x = 0). For y = mx + c it is (0, c). The x-intercept is where it crosses the x-axis (y = 0).
- Relationship with ax + by + c = 0: You can write y = (-a/b)x + (-c/b) when b ≠ 0, so slope = -a/b and y-intercept = -c/b.
Tips: Always label axes, mark scale, plot at least two correct points and use a ruler to draw the line. Verify by checking a third point from your table.
- Example 1 — x + y = 5: Table: x=0 → y=5 (0,5); x=1 → y=4 (1,4); x=5 → y=0 (5,0). Plot these points and join to get a straight line. x-intercept = (5,0), y-intercept = (0,5).
- Example 2 — 2x - y = 4 (rewrite y = 2x - 4): Table: x=0 → y=-4 (0,-4); x=2 → y=0 (2,0); x=3 → y=2 (3,2). Plot and join. Slope m = 2 (line rises 2 units for 1 unit right).
- Example 3 — y = -1/2 x + 3: Table: x=0 → y=3 (0,3); x=2 → y=2 (2,2); x=4 → y=1 (4,1). Plot points and join. Slope m = -1/2 (line falls to the right).
- General form: ax + by + c = 0 (a and b not both 0).
- Slope-intercept form: y = mx + c (m is slope, c is y-intercept).
- Slope from ax + by + c = 0: m = -a/b (when b ≠ 0).
- x-intercept: set y = 0 → solve for x. For ax + by + c = 0, x-intercept = (-c/a) if a ≠ 0.
- y-intercept: set x = 0 → solve for y. For ax + by + c = 0, y-intercept = (-c/b) if b ≠ 0.
- Slope between two points (x1,y1) and (x2,y2): m = (y2 - y1)/(x2 - x1).
Intercepts and Special Points
What are intercepts? The intercepts of a graph are the points where the graph meets the coordinate axes. The x-intercept is the point where the graph crosses the x-axis (y = 0). The y-intercept is the point where the graph crosses the y-axis (x = 0).
How to find intercepts algebraically
- To find the x-intercept of an equation in x and y, set y = 0 and solve for x. The x-intercept is the point (x, 0).
- To find the y-intercept, set x = 0 and solve for y. The y-intercept is the point (0, y).
Special points
- Origin: The point (0,0). If a graph passes through the origin, both intercepts are zero.
- Intercepts: The two basic special points where a graph meets the axes: (x-intercept) and (y-intercept).
- Intersection point of two graphs: The point(s) where two graphs meet. For two straight lines, their intersection point is the solution of the two equations (simultaneous solution).
Graphing idea and interpretation
- Plotting intercepts first makes drawing straight-line graphs easier: mark the x-intercept and y-intercept, then join them to get the line.
- Intercepts often have real-life meaning: the y-intercept can represent a starting value (initial amount, fixed cost, starting position), while the x-intercept can represent the moment when a quantity becomes zero (time when money runs out, distance becomes zero, etc.).
Notes on different kinds of lines
- For a non-vertical straight line, there will be exactly one y-intercept. For a non-horizontal straight line, there will be exactly one x-intercept (unless the line passes through the origin).
- Vertical lines have the form x = a and intersect the x-axis at (a, 0); they do not have a y as a function of x. Horizontal lines have the form y = b and intersect the y-axis at (0, b).
- Example 1: Equation 2x + 3y = 6. Find intercepts. Set y = 0 → 2x = 6 → x = 3 so x-intercept is (3, 0). Set x = 0 → 3y = 6 → y = 2 so y-intercept is (0, 2).
- Example 2: Equation y = 2x - 4. y-intercept: set x = 0 → y = -4 → (0, -4). x-intercept: set y = 0 → 0 = 2x - 4 → x = 2 → (2, 0).
- Example 3 (real life — cost): If total cost C (in rupees) = 50x + 200, where x is number of items, the y-intercept is (0, 200). This means when zero items are produced, fixed cost is ₹200. The x-intercept is when total cost becomes zero (not realistic here because fixed cost positive), but algebraically x = -200/50 = -4 (outside practical domain).
- Example 4 (real life — temperature/starting value): Temperature T after t hours given by T = -2t + 30. y-intercept (0, 30) means initial temperature 30. x-intercept found by 0 = -2t + 30 → t = 15 hours when temperature becomes 0.
- Example 5 (intersection of two lines): Solve y = x + 1 and y = -2x + 4. Put equal: x + 1 = -2x + 4 → 3x = 3 → x = 1, then y = 2. The graphs meet at (1, 2).
- General rule: x-intercept: set y = 0. y-intercept: set x = 0.
- For ax + by = c (a ≠ 0, b ≠ 0): x-intercept = (c/a, 0); y-intercept = (0, c/b).
- For y = mx + c: y-intercept = (0, c). x-intercept: set y = 0 → 0 = mx + c → x = -c/m, so x-intercept = (-c/m, 0) provided m ≠ 0.
- Vertical line: x = k → intercept on x-axis at (k, 0); no finite y = f(x) form. Horizontal line: y = k → intercept on y-axis at (0, k).
- Intersection of two lines: solve the two equations simultaneously to get the coordinates of the intersection point.
Reading and Interpreting Graphs
Graphs are visual ways to represent numerical information so we can see patterns, trends and relationships quickly. In the Cartesian plane a graph is made by two perpendicular number lines called axes: the horizontal axis (x-axis) and the vertical axis (y-axis). Each point on the plane is an ordered pair (x, y) that tells how far to move along x and how far to move along y.
To read or interpret a graph you must first check the title, axis labels (including units) and the scale on each axis. Scales tell you how many units each mark represents. When points are plotted and joined (for example, in a line graph) you can read values directly, compare quantities, find maximum or minimum values, and determine how one quantity changes with another.
Key skills when reading graphs:
- Identify axes, labels, units and scale.
- Read coordinates: an ordered pair (x, y) means x on the horizontal axis and y on the vertical axis.
- Find values at given points by tracing horizontally and vertically to the axes.
- Interpret slope or rate of change: slope = change in y divided by change in x. For a distance-time graph, slope gives speed.
- Use interpolation to estimate values between plotted points and extrapolation to predict beyond the given data (use with caution).
Interpreting different types of graphs:
- Line graphs show how a quantity changes over a continuous variable like time.
- Bar graphs show comparisons between categories.
- Pictographs use symbols to represent counts.
Always check for missing information, non-uniform scales, and whether the graph represents exact values or estimates.
- Example 1: Temperature over a week. Given daily temperatures plotted on a line graph, read the temperature on Wednesday by locating Wednesday on the x-axis and moving up to the plotted point; then read the y-axis to find the temperature. Determine the hottest and coldest days by observing the highest and lowest points.
- Example 2: Distance-time graph. Points (0,0), (1,5), (2,10) represent distance in km at times in hours. Slope between (1,5) and (2,10) = (10-5)/(2-1) = 5 km/h, so the object travels at 5 km/h. A straight line through these points shows constant speed.
- Example 3: Plotting and reading coordinates. Plot points (2,3), (4,1) and (6,5). To find the y-value when x = 4, locate x=4 and read the y value of the plotted point: y = 1.
- Example 4: Bar graph of marks. If bar heights for students A, B, C are 72, 85, 60 respectively, compare scores to say B scored highest and C lowest, and find the difference between A and B by subtracting 72 from 85.
- (x, y) denotes an ordered pair: x is horizontal coordinate, y is vertical coordinate
- Slope (gradient) of a line through points (x1, y1) and (x2, y2): slope = (y2 - y1)/(x2 - x1)
- Linear equation of a straight line: y = mx + c, where m is slope and c is y-intercept
- Speed from a distance-time graph: speed = change in distance / change in time = Δy / Δx
- Interpolation: estimate value between known data points; Extrapolation: estimate value outside known range (use with caution)
Domain and Range (Contextual)
What are Domain and Range?
When a relationship between two quantities is shown (by a table, a rule y = f(x), or a graph), the domain is the set of all possible input values (usually x-values, independent variable) and the range is the set of all corresponding output values (y-values, dependent variable).
Context matters: In real-life situations the domain and range are often restricted by the context. For example, number of students must be a non‑negative integer; time in hours can be continuous but is usually limited to a certain interval (e.g., 0 to 24).
Discrete vs Continuous:
- Discrete data: Inputs take separate values (e.g., 0,1,2,3). Graphs use isolated points. Domain and range are sets of distinct values.
- Continuous data: Inputs vary over an interval (e.g., 0 ≤ t ≤ 24). Graphs are curves or lines. Domain and range are intervals of numbers.
How to find domain and range:
- From context: decide what values make sense (e.g., quantity cannot be negative, age typically within a range).
- From a graph: project all points onto the x-axis to get the domain and onto the y-axis to get the range (include end-points, and note if end-points are open or closed).
- From a formula: identify values x can take (avoid forbidden values like division by zero) and compute corresponding y-values.
Important notes for Class 8: Domain and range are often given as lists (for discrete cases) or intervals (for continuous cases). Always state any contextual restrictions (integers only, non‑negative, limited interval of time, etc.).
- Example 1 — Number of books read in 5 days: Day (x) = {1,2,3,4,5}, Books read (y) = {2,0,3,1,4}. Domain = {1,2,3,4,5} (discrete). Range = {0,1,2,3,4}.
- Example 2 — Temperature during a day: Time t in hours 0 ≤ t ≤ 24, Temperature T(t) may vary continuously, so Domain = [0,24], Range = [minimum temperature, maximum temperature] (continuous interval determined from data).
- Example 3 — Cost of apples: Cost C = 30 × q rupees where q is quantity of kg. Context: q ∈ {0,1,2,3,...} (non‑negative integers) if sold in whole kgs. Domain = {0,1,2,...}, Range = {0,30,60,90,...}. If sold by weight continuously, domain could be [0,∞).
- Example 4 — Seats occupied in a classroom over periods: Periods (x) = {1,2,3,4}, Seats occupied (y) = {25,28,30,27}. Domain = {1,2,3,4}, Range = {25,27,28,30}.
- Example 5 — Height vs Age for a single child between ages 0 and 18: Domain = [0,18] (age in years), Range = [minimum height, maximum height] in that period (continuous).
- If y = f(x), Domain = {x : f(x) is defined and makes sense in context}, Range = {y : y = f(x) for some x in the domain}.
- Set notation examples: Domain = {1,2,3,4,5} or Domain = [0,24] (interval notation). Range = {0,30,60,...} or Range = [a,b].
- Projection method (graph): Domain = projection of graph points onto x-axis; Range = projection onto y-axis.
- Contextual restriction: If a quantity must be integer and non‑negative, express Domain ⊆ {0,1,2,...}.
Applications and Problem Solving by Graphing
Graphing converts numerical relationships into visual form so we can read values, compare quantities, find rates and intersections, and solve problems quickly. In Class 8 the main focus is on plotting data as ordered pairs (x, y) on the Cartesian plane and using straight-line graphs (linear relationships) or simple curves to answer questions.
Key steps when solving problems by graphing:
- Identify the two variables and write data as ordered pairs (x, y).
- Choose suitable scales for x- and y-axes so the data fits comfortably on the graph paper.
- Label axes with variable names and units, and mark the scale clearly.
- Plot each ordered pair accurately and, if the relationship is linear, join the points with a straight line (or use a smooth curve for non-linear data).
- Use the graph to read values (interpolation), find when two quantities are equal (intersection), calculate rate (slope), or predict values (extrapolation with caution).
Common uses and interpretations:
- Reading a value: Find y for a given x by moving vertically from x to the graph and then horizontally to the y-axis.
- Finding time/value when quantities are equal: The intersection point of two graphs gives the x and y where they match.
- Interpreting slope (for straight lines): slope = change in y / change in x gives a rate (e.g., speed = distance/time, cost per item = total cost/number of items).
- Estimating between measured points (interpolation) or cautiously predicting beyond measured points (extrapolation).
Tips for accuracy: use a ruler for straight lines, plot points with small neat dots, check scales, and label intersections or important points. For word problems, always write the units on axes and in final answers.
- Example 1 — Distance–Time problem: Data: A car covers distances 0 km, 30 km, 60 km, 90 km at times 0 h, 1 h, 2 h, 3 h respectively. Convert to ordered pairs (0,0), (1,30), (2,60), (3,90). Plot time on x-axis (hours) and distance on y-axis (km). Join points to get a straight line. To find distance at 2.5 h read y at x = 2.5 (interpolation) = 75 km. The slope = (90−0)/(3−0) = 30 km/h = speed.
- Example 2 — When do two savings match (intersection): Ravi saves 200 rupees per month starting at 100 rupees; Seema saves 150 rupees per month starting at 250 rupees. Equations: Ravi: S = 200m + 100, Seema: S = 150m + 250. Make a table for months m = 0,1,2,3... Plot both lines on the same graph. Their intersection gives month m and savings S where they are equal. Algebraically find intersection: 200m + 100 = 150m + 250 ⇒ 50m = 150 ⇒ m = 3 months; S = 700 rupees.
- Example 3 — Cost vs Number of items (unit cost): A shop charges ₹50 as fixed fee plus ₹30 per item. For n items total cost C = 30n + 50. Plot n on x-axis, C on y-axis; points: (0,50), (1,80), (2,110). The slope 30 is cost per item. Use the graph to find how many items for a cost of ₹260: draw horizontal line at C = 260; read x where it meets the line: n = 7 (since 30*7 + 50 = 260).
- Slope (rate) of a line through (x1,y1) and (x2,y2): m = (y2 − y1) / (x2 − x1). Slope often represents a rate (e.g., speed).
- Equation of a straight line in slope-intercept form: y = mx + c, where m is slope and c is y-intercept (value of y when x = 0).
- Point-slope form: y − y1 = m(x − x1) — useful to write the line through a known point with slope m.
- Rate formula (applied): Rate = change in dependent quantity / change in independent quantity. Example: speed = Δdistance / Δtime.
- Linear interpolation (to estimate y at x between x1 and x2): y = y1 + ( (y2 − y1) / (x2 − x1) ) * (x − x1 ).
Key Concepts
- Graph
- A pictorial representation that shows the relationship between two variables using points on a plane.
- Cartesian plane
- A plane formed by two perpendicular number lines called the x-axis and y-axis.
- Coordinate axes
- The two perpendicular lines (x-axis horizontal, y-axis vertical) used to plot points on the Cartesian plane.
- Origin
- The point of intersection of the x-axis and y-axis, with coordinates (0, 0).
- Ordered pair (coordinates)
- A pair (x, y) that gives the position of a point: x is the abscissa and y is the ordinate.
- Abscissa
- The x-coordinate of a point, indicating horizontal distance from the origin.
- Ordinate
- The y-coordinate of a point, indicating vertical distance from the origin.
- Quadrants
- The four regions of the Cartesian plane numbered I to IV anticlockwise starting from the top-right.
- Plotting a point
- Locating a point on the Cartesian plane by moving along the x-axis to the abscissa and then parallel to the y-axis to the ordinate.
- Table of values
- A list of chosen x-values and their corresponding y-values used to obtain points for plotting a graph.
- Graph of an equation
- The set of all points (x, y) in the plane that satisfy a given equation.
- Linear equation in two variables
- An equation of form ax + by + c = 0 (a and b not both zero) whose graph is a straight line.
- Linear graph
- The graph of a linear equation in two variables; it is a straight line.
- Non-linear graph
- A graph that is not a straight line, such as curves, parabolas, circles, etc.
- Continuous graph
- A graph in which points are connected and all intermediate points between plotted values are included.
- Discrete graph
- A graph consisting of isolated points representing only specific (often integer) values.
- Scale
- The chosen unit length on an axis that represents a fixed number of units of the variable.
- Intercepts
- Points where a graph meets the axes: x-intercept where y = 0, y-intercept where x = 0.
- Domain
- The set of all possible x-values (input values) for which a relation or function is defined.
- Range
- The set of all possible y-values (output values) that a relation or function can take.
End-of-Chapter Trial Paper & Test Questions
Topic-wise questions to test your understanding of every concept in this chapter.
-
In the Cartesian plane, where is the origin located? / कार्तीय तल में मूल बिंदु कहाँ होता है? (a) At (1, 1) / (1, 1) पर (b) At (0, 0) / (0, 0) पर (c) On the x-axis only / केवल x-अक्ष पर (d) On the y-axis only / केवल y-अक्ष पर
Show answer
(b) — The origin is the point where the x-axis and y-axis intersect, always at the coordinates (0, 0). / मूल बिंदु वह स्थान है जहाँ x-अक्ष और y-अक्ष एक-दूसरे को काटते हैं, हमेशा निर्देशांक (0, 0) पर।
-
A point (−3, 4) lies in which quadrant? / बिंदु (−3, 4) किस चतुर्थांश में है? (a) Quadrant I / चतुर्थांश I (b) Quadrant II / चतुर्थांश II (c) Quadrant III / चतुर्थांश III (d) Quadrant IV / चतुर्थांश IV
Show answer
(b) — Quadrant II has x < 0 and y > 0. Here x = −3 (negative) and y = 4 (positive), so the point is in Quadrant II. / चतुर्थांश II में x < 0 और y > 0। यहाँ x = −3 (ऋणात्मक) और y = 4 (धनात्मक), इसलिए बिंदु चतुर्थांश II में है।
-
The graph of the linear equation y = 3x − 2 is a _____. / रैखिक समीकरण y = 3x − 2 का ग्राफ _____ है। (a) Curve / वक्र (b) Parabola / परवलय (c) Straight line / सीधी रेखा (d) Circle / वृत्त
Show answer
(c) — Every linear equation in two variables (of the form y = mx + c) has a straight line as its graph in the Cartesian plane. / दो चरों में प्रत्येक रैखिक समीकरण (y = mx + c) का ग्राफ कार्तीय तल में सीधी रेखा होता है।
-
In the ordered pair (x, y), x is called the _____ and y is called the _____. / क्रमित युग्म (x, y) में x को _____ और y को _____ कहते हैं।
Show answer
x is the abscissa (horizontal coordinate); y is the ordinate (vertical coordinate). / x को भुज (क्षैतिज निर्देशांक) और y को कोटि (ऊर्ध्वाधर निर्देशांक) कहते हैं। — The abscissa measures horizontal distance from origin; ordinate measures vertical distance. / भुज मूल बिंदु से क्षैतिज दूरी और कोटि ऊर्ध्वाधर दूरी मापता है।
-
Every point on the y-axis has x-coordinate equal to _____. / y-अक्ष पर प्रत्येक बिंदु का x-निर्देशांक _____ होता है।
Show answer
0 / 0 — Points on the y-axis are directly above or below the origin, so they have moved 0 units horizontally, making x = 0 for all such points. / y-अक्ष पर बिंदु मूल बिंदु के ठीक ऊपर या नीचे होते हैं, इसलिए उनका x = 0।
-
True or False: For a direct proportion y = kx, the graph always passes through the origin (0, 0). / सत्य या असत्य: सीधे अनुपात y = kx के लिए ग्राफ सदैव मूल बिंदु (0, 0) से गुजरता है।
Show answer
True / सत्य — In y = kx, when x = 0, y = k × 0 = 0, so the point (0, 0) always lies on the line. This is the defining property of direct proportion. / y = kx में x = 0 पर y = 0, इसलिए (0, 0) सदैव रेखा पर है। यह सीधे अनुपात का मूल गुण है।
-
From a distance-time graph, a student reads that a car covers 60 km in 2 hours. What is the car's speed? / दूरी-समय ग्राफ से एक छात्र पढ़ता है कि एक कार 2 घंटे में 60 km तय करती है। कार की गति क्या है?
Show answer
30 km/h / 30 km/h — Speed = slope of distance-time graph = (change in distance) / (change in time) = 60 / 2 = 30 km/h. A steeper slope means higher speed. / गति = दूरी-समय ग्राफ का ढाल = दूरी में परिवर्तन / समय में परिवर्तन = 60/2 = 30 km/h।
-
Plot the points A(2, 3), B(−1, 4) and C(0, −2) on the Cartesian plane. Identify the quadrant (or axis) for each. / कार्तीय तल पर A(2, 3), B(−1, 4) और C(0, −2) बिंदु अंकित करें और प्रत्येक के चतुर्थांश (या अक्ष) की पहचान करें।
Show answer
A(2,3) → Quadrant I (+,+); B(−1,4) → Quadrant II (−,+); C(0,−2) → y-axis (x = 0). / A(2,3) → चतुर्थांश I (+,+); B(−1,4) → चतुर्थांश II (−,+); C(0,−2) → y-अक्ष (x = 0)। — From origin, move right/left for x and up/down for y. If x = 0, point lies on the y-axis. / मूल बिंदु से x के लिए दाएँ/बाएँ और y के लिए ऊपर/नीचे जाएँ। x = 0 होने पर बिंदु y-अक्ष पर है।
Related Laws & Principles
Explore allFoundational laws & principles behind this chapter. Each one opens a full page — what it says, why it matters, five practice questions and the mistakes to avoid.