<< Chapter < Page Chapter >> Page >

Writing the objective function

If the objective function is not given to you as an equation, you will need to be able to convert a word description to an equation to get the objective function.

You will need to look for words like:

  • most profit
  • least cost
  • largest area

The cost of hiring a small trailer is R500 per day and the cost of hiring a big trailer is R800 per day. Write down the objective function that can be used to find the cheapest cost for hiring trailers for 1 day.

  1. There are two decision variables: the number of big trailers ( n b ) and the number of small trailers ( n s ).

  2. The purpose of the objective function is to minimise cost.

  3. The cost of hiring n s small trailers for 1 day is:

    500 × n s

    The cost of hiring n b big trailers for 1 day is:

    800 × n b

    Therefore the objective function, which is the total cost of hiring n s small trailers and n b big trailers for 1 day is:

    500 × n s + 800 × n b

Mrs Nkosi expects to make a profit of R650 per m 2 for her mielies and R1 500 per m 2 on her potatoes. How should she divide her land so that she can earn the most profit?

  1. There are two decision variables: the area used to plant mielies ( m ) and the area used to plant potatoes ( p ).

  2. The purpose of the objective function is to maximise profit.

  3. The profit of planting m m 2 of mielies is:

    650 × m

    The profit of planting p m 2 of potatoes is:

    1500 × p

    Therefore the objective function, which is the total profit of planting mielies and potatoes is:

    650 × m + 1500 × p

Writing the objective function

  1. The EduFurn furniture factory manufactures school chairs and school desks. They make a profit of R50 on each chair sold and of R60 on each desk sold. Write an equation that will show how much profit they will make by selling the chairs and desks.
  2. A manufacturer makes small screen GPS's and wide screen GPS's. If the profit on small screen GPS's is R500 and the profit on wide screen GPS's is R250, write an equation that will show the possible maximum profit.

Solving the problem

The numerical method involves using the points along the boundary of the feasible region, and determining which point optimises the objective function.

Investigation : numerical method

Use the objective function

650 × m + 1500 × p

to calculate Mrs Nkosi's profit for the following feasible solutions:

m p Profit
60 30
65 30
70 30
66 2 3 33 1 3

The question is How do you find the feasible region? We will use the graphical method of solving a system of linear equations to determine the feasible region. We draw all constraints as graphs and mark the area that satisfies all constraints. This is shown in [link] for Mrs Nkosi's farm.

Graph of the feasible region

Vertices (singular: vertex) are the points on the graph where two or more of the constraints overlap or cross. If the linear objective function has a minimum or maximum value, it will occur at one or more of the vertices of the feasible region.

Now we can use the methods we learnt previously to find the points at the vertices of the feasible region. In [link] , vertex A is at the intersection of p = 30 and m = 2 p . Therefore, the coordinates of A are (30,60). Similarly vertex B is at the intersection of p = 30 and m = 100 - p . Therefore the coordinates of B are (30,70). Vertex C is at the intersection of m = 100 - p and m = 2 p , which gives ( 33 1 3 , 66 2 3 ) for the coordinates of C.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Siyavula textbooks: grade 11 maths. OpenStax CNX. Aug 03, 2011 Download for free at http://cnx.org/content/col11243/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Siyavula textbooks: grade 11 maths' conversation and receive update notifications?

Ask