Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Equations of a Straight Line

Equations of a Straight Line

Equations of a straight line are simply linear equations, that is, the relationship between points in the x and y coordinates. The equations of a straight line can take many different forms.

Table of Content
  •  

Equations of a straight line are linear equations. Before getting into straight-line equations, let’s define a straight line. A straight line never ends and is one-dimensional with no width. It is made up of infinite points connected on both edges of a point. A straight line is free of any curves. It can be slanted, vertical, or horizontal. We get a 180-degree angle if we construct an angle among any two points on a straight line. A straight line has no bends and is infinite in length. It can be drawn between two points, but both endpoints must reach infinity. 

Equations of a Straight Line Meaning

The meaning of straight-line equations is the relationship between any points between x and y coordinate lines. A straight line possesses distinct forms depending on the cartesian plane’s constants, variables, and angles. 

The slope formula or rise over run is as follows:

Slope of a Straight Line = (y Co-ordinates Difference / x Co-ordinates Difference)

The general straight-line equation is expressed as:

General Straight Line Equation: ax + by + c = 0

Where x and y denote variables, and a, b, and c represent constants.

The Gradient of a Straight Line

The gradient of a straight line or the slope of a straight line is the tangent to an angle. A straight line shall have a slope 

m = tan θ. 

In the above slope, θ is the angle formed by the positive x-axis line, and the y-intercept is expressed as:

y = (mx) + c 

Where y denotes the intercept, c represents the y value when x is 0, and m represents gradient or slope.

How to Find the Slope?

Slope Point Form:

In slope point form, a straight line possessing a slope tanθ that is passing through (x1,y1) points is

(y – y1) = (x – x1) * (m)

2 Points Form:

When 2 points are present: (x1,y1)  and (x2,y2) 

Slope or Gradient or m = (Change in y value) / (Change in x value) 

Therefore, slope or Gradient or m = (y2 – y1) / (x2 – x1) 

Equations of a Straight Line Questions and Solutions

Example 1:

Imagine a straight line y = 3x + 9, we shall find the slope and y-intercept.

The slope or gradient (m) of a straight line shall be calculated using y = (mx) + c.

Comparing y = 3x + 9 to the above equation, we shall answer slope or m = 3 and c or y-intercept = 9.

Example 2:

A gated community is located on a cartesian plane, Lara’s home is located at (4, 3), and Dhoni’s home is (7, -2). Two routes must be drawn from a square (3, 2). We must now identify if the two routes are perpendicular.

First, let us imagine that the two routes are straight lines. 

We shall assume Lara’s home is at a point A (4, 3)

And Dhoni’s home is situated at point B(7, -2)

Square seems to be at point C (3, 2)

Apply the formula for gradient (m) between two points, which is

m = (y2 – y1) / (x2 – x1)

The line’s slope between C and A is m1

m1 = (3 – 2) / (4 – 3) 

m1 = 1 / 1 

m1 is 1

The line’s slope between B and C is m2

m2 = (-2 – 2) / (7-3)

m2 = – 4 / 4

m2 = -1

If two routes seem perpendicular, the slope’s product should be -1.

It means m1 * m2 = 1 * -1

m1 * m2 = -1

As the slope’s product is -1, the two routes seem to be perpendicular.

Example 3:

Let us find the straight line equation that shall go through the points (3, 4) and (1, 2).

The equations of a straight line crossing 2 points is:

y = (mx) + c

m = (y2 -y1) / (x2 – x1) = (2 – 4) / (1 – 3) = 1

Using (2, 4), we shall get

4 = (1 * 2) + ( c ) 

c + 2 = 4

c = 2

Hence, y = x + 2 is the answer.

Conclusion

The meaning of straight-line equations is the relationship between any points between x and y coordinate lines. It can take several forms. A straight line possesses distinct forms depending on the cartesian plane’s constants, variables, and angles. The gradient of a straight line or the slope of a straight line is the tangent to an angle. A straight line shall have a slope m = tan θ in which θ is the angle formed by the positive x-axis line and y-intercept.

 
faq

Frequently asked questions

Get answers to the most common queries related to the JEE Examination Preparation.

Define straight lines and explain how the equation of a straight line seems to be.

Ans : A straight line never ends. It is a one-dimensional shape with no width and consists of infi...Read full

Write a note on the equations of a straight line meaning.

Ans : The meaning of straight-line equations is the relationship between any points between x and ...Read full

What is the gradient or slope of a straight line?

Ans : The gradient of a straight line or the slope of a straight line is the tangent to an angle. ...Read full

Find solutions for the following equations of straight line questions.

Ans :  Find the y-intercept and slope for the straight line y = 3x + 9. ...Read full

Ans : A straight line never ends. It is a one-dimensional shape with no width and consists of infinite points connected on both edges of a point. A straight line is free of any curves. It might be slanted, vertical, or horizontal. It can be drawn between two points, but both endpoints must reach infinity.

Ans : The meaning of straight-line equations is the relationship between any points between x and y coordinate lines. The equations of a straight line shall take many different forms. For example, the straight line’s slope shall define the direction and indicate how steep it appears. 

Ans : The gradient of a straight line or the slope of a straight line is the tangent to an angle. A straight line shall have a slope m = tan θ. 

Ans : 

  • Find the y-intercept and slope for the straight line y = 3x + 9.

The formula is y = (mx) + c

Comparing y = 3x + 9 to the above equation, we shall answer slope or m = 3 and c or y-intercept = 9.

  • Find the equations of a straight line that shall be through the points (3, 4) and (1, 2).

As we know, the equation of a straight line crossing two points is: y = (mx) + c

m = (y2 -y1) / (x2 – x1) = (2 – 4) / (1 – 3) = 1

Using (2, 4), we shall get

4 = (1 * 2) + ( c ) 

4 = c + 2 

c = 2

Hence, y = x + 2 is the answer.

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Mathematics
Zero Vector

A zero vector is defined as a line segment coincident with its beginning and ending points. Primary Keyword: Zero Vector

ZERO MATRIX

In this article, we will discuss about the zero matrix and it’s properties.

YARDS TO FEET

In this article we will discuss the conversion of yards into feet and feets to yard.

XVI Roman Numeral

In this article we are going to discuss XVI Roman Numerals and its origin.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY