Source codeVideos

Command Palette

Search for a command to run...

Quadratic Functions

Determining Maximum Area

What is Maximum Area?

Ever seen a garden fence? Sometimes, we have a limited length of fence, but we want to make the garden as big as possible. Well, quadratic functions can help us find the garden dimensions that give the largest area! Magic, right?

Types of Quadratic Functions

A quadratic function looks like a smile (ax2+bx+cax^2 + bx + c if a>0a > 0) or a frown (ax2+bx+cax^2 + bx + c if a<0a < 0).

If we want to find the biggest value (maximum), we use the frown shape, so the value of aa is negative (a<0a < 0).

The general form is:

f(x)=ax2+bx+cf(x) = ax^2 + bx + c

Here, aa, bb, and cc are numbers, and aa cannot be zero (because if it's zero, it becomes linear).

How to Find the Highest Point (Vertex)

The largest value is at the very top point of the frowning graph. This point is called the vertex.

To find the position of the vertex (the xx value), we use the formula:

xp=b2ax_p = -\frac{b}{2a}

After getting xpx_p, we plug it back into the quadratic function to get the largest value (the yy or f(x)f(x) value):

yp=f(xp)=a(xp)2+b(xp)+cy_p = f(x_p) = a(x_p)^2 + b(x_p) + c

Or you can use this shortcut formula:

yp=D4ay_p = -\frac{D}{4a}

where D=b24acD = b^2 - 4ac (D is called the discriminant).

Example to Understand

Let's say a farmer has 20 meters of fence. He wants to build a rectangular chicken coop. What are the dimensions of the coop so that the area is maximized?

  1. Give Names: Let the length be pp meters and the width be ll meters.

  2. Fence Length Relation: The fence is the perimeter.

    2p+2l=202p + 2l = 20

    Simplify (divide everything by 2):

    p+l=10p + l = 10

    Meaning:

    p=10lp = 10 - l
  3. Area Formula: The area of the coop is A=p×lA = p \times l. Substitute pp:

    A(l)=(10l)×lA(l) = (10 - l) \times l
    A(l)=10ll2A(l) = 10l - l^2
  4. Quadratic Function Form: Arrange it neatly:

    A(l)=l2+10lA(l) = -l^2 + 10l

    This is a quadratic function with a=1a = -1, b=10b = 10, and c=0c = 0. Since aa is negative, the graph is a frown, so there is a maximum value.

  5. Find Maximum Width (l): Use the formula xp=b/(2a)x_p = -b / (2a) (but replace xx with ll):

    lp=b2a=102×(1)=102=5l_p = -\frac{b}{2a} = -\frac{10}{2 \times (-1)} = -\frac{10}{-2} = 5

    So, the width must be 5 meters for the maximum area.

  6. Find Maximum Area (A): Plug l=5l = 5 into the area formula A(l)=10ll2A(l) = 10l - l^2:

    A(5)=10(5)(5)2=5025=25A(5) = 10(5) - (5)^2 = 50 - 25 = 25

    The largest area is 25 square meters.

  7. Conclusion: For the maximum coop area (25 m²), the width l=5l=5 meters. The length is p=10l=105=5p = 10 - l = 10 - 5 = 5 meters. The dimensions must be 5 meters x 5 meters (it turns out to be a square!).

Where is This Used?

Business

Finding the biggest profit.

Example:

A toy store sells dolls. If they sell xx dolls, the profit (in thousands of rupiah) is P(x)=100x2x2P(x) = 100x - 2x^2. How many dolls should be sold to maximize profit?

  • Profit function: P(x)=2x2+100xP(x) = -2x^2 + 100x (a=2,b=100a=-2, b=100).
  • Number of dolls for max profit: xp=b/(2a)=100/(2×2)=100/4=25x_p = -b / (2a) = -100 / (2 \times -2) = -100 / -4 = 25 dolls.
  • Maximum profit: P(25)=100(25)2(252)=25002(625)=25001250=1250P(25) = 100(25) - 2(25^2) = 2500 - 2(625) = 2500 - 1250 = 1250 thousand rupiah (or IDR 1,250,000).

Physics

Calculating the highest point of a thrown object's jump.

Example:

A toy rocket flies! Its height after tt seconds is h(t)=40t5t2h(t) = 40t - 5t^2 meters. When is the rocket highest and what is its maximum height?

  • Quadratic function: h(t)=5t2+40th(t) = -5t^2 + 40t. a=5,b=40a = -5, b = 40.
  • Time to reach max height: tp=b/(2a)=40/(2×5)=40/10=4t_p = -b / (2a) = -40 / (2 \times -5) = -40 / -10 = 4 seconds.
  • Maximum height: h(4)=40(4)5(42)=1605(16)=16080=80h(4) = 40(4) - 5(4^2) = 160 - 5(16) = 160 - 80 = 80 meters.

Exercise

A rectangle has a perimeter of 60 cm. Determine its length and width to maximize its area, and calculate the maximum area!

Answer Key

  1. Let length be pp, width be ll.

  2. Perimeter:

    2p+2l=602p + 2l = 60
    p+l=30p + l = 30
    p=30lp = 30 - l
  3. Area:

    L(l)=p×l=(30l)lL(l) = p \times l = (30 - l)l
    L(l)=30ll2L(l) = 30l - l^2
  4. Area Function:

    L(l)=l2+30lL(l) = -l^2 + 30l

    (a=1,b=30a = -1, b = 30).

  5. Width for max area (lpl_p):

    lp=b/(2a)=30/(2×1)=30/2=15 cml_p = -b / (2a) = -30 / (2 \times -1) = -30 / -2 = 15 \text{ cm}
  6. Length at max area (pp):

    p=30l=3015=15 cmp = 30 - l = 30 - 15 = 15 \text{ cm}
  7. Maximum area (LmaxL_{max}):

    L(15)=30(15)(15)2=450225=225 cm2L(15) = 30(15) - (15)^2 = 450 - 225 = 225 \text{ cm}^2

So, for the maximum area (Lmax=225 cm2L_{max} = 225 \text{ cm}^2), the dimensions must be 15 cm x 15 cm (a square again!).