You are on page 1of 13

Chapter 2 Business Mathematics Mathematical modeling in economics and

Math 121 Algebra and calculus finance

Chapter 2

Straight-line equation and application

2.1 Introduction
Before going to our main goal which is the straight line equations, we
will go through some preliminary knowledge about functions.

Functions, what we can say about it, it is a vital thing in every field of life,
science, engineering, mathematics, and statistics even humanities.

A function is simply defined in its simplest form as a relation between at least two
main variables one of them is the independent variable called the leading variable and the
other one is the dependent variable sometimes called the following variable. In other
words, a function is a rule, which maps a number (independent variable) to another
unique number (dependent variable).

The previous definition applies for what is called simple valued function. Simple
valued function can be denoted by y  f (x ) that is, y is the dependent variable and x is

Dr. Omar M. Sallah 1


Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

the independent variable. The shape of f (x) defines the relation between the various
variables. For example, a function that add 1 to any number. Therefore, if we apply this
function to the number 3, we get the number 4. Exactly the same way, if applied to
number 8, we get the number 9. Appling this function to the number x, we get the number
y= x + 1. Mathematically, can be put on the form:

f ( x)  x  1  y  x  1 ,
where, y  f (x ) is the dependent variable (output) and x is the independent variable
(input). The above function can be simply plot by subsisting various values of x and get
the corresponding vales of y. for instance see the blow table

x y  x 1
0 1
1 2
Or

and what is more efficient is to put once x=0

And get the value of y i.e.

x y  x 1 y P1
0 y  0 1 1 (x=0, y=1)
Exactly the same we can put y=0 and get the value of x

y y  x 1 x P2
0 0 x 1 -1 (x=-1, y=0)

2.2 Straight line representation, graphing and various positions

We mean by a straight line equation or linear equations any equation on the form
a y  b x  c which simply can be re arranged like what we studied in chapter one to

be on the form y  m x  K , where m is the slope of the straight line and k is the
y intercept. i.e. for y  2 x  8 here we have slope m  2 and K  8 . Remark if K is
positive this a direct relationship (as x increases the y will increase and vice versa) and if
the slope m is negative it is going to be indirect relationship meaning as ling as x increase

Dr. Omar M. Sallah 2


Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

y will decrease. See the following examples for a complete understanding if the various
positions of straight line.

- Sketch each of the following Straight-line equations and determine the type
of the relation:-
-:‫إرسم كال من المعادالت الخطية األتية و حدد نوع العالقه‬
16  4 y
1) 3 y  4 x  5 2)  2 y  14 x 3) 15x  3 y
2
25 x  30 y  5
4) 5 x  3 y  5) 10 x  4 y  0 6) 4 y  8x  12
5
Solution ‫الحل‬
1) 3 y  4 x  5
First: put the equation on normal form y  m x  k , i.e.
4x  5
3 y  4x  5  3 y  4x  5  y 
3
4x  5 4x 5
y  y  , m= 4 this is a direct relationship, K= 5
3 3 3 3 3

Second: put once x=0 And get the value of y i.e.


4x 5 P1
x y  y
3 3
4 * (0) 5 5 (0, 5 / 3)
0 y 
3 3 3
Exactly the same we can put y=0 and get the value of x
4x 5 P2
y y  x
3 3
4x 5 5 (5 / 4, 0)
0 0  x
3 3 4

Dr. Omar M. Sallah 3


‫‪Chapter 2‬‬ ‫‪Business Mathematics‬‬ ‫‪Mathematical modeling in economics and‬‬
‫‪Math 121‬‬ ‫‪Algebra and calculus‬‬ ‫‪finance‬‬

‫الخطوة األولي‪ -:‬نقوم بوضع المعادلة علي الصورة العامة ‪y  m x  k‬‬

