The Wayback Machine - https://web.archive.org/web/20241007145820/https://www.geeksforgeeks.org/x-and-y-intercept/
Open In App

X and Y Intercept

Last Updated : 20 Jun, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

The x-intercept is the point at which the graph crosses the x-axis. At this point, the y-coordinate is zero. The y-intercept is the point at which the graph crosses the y-axis. At this point, the x-coordinate is zero.

In this article, we will explore the definition of intercepts including both x and y intercepts, intercepts in graphs, and intercept formulas for various forms of line. By the end of this article, you’ll have a solid understanding of X-intercepts and Y-intercepts and how to use them in real-world applications.

What are X and Y-Intercepts?

Intercepts are the points on the x and y-axis respectively where any linear equation intersects. The following diagram shows a line with x and y-intercepts.

X and Y-Intercepts of a Line

X-Intercept

The point of intersection of a line and the x-axis is called the x-intercept and in the above diagram, Point A(a, 0) represents the x-intercepts of the line. The y-coordinate of the x-intercept is always 0. Thus, the general form of x-intercept is (x, 0)

Y-intercept

The point of intersection of a line and the y-axis is called the y-intercept and in the above diagram, Point B(0, b) represents the y-intercepts of the line. The x-coordinate of the y-intercept is always 0. Thus, the general form of y-intercept is (0, y)

How to Find X-Intercepts and Y-Intercepts?

For any general equation of a straight line equation i.e., Ax + By = C.

Divide the equation by C,

(Ax/C) + (By/C) = C/C

[Tex]\Rightarrow \frac{x}{C/A} + \frac{y}{C/B} = 1 [/Tex]

Now, putting y = 0, for the x-intercept we get

 [Tex]\Rightarrow \frac{x}{C/A} + \frac{0}{C/B} = 1 \\ \Rightarrow x = C/A [/Tex]

Thus, the x-intercept is (C/A, 0).

Now, putting x = 0, for the y-intercept we get

[Tex]\Rightarrow \frac{0}{C/A} + \frac{y}{C/B} = 1 \\ \Rightarrow y = C/B [/Tex]

Thus, the y-intercept is (0, C/B)

Learn more about, X and Y Intercept Formula

 Intercepts From of Line

Intercept From of Line is,

x/a + y/b = 1

Where,

  • a is the x-intercept of the line
  • b is the y-intercept of the line

Finding Intercept Form Slope-Intercept Form of Line

The slope-Intercept Form of a straight line is,

y = mx + c

Where, 

  • (0, c) is the y-intercept,
  • m is the slope of the given line.

For, this form of the line 

  • x-intercept is given by  (-c/m, 0)
  • y-intercept is given by (0, c)

Finding Intercept Form Point-Slope Form of Lines

The point-slope form of a line is given as follows:

y – y1 = m(x – x1)

where:

  • (x1, y1) is a point on the line
  • m is the slope of the line.

To find, the x and y-intercepts of the given line,

Here, rearranging the equation, we get

y = mx – mx1 + y1

⇒ y = mx + (-mx1 + y1)

Comparing it with y = mx + c, we get

c = -mx1 + y1, which is the y-intercept of the given line.

and x-intercept is -c/m = (mx1 – y1)/m = x1 – y1/m 

Thus, x and y-intercept of the given y – y1 = m(x – x1) are 

  • x-Intercept is given by  x1 – y1/m
  • y-Intercept is given by  -mx1 + y1

Finding Intercept Form Two Point Form of Line

If in the Point-slope Form of a line, we substitute the formula for slope, m = (y2 – y1)/(x2 – x1) we get the two-point Form of a Line, i.e.,

y – y1 = (y2 – y1)/(x2 – x1)(x – x1)

where,

  • (x1, y1) and (x2, y2) are the two points from which line passes through.

Thus, x and y-intercept of the given y – y1 = (y2 – y1)/(x2 – x1)(x – x1) are 

  • y-Intercept is given by x1 – y1(x2 – x1)/(y2 – y1)
  • y-Intercept is given by -x1(y2 – y1)/(x2 – x1) + y1

