S3-SA5-0009
What is a Linear Function?
Grade Level:
Class 9
AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering
Definition
What is it?
A linear function is a relationship between two variables where a change in one variable always causes a proportional change in the other. When you plot a linear function on a graph, it always forms a straight line.
Simple Example
Quick Example
Imagine you pay Rs. 10 for a cup of chai. If you buy 1 cup, you pay Rs. 10. If you buy 2 cups, you pay Rs. 20. If you buy 3 cups, you pay Rs. 30. The total cost is a linear function of the number of chai cups you buy, because the cost increases by a fixed amount (Rs. 10) for each additional cup.
Worked Example
Step-by-Step
Problem: An auto-rickshaw charges a base fare of Rs. 20 and then Rs. 8 per kilometer. Write a linear function for the total cost (C) in terms of distance (d) and calculate the cost for a 5 km ride.
Step 1: Identify the fixed cost and the variable cost. The fixed cost is the base fare = Rs. 20. The variable cost is Rs. 8 per kilometer.
---
Step 2: Write the general form of a linear function: y = mx + c. Here, C is the total cost (y), d is the distance (x), m is the rate per kilometer (slope), and c is the base fare (y-intercept).
---
Step 3: Substitute the values into the general form. So, C = 8d + 20.
---
Step 4: To find the cost for a 5 km ride, substitute d = 5 into the function.
---
Step 5: C = 8(5) + 20
---
Step 6: C = 40 + 20
---
Step 7: C = 60
---
Answer: The total cost for a 5 km ride is Rs. 60.
Why It Matters
Linear functions are super important because they help us predict and understand how things change in a simple, predictable way. Engineers use them to design structures, economists use them to model prices, and even AI models use them for basic predictions. Understanding them can open doors to careers in data science, engineering, and finance!
Common Mistakes
MISTAKE: Confusing linear functions with non-linear functions (like quadratic functions) because both involve variables. | CORRECTION: Remember, a linear function always has variables raised to the power of 1 (like x, not x^2 or sqrt(x)) and graphs as a straight line.
MISTAKE: Incorrectly identifying the slope (rate of change) and the y-intercept (starting point). | CORRECTION: The slope is always the number multiplied by the variable (like 'm' in y=mx+c), and the y-intercept is the constant added or subtracted (like 'c').
MISTAKE: Thinking that 'linear' means the line must pass through the origin (0,0). | CORRECTION: A linear function only passes through the origin if its y-intercept is 0. Otherwise, it crosses the y-axis at a different point.
Practice Questions
Try It Yourself
QUESTION: The cost of sending a parcel is Rs. 50 plus Rs. 10 per kg. Write a linear function for the total cost (C) for a parcel weighing 'w' kg. | ANSWER: C = 10w + 50
QUESTION: If a linear function is given by y = 3x - 7, what is the value of y when x = 4? | ANSWER: y = 5
QUESTION: A taxi charges Rs. 15 per km. If a 10 km ride costs Rs. 160, what is the fixed base fare charged by the taxi? (Hint: Use C = mx + c). | ANSWER: The fixed base fare is Rs. 10.
MCQ
Quick Quiz
Which of the following equations represents a linear function?
y = x^2 + 3
y = 5x - 2
y = sqrt(x) + 1
y = 1/x
The Correct Answer Is:
B
Option B (y = 5x - 2) is a linear function because the variable 'x' is raised to the power of 1. Options A, C, and D involve x raised to other powers, square roots, or division by x, making them non-linear.
Real World Connection
In the Real World
Many apps we use daily rely on linear functions! For example, when you book a cab on Ola or Uber, the fare calculation (base fare + cost per km + cost per minute) is often modeled using a linear function. Even predicting cricket scores based on run rate over overs can involve linear approximations, helping commentators and analysts.
Key Vocabulary
Key Terms
VARIABLE: A quantity that can change or vary. | CONSTANT: A value that does not change. | SLOPE: The rate at which the dependent variable changes with respect to the independent variable; how steep the line is. | Y-INTERCEPT: The point where the line crosses the y-axis (when x=0). | EQUATION: A mathematical statement that shows two expressions are equal.
What's Next
What to Learn Next
Great job understanding linear functions! Next, you can explore how to graph linear functions, solve systems of linear equations, and understand their connection to real-world problems like calculating profit or loss. This will build a strong foundation for more advanced algebra!