‫‪4x  5‬‬
‫‪3 y  4x  5  3 y  4x  5  y ‬‬
‫‪3‬‬
‫‪4x  5‬‬ ‫‪4x 5‬‬
‫‪y‬‬ ‫‪ y‬‬ ‫‪‬‬
‫‪3‬‬ ‫‪3 3‬‬
‫‪4x 5‬‬
‫الذي وصلنا إليه نقوم بوضع ‪ x  0‬ونحصل علي‬ ‫‪y‬‬ ‫بإستخدام الشكل العام ‪‬‬
‫‪3 3‬‬
‫‪5‬‬ ‫‪4 * (0) 5‬‬
‫بمعني أن النقطة األولي هي )‪ ، (0, 5 / 3‬ثم نقوم بوضع‬ ‫‪y‬‬ ‫و بالتالي‬ ‫‪y‬‬ ‫‪‬‬
‫‪3‬‬ ‫‪3‬‬ ‫‪3‬‬
‫‪ y=0‬و نحصل علي ‪x‬‬
‫‪4x 5‬‬ ‫‪4x 5‬‬ ‫‪4x‬‬ ‫‪5‬‬ ‫‪4‬‬ ‫‪5‬‬
‫‪y‬‬ ‫‪  0‬‬ ‫‪ ‬‬ ‫‪ ‬‬ ‫‪x‬‬
‫‪3 3‬‬ ‫‪3 3‬‬ ‫‪3‬‬ ‫‪3‬‬ ‫‪3‬‬ ‫‪3‬‬
‫‪5 3‬‬ ‫‪5‬‬
‫‪x * ‬‬
‫‪3 4‬‬ ‫‪4‬‬

‫و هذا أن النقطة الثانية هي )‪ (5 / 4, 0‬و بالتالي نقوم بتوقيع النقط ثم الرسم ‪-:‬‬

‫‪Dr. Omar M. Sallah‬‬ ‫‪4‬‬


Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

16  4 y
2)  2 y  14 x
2
y  m x  k ‫ نقوم بوضع المعادلة علي الصورة العامة‬-:‫الخطوة األولي‬

16  4 y
 2 y  14 x  8  2 y  2 y  14 x  8  2 y  2 y 14 x
2
8 14 x  14 x  8  x  8 / 14  x  4 / 7

x  4/7 ‫هي معادلة خط رأسي عند قيمة‬ x  4/7 ‫إن المعادلة العامة و التي علي الشكل العام‬

m ‫الميل يساوي ماال نهاية‬

3) 15x  3 y
y  m x  k ‫بالضبط كما فعلنا سابقا نقوم بوضع المعادلة علي الصورة العامة‬
15x  3 y  3 y  15x  y  5x

Dr. Omar M. Sallah 5


‫‪Chapter 2‬‬ ‫‪Business Mathematics‬‬ ‫‪Mathematical modeling in economics and‬‬
‫‪Math 121‬‬ ‫‪Algebra and calculus‬‬ ‫‪finance‬‬

‫و هذا يؤدي إلي أن الـ ‪، y  0‬‬ ‫‪x0‬‬ ‫و بالتالي فإن المعادلة العامة هي ‪ ، y  5x‬نقوم األن بوضع‬
‫)‪(1, 5‬‬ ‫و‬ ‫)‪(0, 0‬‬ ‫و بالتالي فإن النقاط هي‬ ‫‪y5‬‬ ‫و هذا يؤدي إلي أن الـ‬ ‫‪x 1‬‬ ‫ثم نقوم بوضع‬
‫و بالتي عند التوقيع نحصل علي‬

‫‪m5‬‬ ‫الميل يساوي‬

‫‪25 x  30 y  5‬‬
‫‪4) 5 x  3 y ‬‬
‫‪5‬‬
‫ومن ثم‪-:‬‬
‫‪25 x  30 y  5‬‬
‫‪5x  3 y ‬‬ ‫‪ 5x  3 y  5x  6 y  1  5x  5x  6 y  3 y  1‬‬
‫‪5‬‬
‫‪1  5x  5x  3 y  y  1 / 3‬‬

‫و بالتالي فإن المعادلة العامة هي ‪ ، y  1/ 3‬وهذه معادلة خط مستقيم أفقي عند قيمة ‪ y‬تساوي‬
‫‪ 1/3‬و بالتي عند التوقيع نحصل علي‬
‫‪Dr. Omar M. Sallah‬‬ ‫‪6‬‬
Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

5) 10 x  4 y  0
-:‫ومن ثم‬
10 5
10 x  4 y  0  4 y   10 x  y   xy x
4 2

‫ وهذه معادلة خط مستقيم يمر بنقطة الصفر‬، y   5 x ‫و بالتالي فإن المعادلة العامة هي‬
2

6) 4 y  8x  12
Dr. Omar M. Sallah 7
Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

-:‫ومن ثم‬
4 y  8x  12  4 y  8x  12  y  2 x  3
‫ وهذه معادلة خط مستقيم في الصورة العامة‬، y  2 x  3 ‫و بالتالي فإن المعادلة العامة هي‬
(0, 3) ‫ و بالتالي فإن النقطة األولي هي‬y  3 ‫ و نحصل علي‬x  0 ‫نضع‬

(1.5, 0) ‫ و بالتالي فإن النقطة الثانية هي‬x  3 / 2  1.5 ‫ و نحصل علي‬y  0 ‫نضع‬

2.3 Getting equation of straight line knowing two points

One of the most needed applications of straight line is to get the equation of
straight line by knowing two points

Given two points P1  ( x1 , y1 ) ‫ و‬P2  ( x2 , y2 )

y  y1 y2  y1

Use the equation
x  x1 x2  x1 simplify the equation and put it into its normal