Uses of X and Y Intercept

 X and Y Intercepts have various uses and some of them are,

  • In curve tracing, for example, we have an unknown curve, so intercepts are one of the first parameters in the analysis of the curve.
  • Both intercepts in whichever quadrant forms a triangle, whose area can calculate by 1/2 times the product of intercepts.
  • By plotting both intercepts on the coordinated axes, we can plot the graph of the linear equation.

Read More,

Examples on X and Y Intercept

Example 1: Find the x and y-intercepts of the line having equation: y = x + 10

Solution:

Converting the equation of the given line in intercept form:

y – x = 10

⇒ (y/10) – (x/10) = 1, ———dividing both sides by 10

⇒ (y/10) + (-x/10) = 1

⇒ (x/(-10)) + (y/10) = 1,

Thus, x-intercept is -10 and y intercept is 10.

Another solution:

x-intercept is of the form (s, 0).

Let us put y = 0 in the equation of the given line:

0 = x + 10

⇒ x = -10

Thus, x-intercept of given line is -10.

y-intercept is of the form (0, t).

Let us put x = 0 in the equation of the given line:

y = 0 + 10 

⇒ y = 10

Thus, y-intercept of given line is 10.

Example 2: Find the x and y-intercepts of the line having equation: 20y = 10 – 40x

Solution:

Converting the equation of the given line in intercept form :

20y + 40x = 10

⇒ (20y/10) + (40x/10) = 1, ———dividing both sides by 10

⇒ (2y/1) + (4x/1) = 1

⇒ (x/(1/4)) + (y/(1/2)) = 1,

Thus, x-intercept is (1/4) and y intercept is (1/2).

Another solution:

x-intercept is of the form (s, 0).

Let us put y = 0 in the equation of the given line:

20×(0) = 10 – 40x,

⇒ 0 + 40x = 10, 

⇒ x = 1/4

Thus, x-intercept of given line is 1/4 or 0.25

y-intercept is of the form (0, t).

Let us put x = 0 in the equation of the given line:

20y = 10 – 40×(0)

⇒ 20y = 10,

⇒ y = 1/2

Thus, y-intercept of given line is 1/2 or 0.5

Example 3: Find the x and y-intercepts of the line having equation: 4x + 5y = -3

Solution:

Converting the equation of the given line in intercept form :

4x + 5y = -3 ——-given

⇒ 4x/(-3) + 5y/(-3) = -3/(-3), —–dividing both sides by -3

⇒ x/(-3/4) + y/(-3/5) = 1,

Thus, x-intercept is (-3/4) and y intercept is (-3/5)

Another solution:

x-intercept is of the form (s, 0).

Let us put y = 0 in the equation of the given line:

4x + 5×(0) = -3,

⇒ 4x + 0 = -3, 

⇒ x = -3/4

Thus, x-intercept of given line is -3/4

y-intercept is of the form (0, t).

Let us put x = 0 in the equation of the given line:

4×(0) + 5y = -3, 

⇒ 0 + 5y = -3,

⇒ y = -3/5

Thus, y-intercept of given line is -3/5

Example 4: A line AB has x-intercept = 0. Find its y-intercept.

Solution:

x-intercept of given line is 0.

This means that the point of intersection of the given line and X-axis is (0, 0).

In other words, the given line passes through the origin.

Thus, y-intercept of the given line is 0 (as the point of intersection of the given line and Y-axis is also (0, 0)).

Example 5: A line passes through the point (3, 4), (p, q), and (c, d), where p and d are x and y-intercepts respectively. Find the value of p, q, c, and d given that the slope of the line is -1/2.

Solution:

p is the x-intercept of the given line, so (p, q) lies on X-axis.

This means that q = 0 ——–(i)

d is the y-intercept of the given line, so (c, d) lies on Y-axis.

This means that c = 0 ——–(ii)

Slope of any line = (y2 – y1)/(x2 – x1), where (x1, y1) and (x2, y2) are two points that lie on it.

Slope of given line = (4-q)/(3-p), or

-1/2 = (4-0)/(3-p), ——from (i)

⇒ (-1)×(3-p) = 4×2,

p – 3 = 8, or

