Graphs of Linear, Quadratic and Modulus Functions
Quantitative Aptitude › Set Theory, Functions and Graphs · Topic 23.5
The graph of a linear function y = mx + c is a straight line with slope m and y-intercept c, a quadratic y = ax² + bx + c gives a parabola with vertex at x = -b/(2a), and a modulus function such as y = |x - h| gives a V-shape with its vertex at x = h.
5 min read · Quantitative Aptitude · Set Theory, Functions and Graphs
Quick Answer
The graph of a linear function y = mx + c is a straight line with slope m and y-intercept c, a quadratic y = ax² + bx + c gives a parabola with vertex at x = -b/(2a), and a modulus function such as y = |x – h| gives a V-shape with its vertex at x = h.
At a Glance
- Line y = mx + c
- Parabola vertex x = -b/(2a)
- Modulus y = |x – h|, vertex at x = h
- Opens upward a > 0
- Roots Where the graph meets the x-axis
Where Does It Fit?
This topic builds on Functions – Domain, Range and Types of Functions (One-One, Onto, Bijective) and uses the algebra of Linear Equations in One and Two Variables and Quadratic Equations – Nature of Roots and Discriminant. The maximum and minimum idea continues in Maxima and Minima of Functions Using Calculus Concepts (CAT-Level).
How Do You Draw a Linear Graph?
In short: y = mx + c is a straight line. Plot the two intercepts and join them.
| Feature | For y = mx + c |
|---|---|
| Slope | m (rise over run) |
| y-intercept | c (set x = 0) |
| x-intercept | -c/m (set y = 0) |
| Parallel lines | Same slope |
| Perpendicular lines | Slopes with product -1 |
Coordinate methods are covered in Midpoint Formula and Centroid of a Triangle Using Coordinates.
What Does a Quadratic Graph Look Like?
In short: y = ax² + bx + c is a parabola. It opens upward if a is positive and downward if a is negative.
Key points
- Vertex: x = -b/(2a); put this x in the equation for y.
- Roots (x-intercepts): solve ax² + bx + c = 0.
- y-intercept: c.
- Axis of symmetry: x = -b/(2a).
- Discriminant b² – 4ac: positive means two roots, zero means one, negative means none.
How Does the Modulus Graph Behave?
In short: y = |x| is V-shaped with its vertex at the origin. y = |x – h| shifts the vertex to x = h, and y = |x| + k lifts it by k.
- Slopes: -1 on the left arm and +1 on the right arm.
- Equations: |x – h| = k has two solutions h + k and h – k when k is positive, one when k is zero and none when k is negative.
- Area: the region between y = |x| and y = k is a triangle with area k².
Solved Examples
Example 1
Question: For the line y = 2x + 3, find the slope, y-intercept and x-intercept.
- The slope is 2 and the y-intercept is 3.
- Set y = 0: 2x + 3 = 0, so x = -3/2.
Answer: Slope 2, y-intercept 3, x-intercept -3/2.
Example 2
Question: Find the vertex and roots of y = x² – 4x + 3.
- Vertex x = -(-4)/2 = 2; y = 4 – 8 + 3 = -1.
- Roots: (x – 1)(x – 3) = 0, so x = 1 or 3.
Answer: The vertex is (2, -1), and the roots are 1 and 3.
Example 3
Question: Describe the graph of y = |x – 2|.
- The vertex is at x = 2, where y = 0.
- At x = 0, y = 2.
- The left arm has slope -1 and the right arm has slope +1.
Answer: A V with vertex (2, 0) passing through (0, 2) and (4, 2).
Example 4
Question: Solve |x – 2| = 3.
- x – 2 = 3 or x – 2 = -3.
Answer: x = 5 or x = -1.
Example 5
Question: Find the area of the triangle between y = |x| and y = 4.
- The lines meet at (-4, 4) and (4, 4), with the vertex at the origin.
- Base = 8 and height = 4, so area = (1/2)(8)(4).
Answer: The area is 16 square units.
Shortcuts and Tricks
- For a quadratic, find the vertex first, then the roots.
- If a is negative the parabola has a maximum at the vertex.
- For |x – h|, the solutions of |x – h| = k are h ± k.
- To find where two graphs meet, set the two expressions equal and solve.
- Use symmetry: roots of a parabola are equally far from the axis.
Common Mistakes
- Using the wrong sign in the vertex formula x = -b/(2a).
- Forgetting that |x – h| shifts the vertex to the right by h.
- Treating the modulus graph as a straight line.
- Missing the second solution of a modulus equation.
- Confusing the x-intercept with the y-intercept.
Practice Questions
- Find the slope of 3x – 2y = 6.
- Find the vertex of y = x² + 6x + 5.
- Find the roots of x² – 5x + 6 = 0.
- How many solutions does |x| = -1 have?
- Find the maximum of y = -x² + 4.
- Find the intersection of y = x + 1 and y = 3 – x.
Answers: 1) 3/2; 2) (-3, -4); 3) 2 and 3; 4) none; 5) 4; 6) (1, 2).
Why Is This Topic Important?
- Visual reasoning Graphs make equations easier to compare.
- Exam use Questions on intersections and roots are common in CAT.
- Link The vertex idea leads to Maxima and Minima of Functions Using Calculus Concepts (CAT-Level).
What Comes Next?
The next topic is Maxima and Minima of Functions Using Calculus Concepts (CAT-Level), which finds the maximum and minimum of a function using derivatives.
Key Terms and Formulas
- Slope Rise divided by run
- Vertex Turning point of a parabola or modulus graph
- Intercept Point where the graph meets an axis
- Axis of symmetry The vertical line through the vertex of a parabola
Related Topics
- Composite Functions and Inverse Functions
- Maxima and Minima of Functions Using Calculus Concepts (CAT-Level)
- Set Theory – Union, Intersection, Complement and Venn Diagram Problems
- Set Theory Problems Involving Three Overlapping Sets
Exam Corner
Points to Remember
- Line: y = mx + c.
- Vertex of a parabola: x = -b/(2a).
- |x – h| = k gives h + k and h – k.
- a positive opens up; a negative opens down.
Do Not Confuse With
- x-intercept vs y-intercept Set y = 0 for the first and x = 0 for the second.
- Vertex vs root The vertex is the turning point; roots are where the graph meets the x-axis.
- |x| vs x |x| is never negative and has a V shape.
Memory Hook
Line by slope, parabola by vertex, modulus by V.
GS Relevance
Frequently Asked Questions
What is the graph of y = mx + c?
The graph of y equal to mx plus c is a straight line with slope m and y-intercept c. It meets the y-axis at the point 0, c and the x-axis at minus c over m, so two points are enough to draw it, and parallel lines share the same slope.
How do you find the vertex of a parabola?
The x-coordinate of the vertex of y equal to ax squared plus bx plus c is minus b over 2a, and the y-coordinate is found by substituting that x. For y equal to x squared minus 4x plus 3, the vertex is at 2, minus 1.
What does the graph of y = |x| look like?
The graph of y equal to the modulus of x is a V shape with its vertex at the origin. Its left arm has slope minus 1 and its right arm has slope plus 1, and the values of y are never negative for any real x.
How many solutions does |x - 2| = 3 have?
The equation has two solutions, x equal to 5 and x equal to minus 1. The modulus equals 3 when x minus 2 is 3 or minus 3, and the two points lie 3 units on either side of the vertex at x equal to 2.
When does a parabola open upward?
A parabola y equal to ax squared plus bx plus c opens upward when a is positive and downward when a is negative. An upward parabola has a minimum at its vertex, while a downward one has a maximum, which is the largest value of the quadratic.
PYQ Practice — Statement Analysis
1 The vertex of y = ax² + bx + c has x-coordinate -b/(2a).
This is the axis of symmetry.
2 The graph of y = |x| is a straight line.
It is V-shaped.
3 The equation |x - 2| = 3 has solutions x = 5 and x = -1.
x - 2 = 3 or -3.
4 A parabola with a negative leading coefficient opens upward.
It opens downward.
Related Topics
Browse the full Quantitative Aptitude index