{"id":36165,"date":"2023-11-16T20:04:00","date_gmt":"2023-11-16T20:04:00","guid":{"rendered":"https:\/\/www.splashlearn.com\/math-vocabulary\/?page_id=36165"},"modified":"2023-11-22T08:35:31","modified_gmt":"2023-11-22T08:35:31","slug":"how-to-find-the-equation-of-a-line-formula-examples-faqs","status":"publish","type":"post","link":"https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line","title":{"rendered":"How to Find the Equation of a Line? Formula, Examples, FAQs"},"content":{"rendered":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\tMath-Vocabulary\n<\/span><\/div>\n\n<div class=\"ub_table-of-contents\" data-showtext=\"show\" data-hidetext=\"hide\" data-scrolltype=\"auto\" id=\"ub_table-of-contents-c636040a-3102-4b95-a294-bacc02f8eb13\" data-initiallyhideonmobile=\"false\"\n                    data-initiallyshow=\"true\"><div class=\"ub_table-of-contents-extra-container\"><div class=\"ub_table-of-contents-container ub_table-of-contents-1-column \"><ul><li><a href=https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line#0-what-is-the-equation-of-a-line>What Is the Equation of a Line?<\/a><\/li><li><a href=https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line#1-equation-of-a-line-formulas>Equation of a Line Formulas<\/a><\/li><li><a href=https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line#2-how-to-find-the-equation-of-a-line>How to Find the Equation of a Line<\/a><\/li><li><a href=https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line#5-solved-examples-on-equation-of-line>Solved Examples on Equation of Line<\/a><\/li><li><a href=https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line#6-practice-problems-on-equation-of-line>Practice Problems on Equation of Line<\/a><\/li><li><a href=https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line#7-frequently-asked-questions-about-equation-of-a-line>Frequently Asked Questions about Equation of a Line<\/a><\/li><\/ul><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"0-what-is-the-equation-of-a-line\">What Is the Equation of a Line?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The equation of a line is the algebraic equation that defines the relationship between <\/strong><a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/geometry\/coordinates\"><strong>coordinates<\/strong><\/a><strong> (x, y) of any point on the line. It gives us important information such as slope, intercepts, etc.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Through the equation of a line, we can easily figure out if the point lies on the line or not. All the points located on the <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/geometry\/line\">line<\/a> must satisfy the <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/number-sense\/equation\">equation<\/a>. The equation of a line is a linear equation in both x and y.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are different forms of writing the equation of a line, depending on the information provided.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The general form to<strong> <\/strong>define the equation of a line is $ax + by + c = 0$, where<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>x and y are <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/algebra\/variable\">variables<\/a> that represent the coordinates of any point on the line,<\/li>\n\n\n\n<li>a,b,c are constants (integers) such that \u201ca\u201d and \u201cb\u201d cannot be simultaneously 0, and \u201ca\u201d is non-negative.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The standard form is given as $ax + by = c$, where<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>x and y are variables that represent the coordinates of any point on the line,<\/li>\n\n\n\n<li>a,b,c are constants (integers) such that \u201ca\u201d and \u201cb\u201d cannot be simultaneously 0, and \u201ca\u201d is non-negative.<\/li>\n<\/ul>\n\n\n\n<div id=\"recommended-games-container-id\" class=\"recommended-games-container\"><h4 class=\"recommended-games-container-headline\">Recommended Games<\/h4><div class=\"recommended-games-container-slides\"><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/add-and-mark-the-sum-on-the-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/add_sub_facts_where_sum_pt.png\" alt=\"Add and Mark the Sum on the Number Line Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Add and Mark the Sum on the Number Line Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/add-fractions-with-the-aid-of-a-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/fractions_add_like_frac_sum_greater_than_1_nl_pt.png\" alt=\"Add Fractions WIth the Aid of a Number LIne Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Add Fractions WIth the Aid of a Number LIne Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/add-like-fractions-using-number-lines\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/fractions_add_like_frac_sum_upto_1_nl_pt.png\" alt=\"Add Like Fractions using Number Lines Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Add Like Fractions using Number Lines Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/add-the-mixed-number-and-the-fraction-on-a-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/fractions_add_nl_pt.png\" alt=\"Add the Mixed Number and the Fraction on a Number Line Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Add the Mixed Number and the Fraction on a Number Line Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/analyze-and-represent-data-using-line-plots\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/data_analyze_represent_data_2_pt.png\" alt=\"Analyze and Represent Data Using Line Plots Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Analyze and Represent Data Using Line Plots Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/analyze-data-using-line-plots\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/data_analyze_data_2_pt.png\" alt=\"Analyze Data Using Line Plots Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Analyze Data Using Line Plots Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/answer-how-many-more-or-less-using-line-plots\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/data_less_more_lp_pt.png\" alt=\"Answer How Many More or Less using line plots Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Answer How Many More or Less using line plots Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/choose-the-correct-missing-part-of-division-equation\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/mult_div_pv_miss_num_div_b_pt.png\" alt=\"Choose the Correct Missing Part of DIvision Equation Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Choose the Correct Missing Part of DIvision Equation Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/choose-the-decimal-number-represented-on-the-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/decimals_identify_dec_nl_hun_pt.png\" alt=\"Choose the Decimal Number Represented on The Number Line Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Choose the Decimal Number Represented on The Number Line Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><div class=\"game-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-games\/choose-the-fraction-marked-on-the-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"games_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t\t<div class=\"game-card-container-inner-block\">\r\n\t\t\t<img decoding=\"async\" class=\"game-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/curriculum_uploads\/images\/playables\/fractions_identify_frac_greater_than_1_nl_pt.png\" alt=\"Choose the Fraction Marked on the Number Line Game\">\r\n\t\t<\/div>\r\n\t\r\n\t\t<div class=\"game-card-container-inner\">\r\n\t\t\t<div class=\"game-card-container-inner-name\">Choose the Fraction Marked on the Number Line Game<\/div>\r\n\t\t\t<span class=\"game-card-container-inner-cta\">Play<\/span>\r\n\t\t<\/div>\r\n\t<\/a>\r\n<\/div><\/div><p class=\"recommended-games-container-desc\"><a href=\"https:\/\/www.splashlearn.com\/games\">More Games<\/a><\/p><button class=\"scroll-right-arrow\"><\/button><\/div><script type=\"text\/javascript\">\n        document.addEventListener(\"DOMContentLoaded\", function() {\n            const container = document.querySelector(\"#recommended-games-container-id\");\n            const slidesContainer = container.querySelector(\".recommended-games-container-slides\");\n            const cards = slidesContainer.querySelectorAll(\".game-card-container-outer\");\n            const scrollRightArrow = container.querySelector(\".scroll-right-arrow\");\n\n            function adjustContainerStyles() {\n                const numCards = cards.length;\n\n                if (numCards === 1) {\n                    container.style.maxWidth = \"30%\";\n                    container.style.textAlign = \"center\";\n                } else if (numCards === 2) {\n                    container.style.maxWidth = \"50%\";\n                    container.style.textAlign = \"center\";\n                } else if (numCards === 3) {\n                    container.style.maxWidth = \"75%\";\n                    container.style.textAlign = \"center\";\n                } else {\n                    container.style.maxWidth = \"\";\n                    container.style.textAlign = \"\";\n                }\n            }\n\n            function checkScrollPosition() {\n                const maxScrollLeft = slidesContainer.scrollWidth - slidesContainer.clientWidth;\n                if ((slidesContainer.scrollLeft + 10) >= maxScrollLeft) {\n                    scrollRightArrow.style.display = \"none\"; \/\/ Hide the arrow if fully scrolled\n                } else {\n                    scrollRightArrow.style.display = \"block\"; \/\/ Show the arrow if not fully scrolled\n                }\n            }\n\n            scrollRightArrow.addEventListener(\"click\", function() {\n                const scrollAmount = 300; \/\/ Adjust based on the container's width and your needs\n                slidesContainer.scrollLeft += scrollAmount;\n                setTimeout(checkScrollPosition, 100); \/\/ Delay to allow scroll update\n            });\n\n            adjustContainerStyles();\n            checkScrollPosition();\n            slidesContainer.addEventListener(\"scroll\", checkScrollPosition);\n        });\n    <\/script><h2 class=\"wp-block-heading\" id=\"1-equation-of-a-line-formulas\">Equation of a Line Formulas<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the known parameters for the line, five distinct formulas can be used to determine the <strong>equation of a line<\/strong>.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Point Slope Form of Equation of a Line<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The slope point form of equation of a line that has slope m and passes through a <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/geometry\/point\">point<\/a> $(x_{1}, y_{1})$ is expressed as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(y &#8211; y_{1}) = m(x &#8211; x_{1})$<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><strong>Two-Point Form of Equation of a Line<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/two-point-form\">two-point form<\/a> of the equation of a line that passes through the points $(x_{1},\\; y_{1})$ and&nbsp; $(x_{2},\\; y_{2})$ is expressed as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(y &#8211; y_{1}) = \\frac{(y_{2} &#8211; y_{1})}{(x_{2} &#8211; x_{1})}(x &#8211; x_{1})$<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Slope-Intercept Form<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/slope-intercept-form-of-a-line\">slope-intercept form<\/a> of the equation of a straight line is expressed as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$y = mx + b$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">where<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">m is the slope of the line,&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">b is the y-intercept (the point where the line intersects the y-axis.)<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li><strong>Intercept Form<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The intercept form of equation of a straight line is expressed as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$\\frac{x}{a} + \\frac{y}{b} = 1$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">where&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a is the x-intercept of the line, and<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">b is the y-intercept of the line.<\/p>\n\n\n\n<div id=\"recommended-worksheets-container-id\" class=\"recommended-games-container\"><h4 class=\"recommended-games-container-headline\">Recommended Worksheets<\/h4><div class=\"recommended-games-container-slides\"><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/add-using-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/add-using-number-line.jpeg\" alt=\"Add Using Number Line Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/add-with-10-missing-number-using-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/add-with-10-missing-number-using-number-line.jpeg\" alt=\"Add with 10 Missing Number Using Number Line\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/add-with-10-using-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/add-with-10-using-number-line.jpeg\" alt=\"Add with 10 Using Number Line\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/addition-sentences-using-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/addition-sentences-using-number-line.jpeg\" alt=\"Addition Sentences Using Number Line Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/choose-the-correct-equation-for-the-given-problem\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/choose-the-correct-equation-for-the-given-problem.jpeg\" alt=\"Choose the Correct Equation for the Given Problem Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/commutative-property-of-addition-on-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/commutative-property-of-addition-on-number-line.jpeg\" alt=\"Commutative Property of Addition on Number Line Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/compare-fractions-using-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/compare-fractions-using-number-line.jpeg\" alt=\"Compare Fractions Using Number Line Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/comparing-decimals-on-a-number-line\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/comparing-decimals-on-a-number-line.jpeg\" alt=\"Comparing Decimals on a Number Line Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/complete-the-addition-equations\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/complete-the-addition-equations.jpeg\" alt=\"Complete the Addition Equations Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><div class=\"worksheet-card-container-outer\">\r\n\t<a href=\"https:\/\/www.splashlearn.com\/s\/math-worksheets\/complete-the-equation-for-the-area-model\" data-vars-ga-category=\"splashlearn_vocab\" data-vars-ga-action=\"worksheets_recommendations\" data-vars-ga-label=\"post_widget\">\r\n\t    <div class=\"worksheet-card-container-inner-block\">\r\n\t        <img decoding=\"async\" class=\"worksheet-card-container-inner-img\" src=\"https:\/\/cdn.splashmath.com\/cms_assets\/s\/math-worksheets\/complete-the-equation-for-the-area-model.jpeg\" alt=\"Complete the Equation for the Area Model Worksheet\">\r\n\t    <\/div>\r\n\t\t<div class=\"worksheet-card-container-inner\" >\r\n\t\t<\/div><\/a>\r\n<\/div><\/div><p class=\"recommended-games-container-desc\"><a href=\"https:\/\/www.splashlearn.com\/worksheets\">More Worksheets<\/a><\/p><button class=\"scroll-right-arrow\"><\/button><\/div><script type=\"text\/javascript\">\n        document.addEventListener(\"DOMContentLoaded\", function() {\n            const container = document.querySelector(\"#recommended-worksheets-container-id\");\n            const slidesContainer = container.querySelector(\".recommended-games-container-slides\");\n            const cards = slidesContainer.querySelectorAll(\".worksheet-card-container-outer\");\n            const scrollRightArrow = container.querySelector(\".scroll-right-arrow\");\n\n            function adjustContainerStyles() {\n                const numCards = cards.length;\n\n                if (numCards === 1) {\n                    container.style.maxWidth = \"30%\";\n                    container.style.textAlign = \"center\";\n                } else if (numCards === 2) {\n                    container.style.maxWidth = \"50%\";\n                    container.style.textAlign = \"center\";\n                } else if (numCards === 3) {\n                    container.style.maxWidth = \"75%\";\n                    container.style.textAlign = \"center\";\n                } else {\n                    container.style.maxWidth = \"\";\n                    container.style.textAlign = \"\";\n                }\n            }\n\n            function checkScrollPosition() {\n                const maxScrollLeft = slidesContainer.scrollWidth - slidesContainer.clientWidth;\n                if ((slidesContainer.scrollLeft + 10) >= maxScrollLeft) {\n                    scrollRightArrow.style.display = \"none\"; \/\/ Hide the arrow if fully scrolled\n                } else {\n                    scrollRightArrow.style.display = \"block\"; \/\/ Show the arrow if not fully scrolled\n                }\n            }\n\n            scrollRightArrow.addEventListener(\"click\", function() {\n                const scrollAmount = 300; \/\/ Adjust based on the container's width and your needs\n                slidesContainer.scrollLeft += scrollAmount;\n                setTimeout(checkScrollPosition, 100); \/\/ Delay to allow scroll update\n            });\n\n            adjustContainerStyles();\n            checkScrollPosition();\n            slidesContainer.addEventListener(\"scroll\", checkScrollPosition);\n        });\n    <\/script><h2 class=\"wp-block-heading\" id=\"2-how-to-find-the-equation-of-a-line\">How to Find the Equation of a Line<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the information provided, you can choose the form to determine the equation of a line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1: <\/strong>Notice the data provided in the given problem.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2: <\/strong>Choose the appropriate form of the equation.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If the coordinates of one point on the line $(x_{1}, y_{1})$ and the slope m are given, use the point-slope form.<\/li>\n\n\n\n<li>If the coordinates of two points lying on the line are given, use the two-point form equation of a line formula&nbsp;<\/li>\n\n\n\n<li>If the slope m and the y-intercept b are given, use the slope-intercept form of the equation of a straight line.<\/li>\n\n\n\n<li>If both the x-intercept and y-intercept are given, use the intercept form of the equation of a line.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-facts-about-equation-of-a-line\">Facts about Equation of a Line<\/h2>\n\n\n\n<div style=\"color:#0369a1;background-color:#e0f2fe\" class=\"wp-block-roelmagdaleno-callout-block has-text-color has-background is-layout-flex wp-container-roelmagdaleno-callout-block-is-layout-4fc3f8e1 wp-block-roelmagdaleno-callout-block-is-layout-flex\"><div>\n<ul class=\"wp-block-list\">\n<li>The equation of a straight line with slope m, passing through the origin is given by<\/li>\n\n\n\n<li>y = mx.<\/li>\n\n\n\n<li>You can find <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/geometry\/parallel-and-perpendicular-lines\">parallel and perpendicular lines<\/a> using equations of two lines.<\/li>\n\n\n\n<li>&nbsp;Two lines are <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/geometry\/parallel-lines\">parallel<\/a> if and only if they have the same slope.&nbsp;<\/li>\n\n\n\n<li>Two lines are <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/geometry\/perpendicular\">perpendicular<\/a> if the product of their slopes is -1.<\/li>\n\n\n\n<li>The equation of a <a href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/addition\/vertical\">vertical line<\/a> is of the form x = a, where &#8216;a&#8217; represents a constant. Vertical lines have an undefined slope.<\/li>\n\n\n\n<li>The equation of a horizontal line is of the form y = b, where &#8216;b&#8217; represents a constant. Horizontal lines have a slope of zero.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4-conclusion\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this article, we learned about the equation of a line, its different forms based on the kind of information available to us, and related examples. Let\u2019s solve a few examples and practice MCQs for better comprehension.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5-solved-examples-on-equation-of-line\">Solved Examples on Equation of Line<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Determine the equation of the line passing through the points (1, 3) and (2, 5)<\/strong><strong>.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Solution:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(x_{1},\\;y_{1}) = (1,\\;3)$&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(x_{2},\\;y_{2}) = (2,\\;5)$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We use the two-point form of the equation of a line given by<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(y &#8211; y_{1}) = \\frac{(y_{2} &#8211; y_{1})}{(x2 &#8211; x1)} (x &#8211; x_{1})$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(y &#8211; 3) = \\frac{(5 &#8211; 3)}{(2 &#8211; 1)}(x &#8211; 1)$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$(y &#8211; 3) = (\\frac{2}{1})(x &#8211; 1)$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$y &#8211; 3 = 2 (x &#8211; 1)$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$y &#8211; 3 = 2x &#8211; 2$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$y = 2x &#8211; 5$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thus, the slope-intercept form equation will be $y = 2x &#8211; 5$.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Find the equation of a line with slope 3 and y-intercept 2.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Solution:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slope $= m = 3$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">y-intercept $= b = 2$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slope-intercept form is given by $y = mx + b$<strong>.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$y = (3)x + 2$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$y = 3x + 2$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Are the lines <\/strong>$x + y + 1 = 0$<strong> and <\/strong>$x &#8211; y &#8211; 1 = 0$<strong> perpendicular?&nbsp;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Solution:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Line 1:<\/strong> $x + y + 1 = 0$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can write it as $y = &#8211; x &#8211; 1$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slope $= -1$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Line 2:<\/strong> $x &#8211; y &#8211; 1 = 0$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can write it as $y = x &#8211; 1$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slope $= 1$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Product of two slopes $= (1) \\times (- 1) = -1$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thus, the two lines are perpendicular.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"6-practice-problems-on-equation-of-line\">Practice Problems on Equation of Line<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"spq_wrapper\"><h2 style=\"display:none;\">How to Find the Equation of a Line? Formula, Examples, FAQs<\/h2><p style=\"display:none;\">Attend this quiz & Test your knowledge.<\/p><div class=\"spq_question_wrapper\" data-answer=\"0\"><span class=\"spq_question_header\"><span class=\"sqp_question_number\">1<\/span><h3 class=\"sqp_question_text\">What is the point-slope form of the equation of a line?<\/h3><\/span><div class=\"spq_answer_block\" data-value=\"0\">$(y - y_{1}) = m(x - x_{1})$<\/div><div class=\"spq_answer_block\" data-value=\"1\">$y = mx$<\/div><div class=\"spq_answer_block\" data-value=\"2\">$(y - y_{1}) = m +(x - x_{1})$<\/div><div class=\"spq_answer_block\" data-value=\"3\">$(x - y_{1}) = m(y - x_{1})$<\/div><div class=\"sqp_question_hint\"><div class=\"sqp_question_hint__header\"><span class=\"spq_correct\">Correct<\/span><span class=\"spq_incorrect\">Incorrect<\/span><\/div><div class=\"sqp_question_hint__content\"><span>Correct answer is: $(y - y_{1}) = m(x - x_{1})$<br\/>The point-slope form of the equation of a line is $(y - y_{1}) = m(x - x_{1})$.<\/span><\/div><\/div><\/div><div class=\"spq_question_wrapper\" data-answer=\"1\"><span class=\"spq_question_header\"><span class=\"sqp_question_number\">2<\/span><h3 class=\"sqp_question_text\">The equation of a line with slope -1 and passing through origin is<\/h3><\/span><div class=\"spq_answer_block\" data-value=\"0\">$y = x$<\/div><div class=\"spq_answer_block\" data-value=\"1\">$y - 2x = 0$<\/div><div class=\"spq_answer_block\" data-value=\"2\">$y - x = 0$<\/div><div class=\"spq_answer_block\" data-value=\"3\">$x + y = 0$<\/div><div class=\"sqp_question_hint\"><div class=\"sqp_question_hint__header\"><span class=\"spq_correct\">Correct<\/span><span class=\"spq_incorrect\">Incorrect<\/span><\/div><div class=\"sqp_question_hint__content\"><span>Correct answer is: $y - 2x = 0$<br\/>The equation of a line with slope -1 and passing through origin is $y = -x$.<br>\r\nWe can rewrite is as $x + y = 0$.<\/span><\/div><\/div><\/div><div class=\"spq_question_wrapper\" data-answer=\"0\"><span class=\"spq_question_header\"><span class=\"sqp_question_number\">3<\/span><h3 class=\"sqp_question_text\">Find the equation of the line parallel to $y = 3x - 1$.<\/h3><\/span><div class=\"spq_answer_block\" data-value=\"0\">$y = 3x + 1$<\/div><div class=\"spq_answer_block\" data-value=\"1\">$y = \\frac{1}{3}x + 3$<\/div><div class=\"spq_answer_block\" data-value=\"2\">$y = -3x -1$<\/div><div class=\"spq_answer_block\" data-value=\"3\">$3y = x - 1$<\/div><div class=\"sqp_question_hint\"><div class=\"sqp_question_hint__header\"><span class=\"spq_correct\">Correct<\/span><span class=\"spq_incorrect\">Incorrect<\/span><\/div><div class=\"sqp_question_hint__content\"><span>Correct answer is: $y = 3x + 1$<br\/>Two lines are parallel if they have the same slope.<br>\r\n$y = 3x -1$ and $y = 3x + 1$ have the same slope $m = 3$.<\/span><\/div><\/div><\/div><div class=\"spq_question_wrapper\" data-answer=\"3\"><span class=\"spq_question_header\"><span class=\"sqp_question_number\">4<\/span><h3 class=\"sqp_question_text\">Equation of a line having x-intercept 1 and y-intercept -2 is<\/h3><\/span><div class=\"spq_answer_block\" data-value=\"0\">$2x - y = -2$<\/div><div class=\"spq_answer_block\" data-value=\"1\">$-2x - y = 2$<\/div><div class=\"spq_answer_block\" data-value=\"2\">$2x + y = 2$<\/div><div class=\"spq_answer_block\" data-value=\"3\">$2x - y = 2$<\/div><div class=\"sqp_question_hint\"><div class=\"sqp_question_hint__header\"><span class=\"spq_correct\">Correct<\/span><span class=\"spq_incorrect\">Incorrect<\/span><\/div><div class=\"sqp_question_hint__content\"><span>Correct answer is: $2x - y = 2$<br\/>Intercept form: $\\frac{x}{a} + \\frac{y}{b} = 1$<br>\r\nHere, $a = 1,\\; b = -2$<br>\r\n$\\frac{x}{1} + \\frac{y}{(- 2)} = 1$<br>\r\n$-2x + y = -2$<br>\r\n$2x - y = 2$<\/span><\/div><\/div><\/div><\/div>  <script type=\"application\/ld+json\">{\n        \"@context\": \"https:\/\/schema.org\/\", \n        \"@type\": \"Quiz\", \n        \"typicalAgeRange\": \"3-11\",\n        \"educationalLevel\":  \"beginner\",\n        \"assesses\" : \"Attend this quiz & Test your knowledge.\",\n        \"educationalAlignment\": [\n              {\n                \"@type\": \"AlignmentObject\",\n                \"alignmentType\": \"educationalSubject\",\n                \"targetName\": \"Math\"\n              }] ,\n        \"name\": \"How to Find the Equation of a Line? Formula, Examples, FAQs\",        \n        \"about\": {\n                \"@type\": \"Thing\",\n                \"name\": \"How to Find the Equation of a Line?\"\n        },  \n        \"hasPart\": [{\n                    \"@type\": \"Question\",   \n                    \"eduQuestionType\": \"Multiple choice\",\n                    \"learningResourceType\": \"Practice problem\",\n                    \"name\": \"What is the point-slope form of the equation of a line?\",\n                    \"text\": \"What is the point-slope form of the equation of a line?\",\n                    \"comment\": {\n                      \"@type\": \"Comment\",\n                      \"text\": \"The point-slope form of the equation of a line is $$(y - y_{1}) = m(x - x_{1})$$.\"\n                    },\n                    \"encodingFormat\": \"text\/html\",\n                    \"suggestedAnswer\": [ {\n                                \"@type\": \"Answer\",\n                                \"position\": 1,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$y = mx$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"The point-slope form of the equation of a line is $$(y - y_{1}) = m(x - x_{1})$$.\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 2,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$(y - y_{1}) = m +(x - x_{1})$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"The point-slope form of the equation of a line is $$(y - y_{1}) = m(x - x_{1})$$.\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 3,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$(x - y_{1}) = m(y - x_{1})$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"The point-slope form of the equation of a line is $$(y - y_{1}) = m(x - x_{1})$$.\"\n                                    }\n                                }],\n                    \"acceptedAnswer\": {\n                      \"@type\": \"Answer\",\n                      \"position\": 0,\n                      \"encodingFormat\": \"text\/html\",\n                      \"text\": \"$$(y - y_{1}) = m(x - x_{1})$$\",\n                      \"comment\": {\n                          \"@type\": \"Comment\",\n                          \"text\": \"The point-slope form of the equation of a line is $$(y - y_{1}) = m(x - x_{1})$$.\"\n                        },\n                      \"answerExplanation\": {\n                        \"@type\": \"Comment\",\n                        \"text\": \"The point-slope form of the equation of a line is $$(y - y_{1}) = m(x - x_{1})$$.\"\n                      }\n                    } \n\n                    },{\n                    \"@type\": \"Question\",   \n                    \"eduQuestionType\": \"Multiple choice\",\n                    \"learningResourceType\": \"Practice problem\",\n                    \"name\": \"The equation of a line with slope -1 and passing through origin is\",\n                    \"text\": \"The equation of a line with slope -1 and passing through origin is\",\n                    \"comment\": {\n                      \"@type\": \"Comment\",\n                      \"text\": \"The equation of a line with slope -1 and passing through origin is $$y = -x$$.<br>\r\nWe can rewrite is as $$x + y = 0$$.\"\n                    },\n                    \"encodingFormat\": \"text\/html\",\n                    \"suggestedAnswer\": [ {\n                                \"@type\": \"Answer\",\n                                \"position\": 0,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$y = x$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"The equation of a line with slope -1 and passing through origin is $$y = -x$$.<br>\r\nWe can rewrite is as $$x + y = 0$$.\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 2,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$y - x = 0$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"The equation of a line with slope -1 and passing through origin is $$y = -x$$.<br>\r\nWe can rewrite is as $$x + y = 0$$.\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 3,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$x + y = 0$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"The equation of a line with slope -1 and passing through origin is $$y = -x$$.<br>\r\nWe can rewrite is as $$x + y = 0$$.\"\n                                    }\n                                }],\n                    \"acceptedAnswer\": {\n                      \"@type\": \"Answer\",\n                      \"position\": 1,\n                      \"encodingFormat\": \"text\/html\",\n                      \"text\": \"$$y - 2x = 0$$\",\n                      \"comment\": {\n                          \"@type\": \"Comment\",\n                          \"text\": \"The equation of a line with slope -1 and passing through origin is $$y = -x$$.<br>\r\nWe can rewrite is as $$x + y = 0$$.\"\n                        },\n                      \"answerExplanation\": {\n                        \"@type\": \"Comment\",\n                        \"text\": \"The equation of a line with slope -1 and passing through origin is $$y = -x$$.<br>\r\nWe can rewrite is as $$x + y = 0$$.\"\n                      }\n                    } \n\n                    },{\n                    \"@type\": \"Question\",   \n                    \"eduQuestionType\": \"Multiple choice\",\n                    \"learningResourceType\": \"Practice problem\",\n                    \"name\": \"Find the equation of the line parallel to $$y = 3x - 1$$.\",\n                    \"text\": \"Find the equation of the line parallel to $$y = 3x - 1$$.\",\n                    \"comment\": {\n                      \"@type\": \"Comment\",\n                      \"text\": \"Two lines are parallel if they have the same slope.<br>\r\n$$y = 3x -1$$ and $$y = 3x + 1$$ have the same slope $$m = 3$$.\"\n                    },\n                    \"encodingFormat\": \"text\/html\",\n                    \"suggestedAnswer\": [ {\n                                \"@type\": \"Answer\",\n                                \"position\": 1,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$y = \\\\frac{1}{3}x + 3$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"Two lines are parallel if they have the same slope.<br>\r\n$$y = 3x -1$$ and $$y = 3x + 1$$ have the same slope $$m = 3$$.\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 2,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$y = -3x -1$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"Two lines are parallel if they have the same slope.<br>\r\n$$y = 3x -1$$ and $$y = 3x + 1$$ have the same slope $$m = 3$$.\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 3,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$3y = x - 1$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"Two lines are parallel if they have the same slope.<br>\r\n$$y = 3x -1$$ and $$y = 3x + 1$$ have the same slope $$m = 3$$.\"\n                                    }\n                                }],\n                    \"acceptedAnswer\": {\n                      \"@type\": \"Answer\",\n                      \"position\": 0,\n                      \"encodingFormat\": \"text\/html\",\n                      \"text\": \"$$y = 3x + 1$$\",\n                      \"comment\": {\n                          \"@type\": \"Comment\",\n                          \"text\": \"Two lines are parallel if they have the same slope.<br>\r\n$$y = 3x -1$$ and $$y = 3x + 1$$ have the same slope $$m = 3$$.\"\n                        },\n                      \"answerExplanation\": {\n                        \"@type\": \"Comment\",\n                        \"text\": \"Two lines are parallel if they have the same slope.<br>\r\n$$y = 3x -1$$ and $$y = 3x + 1$$ have the same slope $$m = 3$$.\"\n                      }\n                    } \n\n                    },{\n                    \"@type\": \"Question\",   \n                    \"eduQuestionType\": \"Multiple choice\",\n                    \"learningResourceType\": \"Practice problem\",\n                    \"name\": \"Equation of a line having x-intercept 1 and y-intercept -2 is\",\n                    \"text\": \"Equation of a line having x-intercept 1 and y-intercept -2 is\",\n                    \"comment\": {\n                      \"@type\": \"Comment\",\n                      \"text\": \"Intercept form: $$\\\\frac{x}{a} + \\\\frac{y}{b} = 1$$<br>\r\nHere, $$a = 1,\\\\; b = -2$$<br>\r\n$$\\\\frac{x}{1} + \\\\frac{y}{(- 2)} = 1$$<br>\r\n$$-2x + y = -2$$<br>\r\n$$2x - y = 2$$\"\n                    },\n                    \"encodingFormat\": \"text\/html\",\n                    \"suggestedAnswer\": [ {\n                                \"@type\": \"Answer\",\n                                \"position\": 0,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$2x - y = -2$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"Intercept form: $$\\\\frac{x}{a} + \\\\frac{y}{b} = 1$$<br>\r\nHere, $$a = 1,\\\\; b = -2$$<br>\r\n$$\\\\frac{x}{1} + \\\\frac{y}{(- 2)} = 1$$<br>\r\n$$-2x + y = -2$$<br>\r\n$$2x - y = 2$$\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 1,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$-2x - y = 2$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"Intercept form: $$\\\\frac{x}{a} + \\\\frac{y}{b} = 1$$<br>\r\nHere, $$a = 1,\\\\; b = -2$$<br>\r\n$$\\\\frac{x}{1} + \\\\frac{y}{(- 2)} = 1$$<br>\r\n$$-2x + y = -2$$<br>\r\n$$2x - y = 2$$\"\n                                    }\n                                }, {\n                                \"@type\": \"Answer\",\n                                \"position\": 2,\n                                \"encodingFormat\": \"text\/html\",\n                                \"text\": \"$$2x + y = 2$$\",\n                                \"comment\": {\n                                    \"@type\": \"Comment\",\n                                    \"text\": \"Intercept form: $$\\\\frac{x}{a} + \\\\frac{y}{b} = 1$$<br>\r\nHere, $$a = 1,\\\\; b = -2$$<br>\r\n$$\\\\frac{x}{1} + \\\\frac{y}{(- 2)} = 1$$<br>\r\n$$-2x + y = -2$$<br>\r\n$$2x - y = 2$$\"\n                                    }\n                                }],\n                    \"acceptedAnswer\": {\n                      \"@type\": \"Answer\",\n                      \"position\": 3,\n                      \"encodingFormat\": \"text\/html\",\n                      \"text\": \"$$2x - y = 2$$\",\n                      \"comment\": {\n                          \"@type\": \"Comment\",\n                          \"text\": \"Intercept form: $$\\\\frac{x}{a} + \\\\frac{y}{b} = 1$$<br>\r\nHere, $$a = 1,\\\\; b = -2$$<br>\r\n$$\\\\frac{x}{1} + \\\\frac{y}{(- 2)} = 1$$<br>\r\n$$-2x + y = -2$$<br>\r\n$$2x - y = 2$$\"\n                        },\n                      \"answerExplanation\": {\n                        \"@type\": \"Comment\",\n                        \"text\": \"Intercept form: $$\\\\frac{x}{a} + \\\\frac{y}{b} = 1$$<br>\r\nHere, $$a = 1,\\\\; b = -2$$<br>\r\n$$\\\\frac{x}{1} + \\\\frac{y}{(- 2)} = 1$$<br>\r\n$$-2x + y = -2$$<br>\r\n$$2x - y = 2$$\"\n                      }\n                    } \n\n                    }]}<\/script><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"7-frequently-asked-questions-about-equation-of-a-line\">Frequently Asked Questions about Equation of a Line<\/h2>\n\n\n<div class=\"wp-block-ub-content-toggle\" id=\"ub-content-toggle-e48441bd-19d9-4239-85bc-2b27aabc4d0f\" data-mobilecollapse=\"true\" data-desktopcollapse=\"true\">\n<div class=\"wp-block-ub-content-toggle-accordion\">\n                <div class=\"wp-block-ub-content-toggle-accordion-title-wrap\" aria-expanded=\"false\" aria-controls=\"ub-content-toggle-panel-0-e48441bd-19d9-4239-85bc-2b27aabc4d0f\" tabindex=\"0\">\n                    <p class=\"wp-block-ub-content-toggle-accordion-title ub-content-toggle-title-e48441bd-19d9-4239-85bc-2b27aabc4d0f\"><strong>What are the equations of the x-axis and the y-axis?<\/strong><\/p><div class=\"wp-block-ub-content-toggle-accordion-toggle-wrap right\"><span class=\"wp-block-ub-content-toggle-accordion-state-indicator wp-block-ub-chevron-down\"><\/span>\n                    <\/div><\/div><div role=\"region\" class=\"wp-block-ub-content-toggle-accordion-content-wrap ub-hide\" id=\"ub-content-toggle-panel-0-e48441bd-19d9-4239-85bc-2b27aabc4d0f\">\n\n<p class=\"wp-block-paragraph\">The equation of the x-axis is y = 0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The equation of the y-axis is x = 0.<\/p>\n\n<\/div><\/div>\n\n<div class=\"wp-block-ub-content-toggle-accordion\">\n                <div class=\"wp-block-ub-content-toggle-accordion-title-wrap\" aria-expanded=\"false\" aria-controls=\"ub-content-toggle-panel-1-e48441bd-19d9-4239-85bc-2b27aabc4d0f\" tabindex=\"0\">\n                    <p class=\"wp-block-ub-content-toggle-accordion-title ub-content-toggle-title-e48441bd-19d9-4239-85bc-2b27aabc4d0f\"><strong>How do you find the slope of a line using two points on it?<\/strong><\/p><div class=\"wp-block-ub-content-toggle-accordion-toggle-wrap right\"><span class=\"wp-block-ub-content-toggle-accordion-state-indicator wp-block-ub-chevron-down\"><\/span>\n                    <\/div><\/div><div role=\"region\" class=\"wp-block-ub-content-toggle-accordion-content-wrap ub-hide\" id=\"ub-content-toggle-panel-1-e48441bd-19d9-4239-85bc-2b27aabc4d0f\">\n\n<p class=\"wp-block-paragraph\">The slope of a line that passes through the points (x<sub>1<\/sub>, y<sub>1<\/sub>) and&nbsp; (x<sub>2<\/sub>, y<sub>2<\/sub>) is $\\frac{(y_{2} &#8211; y_{1})}{(x_{2} &#8211; x_{1})}$.<\/p>\n\n<\/div><\/div>\n\n<div class=\"wp-block-ub-content-toggle-accordion\">\n                <div class=\"wp-block-ub-content-toggle-accordion-title-wrap\" aria-expanded=\"false\" aria-controls=\"ub-content-toggle-panel-2-e48441bd-19d9-4239-85bc-2b27aabc4d0f\" tabindex=\"0\">\n                    <p class=\"wp-block-ub-content-toggle-accordion-title ub-content-toggle-title-e48441bd-19d9-4239-85bc-2b27aabc4d0f\"><strong>Why do people usually prefer to use the slope-intercept form for the equation of a line?<\/strong><\/p><div class=\"wp-block-ub-content-toggle-accordion-toggle-wrap right\"><span class=\"wp-block-ub-content-toggle-accordion-state-indicator wp-block-ub-chevron-down\"><\/span>\n                    <\/div><\/div><div role=\"region\" class=\"wp-block-ub-content-toggle-accordion-content-wrap ub-hide\" id=\"ub-content-toggle-panel-2-e48441bd-19d9-4239-85bc-2b27aabc4d0f\">\n\n<p class=\"wp-block-paragraph\">The slope-intercept form is given by y = mx + b, where m is the slope and b is the y-intercept. It is special because you can easily identify the slope (m) and the y-intercept (b) of the line simply by looking at the equation.<\/p>\n\n<\/div><\/div>\n\n<div class=\"wp-block-ub-content-toggle-accordion\">\n                <div class=\"wp-block-ub-content-toggle-accordion-title-wrap\" aria-expanded=\"false\" aria-controls=\"ub-content-toggle-panel-3-e48441bd-19d9-4239-85bc-2b27aabc4d0f\" tabindex=\"0\">\n                    <p class=\"wp-block-ub-content-toggle-accordion-title ub-content-toggle-title-e48441bd-19d9-4239-85bc-2b27aabc4d0f\"><strong>How do you define the equation of a line?<\/strong><\/p><div class=\"wp-block-ub-content-toggle-accordion-toggle-wrap right\"><span class=\"wp-block-ub-content-toggle-accordion-state-indicator wp-block-ub-chevron-down\"><\/span>\n                    <\/div><\/div><div role=\"region\" class=\"wp-block-ub-content-toggle-accordion-content-wrap ub-hide\" id=\"ub-content-toggle-panel-3-e48441bd-19d9-4239-85bc-2b27aabc4d0f\">\n\n<p class=\"wp-block-paragraph\">The equation of a straight line is a linear algebraic equation that defines the relationship between coordinates of every point on the line and provides information such as about the slope, intercepts of the line.<\/p>\n\n<\/div><\/div>\n\n<div class=\"wp-block-ub-content-toggle-accordion\">\n                <div class=\"wp-block-ub-content-toggle-accordion-title-wrap\" aria-expanded=\"false\" aria-controls=\"ub-content-toggle-panel-4-e48441bd-19d9-4239-85bc-2b27aabc4d0f\" tabindex=\"0\">\n                    <p class=\"wp-block-ub-content-toggle-accordion-title ub-content-toggle-title-e48441bd-19d9-4239-85bc-2b27aabc4d0f\"><strong>How do you find the equation of a line if you know the coordinates of two points on the line?<\/strong><\/p><div class=\"wp-block-ub-content-toggle-accordion-toggle-wrap right\"><span class=\"wp-block-ub-content-toggle-accordion-state-indicator wp-block-ub-chevron-down\"><\/span>\n                    <\/div><\/div><div role=\"region\" class=\"wp-block-ub-content-toggle-accordion-content-wrap ub-hide\" id=\"ub-content-toggle-panel-4-e48441bd-19d9-4239-85bc-2b27aabc4d0f\">\n\n<p class=\"wp-block-paragraph\">If you know the coordinates of two points on the line, use the Two-Points form of the equation of a line.<\/p>\n\n<\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>What Is the Equation of a Line? The equation of a line is the algebraic equation that defines the relationship between coordinates (x, y) of any point on the line. It gives us important information such as slope, intercepts, etc. Through the equation of a line, we can easily figure out if the point lies &#8230; <a title=\"How to Find the Equation of a Line? Formula, Examples, FAQs\" class=\"read-more\" href=\"https:\/\/www.splashlearn.com\/math-vocabulary\/equation-of-a-line\" aria-label=\"More on How to Find the Equation of a Line? Formula, Examples, FAQs\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":36170,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-36165","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all"],"featured_image_src":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-content\/uploads\/2023\/11\/equation-of-a-line-general-form.png","author_info":{"display_name":"Mithun Jhawar","author_link":"https:\/\/www.splashlearn.com\/math-vocabulary\/author\/mithun-jhawarsplashlearn-com\/"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/posts\/36165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/comments?post=36165"}],"version-history":[{"count":9,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/posts\/36165\/revisions"}],"predecessor-version":[{"id":36178,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/posts\/36165\/revisions\/36178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/media\/36170"}],"wp:attachment":[{"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/media?parent=36165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/categories?post=36165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.splashlearn.com\/math-vocabulary\/wp-json\/wp\/v2\/tags?post=36165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}