Thus, p = 11  ——–(iii)

Slope of given line = (4-d)/(3-c), or

-1/2 = (4-d)/(3-0), ——-from (ii)

⇒ (-1/2)×3 = 4 – d,

⇒ d – 3/2 = 4,

⇒ d = 4 + 3/2

Thus d = 11/2 or 5.5 ——–(iv)

Thus, the values are : p = 11, q = 0, c = 0, d = 11/2

Practice Questions on X and Y Intercept

Question 1: Find the x-intercept and y-intercept of the equation 2x + 3y = 6.

Question 2: Determine the x-intercept and y-intercept of the equation 4x – y = 8.

Question 3: What are the x-intercept and y-intercept of the equation 5x + 2y = 10?

Question 4: Find the x-intercept and y-intercept of the equation y = -3x + 7.

Question 5: Determine the x-intercept and y-intercept of the equation x+y = 5.

FAQs on X and Y-intercepts of a Straight Line

What is a Straight Line?

  • “The shortest distance between any two points is known as a line.” 
  •  “A widthless length is called a line.”

What is an X-Intercept of a Straight Line?

The point of intersection between line and x-axis is called x-intercept.

What is a Y-Intercept of a Straight Line?

The point of intersection between line and y-axis is called y-intercept.

How to Find the X-intercept of a Straight Line?

As x-intercept is the point where the line intersects the x-axis. Thus, we can find the coordinate of the x-intercept by putting (x,0) in the given linear equation and then finding the value of x. Thus, (x, 0) is the coordinate of the x-intercept.

How to Find the Y-intercept of a Straight Line?

As y-intercept is the point where the line intersects the y-axis. Thus, we can find the coordinate of the y-intercept by putting (0, y) in the given linear equation and then finding the value of y. Thus, (0, y) is the coordinate of the y-intercept.

Can a Straight Line have both X and Y-intercepts?

Yes, all straight lines, except horizontal and verticles lines, have both x and y-intercepts.

Can a Straight Line have only an X-intercept?

Yes, a straight line can have only an x-intercept. In the case of the verticle line (parallel to the y-axis), it only intersects the x-axis as it is parallel to the y-axis.

Can a Straight Line have only a Y-intercept?

Yes, a straight line can have only an y-intercept. In the case of the horizontal line (parallel to the x-axis), it only intersects the y-axis as it is parallel to the x-axis.



Previous Article
Next Article

Similar Reads

X and Y Intercept Formula
X and Y Intercept Formula as the name suggests, is the formula to calculate the intercept of a given straight line. An intercept is defined as the point at which the line or curve intersects the graph's axis. The intercept of a line is the point at which it intersects the x-axis or the y-axis. When an equation isn't in the form y = mx + b, we deter
9 min read
How to Find x and y Intercept of a Parabola
To find the x-intercepts of a parabola, set y = 0 in the equation and solve for x. To find the y-intercept, set x = 0 and solve for y. For example, if the parabola is given by y = ax2 + bx + c, solving for x gives the x-intercepts, and plugging x = 0 gives the y-intercept at y = c. Let's discuss this in detail with examples. What Is a Parabola?A pa
3 min read
Writing Slope-Intercept Equations
Straight-line equations, also known as "linear" equations, have simple variable expressions with no exponents and graph as straight lines. A straight-line equation is one that has only two variables: x and y, rather than variables like y2 or √x. Because it contains information about these two properties, one type of straight-line equation is called
10 min read
Real World Applications of Slope Intercept Form of Line
The slope-intercept form of a linear equation, y = mx + b, is a fundamental mathematical concept with various real-life applications. This form represents a straight line where 'm' is the slope and 'b' is the y-intercept. The slope indicates the rate of change, while the y-intercept is the point where the line intersects the y-axis. What is Slope-I
9 min read
Slope Intercept Form
The slope-intercept formula is one of the formulas used to find the equation of a line. The slope-intercept formula of a line with slope m and y-intercept b is, y = mx + b. Here (x, y) is any point on the line. It represents a straight line that cuts both axes. Slope intercept form of the equation is used to represent the equation of a straight lin
9 min read
Slope-Intercept Form Practice Problems
Slope-intercept form is a fundamental concept in algebra, crucial for understanding linear equations and their graphs. Represented as [Tex]y=mx+b[/Tex] , where m denotes the slope and b denotes the y-intercept, this form simplifies the process of graphing lines and interpreting linear relationships. This article is designed to help you understand a
6 min read
Graphing Slope-Intercept Equations - Straight Lines | Class 11 Maths
To graph a straight line we need at least two points that lie on the straight line. From the slope-intercept form of the given straight line, we can calculate two points on the line very easily using the information present in the equation. Consider a straight line with slope m and y-intercept c. We know the slope-intercept form of the equation of
7 min read
How to Find y Intercept of a Function
To find the y-intercept of a function, set x = 0 and solve for y. The y-intercept is the point where the function crosses the y-axis, given as (0, y). For example, in y = mx + b, the y-intercept is b. What is y-Intercept?The y-intercept is the point where a graph intersects the y-axis. It represents the value of y when x is 0 in the function's equa
3 min read
Slope Intercept Form Worksheet
Slope-intercept form is a way to write the equation of a straight line. It's one of the most commonly used forms because it's straightforward and provides an easy way to graph a line. In this article, we will learn how to solve Slope intercept problems. Table of Content What is Slope intercept form?Important FormulaSolved ProblemsWorksheet: Slope i
7 min read
If a and b are the roots of the equation x2 + bx + a = 0, and a, b ≠ 0, then find the values of a and b
Values of a and b are –2 and 1, respectively, if a and b are Roots of Equation x2 + bx + a = 0, and a, b ≠ 0, then find Values of a and b. Now let's find the solution for the same. If a and b are Roots of Equation x2 + bx + a = 0, and a, b ≠ 0, then find Values of a and b.Solution: Given equation, x2 + bx + a = 0, a ≠ 0, b ≠ 0, a, b ∈ R.a and b are
5 min read
If tan A = 5 and tan B = 4, then find the value of tan(A - B) and tan(A + B)
Trigonometry is a discipline of mathematics that studies the relationships between the lengths of the sides and angles of a right-angled triangle. Trigonometric functions, also known as goniometric functions, angle functions, or circular functions, are functions that establish the relationship between an angle to the ratio of two of the sides of a
5 min read
Simplify 7x2(3x – 9) + 3 and find its values for x = 4 and x = 6
An algebraic expression, which is also known as a variable expression is an equation composed of variable terms formed from the combination of constants and variables. These components are joined together using operations, like addition, subtraction, multiplication, or division. The constants accompanied by the variable in each term are referred to
5 min read
Class 9 RD Sharma Solutions - Chapter 18 Surface Area and Volume of a Cuboid and Cube - Exercise 18.2 | Set 2
Question 14. The dimensions of a cinema hall are 100 m, 50 m, 18 m. How many persons can sit in the hall, if each person requires 150 m3 of air? Solution: Length of hall = 100 m Breadth of hall = 50 m Height of hall = 18 m So, the Volume of the hall = l × b × h = 100 × 50 × 18 = 90000 m3 Also, the volume of air required per person = 150 m3 So we ca
13 min read
Class 8 RD Sharma Solutions - Chapter 21 Mensuration II (Volumes and Surface Areas of a Cuboid and a Cube) - Exercise 21.1 | Set 1
Question 1: Find the volume of cuboid whose: i) length = 12 cm, breadth = 8 cm and height = 6 cm ii) length = 1.2 m, breadth = 30 cm and height = 15 cm iii) length = 1.5 dm, breadth = 2.5 dm and height = 8 cm Solution: i) The details given about cuboid are - Length of cuboid = 12 cm Breadth of cuboid = 8 cm Height of cuboid = 6 cm Volume of cuboid
8 min read
Class 8 RD Sharma Solutions - Chapter 21 Mensuration II (Volume and Surface Areas of a Cuboid and a Cube) - Exercise 21.1 | Set 2
Chapter 21 Mensuration II (Volume and Surface Areas of a Cuboid and a Cube) - Exercise 21.1 | Set 1Question 12: A cuboidal block of silver is 9 cm long, 4 cm broad and 3.5 cm in height. From it beads of volume 1.5 cm3 each are to be made. Find the number of beads that can be made from the block. Solution: The details given about cuboidal block of s
7 min read
Class 8 RD Sharma Solutions - Chapter 21 Mensuration II (Volumes and Surface Areas of a Cuboid and a Cube) - Exercise- 21.2 | Set 2
Question 11. How many bricks each of size 25 cm x 10 cm x 8 cm will be required to build a wall 5 m long, 3 m high, and 16 cm thick assuming that the volume of sand and cement used in the construction is negligible? Solution: Given, length of brick = 25 cm The breadth of brick = 10 cm The height of brick = 8 cm So, the volume of 1 brick = l × b × h
7 min read
Class 9 RD Sharma Solutions - Chapter 18 Surface Area and Volume of a Cuboid and Cube - Exercise 18.1
Question 1: Find the lateral surface area and total surface area of a cuboid of length 80 cm, breadth 40 cm, and height 20 cm. Solution: Given, dimensions of cuboid are: Length(l) = 80 cm Breadth(b) = 40 cm Height(h) = 20 cm Formula for total surface area of cuboid: TSA(Cuboid) = 2[lb + bh + hl] Now, substituting the given values of in the formula,
7 min read
Derive and Expression for the Capacitance of a Parallel Plate Capacitor with and without Dielectric Medium between the Plates
Parallel plate capacitors have already been addressed. But do you have any idea what they are? Is it a configuration in which two plates are parallel to one another? Why don't you try to figure it out for yourself? To understand the concept of the parallel plate capacitor, read this article. The Parallel Plate Capacitor Parallel Plate Capacitors ar
6 min read
Class 8 RD Sharma - Chapter 21 Mensuration II (Volumes and Surface Areas of a Cuboid and a Cube) - Exercise 21.3 | Set 1
Question 1. Find the surface area of a cuboid whose (i) length = 10 cm, breadth = 12 cm, height = 14 cm(ii) length = 6 dm, breadth = 8 dm, height = 10 dm(iii) length = 2 m, breadth = 4 m, height = 5 m(iv) length = 3.2 m, breadth = 30 dm, height = 250 cm. Solution : i) length = 10 cm, breadth = 12 cm, height = 14 cm Given, the Length of cuboid = 10
8 min read
Class 8 RD Sharma - Chapter 21 Mensuration II (Volumes and Surface Areas of a Cuboid and a Cube) - Exercise 21.3 | Set 2
Question 10. A classroom is 11 m long, 8 m wide, and 5 m high. Find the sum of the areas of its floor and the four walls (including doors, windows, etc.)? Solution: Given, the Length of classroom = 11 m The Breadth of classroom = 8 m The Height of the classroom = 5 m Area of floor = length × breadth = 11 × 8 = 88 m2 And, the Area of four walls (inc
7 min read
Prices Related to Buying and Selling (Profit and Loss) - Comparing Quantities | Class 8 Maths
A Person can gain profit only if Selling Price > Cost Price. Also, a person generates loss when Selling Price < Cost Price. So let's understand each term in detail. Selling Price (S.P) Definition: The price at which a shopkeeper sells an item to a customer is known as the Selling price(S.P). Formula: To calculate the selling price(S.P) when t
6 min read
Class 8 RD Sharma Solutions- Chapter 21 Mensuration II (Volumes and Surface Areas of a Cuboid and a Cube)- Exercise 21.4 | Set 2
Question 11. A field is 150m long and 100m wide. A plot (outside the field) 50m long and 30m wide is dug to a depth of 8m and the earth taken out from the plot is spread evenly in the field. By how much is the level of field raised? Solution: Given, the length of field = 150 m The width of the field = 100 m So, the area of field = Length × breadth
8 min read
Class 9 RD Sharma Solutions- Chapter 18 Surface Area and Volume of a Cuboid and Cube - Exercise 18.2 | Set 1
Question 1. A cuboidal water tank is 6 m long, 5 m wide, and 4.5 m deep. How many liters of water can it hold? Solution: Given, the length of water tank = 6 m The breadth of water tank = 5 m The height of water tank = 4.5 m The quantity of water that tank can hold = Volume of Cuboid = length × breadth × height = 6 × 5 × 4.5 = 135 m3 As we know 1 m3
8 min read
Class 11 RD Sharma Solutions - Chapter 10 Sine and Cosine Formulae and Their Applications - Exercise 10.2 | Set 1
Question 1. In a ∆ABC, if a = 5, b = 6 and C = 60o, show that its area is (15√3)/2 sq. units. Solution: We are given a = 5, b = 6 and C = 60o. Now we know the area of a ∆ABC is given by 1/2 ab sin C where, a and b are the lengths of the sides of a triangle and C is the angle between these sides. So, area of ∆ABC = (1/2) 5(6) sin 60o = (1/2) (5) (6)
7 min read
Class 11 RD Sharma Solutions - Chapter 10 Sine and Cosine Formulae and Their Applications - Exercise 10.2 | Set 2
Question 11. In any ∆ABC, prove the following: a cos A + b cos B + c cos C = 2b sin A sin C. Solution: According to sine rule in ΔABC, a/sin A = b/sin B = c/sin C = k (constant) L.H.S. = a cos A + b cos B + c cos C = k sin A cos A + k sin B cos B + k sin C cos C = (k/2) [2 sin A cos A + 2 sin B cos B + 2 sin C cos C] = (k/2) [sin 2A + sin 2B + sin
7 min read
Class 11 RD Sharma Solutions - Chapter 10 Sine and Cosine Formulae and Their Applications - Exercise 10.1 | Set 1
Question 1: If in △ABC, ∠A=45°, ∠B=60°, and ∠C=75°, find the ratio of its sides. Solution: According to the sine rule [Tex]\frac{a}{sin \hspace{0.1cm}A} = \frac{b}{sin \hspace{0.1cm}B} = \frac{c}{sin \hspace{0.1cm}C} = \lambda[/Tex] Hence, we get [Tex]\frac{a}{sin \hspace{0.1cm}45\degree} = \frac{b}{sin \hspace{0.1cm}60\degree} = \frac{c}{sin \hspa
9 min read
Class 11 RD Sharma Solutions - Chapter 10 Sine and Cosine Formulae and Their Applications - Exercise 10.1 | Set 2
Question 16: In △ABC, prove the following:a2 (cos2 B - cos2 C) + b(cos2 C - cos2 A) + c(cos2 A - cos2 B) = 0 Solution: According to the sine rule [Tex]\frac{a}{sin \hspace{0.1cm}A} = \frac{b}{sin \hspace{0.1cm}B} = \frac{c}{sin \hspace{0.1cm}C} = \lambda[/Tex] Considering LHS, we have = a2 (cos2 B - cos2 C) + b(cos2 C - cos2 A) + c(cos2 A - cos2 B)
15+ min read
Find sin2x, cos2x, and tan2x from the given information: cosec(x) = 6, and tan (x) < 0
Trigonometry is the relation between the angles and sides of a right-angled triangle. In a right angles triangle, there are 3 angles of which one angle is a right angle (90°) and other two angles are acute angles and there are 3 sides. The side opposite to the right angle is called Hypotenuse. There are 6 ratios between these sides based on the ang
6 min read
Consider a right triangle ABC, right angled at B and If AC = 17 units and BC = 8 units, then determine all the trigonometric ratios of angle C.
Trigonometry is a branch of mathematics that gives the relationships between side lengths and angles of triangles. there are six angles and their function for calculation in trigonometry. All trigonometric angles have fixed values and they can also be defined by the ratio of the lengths of the sides in a right-angled triangle. For instance, sin30°
4 min read
If tan (A + B) = √3 and tan (A – B) = 1/√3, 0° < A + B ≤ 90°; A > B, then find A and B
Trigonometry is basically the study of the relationship between the angles and the sides of a triangle. It is one of the widely used topics of mathematics that is used in daily life. It involves operations on a right-angled triangle i.e. a triangle having one of the angles equal to 90°. There are some terms that we should know before going further.
5 min read