Mark M. answered 11/17/15
Tutor
4.9
(953)
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
Let x = length of brick wall
y = length of a side of fence that is perpendicular to the wall
Then, total length of fence = x + 2y
Since xy = 22, y = 22/x. So, length of fence = x + 44/x
C(x) = total cost
= 30x + 10(x + 44/x)
= 40x + 440/x, x > 0
C'(x) = 40 - 440/x2 = (40x2-440)/x2
C'(x) = 0 when 40x2 = 440
x2 = 11 So, x = √11
When 0<x<√11, C'(x) < 0, so C(x) is decreasing
When x > √11, C'(x) > 0, so C(x) is increasing
Therefore, the cost is minimized when x = √11 ft
y = 22/√11 = 2√11 ft