form y  m x  K
Dr. Omar M. Sallah 8
‫‪Chapter 2‬‬ ‫‪Business Mathematics‬‬ ‫‪Mathematical modeling in economics and‬‬
‫‪Math 121‬‬ ‫‪Algebra and calculus‬‬ ‫‪finance‬‬

‫‪ 3-2‬كيفية صياغة المعادالت الخطية‬


‫الحالة األولي‪ -:‬في حالة عدم معرفة معادلة الخط المستقيم ومعلومية نقطتين عليه و الغرض‬
‫الحصول علي معادلة الخط نقوم باألتي‪-:‬‬
‫المعطيات نقطتين علي الخط ) ‪ P1  ( x1 , y1‬و ) ‪P2  ( x2 , y2‬‬

‫المطلوب الحصول علي الخط المستقيم‪ ،‬يتم إستخدام المعادلة األتية‪-:‬‬


‫‪y  y1‬‬ ‫‪y2  y1‬‬
‫‪‬‬
‫‪x  x1‬‬ ‫‪x2  x1‬‬
‫الخطوات‪-:‬‬
‫‪ -2‬إضرب طرفين في وسطين‪.‬‬ ‫‪ -1‬عوض في المعادلة المعطاة‪.‬‬
‫‪ -4‬إرسم الخط المستقيم كالجزء السابق‪.‬‬ ‫‪ -3‬هات الـ ‪ y‬لوحده بطرف‪.‬‬
‫الحالة الثانية‪ -:‬في حالة عدم معرفة معادلة الخط المستقيم ومعلومية نقطة علي الخط‬
‫) ‪ P1  ( x1 , y1‬و الميل ‪m‬‬
‫‪y  y1‬‬
‫‪m‬‬
‫‪x  x1‬‬
‫تابع األمثلة األتية‪-:‬‬
‫‪- Find the equation of the straight line connecting the two points:-‬‬
‫إوجد معادلة الخط المستقيم المار بالنقطتين المعطتين‪-:‬‬
‫)‪1) P1  (1, 5), P2  (3,  7‬‬
‫)‪2) P1  (0, 12), P2  (4, 32‬‬
‫‪Solution‬‬ ‫الحل‬
‫)‪1) P1  (1, 5), P2  (3,  7‬‬

‫‪Dr. Omar M. Sallah‬‬ ‫‪9‬‬


‫‪Chapter 2‬‬ ‫‪Business Mathematics‬‬ ‫‪Mathematical modeling in economics and‬‬
‫‪Math 121‬‬ ‫‪Algebra and calculus‬‬ ‫‪finance‬‬

‫يتم التعويض بهذه النقاط في معادلة الخط المستقيم بمعلومية نقطتين‪-:‬‬


‫‪y  y1‬‬ ‫‪y2  y1‬‬
‫‪‬‬
‫‪x  x1‬‬ ‫‪x2  x1‬‬
‫‪And so,‬‬ ‫و التالي‬
‫‪y 5‬‬ ‫‪7 5‬‬ ‫‪y 5‬‬ ‫‪ 12‬‬
‫‪‬‬ ‫‪‬‬ ‫‪‬‬ ‫‪‬‬
‫‪x 1‬‬ ‫‪ 3 1‬‬ ‫‪x 1‬‬ ‫‪4‬‬
‫‪y 5‬‬
‫)‪ 3  y  5  3( x  1‬‬
‫‪x 1‬‬

‫‪y  3x  3  5  y  3x  2‬‬
‫‪ -‬ويتضح من المعادلة المعطاة أن الميل هو ‪m=3‬‬
‫‪ -‬للحصول علي التقاطع مع محور ‪ y‬نضع ‪ x=0‬كما فعلنا سابقا و نحصل علي قيمة ‪ y‬ومن ثم‬
‫‪. y  3(0)  2‬‬ ‫‪ y2‬‬ ‫بالنسبة إلي المثال المعطي‬
‫‪ -‬للحصول علي التقاطع مع محور ‪ x‬نضع ‪ y=0‬كما فعلنا سابقا و نحصل علي قيمة ‪ x‬ومن ثم‬
‫‪. 0  3( x)  2‬‬ ‫‪ x  2 / 3‬‬ ‫بالنسبة إلي المثال المعطي‬
‫)‪2) P1  (0, 12), P2  (4, 32‬‬
‫يتم التعويض بهذه النقاط في معادلة الخط المستقيم بمعلومية نقطتين‪-:‬‬
‫‪y  y1‬‬ ‫‪y2  y1‬‬
‫‪‬‬
‫‪x  x1‬‬ ‫‪x2  x1‬‬
‫‪And so,‬‬ ‫و بالتالي‬

‫‪Dr. Omar M. Sallah‬‬ ‫‪10‬‬


Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

y  12 32  12 y  12 20
   
x0 40 x 4
y  12
  5  y  12   5 x
x
y   5 x  12
m= -5 ‫ ويتضح من المعادلة المعطاة أن الميل هو‬-
‫ ومن ثم‬y ‫ كما فعلنا سابقا و نحصل علي قيمة‬x=0 ‫ نضع‬y ‫ للحصول علي التقاطع مع محور‬-
y   5 (0)  12  y  12 ‫بالنسبة إلي المثال المعطي‬
‫ ومن ثم‬x ‫ كما فعلنا سابقا و نحصل علي قيمة‬y=0 ‫ نضع‬x ‫ للحصول علي التقاطع مع محور‬-
. 0   5 ( x)  12  x  12 / 5 ‫بالنسبة إلي المثال المعطي‬
- Find the equation of the straight line passing through the point and its slope is
given :-
-:‫إوجد معادلة الخط المستقيم المار بالنقطة و الميل المعطي‬
1) P1  (1, 5), m  3
2) P1  (2, 3), m  1
Solution ‫الحل‬
1) P1  (1, 5), m  3
-:‫يتم التعويض في معادلة الخط المستقيم بمعلومية نقطه و الميل‬
y  y1
m
x  x1
y 5
  3  y  5   3( x  1) 
