Equation in the Form ax + by + c = 0
شرح المعادلة على الصورة ax + by + c = 0 بالعربي: الدرس بالإنجليزية كما في الامتحان، ومع كل خطوة شرحها بالعربي.
Move a straight-line equation between y = mx + c and ax + by + c = 0, and read the gradient from either form.
- 6 steps
- 4 min
- 3 syllabuses
Try a real exam question on this
WMA11/01 · Jan 2019 · Q3 · 5 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
For the line 3x + 5y − 7 = 0, work out its gradient, then get the equation of the perpendicular line through (6, −2) as y = mx + c.
(a) 2 marks
Determine the slope of the line given by 3x + 5y − 7 = 0.
- Understand the question. We are given the equation of the line l one, and we must find its gradient.
- Key words. Gradient means a number that measures how steep a line is.
- Make y the subject. Use the line equation form y equals m x plus c, where m is the gradient.
- Make y the subject: 5y = −3x + 7
- Divide every term by 5. Then the number in front of x is the gradient.
- y = −(3/5)x + 7/5, so the gradient is −3/5
Answer −3/5
(b) 3 marks
Find y = mx + c for the line at right angles to l₁ passing through (6, −2).
- Understand the question. The line l two is perpendicular to l one and passes through (6, minus 2), and we must find its equation in the form y equals m x plus c.
- Key words. Perpendicular means two lines that meet at exactly 90 degrees.
- Gradient means a number that measures how steep a line is.
- Negative reciprocal means flip the fraction and change the sign.
- Find the perpendicular gradient. Use the negative reciprocal of minus three fifths, which is five thirds.
- Why does this work? Perpendicular means at 90 degrees. Turn a line through 90 degrees and its across and up steps swap round, and one of them changes sign.
- So a gradient of up over across becomes minus across over up. Multiply the two gradients and you always get minus 1.
- Perpendicular gradient: m = 5/3
- Use the point and the gradient. A line with gradient m through a point has y minus that y equal to m times (x minus that x).
- Use the point (6, −2): y + 2 = (5/3)(x − 6)
- Expand and simplify. Five thirds times minus 6 is minus 10, then take 2 from both sides.
- y = (5/3)x − 10 − 2 = (5/3)x − 12
Answer y = (5/3)x − 12
The lesson, step by step
Step 1 of 6
One Line, Two Ways to Write It
The same line can be written two ways. They give exactly the same points.
Gradient form
shows m and c
General form
everything on one side
Rule
For : every term on one side, 0 on the other, and a, b and c whole numbers.
اشرحها بالعربي
يمكن كتابة الخط نفسه بطريقتين تعطيان النقاط نفسها تمامًا. صورة الميل: الإحداثي الصادي في طرف وحده، فتقرأ منها الميل والجزء المقطوع من المحور الصادي مباشرة. والصورة العامة: كل الحدود في طرف واحد والصفر في الطرف الآخر. والقاعدة في الصورة العامة أن تكون المعاملات كلها أعدادًا صحيحة، لا كسورًا.
Step 2 of 6
From y = mx + c to ax + by + c = 0
Questions often say “give your answer in the form ”. Clear any fraction first, then move everything to one side.
Worked example
- 1
— The line. The is a fraction, and the form needs whole numbers, so clear it first.
- 2
— Times every term by 3, the bottom of the fraction: and .
- 3
— Take 3y from both sides, so one side is 0. Moving the y term keeps the x term positive.
- 4
— Swap the sides. Same equation, now in the order ax + by + c = 0, with a = 2, b = −3, c = 12.
Common mistake
Multiplying only the fraction: . Every term gets multiplied, so the 4 becomes 12.
اشرحها بالعربي
كثيرًا ما يطلب السؤال كتابة المعادلة بالصورة العامة: كل الحدود في طرف والصفر في الطرف الآخر، بمعاملات صحيحة. إذا كان في المعادلة كسر فتخلّص منه أولًا: اضرب كل حد في مقام الكسر، وكل حد يعني كل حد بما فيه الحد الثابت. ثم انقل حد المجهول الصادي إلى الطرف الآخر ليصبح أحد الطرفين صفرًا، واختر النقل الذي يُبقي حد المجهول السيني موجبًا. ثم بدّل الطرفين لتكون المعادلة بالترتيب المطلوب. والخطأ الشائع ضرب الكسر وحده ونسيان ضرب الحد الثابت.
Step 3 of 6
Gradient From ax + by + c = 0
You cannot read the gradient straight from . Get y on its own first.
Worked example
- 1
— The line. y is not on its own, so the gradient is hidden.
- 2
— Take 3x from both sides, to clear the x term from the left.
- 3
— Add 8 to both sides. Now only the y term is on the left.
- 4
— Divide every term by 4, so y stands alone: .
- 5
— Read them off. The gradient is the number in front of x; the y-intercept is the number on its own.
Common mistake
Saying the gradient is 3. The 3 is only the gradient once y is on its own with nothing in front.
اشرحها بالعربي
لا يمكنك قراءة الميل مباشرة من الصورة العامة للمعادلة، لأن المجهول الصادي ليس وحده. اجعله وحده أولًا: انقل حد المجهول السيني إلى الطرف الآخر، ثم انقل العدد الثابت، فيبقى حد المجهول الصادي وحده في الطرف الأيسر. ثم اقسم كل الحدود على معامل المجهول الصادي. الآن تقرأ الميل: هو العدد الذي أمام المجهول السيني، والجزء المقطوع من المحور الصادي هو العدد الثابت. والخطأ الشائع أخذ معامل المجهول السيني في الصورة العامة على أنه الميل؛ لا يكون كذلك إلا بعد أن يصبح المجهول الصادي وحده بلا معامل.
Step 4 of 6
When the Equation Looks Different
Exams often write the line another way, like “3y + 2x = 15”: the y term first and the number on the right. The method does not change: get y on its own.
Worked example
- 1
— The line. y is not alone, so the gradient is hidden.
- 2
— Take 2x from both sides, so only the y term is on the left.
- 3
— Reorder the right side so the x term comes first, like y = mx + c. The minus stays with the 2x.
- 4
— Divide every term by 3, so y stands alone: .
- 5
— Read them off: the gradient is in front of x, the y-intercept is the number on its own.
Key idea
Write the line before the answer. It earns a mark for working even if your final gradient is wrong.
Common mistake
Dividing only the 15 by 3 and writing . Every term is divided, so the gradient is , not −2.
اشرحها بالعربي
كثيرًا ما تكتب الامتحانات المعادلة بترتيب مختلف، مثلًا حد المجهول الصادي أولًا والعدد في الطرف الأيمن. الطريقة لا تتغير: اجعل المجهول الصادي وحده. انقل حد المجهول السيني إلى الطرف الآخر، ثم رتّب الطرف الأيمن بحيث يأتي حد المجهول السيني أولًا مع إشارته السالبة. ثم اقسم كل الحدود على معامل المجهول الصادي، واقرأ الميل والجزء المقطوع. اكتب خطوة النقل قبل الجواب، فهي تأخذ درجة على الحل حتى لو أخطأت في الميل النهائي. والخطأ الشائع قسمة العدد الثابت وحده ونسيان قسمة حد المجهول السيني، فيخرج الميل خطأ.
Step 5 of 6
Shortcut: Gradient = −a ÷ b
Textbooks print a shortcut that reads the gradient straight from ax + by + c = 0. Use it to check your rearranging.
Formula
is the number in front of x, the number in front of y, and the number on its own. Each one keeps its sign.
Worked example
- 1
— The line. Everything is on one side with 0 on the other, so the shortcut works.
- 2
— Read the numbers with their signs. The y term is −2y, so b is −2, not 2.
- 3
— Put a and b in the formula. Keep −2 in brackets so its sign is not lost.
- 4
— The minus in front and the minus of −2 cancel: minus divided by minus is plus.
- 5
— Same formula idea for c: put c and b in.
- 6
— Minus divided by minus is plus again, and 8 ÷ 2 = 4. Check: y = 2.5x + 4 gives the same line.
Common mistake
Using the shortcut on 3y + 2x = 15. It only works with 0 on one side, so first write .
اشرحها بالعربي
في الكتب طريقة مختصرة تقرأ الميل مباشرة من الصورة العامة، استعملها للتحقق من حلك. الميل يساوي سالب معامل المجهول السيني مقسومًا على معامل المجهول الصادي، والجزء المقطوع من المحور الصادي يساوي سالب العدد الثابت مقسومًا على معامل المجهول الصادي. اقرأ كل معامل بإشارته، وضع السالب بين قوسين عند التعويض حتى لا تضيع إشارته، وتذكّر أن السالب مقسومًا على السالب موجب. والخطأ الشائع استعمال هذه الطريقة قبل أن تكون المعادلة بالصورة العامة؛ يجب أولًا أن تكون كل الحدود في طرف والصفر في الطرف الآخر.
Step 6 of 6
Which Method? Read the Question
Which way are you going?
| You see | You do |
| “Give it as ax + by + c = 0” | clear fractions, all to one side |
| Gradient of ax + by + c = 0 | get y on its own |
| Two points, answer as ax + by + c = 0 | Equation of a Line Through Two Points |
| Reading m and c | The Equation y = mx + c |
Key idea
Quick check: for the gradient is . For that is .
اشرحها بالعربي
حدّد أولًا في أي اتجاه تسير. إذا طُلب الجواب بالصورة العامة: تخلّص من الكسور وانقل كل الحدود إلى طرف واحد. وإذا طُلب ميل خط مكتوب بالصورة العامة: اجعل المجهول الصادي وحده. وإذا أُعطيت نقطتين وطُلب الجواب بالصورة العامة: فهذا درس معادلة الخط المار بنقطتين. وللتحقق السريع: الميل في الصورة العامة يساوي سالب معامل المجهول السيني على معامل المجهول الصادي.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 4024/12May/Jun 2026 · Q158 marksLine L is 2y + x = 19. Find its gradient and y-intercept, show that the line perpendicular to L through (−1, −5) is y = 2x − 3, and find where the two lines meet.Solve it →
- WMA11/01Jun 2025 · Q57 marksFind the perpendicular line through the origin, its intersection with x − 2y + 25 = 0, then the shortest distance from that line to the origin as a simplified surd.Solve it →
- 4PM1/02RJan 2023 · Q511 marksLine l has gradient −1/12 and goes through A(p, 10) and B(123, 0); work with l and the perpendicular line k through A to find p, equations, and the area of triangle ABC.Solve it →
- 4024/12Oct/Nov 2022 · Q153 marksUsing the line through A(0, 6) and B(p, 0) with equation 3y + 4x = 18, determine p and give the three inequalities for the interior of triangle ABC.Solve it →
- WMA11/01Jan 2022 · Q89 marksWork with line l₁: 2x − 5y + 7 = 0, point A(6, −2), perpendicular line l₂ through A, intersection M, and square ABCD with diagonals meeting at M.Solve it →
- WMA11/01Jun 2021 · Q710 marksFor line l₁ with equation 4y + 3x = 48 and point D(8, 6), find the y-intercept C, the y-intercept E of the perpendicular line l₂, the arc length BE of a 1.8 radian sector, and the area of region CBED.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.