x 1

y   3x  3  5  y   3x  8

Dr. Omar M. Sallah 11


‫‪Chapter 2‬‬ ‫‪Business Mathematics‬‬ ‫‪Mathematical modeling in economics and‬‬
‫‪Math 121‬‬ ‫‪Algebra and calculus‬‬ ‫‪finance‬‬

‫‪ -‬ويتضح من المعادلة المعطاة أن الميل هو ‪m= -3‬‬


‫‪ -‬للحصول علي التقاطع مع محور ‪ y‬نضع ‪ x=0‬كما فعلنا سابقا و نحصل علي قيمة ‪ y‬ومن ثم‬
‫‪. y   3(0)  8‬‬ ‫‪ y 8‬‬ ‫بالنسبة إلي المثال المعطي‬
‫‪ -‬للحصول علي التقاطع مع محور ‪ x‬نضع ‪ y=0‬كما فعلنا سابقا و نحصل علي قيمة ‪ x‬ومن ثم‬
‫بالنسبة إلي المثال المعطي ‪. 0   3( x)  8  x  8 / 3‬‬

‫‪2) P1  (2, 3), m  1‬‬


‫يتم التعويض في معادلة الخط المستقيم بمعلومية نقطه و الميل‪-:‬‬
‫‪y  y1‬‬
‫‪ m i.e.,‬‬
‫‪x  x1‬‬
‫‪y 3‬‬
‫‪ 1  y  3   ( x  2) ‬‬
‫‪x2‬‬

‫‪y   x23  y   x5‬‬


‫‪ -‬ويتضح من المعادلة المعطاة أن الميل هو ‪m= -1‬‬
‫‪ -‬للحصول علي التقاطع مع محور ‪ y‬نضع ‪ x=0‬كما فعلنا سابقا و نحصل علي قيمة ‪ y‬ومن ثم‬
‫‪. y   (0)  5‬‬ ‫‪ y 5‬‬ ‫بالنسبة إلي المثال المعطي‬
‫‪ -‬للحصول علي التقاطع مع محور ‪ x‬نضع ‪ y=0‬كما فعلنا سابقا و نحصل علي قيمة ‪ x‬ومن ثم‬
‫بالنسبة إلي المثال المعطي ‪. 0   ( x)  5  x  5‬‬

‫‪Dr. Omar M. Sallah‬‬ ‫‪12‬‬


Chapter 2 Business Mathematics Mathematical modeling in economics and
Math 121 Algebra and calculus finance

Exercise (2)
Report (2) will be required after one week. This page must be attached to the report
‫ يجب أن ترفق هذه الصفحة مع التقرير‬.‫ سوف يتطلب تسليمه بعد أسبوع واحد‬:)2( ‫ التقرير‬-
Name: Report Code ( )

- Solve the following first degree equations:-


-:‫إرسم كال من المعادالت الخطية األتية‬
16  4 y
1) 2 y  4 x  6 2)  2 y  14 x 3) 15x  4 y
2
25 x  30 y  5
4) 5 x  3 y  5) 20 x  8 y  0 6) 5 y  10 x  20
5

- Find the equation of the straight line connecting the two points :-
-:‫إوجد معادلة الخط المستقيم المار بالنقطتين المعطتين‬
1) P1  (2, 6), P2  (1, 6)
2) P1  (2, 5), P2  (2, 16)

- Find the equation of the straight line passing through the point and its slope is
given :-
-:‫إوجد معادلة الخط المستقيم المار بالنقطة و الميل المعطي‬
1) P1  (2, 6), m  2
2) P1  (2, 0), m  4

Dr. Omar M. Sallah 13

You might also like